MHCXGraph.core.pdb_graph_builder.check_res_inconsistencies

MHCXGraph.core.pdb_graph_builder.check_res_inconsistencies(res_tuples)[source]

Validate consistency between node identifiers and residue objects.

Parameters:

res_tuples (list[tuple]) – List containing tuples of the form (node_id, residue_object, kind, centroid).

Returns:

inconsistencies – List of formatted messages describing mismatches between the residue information encoded in the node identifier and the values stored in the Bio.PDB residue object.

Return type:

list[str]