s-andrews / SeqMonk

SeqMonk NGS visualisation and analysis tool
GNU General Public License v2.0
48 stars 9 forks source link

Poor performance of wiggle plot when window size is 1bp #23

Open s-andrews opened 7 years ago

s-andrews commented 7 years ago

Something odd happens to the wiggle plot calculation when the window size for the plot is set down to 1bp. It's not just the number of probes which is the issue since you can have the name number of probes with larger windows and its fine. I suspect it's an optimisation issue where the incrementor which says where it can start isn't updated appropriately with a 1bp window size. The issue completely goes away with a window size of 2bp.

s-andrews commented 7 years ago

v1.38.0 had a mitigation for this in that it now won't suggest probe sizes below 2bp for the wiggle plot. I still need to track down the root cause in the iteration code though.