schrodinger.application.bioluminate.anarci.loop_ranges module

This module defines a class LoopRange which can be used to determine whether a given residue is between two other given residues in an insert-coded numbering scheme. This is especially necessary because IMGT uses inverted-order insert codes, and we need to be able to carefully define that behavior.

schrodinger.application.bioluminate.anarci.loop_ranges.is_imgt_ins_code(ins_code)
Check if the insertion code is represented as an integer like in IMGT

numbering

class schrodinger.application.bioluminate.anarci.loop_ranges.LoopRange(start: schrodinger.application.bioluminate.anarci.anarci_adapter.ResInfo, end: schrodinger.application.bioluminate.anarci.anarci_adapter.ResInfo)

Bases: object

__init__(start: schrodinger.application.bioluminate.anarci.anarci_adapter.ResInfo, end: schrodinger.application.bioluminate.anarci.anarci_adapter.ResInfo)
__contains__(item: schrodinger.application.bioluminate.anarci.anarci_adapter.ResInfo)
class schrodinger.application.bioluminate.anarci.loop_ranges.ImgtLoopRange(start: schrodinger.application.bioluminate.anarci.anarci_adapter.ResInfo, end: schrodinger.application.bioluminate.anarci.anarci_adapter.ResInfo)

Bases: schrodinger.application.bioluminate.anarci.loop_ranges.LoopRange

schrodinger.application.bioluminate.anarci.loop_ranges.generate_loop_ranges(*index_pair_tuples)

Generate LoopRange objects from a list of index pair tuples

schrodinger.application.bioluminate.anarci.loop_ranges.get_loop_ranges(scheme, anarci_type)

Get the loop ranges for a given scheme and AnarciType. Some schemes have different numbering for different AnarciTypes.