Fetch: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''Fetch''' retrieves a protein structure from the PDB and loads it into PyMOL. The PDB file is saved in the current working directory for PyMOL. | '''Fetch''' retrieves a protein structure from the PDB and loads it into PyMOL. The PDB file is saved in the current working directory for PyMOL. | ||
Line 11: | Line 10: | ||
=== Example === | === Example === | ||
<source lang="python"> | <source lang="python"> | ||
# fetch them singly | # fetch them singly | ||
fetch 1kao | fetch 1kao | ||
Line 21: | Line 19: | ||
# fetch them at once, load them into PyMOL all at once (synchronously) | # fetch them at once, load them into PyMOL all at once (synchronously) | ||
fetch 1kao 1ctq, async=0 | fetch 1kao 1ctq, async=0 | ||
</source> | |||
= See Also = | |||
[[Fetch_Path]] | |||
[[Category:Commands|Fetch]] | [[Category:Commands|Fetch]] |
Revision as of 00:29, 30 November 2009
Fetch retrieves a protein structure from the PDB and loads it into PyMOL. The PDB file is saved in the current working directory for PyMOL.
Syntax
fetch PDB_ID [ ID2...IDN ] [, async = [0,1] ]
To specify more than one PDB, just add its ID to the command line (without adding spaces).
Example
# fetch them singly
fetch 1kao
fetch 1ctq
# fetch them at once
fetch 1kao 1ctq
# fetch them at once, load them into PyMOL all at once (synchronously)
fetch 1kao 1ctq, async=0