qp.structure.missing.clean_termini¶
- qp.structure.missing.clean_termini(residues)[source]¶
Remove unresolve amino acids from the N- and C-termini.
Most proteins will have long sequences of missing residues at the ends. Adding these with Modeller is unreliable and are removed with this function.
- Parameters:
residues (list of lists of tuples) – Residues by chain [[((),)],[((),)]]
- Returns:
residues – Residues by chain. Stored as a tuple without unresolved termini
- Return type:
list of lists of tuples