salmon is invoked as salmon <command> [options]. Run salmon <command> --help
for the authoritative, version-specific option list; this page summarizes the
main commands and options.
salmon <command>
Commands:
index Build a salmon index from a transcriptome FASTA
quant Quantify transcript abundances from FASTQ reads (or a BAM)
quantmerge Merge a column across samples' quant files into a matrix
Alignment mode: a name-grouped BAM of reads aligned to the transcriptome. With --annotation, a genome-aligned BAM instead (see below).
--annotation <GTF|GFF>
Genome-alignment mode: project a genome-aligned BAM into transcriptome coordinates via this annotation. See genome-alignment quantification.
--genome <FASTA>
Genome FASTA (genome mode); enables bias correction by reconstructing transcript sequences from exon slices.
--juncMissDiscount <f>
Penalty for an unannotated splice junction in genome projection (default 1.0 = none).
--rad <RAD>
RAD mode: quantify a RAD file of mappings (salmon --writeRador piscem map-bulk/sketch output) directly. No -i needed — reference names travel in the RAD header. See RAD I/O & deterministic quantification.
-t, --targets <FASTA>
Transcriptome FASTA (alignment mode). Enables the error model in ordinary alignment mode; supplies reference sequences for bias correction and (with --errorModel) the deterministic error model.
-l, --libType <TYPE>
Library type (e.g. IU, ISR, A for auto). Default A. See library types.
-1/-2, --mates1/2 <FASTQ>…
Paired-end read files.
-r, --unmatedReads <FASTQ>…
Single-end read files.
-o, --output <DIR>
Output directory. Required.
-p, --threads <N>
Worker threads (0 = all cores).
-g, --geneMap <FILE>
Transcript-to-gene map (GTF/GFF or 2-column TSV); also writes quant.genes.sf.
Min alignment score as a fraction of perfect. Default 0.65.
--ma/--mp/--go/--ge
Match score / mismatch / gap-open / gap-extend.
--orphanChainSubThresh <f>
Orphan chain pruning (default 0.0 = align all).
--noErrorModel
Disable the alignment error model (ordinary alignment mode).
--errorModel
Opt in to the order-independent error model in deterministic alignment mode (-a --deterministic, needs -t). Off by default — deterministic mode scores by the BAM AS tag (single pass, at least as accurate against truth); this adds a second BAM pass. See deterministic alignment mode.
Reproducible reads-mode quantification: map once to an intermediate RAD, then quantify from it with a fixed fragment-length distribution. Byte-identical across runs and thread counts.
--keepRad
Keep the --deterministic intermediate RAD (deleted by default).
--radCompress <CODEC>
RAD chunk compression for --writeRad / --deterministic: lz4 (default), zstd (smaller), or none.
--noCompressRad
Write uncompressed RAD chunks (overrides --radCompress).