plugins/ngs-analysis/skills/ngs-analysis-router/SKILL.md
Route 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.
npx skillsauth add openai/plugins ngs-analysis-routerInstall 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 as the top-level entrypoint for ambiguous or broad sequencing-analysis requests.
Inspect the available inputs before asking the user questions. Look for:
RunInfo.xml, RunParameters.xml, SampleSheet.csv, Data/Intensities/BaseCalls*.fastq, *.fq, *.fastq.gz, *.fq.gz*.bam, *.cram, *.vcf, *.vcf.gzmatrix.mtx, features.tsv, barcodes.tsv, *.h5, *.h5ad, *.rdsRead references/intake-schema.json and references/pipeline-registry.json when forming the route.
Ask the smallest set of missing questions needed to choose a defensible pipeline. Do not ask the full questionnaire if file inspection already answers a field.
Always resolve:
For human data, ask whether cloud upload is allowed before suggesting BaseSpace, Terra, DNAnexus, or any cloud path.
Route to one leaf skill:
ngs-bcl-to-fastqngs-fastq-qcngs-dna-variant-calling, then a subtype skill when the analysis model is clearngs-dna-germline-variantsngs-dna-somatic-variantsngs-dna-umi-panel-variantsngs-bulk-rnaseqngs-bulk-rnaseq-counts-qcngs-bulk-rnaseq-differential-expressionngs-scrna-seqscrna-seq-qcngs-epigenomics-peaksngs-atacseq-peaks-qcngs-chip-cutrun-peaks-qcngs-amplicon-microbiomengs-shotgun-metagenomicsngs-runtime-envPrefer public, runtime-installable packages and nf-core workflows. Surface license/EULA/account boundaries before using proprietary or cloud tools.
Before proposing installation or execution, run a preflight plan from the repo root:
python plugins/ngs-analysis/scripts/ngs_preflight.py --pipeline <pipeline_key> --emit-install-plan
When the user needs an approval-ready install handoff, write persistent install artifacts:
python plugins/ngs-analysis/scripts/ngs_preflight.py --pipeline <pipeline_key> --manager micromamba --install-plan-outdir runtime_readiness/<pipeline_key>_install
Treat install_plan.json as the canonical review artifact. install_commands.sh is generated from the same plan and stays review-only unless the user explicitly approves execution with NGS_RUN_INSTALL_COMMANDS=1.
For reference- or database-heavy pipelines, also create a resource plan before saying the workflow is runnable:
python plugins/ngs-analysis/scripts/ngs_reference_manager.py plan --pipeline <pipeline_key> --genome-build <build> --outdir resource_readiness/<pipeline_key>
Use --include-optional for shotgun, amplicon, or motif-enabled epigenomics runs when optional databases materially affect the requested output.
Use --network-checks only when the user allows network checks. Use --install-missing --yes only when the user explicitly asks to install.
Return:
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.