Skip to content

Version 0.3.8

Latest

Choose a tag to compare

@felicitas215 felicitas215 released this 23 Nov 10:48
· 1 commit to main since this release
791c1a3

Helixer v0.3.8 is released together with GeenuFF v0.4.0 (bundled with Helixer)
and HelixerPost v0.4.0, and requires both. Changes are relative to Helixer v0.3.7.

Changelog Version v0.3.8

  • Security, installation changed: pip versions before 26.2.2 trust the compromised
    eMudhra emSign root certificate. Upgrade pip first in every new environment, from the
    hash-pinned URL in the manual installation, before installing Helixer. certifi was bumped and
    the vulnerable pillow is no longer required.
  • HelixerPost v0.4.0 or newer is required (rebuild it); Helixer.py stops early with an
    older one. Helixer v0.3.7 and older keep needing HelixerPost v0.3.0.
  • Changed prediction results: HelixerPost v0.4.0 fixes a bug in its HMM (phase 1 coding state),
    and changes the three donor penalty defaults from 0 to 20 as well as the donor/acceptor weight
    from 1 to 2. This lowers the number of 1 bp CDS pieces by ~60-70 % and raises the F1 at exon,
    intron, intron chain and gene level by 0.6 to 4.3 points (base level -0.1 to -0.5, BUSCO about
    unchanged). Most 1 bp CDS pieces are not predicted by the neural network: they are
    HelixerPost's repair where the phase predicted for the exons on both sides of an intron is
    shifted by one base. The neural network predictions and models are unchanged (see
    performance comparison v0.3.7 vs. v0.3.8).
  • Faster: the 3-step workflow runs 2.2 to 3.7 times faster than with v0.3.7 (e.g. 75
    instead of 223 minutes for the 1.2 Gbp Coffea arabica). helixer_post_bin runs in 4
    threads by default and is 4.6 to 8.5 times faster, fasta2h5.py is up to 2.2 times faster
    with 74 to 79 % less memory, and HybridModel.py compresses the predictions in background
    threads while the GPU predicts (1.2 to 1.3 times faster). Helixer.py runs the same three
    steps, so a whole run is faster by about the same margin. The threads do not raise the peak
    RAM of a run: HybridModel.py uses the same RAM and GPU memory as with v0.3.7, and
    helixer_post_bin's peak memory stays way below HybridModel.py's peak.
  • Changed GFF3 output: the lines of a transcript's CDS, 5' UTR and 3' UTR share one
    ID each (e.g. <transcript>.CDS instead of <transcript>.CDS.1, .CDS.2), the header
    reads ##gff-version 3.1.26 and names the Helixer and HelixerPost versions. Partial genes
    (at the 3' edge of sequences or in front of a gap) are now labeled partial=true and
    their unknown range is recorded (NCBI convention).
  • Changed training data: GeenuFF v0.4.0 masks differently (erroneous genes in full, far
    less intergenic sequence beside genes without UTRs). Databases from older GeenuFF versions
    must be imported again (see GeenuFF v0.4.0).
    GeenuFF v0.4.0 also adds helper scripts, installed on PATH together with Helixer, that fix
    slightly malformed GFF3 files or filter assemblies so the prediction and/or training data
    don't include "junk" scaffolds (see the GeenuFF scripts).
  • New Helixer.py options: --min-intron-length/--min-intron-length-u12 for species with
    very short introns (defaults unchanged, 50/30 bp), --post-config-path (YAML file with
    further helixer_post_bin options), --post-threads (default 4, 0 for all cores),
    --post-max-in-flight-mbp (bounds the post-processing memory on genomes with many long
    candidate regions, e.g. human) and --compression-threads (default 4).
  • Logging: prediction and training progress is logged every 5 % (training with the running
    losses, --log-interval-fraction) instead of printed as progress bars, so log files stay
    readable; Helixer.py, fasta2h5.py, geenuff2h5.py and HybridModel.py log the Helixer
    version at startup.
  • Installation: pip install ".[gpu]" installs TensorFlow with CUDA support on Linux;
    TensorFlow is pinned to 2.15.1, the version all tests and the performance comparison used.
  • Removed: --no-multiprocess, visualize.py and the broken plotting scripts. A lower
    default --write-by for fasta2h5.py/geenuff2h5.py bounds peak memory.