drugforge.spectrum.blast.pdb_to_seq

drugforge.spectrum.blast.pdb_to_seq(pdb_input=<class 'pathlib.Path'>, chain='A', fasta_out=None)[source]

Given a PDB file, extract the protein sequence

Parameters:
  • pdb_input (Path, optional) – Path to the input pdb file, by default Path

  • chaint (str, optional) – Chain that will be extracted from the PDB, by default “A”

  • fasta_out (str, optional) – Path to optionally save the output fasta sequence, by default None