| Trees | Indices | Help |
|
|---|
|
|
object --+
|
_ReaderWriterContextManager --+
|
PDBWriter
A class for writing PDB-formatted files. Only one structure can be written to a PDB file. While this class overs no speed increase over the Structure.write() method, it provides more options.
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize needed mmlibs and open the file 'filename'.
Note that the file will not be completely written until it is
explicitly closed or the object is garbage collected.
@type filename: str
@param filename:
The filename to write to.
@type reorder_by_sequence: bool
@param reorder_by_sequence:
Whether to re-order the residues by sequence before writing the
PDB file.
@type first_occ: bool
@param first_occ:
If True and there are alternate occupancy sites, only the first
occupancy site will be included in the output PDB file. Otherwise,
all occupancy sites will be included.
NOTE: Any existing file will be overwritten when the class instance
is created.
|
Does nothing. Added for consistency with other *Writer classes. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:47 2015 | http://epydoc.sourceforge.net |