get_sequence#
- biotite.structure.io.pdb.get_sequence(pdb_file: PDBFile) dict[str, Sequence][source]#
Get the protein and nucleotide sequences from a
PDBFile.This function is a thin wrapper around the
PDBFilemethodget_sequence()for the sake of consistency with otherstructure.iosubpackages.- Parameters:
- pdb_filePDBFile
The file object.
- Returns:
- sequence_dictDictionary of Sequences
Dictionary keys are the chain IDs parsed from the
SEQRESrecords. Dictionary values are the corresponding sequences.