| Trees | Indices | Help |
|
|---|
|
|
object --+
|
PDBIO
Write a Structure object (or a subset of a Structure object) as a PDB file.
Example:
>>> p=PDBParser()
>>> s=p.get_structure("1fat", "1fat.pdb")
>>> io=PDBIO()
>>> io.set_structure(s)
>>> io.save("out.pdb")
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
@param use_model_flag: if 1, force use of the MODEL record in output. @type use_model_flag: int
|
@param file: output file
@type file: string or filehandle
@param select: selects which entities will be written.
@type select:
select hould have the following methods:
- accept_model(model)
- accept_chain(chain)
- accept_residue(residue)
- accept_atom(atom)
These methods should return 1 if the entity
is to be written out, 0 otherwise.
Typically select is a subclass of L{Select}.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Feb 5 17:59:53 2013 | http://epydoc.sourceforge.net |