In UGENE 34 it is possible to search in sequences in an alignment (i.e. the sequence nucleotide or amino acid bases). This feature extends search to the sequence names in the Name List.
The following should be done:
- Add "Search context" label (on Russian "Контекст поиска") and a combo box approximately as shown on the attached image. There should be the following values in the combo box:
- "Sequences" (on Russian "Последовательности')
- "Sequence names" (on Russian "Имена последовательностей")
- When "Sequences" is selected, the tab should work exactly as in UGENE 34 version.
- When "Sequence names" is selected, all three groups with parameters ("Search algorithms", "Search in", "Other settings") disappear. So there are only "Previous"/"Next" buttons and the labels below, if required.
- When "Sequence names" is selected and a pattern is input, the pattern should be searched in the sequence names:
- If a sequence name contains a pattern, the sequence is considered to be one of the results.
- The search takes into account Unicode characters (in particular, Russian characters, whitespaces, etc.).
- After the search is done after the pattern input, the first found sequence is selected. The results label is updated accordingly: "Results: 1/found_results_num".
- When other region in the alignment is selected or the alignment is edited, the results label is updated accordingly: "Results: -/found_results_num".
- "Previous" and "Next" buttons "goes" to the previous/next result from the current selection (similarly to the sequences search implemented in
UGENE-6746).
#The "Info" label below should be the following (on macOS Ctrl+Enter is replaced by Cmd+Enter, see also similar feature in the SV): - For searching in sequences:
Info: please input at least one sequence pattern to search for. Use Ctrl+Enter to input multiple patterns.
- For searching in sequence names:
Info: please input at least one pattern to search in the sequence names. Use Ctrl+Enter to input multiple patterns.
- Search in collapsing mode.
The search only finds results in visible sequences. If the group is open, it will be searched inside it. If closed, then only in 1 group sequence. This is the meaning of the groups.
After the results are found, the user can walk through them: Prev / Next. Clicking on these buttons does not change the number of results and does not open / close groups.
- blocks
-
UGENE-6750 A menu item and hotkey for "Search in sequence names"
- Closed
- is blocked by
-
UGENE-6746 Search "Next"/"Previous" result in an alignment from the selected region
- Closed
-
UGENE-6748 "Search pattern" group on the "Search in Alignment" tab
- Closed