-
Notifications
You must be signed in to change notification settings - Fork 711
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
Add umicollapse as an alternative to umi-tools #1369
Conversation
TODO: - [ ] Benchmark paired ends mode - [ ] Include in multiqc
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.
Excellent work, clean and well-structured! I think, you found very smart solutions to not duplicate too much of the code.
Of course, we should wait for the lead developers of the pipeline to review as well prior to merging, but in general you have my support for this addition! Ideally, your fix for umicollapse
would also be included in the form of an updated tool version.
Please don't forget the Changelog later and also to add your name to the contributors (well deserved)!
@@ -30,6 +30,7 @@ params { | |||
with_umi = false | |||
skip_umi_extract = false | |||
umitools_extract_method = 'string' | |||
umi_dedup_tool = 'umicollapse' | |||
umitools_grouping_method = 'directional' |
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.
Reading that makes we wonder if we should be conservative regarding the parameter names or make them more generic, e.g. renaming umitools_grouping_method
to something like umi_grouping_method
/ umi_dedup_grouping_method
etc.
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.
Yes, I thought about that too. Depends on your policy for introducing breaking changes between versions. If the authors are OK, I can rename these parameters to be more generic.
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.
Thanks for the quick review. I am tracking all remaining items in the PR summary.
@@ -30,6 +30,7 @@ params { | |||
with_umi = false | |||
skip_umi_extract = false | |||
umitools_extract_method = 'string' | |||
umi_dedup_tool = 'umicollapse' | |||
umitools_grouping_method = 'directional' |
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.
Yes, I thought about that too. Depends on your policy for introducing breaking changes between versions. If the authors are OK, I can rename these parameters to be more generic.
Signed-off-by: Siddhartha Bagaria <[email protected]>
I checked the output of UMICollapse, and it definitely does not follow the assumptions stated in prepare_for_rsem.py. So |
@MatthiasZepper all remaining tasks are now done. Please take another look. |
Unfortunately, the UMICollapse module has not yet been upgraded... |
@siddharthab: The module is finally upgraded, so you can replace the local path with the up-to-date module. |
Thanks. Can you check if everything looks good now? I just ran |
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.
Can we uppercase the new process aliases please? My tiny little mind will get confused otherwise.
Co-authored-by: Jonathan Manning <[email protected]>
f4d6b0d
to
05513ee
Compare
@pinin4fjords, done. |
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 can only reiterate that I would like to see this merged. In my opinion, an outstanding job.
@nf-core-bot fix linting |
Sorry, good in principle now for me (maybe some factoring out we can do later). Just need to get tests to run + pass. |
Well, it appears the issue is on my end. Will fix asap! Sorry! The UMICollapse tests are failing, because they try importing the BWA-Mem module, which isn’t included in this pipeline. As obviously everything is available in the modules directory, the tests pass in that context. Considering that I had copied the tests from Turns out that I had coicidentially copied them as a template during a very brief period on March 4 before Maxime updated them again, which explains the discrepancy... Long story short, I will have to fix the UMICollapse test in the modules directory to be self-reliant. |
Just to give a brief update: I have finally found some time to update the tests. Therefore, I hope the module tests will soon be updated in the repo and subsequently this PR also be merged successfully! |
@maxulysse: Let me know, when you have synced the test data to the S3 bucket. Ultimately, that sounds like something we could automate in the future with a CI on the test data repository? |
🤦 I did not see that missing when I fixed the merge conflicts, good catch @MatthiasZepper |
@nf-core-bot fix linting |
Thanks! Strange, that the linter is unhappy, since I literally copy and pasted that from the current |
Checklist:
PREPARE_FOR_SALMON
is needed