![]() |
Rosetta
2016.11
|
Public Member Functions | |
def | __init__ |
def | __exit__ |
def | set_basic_options |
def | set_structID |
def | set_pdbID |
def | set_modelID |
def | read_pdb_into_database_flat |
def | fetch_and_read_pdb_into_database |
Public Attributes | |
db | |
db_util | |
pdb_url | |
pdbID | |
modelID | |
structID | |
def app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.__init__ | ( | self, | |
pdbID, | |||
modelID, | |||
structID, | |||
memory = False , |
|||
path = False |
|||
) |
modelID is basically a label Path specifies the db to load.
def app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.__exit__ | ( | self | ) |
def app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.fetch_and_read_pdb_into_database | ( | self, | |
pdbID, | |||
read_header = False , |
|||
header_only = False |
|||
) |
Uses the PDB file specified, grabs it from the PDB, and reads the data in.
References app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.pdbID, app.pyrosetta_toolkit.modules.DesignBreakdown.SequenceInfo.pdbID, and app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.read_pdb_into_database_flat().
def app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.read_pdb_into_database_flat | ( | self, | |
filePath, | |||
specific_chain = False , |
|||
read_header = False , |
|||
header_only = False |
|||
) |
Reads the flat filepath specified into a database structure. This can then be parsed using the PDB_Database class. NOTE: Reading of header not implemented. if header_only is True, only loads the header. Useful for just getting specific information. More useful to D/L it from the pdb if possible. If Header only, reads the header into the database.
References app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.db, app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.modelID, basic::database.open(), app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.pdb_url, app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.pdbID, app.pyrosetta_toolkit.modules.DesignBreakdown.SequenceInfo.pdbID, ObjexxFCL.strip(), and app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.structID.
Referenced by app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.fetch_and_read_pdb_into_database().
def app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.set_basic_options | ( | self, | |
pdbID, | |||
modelID, | |||
structID | |||
) |
def app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.set_modelID | ( | self, | |
modelID | |||
) |
def app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.set_pdbID | ( | self, | |
pdbID | |||
) |
def app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.set_structID | ( | self, | |
structID | |||
) |
app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.db |
app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.db_util |
app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.modelID |
app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.pdb_url |
app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.pdbID |
app.pyrosetta_toolkit.modules.SQLPDB.SQLPDB.structID |