Validates Illumina BCL run folders and sample sheets, plans demultiplexing, reviews index/UMI/lane choices, runs BCL-to-FASTQ conversion, and interprets demux metrics while respecting license/download boundaries.
Ships in ngs-analysis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the input is an Illumina BCL run folder or the user asks to demultiplex a sequencing run. This is a deep demultiplexing and run-validation skill, not only a command wrapper.
Confirm:
RunInfo.xmlRunInfo.xml and RunParameters.xmlPrefer bcl-convert if it is already installed. It is free for local use but proprietary and RPM-distributed by Illumina, so do not auto-download without explicit user approval.
Legacy bcl2fastq may exist in older environments. Use it only when BCL Convert is unavailable or the run requires legacy compatibility.
python plugins/ngs-analysis/scripts/ngs_preflight.py --pipeline bcl_to_fastq --emit-install-plan
Also check run-folder structure:
test -f /path/to/run/RunInfo.xml
test -f /path/to/SampleSheet.csv
find /path/to/run -maxdepth 4 -type d -name BaseCalls
Use the plugin-owned runner when the user provides a local run folder and sample sheet:
python plugins/ngs-analysis/scripts/run_bcl_to_fastq.py \
--run-folder /path/to/run \
--sample-sheet /path/to/SampleSheet.csv \
--output-directory /path/to/fastq_out
Add --execute only when conversion is requested. The runner validates RunInfo.xml, optional RunParameters.xml, the BaseCalls directory, sample-sheet rows, duplicate lane/index combinations, and index length compatibility. With --execute, it uses installed bcl-convert, then legacy bcl2fastq if available; if neither exists, it records the blocker instead of downloading proprietary software.
Before conversion, validate:
RunInfo.xml exists and its read structure matches the expected sequencing design.SampleSheet.csv exists, is the intended version, and has no duplicate sample/index combinations within each lane.First produce a preflight plan with paths and sample sheet validation. Then run conversion only after the user confirms:
bcl-convert \
--bcl-input-directory /path/to/run \
--output-directory /path/to/fastq_out \
--sample-sheet /path/to/SampleSheet.csv
After conversion, inspect and report:
Record software version, command, sample sheet checksum, run-folder path, output path, and conversion metrics. Do not start downstream analysis until severe demultiplexing anomalies are surfaced.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
illumina, bcl-convert, bcl2fastq, demultiplexing, ngs, sequencing
/ngs-analysis:ngs-bcl-to-fastqfrom ngs-analysis
npx claudepluginhub kael-odin/codex-plugins-zh --plugin ngs-analysis18 skills in this plugin
/ngs-amplicon-microbiomeKick off public 16S, 18S, ITS, COI, or other marker-gene amplicon microbiome workflows using nf-core/ampliseq, QIIME2, DADA2, and Cutadapt./ngs-analysis-routerRoute BCL, FASTQ, BAM/CRAM, count-matrix, or VCF sequencing requests to the right public NGS analysis skill and ask only the missing assay-specific setup questions./ngs-atacseq-peaks-qcRun or plan ATAC-seq QC, alignment, TSS enrichment, fragment-size, blacklist, peak-calling, consensus peak, and differential accessibility workflows./ngs-bulk-rnaseqDispatch bulk RNA-seq requests to FASTQ-to-count QC or count-matrix differential-expression skills using nf-core/rnaseq, STAR, Salmon, featureCounts, MultiQC, and R/Bioconductor workflows./ngs-bulk-rnaseq-counts-qcRun or plan bulk RNA-seq FASTQ-to-count processing with sample-sheet, strandedness, genome annotation, alignment or pseudoalignment, MultiQC, and count-matrix QC checks./ngs-bulk-rnaseq-differential-expressionRun or plan bulk RNA-seq differential-expression analysis from count matrices with replicate, design formula, contrast, batch, normalization, QC plot, and result-table checks.Other plugins' skills for the same job