-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indexlr mx filter #79
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good Amirhossein!
Question about your thoughts with the timing of this merge - do you think it makes sense to try out and analyze the alternate filtering modes before merging this to master? Then, basically only integrate the mode(s) that we see have promise to the code base?
Co-authored-by: Lauren Coombe <[email protected]>
Co-authored-by: Lauren Coombe <[email protected]>
I was planning to merge and then test-run on Physlr as the tests wouldn't be some small isolated tests but rather running the whole pipeline... but sure I can still do the same before merging, but whatever comes out of it is not necessarily the best approach for all cases (including various tools and various datasets) |
For filtering some unwanted minimizer kmers, we used to mask them (disqualifying them from generating minimizes by setting their hash value to max) which allowed some other adjacent kmers to develop false minimizers. This code enables an alternative approach: allow the unwanted kmers to generate minimizers, but then don't output minimizers originated from unwanted kmers.
This code does not change the default functionality of
indexlr
and supposedly does not run slower as it involves only a couple of additional if statements. I am planning some extensive testing and if they showed the alternative approach results in better results we will discuss changing the default behavior ofindexlr
.