bulkrna-trajblend

bulkrna-trajblend is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 65 tokens per session (1,101 once invoked), scanned A, original, Apache-2.0.

A workflow that places bulk RNA-sequencing samples on the progression path of a single-cell reference dataset. Bulk RNA-seq measures gene activity across many cells together, while single-cell data measures individual cells; pseudotime is an estimated position along a biological process.

In plain words
What is it for?
Use it with CSV, TSV, or H5AD data to create cell-fraction and pseudotime tables, trajectory and heatmap figures, a report, and JSON results.
Why use it?
It estimates both cell-type proportions and where each bulk sample falls along the reference’s pseudotime path. This provides a way to compare bulk samples with a single-cell view of cellular progression.

Skill for Claude CodeCodex

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

Good fit Use it with CSV, TSV, or H5AD data to create cell-fraction and pseudotime tables, trajectory and heatmap figures, a report, and JSON results.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/bulkrna-trajblend/github.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/bulkrna-trajblend)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/bulkrna-trajblend"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/bulkrna-trajblend/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 bulkrna-trajblend

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/bulkrna-trajblend"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/bulkrna-trajblend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,101 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.00065 $0.01101
Opus 5 $0.00032 $0.00550
Sonnet 5 $0.00013 $0.00220
Haiku 4.5 $0.00006 $0.00110

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (bulkrna_trajblend.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-trajblend/SKILL.md · 86 lines

How it starts

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

bulkrna-trajblend

When to use

Run when you have a bulk RNA-seq cohort and a single-cell reference with pre-computed pseudotime, and you want each bulk sample placed on that pseudotime axis. The current implementation is a sklearn-based NNLS-plus-nearest-neighbour pipeline (PCA → kNN against ref); it does not use VAE / GNN despite the skill name's connotation.

Inputs & Outputs

Inputs

  • File types: .csv, .tsv, .h5ad

Outputs

  • tables/cell_fractions.csv
  • tables/pseudotime_estimates.csv
  • figures/bulk_on_trajectory.png
  • figures/fraction_heatmap.png
  • figures/pseudotime_distribution.png
  • figures/trajectory_embedding.png
  • report.md
  • result.json

Flow

  1. Load bulk counts + sc reference.
  2. Find common genes between bulk and reference (bulkrna_trajblend.py:117 raises ValueError if < 50 genes overlap).
  3. Run NNLS deconvolution to estimate per-sample cell-type fractions.
  4. Project bulk samples into the reference's PCA space; use sklearn.neighbors.NearestNeighbors to find each bulk sample's k nearest reference cells.
  5. Estimate per-sample pseudotime as mean (and std) of the neighbour set's reference pseudotime values.
  6. Render trajectory figures; emit fractions + pseudotime tables.

Gotchas

  • Gene-namespace mismatch hard-fails at 50. bulkrna_trajblend.py:117 raises if fewer than 50 gene IDs overlap between bulk and reference. Most common cause: bulk uses Ensembl IDs while sc reference uses HGNC symbols. Pre-run bulkrna-geneid-mapping to harmonise.
  • --n-epochs is currently a no-op. The argparse help text at :354 reads "VAE epochs (unused in fallback)" — there is no VAE / GNN code path in this version (the script imports only sklearn, numpy, pandas). The flag is preserved as a forward-compat hook; passing any value has no effect on output. Do not report results as "VAE+GNN-derived" until that code lands.
  • Pseudotime placement is a kNN average, not a likelihood-based fit. Each bulk sample's pseudotime is the mean of its k nearest reference cells' pseudotimes — it doesn't carry uncertainty in the way a probabilistic model would. Use pseudotime_std and mean_neighbor_dist (per bulkrna_trajblend.py:184-188) as crude confidence proxies; large neighbour distances mean the bulk sample doesn't cleanly resemble any reference cell.
  • Reference pseudotime values must be supplied externally. This skill consumes pseudotime; it does not compute it. Run sc-pseudotime on the reference first (or use a published pre-pseudotimed reference) so the input AnnData has the relevant obs column.

Read the full file on GitHub · 86 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. 10d ago First seen · 86 lines · 65 tokens per session scan A c9db639f4f14

Subscribe to this mod's changes

bulkrna-trajblend is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 65 tokens to every session and 1,101 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

trajectory-analysis

Single-cell trajectory inference pipeline covering diffusion pseudotime (DPT), PAGA, RNA velocity with scVelo, and fate mapping with CellRank. Use when the user mentions pseudotime, trajectory, lineage, differentiation, RNA velocity, scVelo, CellRank, PAGA, diffusion map, fate probabilities, terminal states…

awslabs/hcls-agent-skills · 141 tokens

scanpy

Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, and visualization. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use…

synthetic-sciences/openscience · 68 tokens

Developmental Gene Panel Design Workflow

Panel design for DEVELOPING / dynamic systems (embryonic organs, differentiation, regeneration). The target experiment is usually a LATE / terminal stage, but the biology is a trajectory: terminal cell types are end-products of earlier lineage programs. A panel built from the target stage alone resolves terminal…

aristoteleo/PantheonOS · 129 tokens

cellxgene-census-query

Query CZ CELLxGENE Census (61M+ cells). Filter by cell type/tissue/disease, retrieve expression data, and integrate with scanpy/PyTorch for population-scale single-cell analysis. Use this skill when: (1) Querying single-cell expression data by cell type, tissue, or disease, (2) Exploring available single-cell datasets…

PharMolix/OpenBioMed · 105 tokens

single-cell-scrna-seq-analysis-scanpy

Complete single-cell RNA-seq analysis workflow built on Scanpy and AnnData. Use this skill when: (1) Loading diverse single-cell data formats (10X, h5ad, CSV), (2) Performing quality control and filtering, (3) Normalization, dimensionality reduction, and clustering, (4) Marker gene identification and cell type…

PharMolix/OpenBioMed · 85 tokens

single-cell-multi-omics-analysis-scvi

Probabilistic deep learning framework for single-cell multi-omics data analysis. Use this skill when: (1) Analyzing single-cell RNA-seq data with batch correction, (2) Integrating multi-modal data (CITE-seq, ATAC-seq, multi-omics), (3) Performing cell type annotation with scANVI, (4) Spatial transcriptomics…

PharMolix/OpenBioMed · 94 tokens