bulkrna-batch-correcti…
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation. Skip…
Load when generating spliced / unspliced layers from Cell Ranger BAM, FASTQ, STARsolo output,
$ npx -y skills add tiangzlab/omicsclaw --skill sc-velocity-prep --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sc-velocity-prepContext preview
The summary Claude sees to decide when to auto-load this skill.
Load when generating spliced / unspliced layers from Cell Ranger BAM, FASTQ, STARsolo output,
name: sc-velocity-prep description: Load when generating spliced / unspliced layers from Cell Ranger BAM, FASTQ, STARsolo output, or velocyto loom — the prerequisite for sc-velocity. Skip when AnnData already has spliced+unspliced layers (use sc-velocity); any non-velocity preprocessing (use sc-preprocessing). trigger: RNA velocity prep, prepare spliced unspliced layers, velocyto, starsolo velocyto, velocity-ready AnnData tags: - singlecell - scrna - velocity-prep - velocyto - starsolo - spliced-unspliced
This is CLI_ONLY: it runs external preparation tools or imports their files.
from skills._sdk.notebook import run_cli
run_cli("sc-velocity-prep", "--input", "data/velocity.loom",
"--base-h5ad", "data/clustered.h5ad",
inputs=["data/velocity.loom", "data/clustered.h5ad"])The demo splits PBMC3k counts into fixed 82% spliced, 14% unspliced and 4% ambiguous layers. It checks packaging, not velocity biology or external tool installation. There is no `_api.py` for this skill.
The user has raw Cell Ranger output (BAM + barcodes), STARsolo output, or paired FASTQs and needs an AnnData with `layers["spliced"]` / `layers["unspliced"]` (and optional `layers["ambiguous"]`) before running `sc-velocity`. Two backends:
using a GTF. Produces a `.loom` and reads it back into AnnData.
Velocyto solo subworkflow, or loads existing STARsolo Velocyto output directly when detected.
`--base-h5ad` lets you merge the velocity layers into an already-processed AnnData (preserves `obs` / `obsm` / clustering).
For velocity estimation itself use `sc-velocity`. For non-velocity scRNA preprocessing use `sc-preprocessing`.
**Inputs**
**Outputs**
1. Resolve `--input` (Cell Ranger dir / STARsolo dir / FASTQ / `.loom`). 2. For `velocyto`: locate BAM + barcodes, validate `--gtf` (or auto-pick from `resources/singlecell/references/gtf/`), run `velocyto run`, load `.loom`. 3. For `starsolo`: detect existing STARsolo Velocyto output and load directly, OR re-run STARsolo Velocyto with `--reference` + `--chemistry` + auto-detected `--whitelist`. 4. Optionally merge layers into `--base-h5ad`. 5. Compute layer totals (`tables/velocity_layer_summary.csv`) and top-gene balance. 6. Save `processed.h5ad`, tables, figures, `report.md`, `result.json`.
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…