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:
development
Use when the user wants to spin up / create / launch / provision a DigitalOcean droplet (or "a remote dev box on DO") and connect to it from Codex as a remote SSH workspace.
data-ai
Search through Microsoft Teams chats or channels, triage unread or recent activity, draft follow-ups, and manage Planner tasks through connected Teams data.
tools
Motion / animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node.
development
SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views / screens / tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files / an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.