Tool: SeqTUI: A fast terminal-based viewer and command-line toolkit for molecular sequences (DNA, AA).
Hi all,
I’m sharing SeqTUI, a small Rust tool to inspect and manipulate biological sequences directly in the terminal (HPC/SSH-friendly).
Some key features:
- Interactive terminal viewer (DNA/AA, aligned/unaligned, vim-style navigation)
- CLI utilities (convert/translate/concatenate, build supermatrices, extract SNPs, pipe-friendly)
- Export isolated biallelic SNPs to VCF
Install
cargo install seqtui
The viewer makes it easy to quickly inspect sequence files right from the terminal (e.g., over SSH).

The CLI provides common utilities, e.g.:
# Convert to single-line FASTA
seqtui sequences.fasta -o sequences_1L.fasta
# Translate to amino acids
seqtui sequences.fasta -t -o sequences_AA.fasta
# Supermatrix: fill missing sequences with gaps
seqtui gene*.fasta -s -o supermatrix.fasta
# Supermatrix + partition file (IQ-TREE-compatible NEXUS)
seqtui examples/LOC* -s -t -p partitions.nex -o supermatrix.fasta
# Extract SNPs with at least 300 monomorphic sites on each side
seqtui alignment.fasta -v 300 -o snps.vcf
Since the output is FASTA with sequences on a single line, it composes well with standard Unix tools for even more tasks, e.g.:
# Check for internal stop codons in coding sequences
seqtui sequences.fasta -t -o - | grep "\*."
# Extract a subset of sequences by ID
seqtui sequences.nex -o - | grep -A1 -w -f seq_ids.txt > subset.fasta
Repo: https://github.com/ranwez-search/SeqTUI
Crate: https://crates.io/crates/seqtui
Feedback/issues very welcome.
• 800 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Nice!
For those who stop by this post, a complementary tool that may be of interest. A text based Genome Viewer by dariober --> https://github.com/dariober/ASCIIGenome/?tab=readme-ov-file
Thanks for the feedback, and for the link to the genome viewer. More generally, if you like terminal user interface tools, you can check out https://github.com/ratatui/awesome-ratatui (Rust-focused) and https://terminaltrove.com (general TUI)