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.
66
80%
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
Fix and improve this skill with Tessl
tessl review fix ./plugins/ngs-analysis/skills/ngs-analysis-router/SKILL.mdUse 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-planWhen 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>_installTreat 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:
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.