Repository navigation
pmdshodh 0.2.4
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-tmpfiles 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-compatmode 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.4Or download the binary for your platform below and check it against SHA256SUMS. A Bioconda package is still to come.
Changes
Fixed
--pmdtools-compatdamage 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--CpGtable uses the next read base. Compat had used the--CpGrule, 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--summarytoo) 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
- Remove temporary output files when a signal ends the run by @dpatel511 in #41
- Match PMDtools' UDG-half damage table in compat mode by @dpatel511 in #42
- Prepare 0.2.4 by @dpatel511 in #43
Full Changelog: v0.2.3...v0.2.4