Skip to content

mitopiper 2.0.3

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 10:11
8684e9c

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_attr take 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_id in a GTF, gene in 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 numbered donor_1, donor_2, donor_3 are no longer paired; run_1_R1/_R2 and run_2_R1/_R2 pair by run; a single-end C.fq.gz next to C_R1/C_R2 was dropped silently and is now the sample C_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_pre or alignment ignored its structure and ran mitopiper's built-in command (a trim step with cutadapt's structure got Trim Galore's --paired R1 R2, without a word). A structure of your own is now used; wget stays the download, and a structure given to it is reported as ignored. The README says which names are built in, and that _fastq1/_fastq2 are Trim Galore's file names.
    • The tool check skipped the tools of conda_env steps (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 (and mitopiper mt contigs --mt) gives only the mtDNA of a whole-genome reference (named chrM/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.
  • Grid Engine: rerun cancels one queued array task with qdel <job> -t <task> (the task range after the job, as qdel reads it); the sge CI 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.