View the project on GitHub. jakob-schuster/matchbox
Welcome to the official user documentation for matchbox, a flexible processor for FASTA/FASTQ/SAM/BAM files.
You could use matchbox for:
Install matchbox via cargo, the package manager for Rust:
cargo install matchbox-cli
matchbox takes in reads, in FASTA, FASTQ, SAM or BAM formats. If no file path is given, matchbox expects to receive reads from stdin.
matchbox also requires a configuration script, written in the matchbox scripting language as a .mb file. This script will tell matchbox how to process your reads.
matchbox -s my_script.mb reads.fq
If your reads are paired-end, the --paired-with parameter can be used.
matchbox -s my_script.mb read1.fq.gz --paired-with read2.fq.gz
When performing pattern-matching, matchbox tolerates insertions, deletions and substitutions. The global error rate is used for all sequences.
# 15% error rate
matchbox -s my_script.mb reads.fq -e 0.15
# 0% error rate (only search for exact matches)
matchbox -s my_script.mb reads.fq -e 0