bcgsc/ntHits

Outputting bloom filter with only one hash function

Closed this issue · 0 comments

Hello Hamid,

I'm looking to output a bloom filter with only one hash function but this is what I found:
https://github.com/bcgsc/ntHits/blob/master/nthits.cpp#L437 . It would appear that if I do -h 0, I can output a bloomfilter with one hash function. The problem is the cbf will be initialized with hashNum of 0 in here https://github.com/bcgsc/ntHits/blob/master/nthits.cpp#L434.
Is this intended?

Also I would like specify how big my bloom filter is? Can you add that option? Thanks