Skip to main content

End-to-end mtDNA examples

The bundled mtDNA workflows use MToolBox to analyze mitochondrial reads from a small BAM exported by an earlier native GATK 4.6 WES or WGS single-sample run.

Requirements
  • MToolBox runs on x86_64 Linux only. ARM systems, including Apple Silicon, are not supported.
  • The WES/WGS run must set export_mtdna_bam: true.
  • Keep the WES/WGS run directory under the sample directory so CBIcall can find exports/mtdna.
  • mtDNA workflows do not fall back to the full recalibrated BAM or start from FASTQ files.

First, add the export setting to the WES/WGS single-sample YAML. Any native backend can create the handoff:

mode: single
pipeline: wes
workflow_backend: bash
software_stack: gatk-4.6
input_dir: CNAG999_exome/CNAG99901P_ex
export_mtdna_bam: true
cleanup_bam: true

The completed run contains:

CNAG999_exome/
CNAG99901P_ex/
cbicall_bash_gatk-4.6_wes_single_b37_*/
exports/
mtdna/
CNAG99901P-DNA_MIT.bam
CNAG99901P-DNA_MIT.bam.bai

cleanup_bam: true removes 01_bam only. The exported mtDNA BAM remains available for the next run.

CBIcall derives the sample identifier from the input directory name. There is no separate sample key in the parameters YAML. See Naming Conventions for the expected layout.

1. Create the parameters YAML

Create mit_single.yaml:

mode: single
pipeline: mit
workflow_backend: bash
software_stack: gatk-3.5
input_dir: CNAG999_exome/CNAG99901P_ex

The input_dir is the sample directory containing the earlier native WES/WGS run and its exports/mtdna directory.

2. Run CBIcall

cbicall run -p mit_single.yaml -t 4

3. Inspect the outputs

cbicall_bash_gatk-3.5_mit_single_rsrs_*/
01_mtoolbox/
02_browser/
log.json
run-report.json
run-report.html

Principal mtDNA outputs

Single-sample and cohort runs use the same public artifact model:

FileUse
01_mtoolbox/mit_prioritized_variants.txtAnnotated variants with genotype, depth, and heteroplasmy values.
01_mtoolbox/VCF_file.vcfMToolBox VCF.
01_mtoolbox/mt_classification_best_results.csvPredicted mitochondrial haplogroups.
01_mtoolbox/mit.filtered.jsonCanonical filtered JSON used to generate the browser.
02_browser/<run-id>.htmlStandalone interactive browser report.

Open the browser report

The HTML report embeds its rows and assets, so it opens directly through file:// without a web server or internet connection.

CBIcall mtDNA browser

Selecting a row opens the complete annotation record:

mtDNA variant detail drawer

The browser supports quick filters, text and column filtering, sorting, pagination, horizontal scrolling, a column selector, printing, and CSV export. Its download buttons link to the report, haplogroup file, VCF, and canonical filtered JSON in 01_mtoolbox/.

Browser fields and report filters
FieldMeaning
SampleSample identifier. Multiple samples may be listed for a cohort record.
LocusMitochondrial locus or feature.
Variant alleleMitochondrial position and alternative allele.
Ref / AltRSRS reference allele and observed alternative allele or alleles.
AA changePredicted amino-acid change in a coding region.
GTGenotype, where 0 is reference and values of 1 or greater identify alternative alleles.
DepthRead depth at the variant position.
HeteroplasmyEstimated heteroplasmy fraction. Confidence intervals remain available in the VCF.

The canonical filter excludes synonymous records, records with a maximum heteroplasmy fraction at or below 0.30, records with a missing heteroplasmy value, and records with 1000 Genomes frequency at or above 0.01. See the MToolBox output documentation for the remaining annotation fields.

Interpretation

The report supports research QC and exploration. Genetic findings require appropriate validation and expert interpretation before clinical use.

See Outputs for the complete file reference and Configuration Reference for all accepted YAML keys.