Skip to content

Quick Start

SEGUL comes as a desktop and mobile app (GUI), a terminal command (CLI), and libraries for Python, Rust, and R (API). This page gets you from install to a first run.

Choosing an interfaceStart with one question: are you writing your own code? If yes, use the API: PySEGUL for Python, or the Rust crate, which also works from R. If no, ask whether you run SEGUL on an HPC cluster, in a pipeline, or need top speed. If yes, use the CLI. If no, use the GUI, the easiest way to start, though the CLI works too.Writing your own code?YesHPC, pipelines, or top speed?YesNoNoAPIPySEGUL for PythonRust crate, also from RCLITerminal commandRuns on HPC and WSLGUIDesktop and mobile appEasiest way to startThe CLI works here too
Not sure? Install both. The GUI and CLI do not interfere with each other.

See CLI vs GUI for platforms, feature differences, and benchmarks.

Install SEGUI, the SEGUL app, from your platform's store. See the GUI installation guide for requirements and other options.

Try SEGUL with a small example dataset, then move on to your own data.

Genomic files are too large to bundle. Download reads or contigs from public repositories such as NCBI SRA.

Running a task in the GUIStep 1: pick a tool by choosing a task group in the navigation bar, then a tool. Step 2: add input files, or a folder on desktop. Step 3: set the output folder and any task parameters. Step 4: run the task, then open results in the built-in viewer or share them.1Pick a toolChoose a task group,then a tool2Add inputlocus_1.nexlocus_2.nexlocus_3.nexAdd files, or a folderon desktop3Set optionsOutput folder andtask parameters4Run and viewRunOpen results in theviewer, or share
Removing an input file only takes it off the list. It stays on disk.
  1. Open the app and choose a task group in the navigation bar, such as Alignments. Then pick a tool, such as Concatenate alignments. On narrow windows, tap the tool name at the top to switch tools.
  2. Select Browse files, Browse folder, or Open archive to add the input.
  3. Choose an output folder and fill in any parameters the task needs. On mobile, output goes to the app's own folder.
  4. Select Run. Open the output files in the built-in viewer, or export them as a ZIP or gzip archive.

SEGUL groups its tools by the kind of input they take:

SEGUL task groupsThree task groups. Alignments takes aligned files or partitions and offers concatenation, conversion, distance, filtering, partition conversion, splitting, summary, trimming, and unalignment. Genomic takes FASTQ reads, FASTA contigs, or MAF whole-genome alignments and offers read and contig summaries plus MAF conversion and summary. Sequences takes aligned or unaligned files and offers addition, ID extraction, mapping, renaming, sequence extraction, filtering, removal, translation, and transposition.AlignmentsInputAligned files or partitionsConcatenationConversionDistanceFilteringPartition conversionSplittingSummaryTrimmingUnalignmentsegul align …GenomicInputReads, contigs, or MAFSequence read summaryContig summaryMAF conversionMAF summarysegul read|contig|maf …SequencesInputAligned or unaligned filesAdditionID extractionID mappingID renamingExtractionFilteringRemovalTranslationTranspositionsegul sequence …
Each task group is a button in the GUI navigation and a command group in the CLI.

It reads these file formats:

Supported file extensionsAlignment and sequence tasks read NEXUS (.nex, .nexus, .nxs), FASTA (.fasta, .fa, .fna, .fsa, .fas), and relaxed PHYLIP (.phy, .phylip, .ph). Genomic tasks read FASTQ reads (.fastq, .fq, .fastq.gz, .fq.gz), FASTA contigs (.fasta, .fa, .fna, .fsa, .fas, and gzipped such as .fasta.gz), MAF whole-genome alignments (.maf, .maf.gz), and BED loci for MAF conversion (.bed, .bed.gz).Alignment and sequence tasksNEXUS.nex.nexus.nxsFASTA.fasta.fa.fna.fsa.fasRelaxed PHYLIP.phy.phylip.phGenomic tasksReads.fastq.fq.fastq.gz.fq.gzContigs.fasta.fa.fna.fsa.fas.fasta.gzMAF.maf.maf.gzBED loci.bed.bed.gz
Compressed files end in .gz. SEGUL reads them directly, without decompressing them first.