This returns a list of all insertions (i.e., residue ranges in which the model sequence, which must be the last in the alignment aln, is aligned only with gaps in the other sequences). Each residue range is extended by extension residues either side of the insertion, and is only returned if it is at least minlength residues long, but not longer than maxlength.
See also model.get_deletions(), model.loops().Example: See selection() command.