kevlar-dev / kevlar

Reference-free variant discovery in large eukaryotic genomes
https://kevlar.readthedocs.io
MIT License
41 stars 9 forks source link

Fix sketch memory when using non-byte counter #291

Closed standage closed 6 years ago

standage commented 6 years ago

Creating sketches works correctly when using an 8-bit counter, but not with 4-bit or 1-bit counters. This update fixes this bug. Closes #290.

codecov[bot] commented 6 years ago

Codecov Report

Merging #291 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #291      +/-   ##
==========================================
+ Coverage   96.91%   96.92%   +<.01%     
==========================================
  Files          47       47              
  Lines        2820     2825       +5     
  Branches      482      483       +1     
==========================================
+ Hits         2733     2738       +5     
  Misses         56       56              
  Partials       31       31
Impacted Files Coverage Δ
kevlar/count.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update de712ec...c19d518. Read the comment docs.