Skip to content
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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Indexlr mx filter #79

wants to merge 12 commits into from

Conversation

aafshinfard
Copy link
Member

@aafshinfard aafshinfard commented Feb 23, 2023

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 of indexlr.

@aafshinfard aafshinfard requested a review from parham-k February 23, 2023 23:08
@aafshinfard aafshinfard requested review from parham-k and lcoombe March 2, 2023 23:55
Copy link
Member

@lcoombe lcoombe left a 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?

recipes/indexlr.cpp Outdated Show resolved Hide resolved
recipes/indexlr.cpp Outdated Show resolved Hide resolved
aafshinfard and others added 2 commits March 2, 2023 16:44
Co-authored-by: Lauren Coombe <[email protected]>
Co-authored-by: Lauren Coombe <[email protected]>
@aafshinfard
Copy link
Member Author

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?

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)

@aafshinfard
Copy link
Member Author

Thanks for reviewing @lcoombe and @parham-k

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants