Skip to content

helixforge doctor

Preflight: validate inputs + resolve external tools before a run.

The single input-validation entry point, run it before a real reconcile. With no inputs it resolves and versions every external tool the pipeline shells out to (mikado, diamond, transdecoder, portcullis, …) and checks environment hygiene (console-script shim, CRAM reference). Given --genome + --helixer (and optional evidence) it also runs the input-integrity preflight: seqid concordance across inputs, GFF3/GTF/FASTA/BAM format sniffing, and BAM/CRAM index (CSI) presence. --check-config verifies an emitted Mikado config/scoring file against the detected Mikado version.

Nothing is modified and nothing is annotated, this command only inspects. It exits non-zero if a required tool is missing, an emitted config fails schema verification, or the input-integrity gate fails.

Reports (printed to the console; advisory checks warn, gates fail):

  • external-tool table: tool, resolved path, detected version, status
  • environment hygiene: console-script shim, CRAM-reference readiness
  • (optional) Mikado config/scoring verification verdict
  • (optional) input-integrity report: seqid concordance, format, index
OptionDescription
--mikado-binOverride the mikado binary.
--diamond-binOverride the diamond binary.
--check-configVerify an emitted Mikado configuration.yaml against the detected version.
--check-scoringScoring YAML to verify alongside --check-config.
--genomeGenome FASTA (integrity check).
--helixerHelixer GFF3 (integrity check).
--helixer-h5Helixer HDF5 (integrity check).
--stringtieStringTie GTF (repeatable). (repeatable)
--bamRNA-seq BAM (repeatable). (repeatable)
--star-sjSTAR SJ.out.tab (repeatable). (repeatable)
--miniprotminiprot GFF (integrity check).
--referenceGenome FASTA for CRAM decode, doctor reports whether CRAM BAM inputs have an offline reference (--reference or REF_CACHE).
--seqid-aliasesSeqid alias map (JSON {alias: canonical} or 2-col TSV).
Terminal window
# just the external-tool preflight (mikado, diamond, …)
helixforge doctor
# tools + input-integrity (seqid concordance / format sniff / BAM index)
helixforge doctor --genome genome.fa --helixer helixer.gff3 \
--helixer-h5 helixer.h5 --bam sampleA.bam --star-sj sampleA.SJ.out.tab
# verify an emitted Mikado config/scoring against the detected mikado version
helixforge doctor --check-config configuration.yaml --check-scoring scoring.yaml