bioforensics / MicroHapulator

Tools for empirical microhaplotype calling, forensic interpretation, and simulation.
https://microhapulator.readthedocs.io/
Other
6 stars 1 forks source link

Make off-target analysis optional #153

Closed standage closed 2 years ago

standage commented 2 years ago

The primary purpose of this branch—at least at first—was to make off-target analysis, recently added to the end-to-end workflow (#143), optional.

While testing, I started updating the HTML report to handle thresholds more gracefully. I ended up going down a rabbit hole and touching more code than I expected. But I think overall it improved the relevant code throughout the codebase. The CLI is no longer neutral on thresholds by default, and getting rid of None and empty string defaults cleaned up the implementation a bit. And the report now shows a table of thresholds unconditionally, whether a per-marker config file was specified or not.

Still to do:

Closes #141.