genomics-alignment

genomics-alignment is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 89 tokens per session (902 once invoked), scanned A, original, Apache-2.0.

A quality-control tool for SAM or BAM files, which are common formats for DNA sequencing reads after they have been aligned to a reference genome. It measures mapping, read-pair, duplicate, mapping-quality, and insert-size statistics.

In plain words
What is it for?
Use it to calculate mapping rate, MAPQ distribution, proper-pair rate, duplicate rate, and insert-size summaries from SAM or BAM files.
Why use it?
It produces standard alignment checks without requiring the samtools program, helping identify problems in an already-aligned dataset.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to calculate mapping rate, MAPQ distribution, proper-pair rate, duplicate rate, and insert-size summaries from SAM or BAM files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/genomics-alignment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TianGzlab/OmicsClaw --skill genomics-alignment
Clone the repo
git clone --depth 1 https://github.com/TianGzlab/OmicsClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for genomics-alignment

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/genomics-alignment/github.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/genomics-alignment)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/genomics-alignment"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/genomics-alignment/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for genomics-alignment

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/genomics-alignment"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/genomics-alignment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 902 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 3
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.00902
Opus 5.5 $0.00036 $0.00361
Sonnet 5.5 $0.00018 $0.00180
Haiku 4.5 $0.00009 $0.00090

Measured 15d ago against content hash 3531803f0f00, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

genomics-alignment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (_api.py, examples/example_step.py, genomics_alignment.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/genomics/genomics-alignment/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

genomics-alignment

When to use

Load this skill for the file-based analysis named in the description. The function library and CLI share the same calculations; no external aligner, assembler, caller or annotation service is started.

Use from a step

from skills._sdk.notebook import load_skill, read_input, write_output
library = load_skill("genomics-alignment")
data = read_input("input.sam", reader=library.read_records)
result = library.analyze(data)
write_output(result, "tables/result.csv")
write_output(library.distribution_figure(result), "figures/distribution.png")

Run examples/example_step.py through the step runner for a small, hand-worked synthetic fixture. It asserts known summary values. The reader materializes the input in memory; use bounded FASTQ reads or pre-filter large genomic files before loading them.

API

read_records(path: str | Path) -> pd.DataFrame

Read records through read_input(path, reader=library.read_records).

:param path: Input file in the format documented under Inputs and outputs.

:returns: Parsed records as a DataFrame. :raises ValueError: Input values or file structure cannot be parsed.

analyze(data: pd.DataFrame) -> pd.DataFrame

Compute alignment summaries and return a new table, leaving data unchanged.

:param data: Records containing flag, mapq, tlen.

:returns: Result table with diagnostics and summary in attrs['run_info']. :raises ValueError: Required columns are absent or records are empty or invalid.

run_info(data: pd.DataFrame, *, keep: bool=True) -> dict

Return analysis diagnostics and summary.

:param data: Result returned by analyze. :param keep: Keep diagnostics by default; the CLI passes False. :returns: Independent diagnostics dictionary. :raises ValueError: analyze has not populated diagnostics.

distribution_figure(data: pd.DataFrame)

Plot mapping_rate_pct values without writing files.

Read the full file on GitHub · 127 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 15d ago Changed · +41 lines · +10 tokens per session 3531803f0f00
  2. 1mo ago First seen · 86 lines · 79 tokens per session scan A fda5abd6a0f3

Subscribe to this mod's changes

genomics-alignment is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 15d ago), licensed Apache-2.0. It adds 89 tokens to every session and 902 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

biomcp-research

Do biomedical literature and variant research with the BioMCP CLI, and file what you learn about the tool itself as issues in the biomcp repo.

genomoncology/biomcp · 36 tokens

nfcore-scrnaseq-wrapper

Wrapper skill for running nf-core/scrnaseq 4.1.0 upstream single-cell RNA-seq preprocessing from FASTQ with strict preflight, reproducibility outputs, and downstream handoff to ClawBio scRNA skills.

ClawBio/ClawBio · 55 tokens

biotech-expert

Expert in biotechnology systems, genomics, LIMS, bioinformatics pipelines, lab automation, and bioprocess management. Use when the user mentions genomics, bioinformatics, LIMS, lab automation, bioprocessing, or gene sequencing, or when the task involves Genomics and Sequencing Technologies, Laboratory Information…

personamanagmentlayer/pcl · 83 tokens

nfcore-rnaseq-wrapper

Wrapper skill for running nf-core/rnaseq bulk RNA-seq preprocessing from FASTQ or BAM inputs with strict preflight, reproducibility outputs, and downstream handoff to ClawBio bulk RNA-seq DE skills.

ClawBio/ClawBio · 51 tokens

deepspot-m

Transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Scores a 224x224 tile and returns per-gene log1p-CPM values for any HGNC symbols you ask for, with a CSV, a report and a reproducibility bundle.

ClawBio/ClawBio · 62 tokens

locuscompare-region-render

Render a 4-panel regional LocusCompare diagnostic for one (lead variant, exposure study, outcome study) tuple - overlays GWAS Manhattan, QTL Manhattan, GENCODE gene track, and cross-trait scatter colored by LD r². Use when an agent needs visual confirmation that two GWAS / QTL signals share the same causal variant…

ClawBio/ClawBio · 128 tokens