-
Notifications
You must be signed in to change notification settings - Fork 82
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 optional merging and trimming #142
Conversation
Extra clarifications for indices, FastP and general cleanup
Emphasis on each process, not the overall nextflow submission.
Co-Authored-By: jfy133 <[email protected]>
Further clarification on `--max-cpus`
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.
Atm, this doesn't allow skipping the entire module and thus conflicts a bit with the open PR #138 - could you adjust these to also allow an entire skipping of the AR2 process in general, not just the merging part? Some people might want to run adapter clipping but without merging (which is now possible), others might just want to skip AR entirely - which isn't possible yet (see other PR #138). I guess it makes more sense to include #138 into this PR here and make it work 👍
Thanks for contributing, much appreciated!
Co-Authored-By: maxibor <[email protected]>
Co-Authored-By: maxibor <[email protected]>
Integrating PR #138
It it now possible to:
I went with the "lazy" option of skipping ar2 by changing the script of the ar2 process to just a simple Also, I think there is an issue with the test of damageprofiler that always errors with the last test (from the bam file) |
main.nf
Outdated
@@ -44,6 +44,8 @@ def helpMessage() { | |||
--saveReference Saves reference genome indices for later reusage | |||
|
|||
Skipping Skip any of the mentioned steps | |||
--skip_collapse Skip merging Forward and Reverse reads together. (Only for pairedEnd samples) |
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 it would be clearer/more consistent to have a --skip_adapterremoval
flag here (which switches both --skip_collapse
and --skip_trim
to false).
Then we move the --skip_collapse
and --skip_trim
in help message to 'AdapterRemoval' section, as in that section you're actually modifying the module, not turning entire modules on and off.
Fix picard memory issue
Update README.md with instructions for test data
Fix for post-dup steps
polyg param improvement
Sorry for not looking at this earlier - I'll take some time very soon to get this in and comment on the various points to get this going 👍 |
Adding in publishing dedup log files as well
I fixed the merge conflicts and we'll see if things work fine now - once this passes I think I'm already pretty happy about it - maybe some option renaming as @jfy133 suggested and some docs / changelog updates and we're almost good to go 👍 |
|
Looks good me now. Have you tested it locally yourself? I've never had any cases where I needed to skip collapse or merge so I cant see what happens downstream. Edit: meant collapse or trim I'll try and test the skip module itself this evening. Edit2: Confirm |
I guess we could actually use a |
Note to self once merged: add to docs saying that if |
Is that true? I mean it wouldn't be a big issue to make both |
Partly true. That note would admittedly be aimed more more novice users (I will switch out 'must' with 'generally will be'). But I personally can't think of any case where you would run paired end data without merging/trimming. Although on second thoughts that's maybe what Alex Huebner was partly referring to with the whole modern data issue in #64 ... At least in my experience the only time when I wanted to skip AR was when I had already processed it previously and wanted to map the merged/trimmed data to a different reference genome. |
Yes, but as we already have everything configurable now - I'm working on adding the purely modern handling (just apply trimming to reads, keep them as pairs and map them using bwa/bwa mem in PE mode) as an option in the pipeline too. This will just require speciying |
Here you go - once this is merged, we can basically just add something on top of it :-) |
I merged this into the |
In response to #137
Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs).
PR checklist
nextflow run . -profile test,docker
).nf-core lint .
).docs
is updatedCHANGELOG.md
is updatedREADME.md
is updatedLearn more about contributing: https://github.com/nf-core/eager/tree/master/.github/CONTRIBUTING.md