-
Notifications
You must be signed in to change notification settings - Fork 34
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
Change falco process into medium, solve memory issue #334
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.
Can be merged once tests pass and if this is why @jfy133 also had in mind about bumping into taxprofiler :)
Also, can you update the changelog as well? :) |
Updated CHANGELOG.md |
conf/base.config
Outdated
} | ||
withName: FALCO { | ||
cpus = { check_max( 6 , 'cpus' ) } | ||
memory = { check_max( 36.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 think this is overkill! 1GB to 36GB is too much as it's actually small job (just needs a bit more than fastqC) , maybe increase it to 4.GB
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.
FASTQC is a medium process.
Maybe it would be safer to change it to a low process with 12GB 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.
That still seems high... and FastQC being a medium process is a bit mof a misnomer, increasing threads for FastQC is only to increase the memory (1 CPU == 500 MB RAM... don't ask me why...).
Falco is still multithreaded so keep the 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.
Ok. I will change the memory to 4GB and keep the cpu 6.
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.
@jfy133 According to this paper, Falco is known for its memory efficiency, and allocating 4GB of memory would indeed be a reasonable number. Additionally, Falco has been reported to utilize approximately 14 times less memory than FastQC when processing long-reads.
So the chosen memory setting of 4GB appears to be well-suited for running Falco efficiently and effectively for your analysis.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7845152/
If you think it's fine, can you approve it?
PR checklist
Close #291
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).