Fetch: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
Line 4: Line 4:
=== Syntax ===
=== Syntax ===
<source lang="python">
<source lang="python">
fetch PDB_ID [, ID2...N ] [, async = [0,1] ]
fetch PDB_ID [ ID2...IDN ] [, async = [0,1] ]
</source>
</source>
To specify more than one PDB, just add its ID to the command line (without adding spaces).


=== Example ===
=== Example ===

Revision as of 12:44, 23 February 2007

Overview

Fetch retrieves a protein structure from the PDB and loads it into 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 synchronously
fetch 1kao 1ctq, async=0