bioforensics / MicroHapulator

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

Conditional plotting of read length histograms #137

Closed standage closed 2 years ago

standage commented 2 years ago

Plots for distributions of merged reads will always show variation and need to be included in the HTML report. However, raw input reads will sometimes be trimmed and sometimes be untrimmed. Untrimmed reads have a uniform length, and thus would be better served by a table of read lengths rather than a histogram plot with a single bar. The report code should be updated to show read length distributions only when reads are trimmed—if all files have reads of uniform length, a table showing the read length of each file should be shown instead.