Validate FASTQ inputs, run local FastQC/MultiQC QC, interpret QC signals, and optionally execute fastp or Cutadapt trimming branches without overwriting raw reads.
70
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
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-planUse the plugin-owned runner for local artifact-producing FASTQ QC:
python plugins/ngs-analysis/scripts/run_fastq_qc.py \
--sample-sheet samplesheet.csv \
--executeSingle paired sample:
python plugins/ngs-analysis/scripts/run_fastq_qc.py \
--sample sampleA \
--r1 sampleA_R1.fastq.gz \
--r2 sampleA_R2.fastq.gz \
--executeOptional trimming branch:
python plugins/ngs-analysis/scripts/run_fastq_qc.py \
--sample-sheet samplesheet.csv \
--trim-mode fastp \
--executeFor explicit adapters:
python plugins/ngs-analysis/scripts/run_fastq_qc.py \
--sample-sheet samplesheet.csv \
--trim-mode cutadapt \
--adapter-r1 AGATCGGAAGAGC \
--adapter-r2 AGATCGGAAGAGC \
--executeThe 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/multiqcQC 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/multiqcReturn 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.
11c74d6
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.