Difference between revisions of "Fetch"

From PyMOLWiki
Jump to: navigation, search
(Overview)
(Example)
Line 19: Line 19:
 
fetch 1kao 1ctq
 
fetch 1kao 1ctq
  
# fetch them 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>
 
</source>

Revision as of 16:04, 4 March 2007

Overview

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