plugins/ngs-analysis/skills/ngs-fastq-qc/SKILL.md
Validate FASTQ inputs, run local FastQC/MultiQC QC, interpret QC signals, and optionally execute fastp or Cutadapt trimming branches without overwriting raw reads.
npx skillsauth add openai/plugins ngs-fastq-qcInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
tools
Top-level workflow skill for USD performance diagnosis and optimization. Use for slow loading, high memory, low FPS, or 'optimize my scene' requests; delegates auth/runtime setup to Phase 0 owners.
data-ai
Use when the user mentions MagicPath, designs, UI components, themes, canvas selections, or repo-to-canvas UI work; run magicpath-ai to search, inspect, install, or author components.
documentation
Use as the top-level router for Omniverse Realtime Viewer USD app requests and focused viewer reference documents.
tools
Turn Notion specs into implementation plans, tasks, and progress tracking; use when implementing PRDs/feature specs and creating Notion plans + tasks from them.