MHCXGraph.core.residue_tracking.residue_key¶ MHCXGraph.core.residue_tracking.residue_key(protein_i: int, chain: str, resseq: int, icode: str = '') → tuple[int, str, int, str][source]¶ Canonical watched key. We do NOT include resname, because in PDBs you can get weird naming and you usually care about position.