-
Notifications
You must be signed in to change notification settings - Fork 116
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
Increase memory and use sort in bedtool_genomecov
process when dealing with merged replicates
#369
Conversation
bedtool_genomecov
processbedtool_genomecov
process when dealing with merge replicates
|
bedtool_genomecov
process when dealing with merge replicatesbedtool_genomecov
process when dealing with merged replicates
Maybe we could also implement |
conf/modules.config
Outdated
@@ -793,6 +793,7 @@ if (!params.skip_merge_replicates) { | |||
pattern: "*.txt" | |||
] | |||
] | |||
memory = { check_max( 72.GB * task.attempt, 'memory' ) } |
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 would put that in base.config instead
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.
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.
OK, thanks was looking for examples and found this one in differentialabundance, that is why I implemented it that way.
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.
But fair enough, probably this way is more findable
that sounds like a good idea too. |
As reported in #344, the
bedtools sort
command in theBEDTOOL_GENOMECOV
process is memory-greedy when dealing with merged replicates. Here, the default memory is increased and sorting is performed using the bashsort
command which should alleviate also the problem as it takes into account the memory available and uses temporary files, if needed.PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).CHANGELOG.md
is updated.