schrodinger.application.msv.gui.picking module¶
- schrodinger.application.msv.gui.picking.get_pickable_seqs(aln, mode)[source]¶
Return the sequences in the alignment that are pickable in the given mode.
- Parameters
aln (gui_alignment.GuiProteinAlignment) – Alignment
mode (PickMode) – Picking mode
- Returns
Iterable of pickable sequences
- Return type
collections.abc.Iterable[sequence.ProteinSequence]
- schrodinger.application.msv.gui.picking.handle_reset_pick(aln, mode)[source]¶
Dispatch reset_pick to the correct method for the mode
- Parameters
aln (gui_alignment.GuiProteinAlignment) – Alignment
mode (PickMode) – Picking mode
- schrodinger.application.msv.gui.picking.handle_pick(aln, mode, *args, **kwargs)[source]¶
Dispatch the pick to the correct method for the mode. args and kwargs are passed to the picking method.
- Parameters
aln (gui_alignment.GuiProteinAlignment) – Alignment
mode (PickMode) – Picking mode
- schrodinger.application.msv.gui.picking.fix_chimeric_pick(aln, to_pick=None, to_unpick=None)[source]¶
Given an alignment and optional sets of residues to pick/unpick, unpick residues aligned with reference sequence gaps.
- Parameters
aln (gui_alignment.GuiProteinAlignment) – Alignment
to_pick (set or NoneType) – Set of residues to pick to be updated in place
to_unpick (set or NoneType) – Set of residues to unpick to be updated in place
- Returns
Sets of residues to pick and unpick
- Return type
tuple(set, set)