-
Notifications
You must be signed in to change notification settings - Fork 7
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
Replace BlastN by Minimap2 splice. #104
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.
I think you should be able to do this using the existing minimap2_align nf-core module, and setting splice
using ext.args
as you are currently doing? Should also check if we can store and provide a gzipped fasta, and if there is any benefit to indexing it before running.
Thank you for your feedback! I will try and enhance the process. |
Hi @tkchafin, I have set the |
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.
We should not be making changes to any nf-core modules, because these will be overwritten when the module updates. Any specific runtime parameters should only be passed using the ext
in modules.config
.
I don't think you should need to modify the accepted arguments for |
Thank you very much for your feedback @tkchafin. I'm working on it now. |
I guess we should maybe think more about the presets, we are using
|
Thank you, Tyler, for pointing this out. I was also confused about the preset.
I have tested with
They're different but the sequences needs to be filtered might be the same in both case ( |
Hi @tkchafin, here's the blocklist result by BLASTN after filtering.
|
@reichan1998 Thanks for providing those results, it seems like blastn is finding a lot more hits. So I guess the question is (1) if we can alter the settings for minimap2 to better fit the blastn parameters; (2) if replacing with minimap2 is worthwhile at all; and (3) if another blastn alternative might be worth considering (mega blast or some specific optimisation like this one https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4652774/) |
Thanks, Tyler. I’ll start by looking into how we can adjust the settings for minimap2 to better align with the blastn parameters and then evaluate if it’s worth replacing blastn with minimap2 or if another alternative might be more effective. I’ll update you on what I find. |
Closing as we have determined minimap2 splice to not work as an alternative. Opening new ticket to explore alternatives #114 |
Fixes #66
vector_db
innextflow.config
fromvectorDB.tar.gz
topacbio_vectorDB.fasta
.PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).