bulkrna-read-alignment
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…
от lilinji★ 18 звёзд на GitHub
Установить bulkrna-read-alignment в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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.csvfigures/alignment_composition.pngfigures/gene_body_coverage.pngfigures/mapping_summary.pngreport.mdresult.json
Flow
- Auto-detect aligner from filename (
bulkrna_read_alignment.py:305-311):log.final.out→ STAR;meta_info→ Salmon; otherwise → HISAT2. - Parse the log into a numeric stats dict.
- Run quality assessment heuristics (high/medium/low mapping-rate buckets).
- Render figures and write
report.md+tables/alignment_stats.csv.
Gotchas
- Aligner detection is filename-based, not content-based.
bulkrna_read_alignment.py:305-311dispatches byinput_path.name.lower()— anything that is neitherlog.final.outnormeta_info(case-insensitive substring) is silently parsed as a HISAT2 log. A renamed STAR log will produce nonsense. Pass--method starexplicitly if your STAR file isn't named conventionally. - The skill consumes the LOG, not the BAM. Feeding a
.bamor.samfile as--inputwill not raise — the parser just finds zero matchable lines and reports an empty stats dict. Sanity-checkresult.json["summary"]["total_reads"]is non-zero before trusting any downstream summary. - Gene body coverage is synthetic in
--demomode (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.
Key CLI
python omicsclaw.py run bulkrna-read-alignment --demo
python omicsclaw.py run bulkrna-read-alignment --input Log.final.out --output results/
See also
references/parameters.md— every CLI flag and tuning hintreferences/methodology.md— STAR / HISAT2 / Salmon parsers, strandedness inferencereferences/output_contract.md— exact output directory layout- Adjacent skills:
bulkrna-read-qc(upstream FASTQ QC),bulkrna-qc(downstream count-matrix QC),genomics-alignment(DNA-alignment sibling: BAM/SAM, not log files)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- bulkrna_read_alignment.py
- references/methodology.md
- references/output_contract.md
- references/parameters.md
- skill.yaml
FAQ
Что делает скилл bulkrna-read-alignment?
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).
Как установить скилл bulkrna-read-alignment?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bulkrna-read-alignment запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…