pdb-get

pdb-get [-pdbdir dir] [-pdbmoddir dir] [-pdbcamoddir dir] [-cat] [-ca-mod] [-nofetch] pdbid

Get the path to a PDB file. If the file already exists in the specified PDB directory, it is used, otherwise the file is downloaded. The resulting file will be named in the form ${pdbid}.pdb.gz and will always be gzipped. A search will be done for the file, checking PDB both current and the obsolete databases.

Arguments

Output

If successful, the full path to the PDB file or the contents of the file if -cat is specified is written to stdout. If an error occurs, a message is written to stderr. This idea is that the output of this script is used to get the file name to open or to the actual data stream. For example:
      pdb-get -cat 1ceo | egrep '^SHEET'

      rasmol `pdb-get 1ceo`

Exit codes

See

pdb-get-info
pdb-info-files

Source

CVS module pdb-tools.

Contact

Mark Diekhans