drugforge.data.services.rcsb.rcsb_download.download_PDBs
- drugforge.data.services.rcsb.rcsb_download.download_PDBs(pdb_list, pdb_dir, file_format='pdb', ignore_errors=True)[source]
Downloads pdbs from pdb_list_yaml using Kinoml.
- Parameters:
pdb_list (List[str]) – List of RCSB IDs to download
pdb_dir (str) – Directory to download structures to
file_format (str, default=”pdb”) – Indicates whether you would like to download the entry in pdb (“pdb”) or cif format (“cif”), or the first biological assembly in cif format (“cif1”). Defaults to “pdb”.
ignore_errors (bool, default=True) – If a PDB file failed to download, either catch the error and ignore, or raise the error