Data Downloader Module

A module for key PDB data collection tools

pdb_superimposer.data_downloader.ftp_download(pdb_code, out_dir='pdb')[source]

Wrapper around RCSB PDB FTP.

Parameters
  • pdb_code (str) – PDB code for desired file

  • out_dir (str) – Path to output directory

Returns

Returns PDB code if download failed

Return type

None or str

pdb_superimposer.data_downloader.pdb_search_query(query)[source]

Wrapper around the RCSB PDB Search API.

Parameters

query (str) – Query as a json str

Returns

Search result

Return type

dict