broadinstitute/viral-ngs — pull request #35 by iljungr (2014-11-15 22:23:02+00:00)
Title: Irwin bmtagger bug

Problem: partition_bmtagger was not finding any matches on a real data set that should have matches.
Cause: bmtagger strips /1 or /2 from end of read id.
Solution: When comparing a read id to the list from bmtagger, if read ends in /1 or /2 strip it off before comparing.
Testing: Changed unit test so some matching reads end in /1 and /2 and some don't, and same for some nonmatching reads. Tested on a small subset of original read data set that had 1 matching and 1 nonmatching read, but didn't test on full data set.