Alevin is a tool within the Salmon ecosystem for quantifying gene abundances from droplet-based scRNA-seq data.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/satijalab/seurat-wrappers/llms.txt
Use this file to discover all available pages before exploring further.
ReadAlevin() wraps tximport to load alevin output files directly into a Seurat-compatible count matrix, with optional support for genomic range metadata via tximeta.
Citation: Srivastava et al. (2019) Alevin efficiently estimates accurate gene abundances from dscRNA-seq data. Genome Biology, 20(1):65. doi: 10.1186/s13059-019-1670-ySource: COMBINE-lab/salmon (GitHub)
Installation
Key Function
ReadAlevin() — Reads the quants_mat.gz file produced by alevin and returns a Seurat object with the count matrix populated.
How It Works
ReadAlevin() calls tximport (or tximeta when getMeta = TRUE) to parse alevin’s compressed output into a gene-by-cell count matrix. The matrix is then passed to CreateSeuratObject. Optionally, meanAndVariance = TRUE stores bootstrapped mean estimates in the counts slot and variance estimates in the data slot.
ReadAlevin Parameters
Path to the
quants_mat.gz file within the alevin output directory. This file is located at <alevin_out>/alevin/quants_mat.gz.If
TRUE, uses tximeta to programmatically fetch genomic range information for each gene. Range data is stored in the meta.features slot under columns chr, start, and end. Requires the tximeta package.If
TRUE, retrieves bootstrapped mean and variance estimates from the alevin output instead of point estimates. Mean counts are stored in the counts slot; variance estimates are stored in the data slot.Additional arguments passed through to
tximport. For example, alevinArgs = list(filterBarcodes = TRUE) activates alevin’s internal barcode filtering.Workflow
Run alevin
Run alevin externally to produce quantification output. The output directory will contain an
alevin/ subdirectory with quants_mat.gz.Import counts into Seurat
ReadAlevin returns a fully constructed Seurat object ready for downstream processing.Advanced Options
Barcode filtering
Pass alevin-specific arguments through... to tximport:
Mean and variance estimates
For bootstrap-based uncertainty quantification, retrieve mean and variance estimates:Genomic range metadata
Attach chromosomal position information to the feature metadata:getMeta = TRUE requires the tximeta Bioconductor package. If tximeta is not installed, ReadAlevin will stop with an informative error.