Skip to content

pmdshodh 0.2.4

Choose a tag to compare

@github-actions github-actions released this 20 Nov 16:52
· 71 commits to main since this release
561bb88

pmdshodh 0.2.4 has two fixes. Scores are unchanged from 0.2.3.

Fixed

  • Clean exit on Ctrl-C, SIGTERM or SIGHUP: an interrupted run, or one stopped by a scheduler's time limit, no longer leaves <output>.pmdshodh-tmp files behind. The run still ends by that signal, so shells and schedulers see it as killed (status 130, 143 or 129). On Windows, Ctrl-C or Ctrl-Break removes the files and exits with status 130.
  • UDG-half damage tables in --pmdtools-compat mode now match PMDtools 0.60. In UDG-half mode, PMDtools takes a C site's CpG context from the reference, not from the next read base. Before this fix, the table differed at positions 1–5 by up to 0.009. It now matches PMDtools to 5 decimals on the 1,500-read test set and on 200,000-read slices of two real libraries. Default-mode tables are unchanged.

Install

pip install pmdshodh==0.2.4

Or download the binary for your platform below and check it against SHA256SUMS. A Bioconda package is still to come.

Changes

Fixed

  • --pmdtools-compat damage tables (damage, --summary) in UDG-half mode now match PMDtools 0.60 --deamination --UDGhalf. PMDtools takes a C site's CpG context from the next reference base there, as in scoring, and only its --CpG table uses the next read base. Compat had used the --CpG rule, so 57 of 1,500 fixture reads counted differently: the table differed at positions 1–5, by up to 0.009. The tables now agree to PMDtools' 5 decimals on the fixture and on the first 200,054 reads of BER11_L_NOuser and 200,012 of Motala3. Default-mode tables and all scores are unchanged.
  • A run ended by Ctrl-C, SIGTERM (a scheduler's time limit) or SIGHUP left its temporary files (<output>.pmdshodh-tmp, and since 0.2.2 one for --summary too) behind. They are now removed, and the process still ends by the same signal, so the shell or scheduler sees it as killed (status 130, 143 or 129). On Windows, Ctrl-C or Ctrl-Break removes them and exits with status 130. New dependencies: signal-hook (Linux, macOS) and ctrlc (Windows).

What's Changed

Full Changelog: v0.2.3...v0.2.4