Skip to main content

Troubleshooting

Start here when a run fails or output does not look right. The fastest debugging path is usually:

  1. Open the run directory.
  2. Inspect log.json to confirm resolved inputs, configuration, and parameters.
  3. Inspect the stage-specific *.log file.
  4. Match the symptom below.

For more detailed explanations, continue to the FAQ.

Symptom Index

SymptomLikely causeFirst place to check
bff-tools command is not foundRuntime shell is not active, wrong working directory, or install path is not configuredInstallation, then Quick Start
bff-tools vcf fails earlyMissing parameter file, invalid input extension, or input path not visible inside the runtimelog.json, What should I run?, CLI reference
SnpEff download or database errorExternal reference data is missing, inaccessible, or configured with the wrong pathInstallation page for your runtime, then FAQ
VCF contig or reference mismatchgenome in param.yaml does not match the VCF/reference data namingparam.yaml, run_vcf2bff.log, Configuration
VCF annotation fields are missingAnnotation was disabled or the input VCF does not contain expected fieldsannotate in param.yaml, run_vcf2bff.log, FAQ
TSV conversion failsSNP-array file format or genome setting does not match the expected conversion pathrun_tsv2vcf.log, What should I run?
Metadata validation reports missing fieldsRequired Beacon model fields are absent in XLSX/JSON inputValidator output, generated JSON, data beaconization workflow
Metadata validation reports oneOf warningsBeacon schema ambiguity or a value that matches multiple schema alternativesValidator output, FAQ
Output directory already existsbff-tools avoids silently overwriting existing run directoriesChoose a new --projectdir-override value or move the old output
genomicVariationsVcf.json.gz is missingVCF/TSV conversion failed before final BFF output was writtenrun_vcf2bff.log, Outputs
Browser output is missingbff2html: true is not enabled or the HTML stage failedparam.yaml, run_bff2html.log, Outputs
MongoDB import failsMongoDB is not reachable, credentials/URI are wrong, or mongoimport/mongosh paths are invalidrun_bff2mongodb.log, mongodburi, Configuration
Loaded data is not visible through an APIData was not loaded into the expected database, or the Beacon API points to a different MongoDB URImongodburi, API configuration, MongoDB collections
Runs are slow or disk usage grows quicklyLarge VCFs create several intermediate files and annotation can be expensiveDisk space, split-by-region strategy, FAQ

Which Log Should I Open?

StageTypical log
TSV conversionbeacon_*/tsv/run_tsv2vcf.log
VCF to BFF conversionbeacon_*/vcf/run_vcf2bff.log
Static browser outputbeacon_*/browser/run_bff2html.log
MongoDB loadingbeacon_*/mongodb/run_bff2mongodb.log
Overall resolved run contextbeacon_*/log.json

Minimal Debug Checklist

  • Confirm the input file exists from inside the selected runtime.
  • Confirm param.yaml uses the expected genome.
  • Confirm the external data directory is mounted or configured correctly.
  • Confirm enough disk space is available before retrying large VCF jobs.
  • Use a new project directory when rerunning a failed attempt.