next up previous contents index
Next: model.loops() return Up: The model class: handling Previous: model.get_insertions() return   Contents   Index

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

get_deletions(aln, extension)
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.

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

Ben Webb 2008-05-05