pdb-get-info

pdb-get-info [-datadir dir] [-pdbinfodir dir] [-pdbdir dir] [-pdbmoddir dir] [-cat] pdbid

Get the path to a PDB info RDB file. PDB info files reside in a directory pdbinfo/dir, where dir is directory name of the pdb directory that was used. The PDB directory to use is established by checking:

  1. pdb-modified - A directory that can contain hand-modified PDB files.
  2. pdb - The standard PDB directory.
If the info file already exists in the, it is used, otherwise the file is created from the PDB file (which might cause it to be downloaded). The resulting file will be named in the form pdbid.pdb-rdb.gz. If the PDB file is newer than PDB info file, the info file will be built. If the info file exists but the PDB file is missing, the info file is considered current. This deals with the the mapping of SEQRES residues to ATOM residue by aligning the SEQRES and ATOM residue strings using SAM.

Arguments

Output

If successful, the full path to the PDB summary 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-info -cat 1ceo  | row SEQNUM ne ""

Exit codes

See

pdb-get
pdb-info-files

Source

CVS module pdb-tools.

Contact

Mark Diekhans