poli.core.util.proteins.pdb_parsing.parse_pdb_as_residue_strings

poli.core.util.proteins.pdb_parsing.parse_pdb_as_residue_strings#

poli.core.util.proteins.pdb_parsing.parse_pdb_as_residue_strings(path_to_pdb: Path, structure_name: str = 'pdb', verbose: bool = False) List[str]#

Parse a PDB file and return a list of residue strings.

Parameters
  • path_to_pdb (Path) – The path to the PDB file.

  • structure_name (str, optional) – The name of the structure, by default “pdb”.

  • verbose (bool, optional) – Whether to print verbose output, by default False.

Returns

A list of residue strings.

Return type

List[str]