bioforensics / MicroHapulator

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

Trying to fix repetitive read counts #162

Closed standage closed 8 months ago

standage commented 11 months ago

Screenshot 2023-12-22 at 12 43 54 PM

We've observed that the number of reads marked as repetitive in the MicroHapulator report exceeds the "total" reads mapped to that marker. This PR is attempting to rectify that discrepancy.

For starters, I've updated the code that counts reads aligned to the whole genome so that it only considers reads that map to the corresponding marker when using marker sequences as the reference.

The screenshot above shows what the results look like prior to my changes, and below shows the results after my changes. There are some differences, but so far my changes have not yet resolved the issue.

Screenshot 2023-12-22 at 12 41 43 PM


standage commented 8 months ago

Fixed in #163.