genome-alignment-qc
Assess alignment quality with coverage depth, mapping rates, insert size, and on-target metrics using samtools, mosdepth, and picard.
Skill by Scientific-Tooling
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/scientific-tooling-genome-alignment-qc
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: testing
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
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/genome-alignment-qc
What's inside
- Skill name
genome-alignment-qc- Description
- Assess alignment quality with coverage depth, mapping rates, insert size, and on-target metrics using samtools, mosdepth, and picard.
- License
- MIT
- Instructions
- 52 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (10)
- SKILL.md
- README.md · agents/
- claude.yaml · agents/
- openai.yaml · agents/
- .gitkeep · assets/
- config.yaml
- README.md · references/
- samtools-mosdepth-picard-qc.md · references/
- batch_run.sh · scripts/
- run.sh · scripts/
SKILL.md (first lines)
# Skill: genome-alignment-qc ## Use When - User wants to evaluate BAM quality before variant calling. - User needs to assess coverage depth and uniformity across the genome or target regions. - User wants to check mapping rate, duplication rate, and insert size distribution. - User needs to calculate on-target rate for whole-exome sequencing (WES). - User wants to compare QC metrics across samples to detect batch effects. ## Inputs - Required: - BAM file with index (`.bam` + `.bai`). - Optional: - Target BED file (for WES on-target metrics). - Reference FASTA (required for picard metrics). - Output directory (default: current directory). - Per-base coverage flag (enables mosdepth per-base output; default: off). ## Workflow 1. Run `samtools stats` and `samtools flagstat` for mapping summary. 2. Run `samtools idxstats` for per-chromosome read counts. 3. Run `mosdepth` for coverage distribution (genome-wide, or restricted to target BED). 4. If target BED provided: compute on-target rate and per-target coverage statistics. 5. Run `picard CollectInsertSizeMetrics` for insert size distribution. 6. Run `picard CollectAlignmentSummaryMetrics` for detailed alignment statistics. 7. Compile summary: mapping rate, duplicate rate, mean coverage, coverage uniformity (CV), median insert size, on-target rate (if WES). 8. Flag metrics outside recommended thresholds (see `knowledge/sources/genomics/quality-thresholds.md`). ## Output Contract - `samtools stats` and `samtools flagstat` output files. - `mosdepth` coverage files (`.mosdepth.global.dist.txt`, `.per-base.bed.gz` if enabled). - Picard insert size metrics file and histogram. - Picard alignment summary metrics file. - Compiled QC summary with key metrics and threshold flags. ## Limits - samtools, mosdepth, and picard must be installed and available on `$PATH`. - mosdepth per-base output can be very large for WGS (~10 GB for 30x human). - Picard requires a Java runtime (Java 8+). - Reference FASTA is required for picard metrics but not for samtools/mosdepth. - This skill reports metrics for a single BAM; multi-sample comparison is out of scope. - Common failure cases: - BAM index (`.bai`) missing or out of date relative to the BAM file. - Target BED file using different chromosome naming convention than the BAM (e.g., `chr1` vs `1`). - Picard failing due to missing reference FASTA sequence dictionary (`.dict`).
From Scientific-Tooling/structured-intelligence, MIT.
More from Scientific-Tooling/structured-intelligence
- 0.456score
metagenome-functional-profiling
Scientific-Tooling
Functional annotation of metagenomic data using HUMAnN 3 for pathway abundance, Prokka for gene prediction, and eggNOG-mapper for ortholog assignment.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
metagenome-host-removal
Scientific-Tooling
Remove host-derived reads from metagenomic samples by aligning to a host reference genome and extracting unmapped pairs.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-sra
Scientific-Tooling
Download raw sequencing data from NCBI SRA as FASTQ files using prefetch and fasterq-dump, with support for single accessions, batch lists, and BioProject…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
ncbi-eutilities-assistant
Scientific-Tooling
Query NCBI Entrez databases through official E-utilities with deterministic search, summary, fetch, link, and history workflows.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
design-thermostable-mutations
Scientific-Tooling
Decision-grade enzyme/protein mutation design for thermostability with bioactivity-preserving constraints enforced by default, plus structure-aware and…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
metagenome-binning
Scientific-Tooling
Recover metagenome-assembled genomes (MAGs) from contigs using MetaBAT2, refine with DAS Tool, and assess quality with CheckM2.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
genome-variant-annotation
Scientific-Tooling
Annotate variants with functional effects using SnpEff or Ensembl VEP, adding gene impact, population frequencies, and clinical significance.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
genome-variant-calling
Scientific-Tooling
Call SNVs and indels from aligned BAMs using GATK HaplotypeCaller or DeepVariant with optional GVCF output for joint genotyping.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-gdc
Scientific-Tooling
Download files from the NCI Genomic Data Commons (GDC) using the GDC Data Transfer Tool and REST API, supporting both open-access and controlled-access data.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-geo
Scientific-Tooling
Download supplementary data files, series matrices, and raw FASTQ links from NCBI GEO for a given GSE series or GSM sample accession.
SkillDFreshness: D★ 4Claude Code +9 - 0.453score
ngs-read-preprocessing
Scientific-Tooling
Adapter trimming, quality filtering, and per-sample QC reporting with fastp.
SkillDFreshness: D★ 4Claude Code +9 - 0.453score
genome-read-alignment
Scientific-Tooling
Align short reads to a reference genome with BWA-MEM2, sort and index with samtools, and mark duplicates with picard.
SkillDFreshness: D★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Mar 19, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Scientific-Tooling
- 0.456score
design-thermostable-mutations
Scientific-Tooling
Decision-grade enzyme/protein mutation design for thermostability with bioactivity-preserving constraints enforced by default, plus structure-aware and…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-gdc
Scientific-Tooling
Download files from the NCI Genomic Data Commons (GDC) using the GDC Data Transfer Tool and REST API, supporting both open-access and controlled-access data.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-geo
Scientific-Tooling
Download supplementary data files, series matrices, and raw FASTQ links from NCBI GEO for a given GSE series or GSM sample accession.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-sra
Scientific-Tooling
Download raw sequencing data from NCBI SRA as FASTQ files using prefetch and fasterq-dump, with support for single accessions, batch lists, and BioProject…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
genome-variant-annotation
Scientific-Tooling
Annotate variants with functional effects using SnpEff or Ensembl VEP, adding gene impact, population frequencies, and clinical significance.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
genome-variant-calling
Scientific-Tooling
Call SNVs and indels from aligned BAMs using GATK HaplotypeCaller or DeepVariant with optional GVCF output for joint genotyping.
SkillDFreshness: D★ 4Claude Code +9
Cite this page
genome-alignment-qc skill. Agent Mart. https://agentmart.dev/skills/scientific-tooling-genome-alignment-qc (last updated 2026-10-24)