Validates FASTQ inputs, runs FastQC/MultiQC, interprets QC signals, and optionally executes fastp or Cutadapt trimming without overwriting raw reads.
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 for QC-only, trimming-first, or FASTQ quality interpretation workflows. This skill can execute the plugin-owned local FastQ QC runner when the user approves a local run. It should decide whether trimming or additional investigation is warranted; it should not blindly trim by default.
Confirm:
Default tool set:
FastQC for raw read QCMultiQC for project-level summaryfastp for all-in-one QC/trimming when acceptableCutadapt when primer/adapter handling needs explicit sequencesseqkit for quick counts, stats, and subsamplingpython plugins/ngs-analysis/scripts/ngs_preflight.py --pipeline fastq_qc --emit-install-plan
Use the plugin-owned runner for local artifact-producing FASTQ QC:
python plugins/ngs-analysis/scripts/run_fastq_qc.py \
--sample-sheet samplesheet.csv \
--execute
Single paired sample:
python plugins/ngs-analysis/scripts/run_fastq_qc.py \
--sample sampleA \
--r1 sampleA_R1.fastq.gz \
--r2 sampleA_R2.fastq.gz \
--execute
Optional trimming branch:
python plugins/ngs-analysis/scripts/run_fastq_qc.py \
--sample-sheet samplesheet.csv \
--trim-mode fastp \
--execute
For explicit adapters:
python plugins/ngs-analysis/scripts/run_fastq_qc.py \
--sample-sheet samplesheet.csv \
--trim-mode cutadapt \
--adapter-r1 AGATCGGAAGAGC \
--adapter-r2 AGATCGGAAGAGC \
--execute
The runner performs pre-execution validation before Snakemake execution. It writes a timestamped run directory with run_manifest.json, config.json, validation/, workflow/Snakefile, logs, artifact_index.json, summary.md, FastQC/MultiQC outputs, and qc_interpretation.json after successful execution.
Inspect raw QC before recommending trimming:
cutadapt when explicit sequences matter; use fastp only when automatic handling is acceptable.Do not overwrite input FASTQs. Preserve the raw QC reports even when trimmed FASTQs are created.
QC-only:
mkdir -p results/fastqc results/multiqc
fastqc -t 4 -o results/fastqc *.fastq.gz
multiqc results/fastqc -o results/multiqc
QC plus trimming:
fastp \
-i sample_R1.fastq.gz \
-I sample_R2.fastq.gz \
-o results/trimmed/sample_R1.fastq.gz \
-O results/trimmed/sample_R2.fastq.gz \
--html results/fastp/sample.html \
--json results/fastp/sample.json
multiqc results -o results/multiqc
Return a short QC interpretation with:
When using the local runner, ground the response in the generated qc_interpretation.json, summary.md, and MultiQC report instead of relying only on expected artifacts.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 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-bcl-to-fastqValidate Illumina BCL run folders and sample sheets, plan demultiplexing, review index/UMI/lane choices, run BCL-to-FASTQ conversion, and interpret demux metrics while surfacing license/download boundaries./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-analysis:ngs-fastq-qcfrom ngs-analysis
npx claudepluginhub kael-odin/codex-plugins-zh --plugin ngs-analysisOther plugins' skills for the same job