zhaoyanswill / RAPSearch2

Reduced Alphabet based Protein similarity Search
40 stars 15 forks source link

Fix bug loading Hash DB incorrectly #34

Open yesimon opened 7 years ago

yesimon commented 7 years ago

By initializing the vector with size 1M, boost serialization appends the db hash file onto the vector making it 2M / twice as long.

Hash queries would return no-hit for every seed because of the empty 1M prefix