-
class
jade.basic.structure.BasicPose.
BasicPose
(pdb_file_path='')[source]¶ -
-
change_occupancy
()[source]¶ Changes ALL occupancies in a PDB dictionary to 1.00 Returns PDB Dictionary.
-
clean_PDB
()[source]¶ Removes HSD, Waters: Tries to fix atom and residue name inconsistencies. HAS worked for changing a single MD pdb (NAMD) frame to Rosetta file. PLEASE Expand if possible to alias all residues for Rosetta compatability. NOT gaurenteed, but SHOULD work ok.
-
combine_pdb
(py_pdb)[source]¶ Combines pdb_map from instance of PyPDB to this one. Does not do any checks.
-
copy_all_but_chains_into_pdb_map
(py_pdb, chains)[source]¶ Copies all data from one pdb_map of a py_pdb of all data except the specified chains into this one. Useful for reordering chains.
-
copy_chain_into_pdb_map
(py_pdb, chain)[source]¶ Copies all data from one pdb_map of a py_pdb of a chain into the one held in this class. Useful for reordering chains.
-
morph_line_in_pdb_map_to_pdb_line
(entry)[source]¶ Oh What fun. ;) Magic Numbers?: (6,5,4,3,1,4,8,8,8,4,5);
-
pdb_alias
(pairs, element)[source]¶ Replaces ALL occurances of old element with new from pair. pair is a dictionary. In C++ it would be an array of pairs. [string old]:[string new] For Specific functions, please see below.
-
pdb_atom_alias
(line_num, pair)[source]¶ Replaces atom_names with ones Rosetta is happy with. pair is a dictionary. In C++ it would be an array of pairs. [string MD atom_name]:[string rosetta atom_name]
-
pdb_chain_alias
(pairs)[source]¶ Replaces ALL occurances of old chain with new chain. pair is a dictionary. In C++ it would be an array of pairs. [string old chain]:[string new chain]
-
pdb_residue_alias
(pairs)[source]¶ Replaces ALL occurances of old residue with new residue. pair is a dictionary. In C++ it would be an array of pairs. [string old residue_name]:[string new residue_name]
-
read_file_and_replace_b_factors
(deliminator, filename='', resnum_column=1, chain_column=2, data_column=3, atomname_column=False)[source]¶ This function reads a deliminated file with data and inserts the data into the BFactor column. Used to visualize arbitrary data. Use function options to control which column the data is in as well as where your resnums and chains are located. If atomname column is given, will insert by atom instead of by residue
-
remove_alternate_residues
()[source]¶ Removes any alternate residue codes and renumbers by renumbering from 1 and integrating any inserts.
-
remove_element_column
()[source]¶ Removes the extra stuff in the element column, but not the element itself.
-
replace_atom_b_factor
(resnum, chain, atomname, data)[source]¶ Replaces the b factor of an atom. Can be all string representations or not.
-
replace_residue_b_factor
(resnum, chain, data)[source]¶ Replaces the b factor of each atom in the residue with data. Can be all string representations or not.
-