Skip to content

Sequence Removal

This feature is the opposite of sequence extraction feature. It removes sequences based on a list of IDs or a regular expression. It is faster than sequence extraction if you remove less than a half of the sequences.

  1. Select Sequences in the navigation bar A.
  2. Open Remove sequences from the tool list on wide windows, or select the tool name B at the top of the page to switch tools.
  3. Add the input files C with Browse files, Browse folder, or Open archive. SEGUI searches a folder and its subfolders for files that match the tool's input format. See file input for mobile options.
  4. Select the option to remove sequences based on a list of IDs or a regular expression.
  5. Add the list of IDs or regular expression.
  6. Select Browse under Select output directory to choose the output folder. On phones and tablets, enter a Directory name instead; SEGUI saves it in the app's own folder.
  7. Select the output sequence format.
  8. Select the run button D, labeled Remove, to start the task.

The IDs should be separated by semicolon (;). For example, seq1;seq2;seq3.

SEGUI uses Rust regex. The regular expression should be a valid regex pattern. For example, seq[0-9]+ will remove all sequences with IDs like seq1, seq2, seq3, and so on.

This material is based upon work supported by the National Science Foundation under grant numbers: DEB-1754393 and DEB-2244754. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.