bulkrna-read-alignment

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

A bulk RNA-sequencing quality-control step that summarizes alignment or quantification logs from STAR, HISAT2 or Salmon. Bulk RNA-seq measures gene activity across many cells together, and alignment records how reads match a reference genome.

In plain words
What is it for?
Use it after STAR, HISAT2 or Salmon finishes to produce summary tables, figures, a Markdown report and a JSON result from .out, .log or .json files.
Why use it?
It turns aligner logs into mapping-rate summaries, quality categories, strandedness clues and gene-body coverage results before a count matrix is used.

Skill for Claude CodeCodex

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

Good fit Use it after STAR, HISAT2 or Salmon finishes to produce summary tables…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/bulkrna-read-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 bulkrna-read-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 bulkrna-read-alignment

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/bulkrna-read-alignment.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/bulkrna-read-alignment)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/bulkrna-read-alignment"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/bulkrna-read-alignment.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 848 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.
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.00064 $0.00848
Opus 5 $0.00032 $0.00424
Sonnet 5 $0.00013 $0.00170
Haiku 4.5 $0.00006 $0.00085

Measured 7d ago against content hash 36707ad344e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

bulkrna-read-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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (bulkrna_read_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/bulkrna/bulkrna-read-alignment/SKILL.md · 79 lines

How it starts

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

bulkrna-read-alignment

When to use

Run after the aligner / quantifier finishes, on the log file produced by STAR (Log.final.out), HISAT2 (.log), or Salmon (meta_info.json). Yields a one-page mapping-rate summary, strandedness inference, and a gene-body coverage profile — the QC bridge between raw FASTQ and the count matrix.

Inputs & Outputs

Inputs

  • File types: .out, .log, .json

Outputs

  • tables/alignment_stats.csv
  • figures/alignment_composition.png
  • figures/gene_body_coverage.png
  • figures/mapping_summary.png
  • report.md
  • result.json

Flow

  1. Auto-detect aligner from filename (bulkrna_read_alignment.py:305-311): log.final.out → STAR; meta_info → Salmon; otherwise → HISAT2.
  2. Parse the log into a numeric stats dict.
  3. Run quality assessment heuristics (high/medium/low mapping-rate buckets).
  4. Render figures and write report.md + tables/alignment_stats.csv.

Gotchas

  • Aligner detection is filename-based, not content-based. bulkrna_read_alignment.py:305-311 dispatches by input_path.name.lower() — anything that is neither log.final.out nor meta_info (case-insensitive substring) is silently parsed as a HISAT2 log. A renamed STAR log will produce nonsense. Pass --method star explicitly if your STAR file isn't named conventionally.
  • The skill consumes the LOG, not the BAM. Feeding a .bam or .sam file as --input will not raise — the parser just finds zero matchable lines and reports an empty stats dict. Sanity-check result.json["summary"]["total_reads"] is non-zero before trusting any downstream summary.
  • Gene body coverage is synthetic in --demo mode (bulkrna_read_alignment.py:142-150). The 5'→3' bias profile in demo runs is a fixed reproducible curve, not derived from real input — useful for layout previews but not for assessing real RNA degradation.

Read the full file on GitHub · 79 lines

Files

What ships with it

5 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. 7d ago First seen · 79 lines · 64 tokens per session scan A 36707ad344e0

Subscribe to this mod's changes

bulkrna-read-alignment is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 64 tokens to every session and 848 once invoked, about $0.0003 per session on Opus 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

onekgpd

Query the 1000 Genomes Project dataset (3,202 whole-genome-sequenced individuals, GRCh38) at the level of individual participants. Use when a question is about individuals or variants in the 1000 Genomes Project cohort: which individuals carry variants matching specific criteria in a gene or region, which individuals…

K-Dense-AI/scientific-agent-skills · 143 tokens

pkpd-modeling

Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK/PD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when…

K-Dense-AI/scientific-agent-skills · 273 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

neuropixels-analysis

Analyze Neuropixels extracellular recordings end-to-end with SpikeInterface. Covers loading SpikeGLX/Open Ephys/NWB data, preprocessing, drift/motion correction, Kilosort4 (and CPU) spike sorting, quality metrics, and unit curation (threshold-based, model-based UnitRefine, and AI-assisted visual review). Use when…

K-Dense-AI/scientific-agent-skills · 98 tokens

pydicom

Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 56 tokens

clinical-decision-support

Prepare and validate research-only clinical decision-support evaluation, evidence-profile, cohort, survival, biomarker/model, privacy, and governance artifacts. Use for aggregate or synthetic research documentation and traceability—not patient care or live clinical operation.

K-Dense-AI/scientific-agent-skills · 50 tokens