Repository navigation
Releases
v0.8.0 – FMP-NimaGen
Every change is listed in CHANGELOG.md.
Changes:
- Reads that span two amplicons of a primer pool are left out (
--maximum_length300, was 600). FDSTOOLS counted such a read for every amplicon whose two primers it holds, so where two of these amplicons overlap the same read counted twice. - The shipped noise model of the depth rule (
resources/noise_model/2800M_8controls.tsv) is built again from the same 8 controls, without these reads. --run my_runtakes the read pairs ofraw_data/my_run/, also in its subfolders, and writes the results toresults/my_run/. Read files whose name starts withUndeterminedare left out;--undetermined trueruns them like a sample.- README: a Quick Start, a section on the input, Docker or Singularity as the recommended way to run the pipeline, macOS next to Linux, and a section on the use of AI.
- git ignores
raw_data/, the results folders and the unpacked humans list. - The run log describes
--mapQas what it does; the unused optionpublish_dir_modeis gone.
Running this version:
- Reports can differ from those of 0.7.0 in the read depth of amplicons 001 to 004 and 098 to 100, and in the shares at the positions where these amplicons overlap.
- An existing FMP-NimaGen Conda environment works as it is.
- The Docker image is tagged
0.8.0; its tools are those of 0.5.2.
v0.7.0 – FMP-NimaGen
Every change is listed in CHANGELOG.md.
Changes:
- A column
pathogenicin the report marks the rows that carry one of MITOMAP's 130 confirmed disease variants (--pathogenic_list), also as one base of a point heteroplasmy, so that such variants can be left out of a haplotype.--pathogenic removeleaves these rows out of the report instead, and a note under the table of every report says so;--pathogenic falsedoes neither.resources/pathogenic/also has the list as a BED file, to load in IGV next to the BAMs. - A column
depth_flagin the report: a point heteroplasmy whose least common base is not above the depth rule at its read depth gets the share it would need to be above (e.g.4.77); nothing is removed. The rule comes from a noise model of the 2800M controls of 8 runs (--noise_model) and allows a false point heteroplasmy in at most 1 in--depth_risksamples (default 100). A lab can build a model from its own controls (resources/noise_model/README.md). -profile testruns the whole pipeline on a small 2800M control intests/data/. GitHub runs the Python tests and a pipeline test (nf-test) on every push.--pipeline_infoisfalseby default: the run reports are written only with--pipeline_info true.- rtn takes RtN!'s NUMT file as RtN! ships it;
resources/rtn_files/numts/README.mdsays where it comes from and how to cite RtN!. - A
'in an option's value, such as a path, no longer stops the run. - The reads of a 2800M control in
raw_data/are no longer part of the repository; the test reads are intests/data/. - README: a read that runs from one amplicon to the next amplicon of the same primer pool counts for every amplicon whose two primers it holds.
Running this version:
- An existing FMP-NimaGen Conda environment works as it is.
- The Docker image is tagged
0.7.0; its tools are those of 0.5.2.
v0.6.0 – FMP-NimaGen
Every change is listed in CHANGELOG.md.
Changes:
- rtn removes a read when its likelihood under the human mitogenomes is below 1e-9 (
--rtn_likelihood; was 1e-7), and it sees every base at its own quality (--rtn_positions none; was 50 positions at base quality 2). - Both NUMT-filter steps also publish a BAM with every mapped read (
*_all_reads.rtn.baminp09_filter_numts/andp10_reads_for_fdstools/). A removed read has MAPQ 0, and every read has a tagZFwith the reason (kept,numt,clipped,mapq, and inp10trimmedandunmapped). In IGV, colour or group the alignments byZF, and switch off downsampling. - Every run writes reports with the time, CPU and memory of each step to
pipeline_info/(--pipeline_info falseleaves them out). - The report script is
resources/scripts/write_report.py(option--python_script_write_report); the last Mutect2 names are gone. - README:
--minimum, Conda needs internet on the first run, Docker on Apple Silicon not tested, Windows only with WSL2, two more known limitations.
Running this version:
- An existing FMP-NimaGen Conda environment works as it is.
- The Docker image is tagged
0.6.0; its tools are those of 0.5.2.
v0.5.3 – FMP-NimaGen
A small update of 0.5.2. Every change is listed in CHANGELOG.md.
Changes:
- Reads that the mapping for rtn cannot align end to end are removed. rtn compares only the aligned part of a read with the human mitogenomes, so a read from a nuclear copy that matches the mtDNA over a short stretch could pass.
Running this version:
- An existing FMP-NimaGen Conda environment works as it is.
- The Docker image is tagged
0.5.3; its tools are those of 0.5.2.
v0.5.2 – FMP-NimaGen
A maintenance update of 0.5.1: the pipeline and its results are the same. Every change is listed in CHANGELOG.md.
Changes:
- The Docker image builds rtn from the fork's updated branch (
PeterResutik/RtN,fixesat1287f8d), which also carries the upstream commits ofAhhgust/RtNup to4883c67. rtn's code is unchanged, so it works as before. - The image is built from lock files with the exact version of every package (
containers/, taken from the 0.5.1 image), so a new build gets the same tools.FMP-NimaGen.ymlstill names only the main versions, for Conda on any platform.
Running this version:
- The Docker image is tagged
0.5.2; its tools are those of 0.5.1.
v0.5.1 – FMP-NimaGen
A small update of 0.5.0. Every change is listed in CHANGELOG.md.
Changes:
- The NUMT filter keeps more reads of real lineages: rtn removes a read when its likelihood under the human mitogenomes is below 1e-7 (was rtn's default, 1e-5). The new option
--rtn_likelihoodsets it. --baseQ 0switches FDSTOOLS' base-quality check off, so every base is trusted, as before 0.3.0. Before, there was no way to do this:--baseQ 1failed.
Running this version:
- An existing FMP-NimaGen Conda environment works as it is.
- The Docker image is tagged
0.5.1; its tools are those of 0.5.0.
v0.5.0 – FMP-NimaGen
The pipeline is split into modules with its steps numbered in the order they run, the NUMT filter gets a new human list, and the tools run in Docker or Singularity. Every change is listed in CHANGELOG.md.
Changes:
- Each step is a module of its own in
modules/, and the steps are numbered in the order they run,p00top13. Each result folder has its step's name: the report is now inresults/p13_report/(wasp13_merged_variants_xlsx/), the FDSTOOLS files inp12_fdstools/(wasp11_fdstools/) and the read depth inp11_read_depth/(wasp10_quality_control/). - The parameters and their defaults are in
nextflow.configinstead ofmain.nf; their names and values are unchanged. - New human list for the NUMT filter,
humans_NimaGen_2026-10-30.fa. The mitoLEAF haplogroup sequences now carry the whole motif: insertions and deletions, such as the 9-base deletion of haplogroup B, and 315.1C. A mark that allows two states, such as 16519Y, gets the state most of the haplogroup's genomes carry. The previous list stays inresources/. - A new Docker image,
peterresutik/nimagen-pipeline:0.5.0, with rtn and its three fixes, for-profile dockerand the new-profile singularity. It holds the chrM reference that FDSTOOLS would otherwise download from Ensembl, so a run in a container needs no internet access.
Running this version:
- Scripts that read the result folders need the new names, for example
p13_report/for the report. - The first run unpacks and indexes the new human list (step
p02), which needs about 2.5 GB of disk. - Conda is still the recommended way to run it. An existing FMP-NimaGen environment works as it is.
- The image is built for x86-64 and is tested on Linux, with Docker and with Singularity. On Apple Silicon, Docker runs it through emulation; this is not tested yet.
v0.4.0 – FMP-NimaGen
FDSTOOLS is now the only variant caller. Every change is listed in CHANGELOG.md.
Why: since 0.3.0, FDSTOOLS leaves out low-quality bases as Mutect2 does, which made Mutect2 redundant. Mutect2 also broke length variants in the homopolymers of HV1 and HV2 into changes at single positions, and it missed some variants that the reads clearly supported.
Changes:
- Mutect2 is removed, with its parameters (
--min_vf_MT2,--disagreement_average,--mutect2_disabled_regions,--callable_depth,--native_pair_hmm_threads,--mutect2_memory,--force_alleles). GATK and bcftools are no longer needed. - The report has FDSTOOLS' columns only:
FMP(the call),vf_FDS,rd_FDS,rd_total_FDS,variant_note,dominant_molecule,marker,marker_rangeandnum_markers. The calls are the ones FDSTOOLS made in 0.3.0; rows that came from Mutect2 alone are gone, andLOWrows come from FDSTOOLS' reads only. - The scores of the simulations and of the real mixtures (
tests/) follow the report.
Running this version:
- An existing FMP-NimaGen Conda environment works as it is; a new one no longer installs GATK and bcftools.
- Scripts that read the report's
FDSTOOLS,MUTECT2orcalled_by_*columns need to readFMPinstead. - Conda is the recommended way to run it. The Docker image is untested with this version.
v0.3.0 – FMP-NimaGen
An update of 0.2.1. Every change is listed in CHANGELOG.md.
Changes:
- FDSTOOLS 2.2.1 (was 2.1.1). The reports are the same as with 2.1.1.
- FDSTOOLS leaves out bases below
--baseQ(Q30), as Mutect2 does: TSSV runs with--distrust-base-quality 29. Recurring errors that the sequencer itself marks with very low quality are no longer reported by FDSTOOLS alone. - Evaluation tools in
tests/: simulated reads also carry the insertion and deletion errors of real reads; mixtures of two haplogroups can be simulated and scored (simulate_reads.py --mixtures,score_mixtures.py); mixtures of real samples can be made and evaluated (tests/evaluation/); simulated batches are also reported at further detection thresholds (EXTRA_THRESHOLDS).
Running this version:
- Update the Conda environment for FDSTOOLS 2.2.1:
conda env update -n FMP-NimaGen -f FMP-NimaGen.yml. - Conda is the recommended way to run it. The Docker image is untested with this version.
v0.2.1 – FMP-NimaGen
A small update of 0.2.0. Every change is listed in CHANGELOG.md.
Changes:
- FLASH checks the whole overlap of a read pair for mismatches (
--max_overlap226, the read length; was 140). With longer reads, set--max_overlapto their length. - The quality trimming of the merged reads is removed (
--quality_cutoff). It removed about 0.01% of the bases; Mutect2 ignores bases under Q30 one by one. - The NUMT filter uses a rebuilt set of human mitogenomes,
humans_NimaGen_2026-10-19.fa. Each genome is now checked for NUMT-like stretches amplicon by amplicon, over the stretch the filter judges in a read, instead of in 200-base windows. - Simulated reads can carry the noise of real sequencing runs (
tests/simulation/build_error_profile.py,simulate_reads.py --error-profile).
Running this version:
- The first run after the update unpacks and indexes the new set of human mitogenomes once.
- Conda is the recommended way to run it. The Docker image predates this version and is untested with it.