bis_protein_structure.CROSSLINK.readPDB¶
- bis_protein_structure.CROSSLINK.readPDB(pdb_dir)[source]¶
Reads a PDB file and extracts chain and residue information.
- Parameters:
pdb_dir (str) – Path to the PDB file.
- Returns:
model (Bio.PDB.Model) – The first model from the parsed PDB file.
chains (list of str) – List of chain identifiers.
residue_dict (dict) – Dictionary mapping chain IDs to residues and their positions.