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

model.loops() -- return a list of all loops

loops(aln, minlength, maxlength, insertion_ext, deletion_ext, include_termini=True)
This returns a list of all loops, by calling model.get_insertions() and model.get_deletions().

If include_termini is False, any residue range that includes a chain terminus is excluded from the output.
Example: See selection() command.



Automatic builds 2014-02-11