scripts.data.postprocessing.search_utils.find_pdb_path

scripts.data.postprocessing.search_utils.find_pdb_path(pdb, root)[source]

Given a PDB ID and a directory of databaseCreator-organized folder of PDBs, return the path to the PDB file.

Parameters:
  • pdb (str) – ID of the queried PDB file

  • root (str) – Path to directory of PDB databases

Returns:

Path to PDB file

Return type:

str

Raises:

ValueError – If the PDB file is not found