IMP Reference Guide
2.20.2
The Integrative Modeling Platform
|
Class for easy writing of PDBs, RMFs, and stat files. More...
Inherits object.
Class for easy writing of PDBs, RMFs, and stat files.
ote Model should be updated prior to writing outputs.
Definition at line 65 of file /output.py.
Public Member Functions | |
def | get_prot_name_from_particle |
Get the protein name from the particle. More... | |
def | init_pdb |
Init PDB Writing. More... | |
def | init_rmf |
This function initialize an RMF file. More... | |
def IMP.pmi1.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 209 of file /output.py.
def IMP.pmi1.output.Output.init_pdb | ( | self, | |
name, | |||
prot | |||
) |
Init PDB Writing.
name | The PDB filename |
prot | The hierarchy to write to this pdb file |
ote if the PDB name is 'System' then will use Selection to get molecules
Definition at line 106 of file /output.py.
def IMP.pmi1.output.Output.init_rmf | ( | self, | |
name, | |||
hierarchies, | |||
rs = None , |
|||
geometries = None , |
|||
listofobjects = None |
|||
) |
This function initialize an RMF file.
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 404 of file /output.py.