Thanks to visit codestin.com
Credit goes to lib.rs

#sequencing #fasta #fastq #sam #search #edit-distance #mb #fq

app matchbox-cli

A flexible processor for sequencing reads

3 unstable releases

0.2.0 Oct 29, 2025
0.1.1 Oct 26, 2025
0.1.0 Oct 26, 2025

#284 in Biology

MIT license

455KB
11K SLoC

matchbox

A flexible read processor, capable of performing powerful transformations on your FASTA/FASTQ/SAM files.

You could use matchbox for:

  • Quick, error-tolerant searches for primers and known sequences
  • Validating the structure of your reads
  • Quantifying and filtering out sequencing artefacts
  • Demultiplexing even the most complex barcoding schemes

Read the documentation

Installation

matchbox can be installed using cargo:

cargo install matchbox-cli

Usage

Write your matchbox script in a .mb file, and give it to matchbox via --script.

matchbox -s my_script.mb my_reads.fq
  • To allow for edit distance when searching for sequences, use --error
  • To process data on multiple threads for improved speed, use --threads
  • To handle paired reads, use --paired-with

For examples and a full scripting language reference, read the documentation!

Dependencies

~36–53MB
~841K SLoC