model.get_deletions() — return a list of all deletions

get_deletions(aln, extension, include_termini=True)
This returns a list of all deletions (i.e., residue ranges in which gaps in the model sequence, which must be the last in the alignment aln, are aligned to residues in the other sequences). Each residue range is extended by extension residues either side of the deletion.

If include_termini is False, any residue range that includes a chain terminus is excluded from the output.

See also model.get_insertions(), model.loops().
Example: See selection() command.



Automatic builds 2017-07-19