wwPDB Tools¶
This module defines functions for accessing wwPDB servers.
-
wwPDBServer
(*key)[source]¶ Set/get wwPDB FTP/HTTP server location used for downloading PDB structures. Use one of the following keywords for setting a server:
wwPDB FTP server Key (case insensitive) RCSB PDB (USA) (default) RCSB, USA, US PDBe (Europe) PDBe, Europe, Euro, EU PDBj (Japan) PDBj, Japan, Jp
-
fetchPDBviaFTP
(*pdb, **kwargs)[source]¶ Retrieve PDB (default), PDBML, mmCIF, or EMD file(s) for specified pdb identifier(s) and return path(s). Downloaded files will be stored in local PDB folder, if one is set using
pathPDBFolder()
, and copied into folder, if specified by the user. If no destination folder is specified, files will be saved in the current working directory. If compressed is False, decompressed files will be copied into folder. format keyword argument can be used to retrieve PDBML, mmCIF and PDBML files:format='cif'
will fetch an mmCIF file,format='emd'
will fetch an EMD file, andformat='xml'
will fetch a PDBML file. If PDBML header file is desired,noatom=True
argument will do the job.
-
fetchPDBviaHTTP
(*pdb, **kwargs)[source]¶ Retrieve PDB file(s) for specified pdb identifier(s) and return path(s). Downloaded files will be stored in local PDB folder, if one is set using
pathPDBFolder()
, and copied into folder, if specified by the user. If no destination folder is specified, files will be saved in the current working directory. If compressed is False, decompressed files will be copied into folder.