alterlab-rnaseq-quant
Quantifies bulk RNA-seq transcript abundance with salmon 2.x (the Rust rewrite; selective alignment or --sketch) and kallisto (v0.52.0, kb-python workflow)…
Skill by AlterLab-IEU
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alterlab-ieu-alterlab-rnaseq-quant
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: research, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/alterlab-rnaseq-quant
Tools it pre-approves 8
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
ReadWriteEditBash(python:*)Bash(uv:*)Bash(salmon:*)Bash(kallisto:*)Bash(kb:*)
What's inside
- Skill name
alterlab-rnaseq-quant- Description
- Quantifies bulk RNA-seq transcript abundance with salmon 2.x (the Rust rewrite; selective alignment or --sketch) and kallisto (v0.52.0, kb-python workflow), builds a decoy-aware gentrome index, runs quant with --gcBias -l A, then imports estimates via tximport/tximeta with a tx2gene map and hands differential expression to alterlab-pydeseq2. Warns that salmon 2.0 cannot read C++/pufferfish indices (rebuild every index), that --validateMappings is now accepted-but-ignored, and that 'salmon alevin' was REMOVED (single-cell now uses piscem + alevin-fry). Use when quantifying RNA-seq transcript abundance, running salmon or kallisto, building a decoy-aware index, or wiring tximport to DESeq2; for differential expression use alterlab-pydeseq2, for FASTQ-to-VCF variant calling use alterlab-nf-core-sarek. Part of the AlterLab Academic Skills suite.
- License
- MIT
- Compatibility
- Requires the salmon and/or kallisto CLI on PATH (conda/bioconda or a container). This skill targets salmon 2.x (bioconda 2.7.0 as of 2026-09) and kallisto v0.52.0; salmon 2.x is a single portable Rust binary with no Boost/compiler dependency. The tximport/tx2gene helper runs under `uv run python` with pure stdlib (no pandas needed). No API key or account required; all work is local.
- Allowed tools
- Read, Write, Edit, Bash(python:*), Bash(uv:*), Bash(salmon:*), Bash(kallisto:*), Bash(kb:*)
- Metadata
- version: 1.2.0 · depends_on: alterlab-pydeseq2 (downstream differential expression) · last_updated: 2026-09-23 · skill-author: AlterLab
- Instructions
- 278 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Pre-approves some shell commands
Files (11)
- SKILL.md
- evals.json · evals/
- decoy_index.md · references/
- kallisto_kb.md · references/
- salmon_quant.md · references/
- single_cell_alevin.md · references/
- tool_versions.md · references/
- tximport_handoff.md · references/
- build_tx2gene.py · scripts/
- import_quant.py · scripts/
- make_decoys.py · scripts/
SKILL.md (first lines)
# RNA-seq Quantification — salmon & kallisto Transcript Abundance The command-line quantification entry point for bulk RNA-seq: take raw FASTQ reads plus a reference transcriptome and produce transcript-level abundance estimates (counts + TPM) with **salmon** (selective alignment) or **kallisto** (pseudoalignment via kb-python), then aggregate to the gene level with `tximport`/`tximeta` and hand off to `alterlab-pydeseq2` for differential expression. It is the raw-data-to-count-matrix pipeline that the repo's Python analysis skills assume already ran. ## Quick Start ``` Quantify these RNA-seq FASTQs with salmon and a decoy-aware index Build a salmon gentrome index from this transcriptome + genome Run kallisto / kb count on my paired-end reads Turn my salmon quant.sf files into a gene-level count matrix for DESeq2 ``` → Build a **decoy-aware** index once, run `salmon quant` (or `kb count`) per sample, then run `scripts/build_tx2gene.py` + `scripts/import_quant.py` to make the `tximport` gene matrix and route it to `alterlab-pydeseq2`. --- ## When to Use This Skill Use this skill when the request is about **getting from FASTQ to transcript or gene abundance** with a lightweight quantifier: - "Quantify my RNA-seq with salmon / kallisto." - "Build a decoy-aware salmon index (gentrome + decoys.txt)." - "Run selective alignment with `--gcBias`." / "Use salmon's `--sketch` mode." - "I have `quant.sf` files — make me a gene-level count matrix for DESeq2." - "Set up `tximport` / `tximeta` with a tx2gene map." - "Use kb-python / `kb count` to pseudoalign these reads." ### Does NOT Trigger — route these to the right sibling | The request is really about… | Route to | |------------------------------|----------| | Differential expression on a **count matrix** (DESeq2 Wald tests, FDR, volcano) | `alterlab-pydeseq2` | | **Single-cell** RNA-seq quantification (was `salmon alevin`) | piscem + alevin-fry — see [references/single_cell_alevin.md](references/single_cell_alevin.md); downstream → `alterlab-scanpy` / `alterlab-scvi-tools` | | **FASTQ-to-VCF** germline/somatic variant calling | `alterlab-nf-core-sarek` | | **16S/ITS amplicon** (microbiome) FASTQ-to-feature-table | `alterlab-qiime2-amplicon` | | **Spatial** transcriptomics (Visium/Xenium) neighborhood analysis | `alterlab-squidpy-spatial` | | Loading/manipulating the resulting matrix as an **AnnData** object | `alterlab-anndata` | | BLAST/DIAMOND **sequence similarity search** | `alterlab-blast` | | Quick gene/transcript **ID lookups & reference fetch** (Ensembl/RefSeq) | `alterlab-gget` | | Aligned **BAM** manipulation, coverage, read counting from alignments | `alterlab-pysam` | This skill stops at the **count/abundance matrix**. It does not call DEGs, does not handle single-cell barcodes, and does not align to a genome for variant calling. --- ## Two Critical Correctness Traps (read before quantifying) These are the three failures most outdated RNA-seq instructions get wrong now that salmon has moved to **2.x** (a from-scratch Rust rewrite; bioconda 2.7.0). All are confirmed in the upstream `MIGRATION.md` (see [references/tool_versions.md](references/tool_versions.md)). 1. **salmon 2.0 cannot read a C++ (pufferfish) index.** The index format changed with the rewrite. Loading an old index — or pointing old salmon at a 2.x index — is detected and rejected with a clear error, so this fails loudly rather than silently. **Rebuild every index** with the same salmon version you quantify with. `quant.sf` and the bootstrap/Gibbs outputs are unchanged, so tximport, tximeta, fishpond and swish keep working on 2.x output with no changes. 2. **`--validateMappings` no longer does anything.** Selective alignment is the default (and only) alignment mode in 2.x, so the flag parses and logs a warning. Copying it from a 2019-era tutorial is harmless but misleading; drop it. Several other C++ flags now **error out**: `--mimicBT2`, `--mimicStrictBT2`, `--minAssignedFrags`, `--numBiasSamples`, `--alternativeInitMode`. 3. **`salmon alevin` was REMOVED.** Single-cell quantification is no longer part of salmon; `salmon alevin …` prints a redirect and exits. Use the **piscem + alevin-fry** ecosystem instead. If the user has single-cell / droplet data, route per the table above and see [references/single_cell_alevin.md](references/single_cell_alevin.md). If you genuinely need the old behavior, the final C++ release (salmon 1.12.0) lives on the upstream `cpp` branch and is packaged separately as `salmon-cpp`. --- ## Pipeline (salmon, the default path) ### 1. Build a decoy-aware gentrome index (once per reference) A **decoy-aware** index lets salmon distinguish reads that align better to the genome than the transcriptome, reducing spurious assignments. You build a "gentrome" = transcripts FASTA **concatenated with the genome FASTA**, plus a `decoys.txt` listing the genome sequence names as decoys. ```bash # 1. decoys.txt = the genome's sequence (chromosome) names, one per line grep "^>" genome.fa | sed 's/^>//; s/ .*//' > decoys.txt # 2. gentrome = transcripts FIRST, then genome (order matters) cat transcripts.fa genome.fa > gentrome.fa # 3. build the index (rebuild under salmon 2.x — see trap #1) salmon index \ -t gentrome.fa \ -d decoys.txt \ -i salmon_index \ -k 31 \ -p 8 ``` - `-k 31` is the default k-mer; lower it only for very short reads. - The helper `scripts/make_decoys.py` writes `decoys.txt` and `gentrome.fa` for you and refuses to proceed if the genome names are absent from the transcript FASTA (a common silent mistake). See [references/decoy_index.md](references/decoy_index.md). ### 2. Quantify each sample
From AlterLab-IEU/AlterLab-Academic-Skills, MIT.
More from AlterLab-IEU/AlterLab-Academic-Skills
- 0.545score
alterlab-alphafold
AlterLab-IEU
Predict protein 3D structures with AlphaFold2 via ColabFold — MMseqs2-accelerated MSAs, monomer and AlphaFold2-Multimer complex folding, and confidence-based…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-anndata
AlterLab-IEU
Build, slice, concatenate, read, and write AnnData annotated data matrices (obs, var, X, layers, obsm, uns) — the scverse data STRUCTURE, not an analysis…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-arboreto
AlterLab-IEU
Infer gene regulatory networks (GRNs) from expression matrices using arboreto's scalable GRNBoost2 and GENIE3 tree-ensemble algorithms with Dask-distributed…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-biopython
AlterLab-IEU
Manipulate biological sequences, parse FASTA/GenBank/PDB files, run phylogenetics, and access NCBI/PubMed programmatically via Biopython (Bio.SeqIO…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-bioservices
AlterLab-IEU
Query 40+ bioinformatics web services through one consistent Python API with bioservices (UniProt, KEGG, ChEMBL, Reactome, Ensembl, NCBI and more).
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-boltz
AlterLab-IEU
Co-fold biomolecular complexes with Boltz-2, an open AlphaFold3-style model — predict protein + ligand (SMILES/CCD), protein + nucleic-acid, and multi-chain…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-borzoi
AlterLab-IEU
Predict genome-wide functional genomics tracks from DNA sequence with Borzoi (Linder 2025) — a sequence-to-function model outputting RNA-seq, CAGE, ATAC, and…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-cellxgene
AlterLab-IEU
Query the CZ CELLxGENE Census (200M+ cells) programmatically via cellxgene-census and TileDB-SOMA, slicing expression by tissue, disease, or cell type and…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-chai
AlterLab-IEU
Predict biomolecular complexes with Chai-1, an open AlphaFold3-style model that folds multi-entity assemblies (proteins, ligands, nucleic acids) from a single…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-cobrapy
AlterLab-IEU
Build and analyze genome-scale constraint-based metabolic models with COBRApy — flux balance analysis (FBA), flux variability analysis (FVA), gene and…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-deeptools
AlterLab-IEU
Process and visualize deep-sequencing coverage with the deepTools CLI — convert BAM to bigWig (bamCoverage), build log2 ratio tracks (bamCompare), run QC…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-blast
AlterLab-IEU
Runs NCBI BLAST+ 2.17.0 sequence searches from the command line: makeblastdb (with -parse_seqids), blastn/blastp/blastx/tblastn with tabular -outfmt 6/7 for…
SkillBFreshness: B★ 78Claude Code +9
Signals
- Stars
- 78
- Forks
- 16
- Open issues
- 1
- Last commit (this folder)
- Sep 23, 2026 (1 month ago)
- Last release
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.2.0
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AlterLab-IEU
- 0.545score
alterlab-anndata
AlterLab-IEU
Build, slice, concatenate, read, and write AnnData annotated data matrices (obs, var, X, layers, obsm, uns) — the scverse data STRUCTURE, not an analysis…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-biopython
AlterLab-IEU
Manipulate biological sequences, parse FASTA/GenBank/PDB files, run phylogenetics, and access NCBI/PubMed programmatically via Biopython (Bio.SeqIO…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-blast
AlterLab-IEU
Runs NCBI BLAST+ 2.17.0 sequence searches from the command line: makeblastdb (with -parse_seqids), blastn/blastp/blastx/tblastn with tabular -outfmt 6/7 for…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-alphafold
AlterLab-IEU
Predict protein 3D structures with AlphaFold2 via ColabFold — MMseqs2-accelerated MSAs, monomer and AlphaFold2-Multimer complex folding, and confidence-based…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-arboreto
AlterLab-IEU
Infer gene regulatory networks (GRNs) from expression matrices using arboreto's scalable GRNBoost2 and GENIE3 tree-ensemble algorithms with Dask-distributed…
SkillBFreshness: B★ 78Claude Code +9 - 0.545score
alterlab-bioservices
AlterLab-IEU
Query 40+ bioinformatics web services through one consistent Python API with bioservices (UniProt, KEGG, ChEMBL, Reactome, Ensembl, NCBI and more).
SkillBFreshness: B★ 78Claude Code +9
Cite this page
alterlab-rnaseq-quant skill. Agent Mart. https://agentmart.dev/skills/alterlab-ieu-alterlab-rnaseq-quant (last updated 2026-10-24)