Class for easy writing of PDBs, RMFs, and stat files.
More...
Inherits object.
Class for easy writing of PDBs, RMFs, and stat files.
- Note
- Model should be updated prior to writing outputs.
-
This class is only available in Python.
Definition at line 198 of file output.py.
def IMP.pmi.output.Output.get_pdb_names |
( |
|
self | ) |
|
Get a list of all PDB files being output by this instance.
Definition at line 225 of file output.py.
def IMP.pmi.output.Output.get_prot_name_from_particle |
( |
|
self, |
|
|
|
name, |
|
|
|
p |
|
) |
| |
Get the protein name from the particle.
This is done by traversing the hierarchy.
Definition at line 334 of file output.py.
def IMP.pmi.output.Output.init_pdb |
( |
|
self, |
|
|
|
name, |
|
|
|
prot, |
|
|
|
mmcif = False |
|
) |
| |
Init PDB Writing.
- Parameters
-
name | The PDB filename |
prot | The hierarchy to write to this pdb file |
mmcif | If True, write PDBs in mmCIF format |
- Note
- if the PDB name is 'System' then will use Selection to get molecules
Definition at line 253 of file output.py.
def IMP.pmi.output.Output.init_rmf |
( |
|
self, |
|
|
|
name, |
|
|
|
hierarchies, |
|
|
|
rs = None , |
|
|
|
geometries = None , |
|
|
|
listofobjects = None |
|
) |
| |
Initialize an RMF file.
- Parameters
-
name | the name of the RMF file |
hierarchies | the hierarchies to be included (it is a list) |
rs | optional, the restraint sets (it is a list) |
geometries | optional, the geometries (it is a list) |
listofobjects | optional, the list of objects for the stat (it is a list) |
Definition at line 540 of file output.py.
The documentation for this class was generated from the following file: