Repository navigation
Releases
mitopiper 2.0.3
Fixes of a second review of the 2026-11-26 audit fixes, and of a test of custom RNA-seq, ChIP-seq and ATAC-seq presets; presets and their run order shown as tables in interactive mode. Upgrading: mitopiper presets reset default for the
htseq-count settings.
Fixed
- The build's check of the gene attribute read only the first counted line of the annotation: featureCounts stops at any counted line without it (NCBI's Bemisia tabaci annotation has 24 exon/CDS lines without
gene=), so the build passed and every sample failed at the last step, hours later. The whole annotation is read (once per file version); the build names the lines and prints a command that writes a copy without them. The placeholders_exon_gene_attr/_gene_attrtake an attribute every counted line has. - The default preset's htseq-count counted reads of introns (
-t gene): it counts exons, by the attribute that names the gene on them (-i _exon_gene_attr:gene_idin a GTF,genein NCBI's GFF3). - A rerun of an experiment built before 2.0.2 failed: its samples were pointed at derived references under the new names, which nothing built. The rerun now includes the reference job when a derived reference the steps use is missing.
- FASTQ folders: mates are found whatever the position of the mate token (Trim Galore's
x_1_val_1/x_2_val_2,x_R1_trimmed,y-R1); single-end files numbereddonor_1,donor_2,donor_3are no longer paired;run_1_R1/_R2andrun_2_R1/_R2pair by run; a single-endC.fq.gznext toC_R1/C_R2was dropped silently and is now the sampleC_unpaired, with a warning. - An interrupted FASTQ folder import (move) left samples out of the table when run again: the runs found are written down first, and importing the folder again resumes from them. Copies (and moves across file systems) appear under their final name only when complete.
- A sample of several runs could be left with its first run only: without
fail_fast(or in csh), a run that failed to download did not stop the job, and the concatenation of the parts there became the sample's file. Concatenation, rename and clean-up are now one command that stops at the first failure; a local file gzipped into the experiment appears only when complete. - Custom presets (a test of RNA-seq, ChIP-seq and ATAC-seq presets written from scratch, on an LSF cluster):
- A step named
trim,fastqc,fastqc_preoralignmentignored itsstructureand ran mitopiper's built-in command (atrimstep with cutadapt's structure got Trim Galore's--paired R1 R2, without a word). A structure of your own is now used;wgetstays the download, and a structure given to it is reported as ignored. The README says which names are built in, and that_fastq1/_fastq2are Trim Galore's file names. - The tool check skipped the tools of
conda_envsteps (a missing MACS3 or deepTools showed only when the sample job failed): they are looked up in their environment (conda run ... sh -c 'command -v macs3'), and the advice is to install them there. _mt_contigs(andmitopiper mt contigs --mt) gives only the mtDNA of a whole-genome reference (namedchrM/MT/... or described as "mitochondrion"): it gave all 1,870 contigs of the fly genome, so an ATAC-seq preset had to name the fly mtDNA itself.- The download job's memory is the general setting
download_memory(default 2G, as before; downloads used 25–41 MB). The reference job takes the STAR step's threads and memory only when it builds the STAR index, not when the index is there already.
- A step named
- Grid Engine:
reruncancels one queued array task withqdel <job> -t <task>(the task range after the job, as qdel reads it); thesgeCI workflow now checks it on a real Grid Engine.
Changed
- Interactive mode shows the workflow presets (with their descriptions) and a preset's run order (with each step's scope and description) as tables; long descriptions are wrapped.
md5sum mitopiper-2.0.3.tar.gz must print be9d70f12d7e13ce740c3a9e8133e03a. Once installed, mitopiper --version must name commit 8684e9c.
Latest master (8684e9c)
mitopiper master at 8684e9c, 2026-11-28 10:04 UTC. Rebuilt automatically after every commit to master that passes the tests. Unpack with: tar xzf mitopiper-latest.tar.gz
Check the download: md5sum mitopiper-latest.tar.gz must print be9d70f12d7e13ce740c3a9e8133e03a (also in mitopiper-latest.tar.gz.md5). Once installed, mitopiper --version must name commit 8684e9c.
mitopiper 2.0.2
Fixes of a full audit on an HPC cluster (9 high and 19 medium findings). Upgrading: run
mitopiper presets reset in every workspace (the mt presets now count deletions on both strands, mpileup -d 0,
pair the rotated realignment, and count exon,CDS for NCBI GFF3). Derived references are named anew, so the
next reference job builds them once more (about an hour for the human nuclear + mtDNA index).
heteroplasmy_matrix.tsv has a new alt column.
Added
- One-line summaries of the presets, shown where a workflow is chosen (interactive menu) and by
presets list; the two NUMT-aware presets now say how they remove NUMT reads (mapping quality vs Numt Parser). Your own presets take one withpresets save NAME --description "..."or at the interactive save prompt (general settingpreset_summary).
Fixed
- Deletions on the reverse strand were counted as forward (audit H3): the pileups were made without
samtools mpileup --reverse-del, so samtools wrote*for every deletion and no deletion heteroplasmy could have support on both strands. Every pileup of the presets now uses it, andmt annotatewarns about a pileup made without it. Workspaces made before:presets reset. - Diagnosis: featureCounts' "failed to find the gene identifier attribute" gets its own cause and fix; the htseq-count advice no longer suggests
-t gene(which counts reads in introns) (audit H9). - STAR's
--genomeSAindexNbasesis rounded down, as STAR's formula says (audit M7). - NUMT-aware presets: the rotated alignment treated paired-end reads as single-end (
samtools fastqof the position-sorted.mt.bamintobwa memwithout-p): where two mates overlap, mpileup counted the overlap twice in the 400 positions on each side of the origin (the D-loop), raising depth and per-strand support there. The reads are now grouped by pair (samtools collate) and aligned as pairs (bwa mem -p). Paired-end samples ofmt-variants-numtandmt-variants-numtparserget different depths and allele counts near the origin; workspaces made before needmitopiper presets reset mt-variants-numt mt-variants-numtparser. - A gzipped annotation (Ensembl ships
.gtf.gz) crashedmitopiper mt annotatenear the end of every mt sample job ('utf-8' codec can't decode byte 0x8b); annotations are now read gzipped or not. refs addrefuses a gzipped--fasta,--nuc-fastaor--numt-fasta(e.g. Ensembl's*.dna.primary_assembly.fa.gz): samtools faidx, STAR and the mtDNA tools need a plain FASTA, and the reference job failed.rnaseq-expressioncountsexon,CDSfeatures for a GFF3 annotation (placeholder_count_features): NCBI's annotation gives the 13 mtDNA protein-coding genes onlygeneandCDSlines, so-t exonleft ND1 ... CYB out of the counts. A GTF is still counted byexon.buildstops when an annotation names no gene on the counted lines at all (Ensembl GFF3, whose exons carry onlyParent=transcript:...), and says to register the GTF version.- STAR's index for a genome that
refs fetch-genomedownloads is sized from the genome's length at NCBI (--genomeSAindexNbases, e.g. 11 for yeast): it got STAR's default 14, which STAR warns may crash the mapping of small genomes. - STAR:
--limitBAMsortRAM8 GB (was 1.2 GB, which fails on deep samples after the whole mapping) and the STAR step asks for 40G (was 32G), which also covers a human index in the reference job. - Default preset:
samtools mpileup -d 0(samtools caps the depth at 8000 otherwise; the mt presets already had it);htseq-countreads the sorted BAM with-r pos; theindexstep declares its real output (.sorted.bam.bai). rnaseq-expressioncounted withfeatureCounts -g gene_id, an attribute NCBI's GFF3 does not have (it names genes withgene=on exon lines). With the human annotation mitopiper itself downloads (refs fetch-genome), every sample failed at the last step, after hours. The attribute is now the placeholder_exon_gene_attr, read from each reference's annotation (Ensembl/GENCODE GTF:gene_id; NCBI GFF3:gene), or guessed from its name when the reference job has not downloaded it yet. The default preset'shtseq-count -ilikewise uses_gene_attr(gene_id/ID). Workspaces made before keep their literal value:buildnow stops with an error when a counting step's attribute is not on the annotation's lines, with the fix. Found in an LSF test.- The download diagnoses (HTTP 403 and 404, no network) apply only when the job failed while downloading: a download that hit a 403 and then succeeded over another protocol made a job that failed hours later at featureCounts read "The archive refused the download".
- README: a sample job reserves its largest step's resources for its whole run, downloads included;
download_mode queuefor large public data. - The reference job built a STAR index with 4 threads in a 1-slot job (
rnaseq-expression, GRCh38 on an LSF cluster that enforces CPU: one core for 4 threads, still sorting after 77 minutes; 26 of 30 GB used). STAR now indexes with the threads of the STAR step (8), and the reference job asks for those slots and at least the STAR step's memory plus 8 GB (40 GB by default; reruns too). STAR's temporary folder is next to the index instead of the foldermaster.shwas run from, where reference jobs of two organisms would have shared it. --auto-fixafter an out-of-memory kill asks for at least 1 GB: a job killed at 100 MB that needed 600 MB got 200 MB and failed again.refs addstores absolute paths: a relative--fasta/--gtfonly worked whenmaster.shwas run from the same folder.- A FASTQ folder pooled numbered samples:
x_101_R1/_R2,x_102_R1/_R2and so on lost their_101,_102and became one samplex. Only a lane (_L001) is now taken off a name;S1_L001_R1_001andS1_L002_R1_001stay one sampleS1. A sample of several runs is logged. - Runs of different assays of one BioSample were pooled (WGS and RNA-seq of the same donor, in one pileup under one strategy). Each assay is now a sample of its own, with a warning.
- The table of an imported FASTQ folder is written from the runs found in the folder, not from a re-scan of the placed copies.
- Downloads go to
<file>.partand are renamed when complete and checked, so a job killed mid-download leaves nothing at the path the next steps read; a multi-run sample is concatenated the same way. A file already complete with the right checksum is not downloaded again. - A single-end request of a paired SRA run (the SRA fallback) takes mate 1: it took
<run>.fastq, the few readsfasterq-dump --split-3leaves without a mate. presets set <preset> ignore_paired_end=no(alsoyes,on,off) stores a boolean:nowas stored as text, which counted as true.- A rerun's experiment job did not wait for the samples still queued or running: it waited only for the rerun samples, while the experiment job it replaced (cancelled) waited for all, so the cohort tables missed samples or read half-written ones and the job ended DONE. It now also waits for them (array tasks included, in each scheduler's syntax) and checks that all of them finished.
rerunsays which, and warns when failed samples it does not run will make the experiment job fail. mt heteroplasmyfails when a sample's table is missing (listed inheteroplasmy/left_out.txt; the others are still collected): it only warned, and the cohort matrix silently lacked the sample.- An array rerun rewrote the task list (
a_<exp>.list) that queued tasks of the original array still read: they ran another sample's script, or nothing. Each rerun now has its own list and wrapper (a_<exp>.rerun_<time>.list/.array). Queued array tasks are cancelled too (scancel 20_3,bkill '20[3]',qdel -t 3 20): with--include-pendinga sample ran twice at once. The wrapper fails loudly when its task has no line in the list. - The wrapper of an array rerun asks for the rerun's resources (
--memory,--walltime, automatic fixes, the largest of its samples'): it asked for the build's, while the sample scripts it runs asked for more. - References fetched again, or switched, reused files made from the old ones.
refs fetch-mtwrote every accession to one<organism>.fasta, and the reference job kept any index that was there, so after fetching another accession its old.fai, bwa index and rotated copy were used with the new sequence (htslib reads the new bytes at the old offsets, without a warning). Each accession now has its own folder (references/mtDNA/<organism>/<accession>/), and every index and derived reference is built again when the file it is made from is newer. - Derived references were named after the mtDNA FASTA's file name only: another
chrM.fa, a switched nuclear genome or another--numt-fastareused the rotated, nuclear + mtDNA and NUMT files of the first (a rotated hg19 chrM used with hg38 shifts every position of the control region). The names now carry a key of the files each is made from. Existing workspaces build their derived references once more (for human, the nuclear + mtDNA bwa index of the NUMT presets takes about an hour). Downloaded genomes go to a folder per assembly (references/genome/<organism>/<accession>/), so two assemblies no longer share one STAR index. - A genome set could become the mtDNA of the mt presets:
refs fetch-genomemade it the active set, and the size check passed while its FASTA was not downloaded yet (the reference job then rotated chr1).buildnow refuses a genome set as the mtDNA from the start;fetch-genome(and the interactive download) makes the new set active only when the organism has none, or with--activate;refs removeof the active set no longer silently activates the first other set by name (one remaining set takes over, with a message; with several, you choose). - Genomes downloaded by
refs fetch-genomekeep only the primary...
mitopiper 2.0.1
Fixed
- LSF: a job
bsubrefused was reported as submitted (e.g. a walltime above the queue's run limit:RUNLIMIT: Cannot exceed queue's hard limit(s). Job not submitted.).master.shrecorded an empty job id and printed "Submitted"; the monitor then showed the jobs asUNKNOWN. Nowmaster.shstops with bsub's message, as it does for Grid Engine, and the monitor shows the jobs it did not submit as never submitted. Found in the second LSF test. - The unit tests no longer depend on the machine: on an LSF cluster that reserves memory per slot,
bparamschanged the LSF headers andtest_headersfailed. - The out-of-memory advice for a job that ran out of memory before its first step points to the set-up lines instead of "the step".
- A job ended by a signal was recorded as
DONE(exit code 0): LSF's run limit (USR2), SLURM's (TERM) and other signals made the shell exit while the status file still recorded the last finished command's status. The monitor showed DONE,rerunfound nothing to rerun, and the jobs after it waited forever. Job scripts now exit with 128 + the signal's number, which is recorded asFAILED, and the monitor no longer believesDONEwhen the scheduler reports the job failed. Found in the first LSF test (IBM Spectrum LSF 10.1). - LSF: array tasks each show their own state while the array runs.
bjobsgives every task the array's id, so all tasks showed the state of the last one (a pending taskDONE, a running oneKILLED); the monitor now asks for the task index too. - LSF: sites that reserve memory per slot (
RESOURCE_RESERVE_PER_TASK=Y) multiplied the memory request by the threads (STAR, 8 × 32G: 256 GB). New general settinglsf_memory_per_slot(auto: read frombparamswhen the scripts are built;yes/no) writes the job's memory divided by its slots. - Jobs waiting for a failed job (SLURM
afterok, LSFdone(): they never start) are marked in the monitor: "waits for a failed job: starts only after a rerun". - The diagnosis reads LSF's reason for ending a job (
TERM_RUNLIMIT,TERM_MEMLIMIT,TERM_OWNER...) from its job report, and says when a job was cancelled before it started instead of "unrecognised failure". - A failing
free_formline (a module or environment that does not load) stops the job:fail_fastis now set before it. - README: how to create the tools environment when
.condarcadds thedefaultschannel. - LSF: a job's slots are kept on one host (
-R "span[hosts=1]", combined with the memory request in one-R): the tools are multi-threaded, and slots spread over several hosts left the threads on one host with only part of its cores reserved. - LSF array jobs write each task's LSF job report to its own file (
%J_%I.out); every task wrote to the same%J.outbefore. The tasks' own logs were already separate. - The monitor could hang when a stderr log larger than 8 MB shrank (e.g. was rewritten by a rerun) while its lines were being counted.
[E::fai_retrieve] Failed to retrieve block: unexpected end of filewas also diagnosed as a corrupt input, and--auto-fixreran from the previous step, deleting its outputs; with exit code 137 it also asked for more memory. Neither helps a reference that does not match its index: the diagnosis now only says that.- A step program path that does not exist was missed when the log also had an unrelated
command not foundline (e.g.module: command not found), and in tcsh jobs (/path: Command not found.); it was reported as a missing module. - A build from the
last_usedpreset no longer records it as its preset: every later build overwriteslast_used, sorerunwould have compared with, and suggested, another experiment's workflow.
md5sum mitopiper-2.0.1.tar.gz must print 946e28b1d35e0f2d130631c1ea3bb3c2. Once installed, mitopiper --version must name commit 639e35f.
mitopiper 2.0.0
The single maker.py script was refactored into the installable mitopiper package.
Added
- VCF output: every mt preset writes
vcf/<sample>.vcf(mitopiper mt vcf, afterannotate), with the sample's heteroplasmies and variants.GTgives the called alleles (1homoplasmic,0/1or1/2heteroplasmic),DP/AD/AFthe depth, reads per allele and heteroplasmy level,INFOthe call type and genes; a heteroplasmy whose minor allele a NUMT carries is markedNUMT_MINORand filtered asnumt(unless its major allele is a variant). Deletion alleles are left out. Workspaces made before get the step withmitopiper presets reset NAME. - General setting
keep_reads(default true): when false, a sample job deletes its downloaded and trimmed FASTQ files after its last step succeeded (32 GB for two RNA-seq samples on BGU). Local FASTQ files are only linked or copied into the experiment, so the originals stay. Only jobs that stop at any failing command (bash/zsh/ksh withfail_fast) delete reads; otherwise the build warns and keeps them. - Every job script unsets
PERL5LIBandPERL5OPT(general settingunset_perl_env, on by default): jobs inherit the submitting shell's environment, and a site Perl'sPERL5LIBfrom the login files made FastQC fail in a job submitted from such a shell (BGU round 5). - The build refuses an "mtDNA" reference larger than 50 MB (a whole genome registered as
--fasta, e.g. hg38, which was rotated and indexed for 1.6 h on BGU) and warns above 1 MB. - The release notes of
latestgive the archive's MD5 and the commitmitopiper --versionmust name. mitopiper --versionnames the commit the copy was made from (stamped intomitopiper-latest.tar.gzbygit archive, or read from git in a checkout), so an installation can be compared with the title of thelatestrelease. The experiment manifest records it too.- The interactive start menu can monitor and rerun any experiment launched in the workspace, not only the last build: monitor / rerun other experiments lists them newest first, with launch time and job count, and follows the chosen ones together.
- A folder of FASTQ files (
.fastq,.fq,.fastq.gz,.fq.gz) can be the input of a build:mitopiper build FOLDER --org "Homo sapiens"or, interactively, its path at the prompt after the scheduler. The files are linked (default), copied or moved (--fastq-mode) into the workspace'sfastq/<folder name>/, and their table is written tometadata/<folder name>.tsv(asmake-tsvdoes).--browse/bchoose the folder in a file browser (Tk, else zenity or kdialog; needs a display, e.g.ssh -X). - Reference downloads (
refs fetch-genome, done by the reference job) usemitopiper downloadtoo: the same attempts (download_tries), protocols and growing waits, with the MD5 taken from NCBI'smd5checksums.txt(--md5-url), so a wrong checksum is retried instead of failing the job. Before, they were a singlewgetandmd5sum -c. - Downloads that keep trying:
mitopiper downloadfetches each FASTQ file of the sample jobs. It makes up todownload_triesattempts (default 10), a wrong MD5 counting as a failed attempt (the file is deleted first). ENA URLs alternate between http, https and ftp, and the wait doubles fromdownload_delayup to 10 minutes. When every attempt failed and the SRA Toolkit is installed (optional;sra_fallback, on by default), the run is taken from the SRA withfasterq-dump; without it the download fails after the attempts. Before, a download failed at the first error and a wrong checksum got one more try. Found on the BGU cluster (4 corrupt files among ~80, then an HTTP 403 after an hour of downloading). - The NUMT-aware presets reuse the nuclear assembly and its bwa index when its mitochondrial sequence is the mtDNA reference (same name and sequence, e.g. GRCh38 from NCBI with NC_012920.1):
references/derived/<organism>/*.with_nuclear.falinks to it instead of being a copy that is indexed again, which took over an hour per workspace for human. Otherwise nothing changes;mitopiper mt combine-references --copyforces a copy. - Diagnosis of
ERROR 403: Forbiddendownloads (seen on BGU, exit code 8 after an hour of downloading): how to tell a run that is not public from the archive or a proxy refusing the cluster, and to rerun fromwgetlater (complete files are kept). It was reported as an unrecognised failure. - NUMT allele flag: the NUMT-aware presets add
numt_basesandnumt_minorto the annotated tables (andnumt_minortoheteroplasmy_sites.tsv).numt_minor=yeswhen a heteroplasmy's minor allele is a non-reference base that a NUMT carries at that position, so NUMT reads can explain it (numt_baseslists those bases, comma-separated). The reference job builds the table once per organism (mitopiper mt numt-alleles: the mtDNA fragments aligned to the NUMT reference). On the tutorial's unfiltered pileup it flags all 77 NUMT-made heteroplasmies and none of the true ones. On the BGU RNA-seq data it flagged 13 of the 26 heteroplasmies that the Numt Parser preset removes and 6 of the 50 it keeps, among them the low-frequency 5746 A and 12007 A. A first version also flagged minor alleles equal to the reference base whenever a NUMT carried it (87% of positions), which marked a third of the calls every preset agrees on (e.g. 2617 A in all samples); tables made by that version are read correctly. mitopiper presets reset NAME ...restores bundled presets to the version of the installed mitopiper (workspaces keep their own copies, so upgrades did not reach them); the old copy is kept asNAME_old_DATE.- Steps can be marked
"temporary": true: their outputs are deleted at the end of a successful sample job. The mt presets mark their intermediate SAM/BAM files, which took 93 GB of the 116 GB of one preset's full run (10 RNA-seq samples) on the BGU cluster. benchmark/sge_usage.sh: run time, CPU time and peak memory of every job of an experiment from Grid Engine'sqacct(failed attempts included), with core-hours per experiment.mitopiper presets set PRESET[,PRESET...] KEY=VALUE ...changes general settings (qsub_queue=long.q) and step fields (numt-parser.memory=32G) without editing JSON. Every name is checked first, so a typo changes nothing.- mtDNA circularity, based on the original
circulize.py/combine_processed_pileups.py: samples are also aligned to a rotated copy of the mtDNA (mt_rotation, default half the mtDNA length), andmitopiper mt combine-pileupsmerges both pileups so themt_junction_windowpositions (default 400) on either side of the origin come from the rotated alignment. - NUMT-aware alignment:
mt-variants-numtaligns to nuclear genome + mtDNA (mitopiper mt combine-referencesdrops duplicate mitochondrial sequences of the assembly), keeps reads mapping to the mtDNA with MAPQ ≥numt_min_mapq, and realigns only those to the rotated mtDNA. - Tutorial (
docs/tutorial.md):tutorial/simulate.pymakes a deterministic mtDNA dataset with a known answer: heteroplasmies of 5–20% (one next to the origin), a homoplasmic variant, a diverged NUMT plus achrMcopy in a synthetic nuclear genome, NUMT contamination, and reads spanning the origin. The tutorial runs it through all three mt presets and checks the result against the truth. It was run end to end with the tools ofenvs/mitopiper-tools.yml, whose pins resolve. - Benchmark (
benchmark/):run_presets.shbuilds and submits the same samples with every mt preset, andcompare.pyreports depth next to the origin (linear vs circular), reads removed as NUMTs, concordance of calls between presets, and, with a truth table, precision, recall and frequency error. Figures are drawn when matplotlib is installed. - CI runs the tutorial on a real Grid Engine (
.github/workflows/sge.yml): it builds daimh/sge, sets up a one-host cluster (.github/sge/setup_sge.sh), smoke-tests qsub/-hold_jid/arrays/qacct and submits the three mt presets with-s sge, checked against the simulated truth. Ubuntu's gridengine packages crash on start-up, hence the source build. - Reference jobs of builds that run at the same time (e.g. the three mt presets submitted together) no longer corrupt each other's indices: each organism is prepared under
flock(references/derived/<organism>/.prepare.lock), so one job builds and the others wait and then skip what exists. Found on a real Grid Engine, where twobwa indexon the same rotated reference crashed a job. - SGE: the monitor asks
qacctwhy a job that disappeared fromqstatended (once per job; it reads the whole accounting file). It recognises time limits (failed 37with the requestedh_rtused up), memory limits (h_vmem),qdeland ordinary failures, so killed jobs get the right diagnosis and--auto-fix. Found by running the tutorial on a real Grid Engine (daimh/sge 8.1.9). - Diagnosis: bwa's info line
[M::bwa_idx_load_from_disk] …, printed by every successful run, no longer counts as a missing index. Only qstat's error states (Eqw) are reported as SGE error states. - SGE:
master.shno longer usesqsub -terse, which older Grid Engines reject. It reads the job id from qsub's usual answer ("Your job 123 ... has been submitted", also for job arrays), and stops with qsub's message if there is no id. A metadata path that does not exist is reported with the full path that was tried. mitopiper-latest.tar.gz: after every commit tomasterthat passes CI, a CI job packages the commit (git archive) and publishes it with its MD5 on thelatestrelease. That gives a fixed download link for clusters wheregit cloneis not possible.- CI runs the whole tutorial with the real tools on every push. The job installs
envs/mitopiper-tools.ymlwith micromamba and Numt Parser at a pinned commit. It runstutorial/run_tutorial.sh, andtutorial/check_results.pythen fails the build if the true heteroplasmies, the NUMT...