bulkrna-batch-correcti…
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation. Skip…
Load when summarising STAR / HISAT2 / Salmon alignment-rate logs in bulk RNA-seq. Skip when
Claude Code
$ npx -y skills add tiangzlab/omicsclaw --skill bulkrna-read-alignment --agent claude-code
Codex
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-read-alignment -a codex -y
Cursor
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-read-alignment -a cursor -y
Gemini CLI
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-read-alignment -a gemini-cli -y
GitHub Copilot
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-read-alignment -a github-copilot -y
OpenCode
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-read-alignment -a opencode -y
Windsurf
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-read-alignment -a windsurf -y
name: bulkrna-read-alignment description: Load when summarising STAR / HISAT2 / Salmon alignment-rate logs in bulk RNA-seq. Skip when data is raw FASTQ (use bulkrna-read-qc); already counted (use bulkrna-qc); genome-DNA alignment (use genomics-alignment). trigger: RNA-seq alignment, STAR, HISAT2, Salmon, mapping rate, read alignment, alignment QC tags: - bulkrna - alignment - STAR - HISAT2 - Salmon - mapping-rate - strandedness
Summarize existing STAR, paired-end HISAT2 or Salmon logs. This does not run an aligner. Use `bulkrna-read-qc` for FASTQ and `bulkrna-qc` for counts.
from skills._sdk.notebook import load_skill, write_output
library = load_skill('bulkrna-read-alignment')
data = library.demo_data(random_state=42)
result = library.summarize(data)
write_output(result, 'tables/alignment_stats.csv')For real files, pass `read_fastq`, `read_log` or `read_reference` as appropriate to `read_input(..., reader=...)`. `examples/example_step.py` is executable.
<!-- api:begin generated from _api.py; regenerate with run.py api <skill dir> --write -->
Read log text; pass this function as reader= to read_input.
:param path: STAR, HISAT2 or Salmon text/JSON log. :returns: File contents without interpreting its filename. :raises OSError: The file cannot be read.
Parse alignment counts and return a new mapping summary.
:param data: Log text or a one-row parsed table, including demo_data output. :param method: CLI default star; select hisat2 for paired-end summaries or salmon for meta_info JSON. :returns: Mapping counts/rates with quality heuristics in run_info; Salmon reports total mapped, not unique mapped. :raises ValueError: Required counts are missing, inconsistent or the method is unsupported.
Read mapping assessment and unavailable-evidence diagnostics.
:param result: Output of summarize. :param keep: True preserves attrs; False removes diagnostics before serialization. :returns: A separate quality/provenance dictionary. :raises TypeError: The result is not a DataFrame.
Plot observed mapping counts as percentages.
:param result: Output of summarize. :returns: A matplotlib Figure without writing files. :raises KeyError: Mapping counts are absent.
Plot observed mapping composition.
:param result: Output of summarize. :returns: A matplotlib Figure without writing files. :raises KeyError: Mapping counts are absent.
Plot an explicitly supplied gene-body coverage profile.
:param coverage: position and coverage columns; alignment logs cannot supply these observations. :returns: A matplotlib Figure without synthesizing missing measurements. :raises KeyError: Coverage columns are absent.
Generate the synthetic STAR summary used by the CLI demo.
:param random_state: CLI seed 42; change for another simulation. :returns: One simulated alignment summary row. :raises ValueError: The seed is invalid.
Generate an illustrative coverage profile, not inferred from an alignment log.
:param random_state: CLI demo seed 42; change for another simulation. :returns: One hundred simulated percentile/coverage rows. :raises ValueError: The seed is invalid.
<!-- api:end -->
`summarize` defaults to STAR, matching the CLI. Choose `hisat2` or `salmon` explicitly; filenames do not override that choice. STAR/HISAT2 include unique and multimapped counts. Salmon meta_info reports total mapped counts only.
The CLI writes these artifacts; functions return DataFrames and Figures without writing them:
python skills/bulkrna/bulkrna-read-alignment/bulkrna_read_alignment.py --demo --output /tmp/bulkrna_read_alignment
For real files use `--input <file>`; trajectory placement also needs `--reference <file>`.
`matplotlib`, `numpy`, `pandas`
Conversational & memory-enabled AI research partner for multi-omics analysis. CLI + Desktop App (installers in Releases). From biological idea to full research paper.
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation. Skip…
Load when discovering bulk gene co-expression modules and hub genes with R WGCNA. Skip direct expression contrasts (use…
Load when comparing gene expression between two conditions in bulk RNA-seq count data. Skip
Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or
Load when running pathway / GO term enrichment on a bulk RNA-seq DE result list. Skip when
Load when converting Ensembl, Entrez or symbol IDs in a bulk RNA count matrix using an explicit mapping or a small human demo…
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…