-
class
jade.basic.structure.SQLPose.
PDB_database
(database)[source]¶ This class is specifically for if we already have a database. Note: This is not a ROSETTA database. If you need to convert this, use ROSETTA (Which now works in PyRosetta!) Functions are to output the database as a PDB, output specific pieces of protein as a pdb and query the database.
-
save_cur_as_pdb
(outpath, supress_modelSep=False)[source]¶ Saves the DB at the current cursor to a file. Make sure cursor is on the pdb table.
-
save_whole_db_as_db
(filename, seperate_structures=False)[source]¶ Saves the whole database in MEMORY to a file….
-
scrub
(table_name)[source]¶ This should help protect from sql injection. Not that it’s important now, but… Author:OrangeOctopus from stack overflow
-
-
class
jade.basic.structure.SQLPose.
SQLPose
(pdbID, modelID, structID, memory=False, path='')[source]¶ -
fetch_and_read_pdb_into_database
(pdbID, read_header=False, header_only=False)[source]¶ Uses the PDB file specified, grabs it from the PDB, and reads the data in.
-
read_pdb_into_database_flat
(filePath, specific_chain=False, read_header=False, header_only=False)[source]¶ 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.
-