Read PDB-String: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 14: Line 14:
</source>
</source>


[[Category:Scripting_Script_Library|Read PDB-String]]
[[Category:Script_Library|Read PDB-String]]

Revision as of 16:26, 6 May 2005

delete all
cmd.read_pdbstr("""HEADER    CREATED BY CONVERTPROSPECT              27-JAN-02   2tnf  \
REMARK   1                                                                       \
ATOM      1  N   PRO A   9       1.895  67.213 -38.182  1.00  0.00           N   \
ATOM      2  CA  PRO A   9       1.703  68.680 -38.402  1.00  0.00           C   \
....
ATOM   1153  C   GLY A 157       6.927  59.108 -38.901  1.00  6.00           C   \
ATOM   1154  O   GLY A 157       6.700  59.292 -37.676  1.00  6.00           O   \
TER    1155      GLY A 157                                                       \
MASTER                                                                           \
END                                                                              \
""","2tnfa")