PURPOSE: Reads in a sequence window with some individual residues and/or gaps selected. The script then extends the selection so that all residues or gaps aligned to the initial selection are also selected.
INSTALLATION: Save extend_selection_in_alignment.pl to a local directory or location accessible from the Files Explorer
USAGE:
From the DS Client: From the Files Explorer, double-click on the extend_selection_in_alignment.pl to launch the script or right-click on the file and select Open With | Script Window then launch the script using the Run command from the Scripting toolbar.
REQUIREMENTS: Input sequence window with selected residues.
DISCLAIMER: This custom script is compatible with Discovery Studio 2.5. It is provided "as is" and is NOT supported by Accelrys nor is it warranted for any purpose whatsoever. The user assumes responsibility for any malfunctions or bugs.
EXPECTED RESULTS: When this script is executed on an active Sequence Window containing multiple sequences and some residues or gaps selected, the selection will be extended so that all positions aligned to the selected residues or gaps are also selected.