Skip to content

Sequence Transposition

Transpose locus alignments into per-sample sequence files. Locus alignments store one locus per file with a sequence for each sample. Transposing creates one file for each sample with a sequence for each locus, for example to build sample-level references for read mapping.

  1. Select Sequences in the navigation bar A.
  2. Open Transpose sequences from the tool picker B: the tool list on wide windows, or the tool name at the top of the page on phones.
  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 input format (optional) and the data type.
  5. 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.
  6. Turn on Set interleaved format to write interleaved FASTA (optional).
  7. Select the run button D, labeled Transpose, to start the task.

The app writes each sample to its own folder: <sample>/<sample>.fas. Each sequence is named after the locus it comes from, which is the input file name without its extension. Gaps (-) and missing data (?) are removed, so the output is always unaligned FASTA. Samples missing from a locus are skipped for that locus.

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.