added cluster config files and comments to main.nf #79
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Notes
Comments and suggestions for revision
process MapReads
. Commands that are piped together will run concurrently, and the resources used will be the sum of the resources for each piped command. Sobwa mem -t 2 ... | samtools sort -@2 ...
will use 4 cpus, not 2. The same applies for memory. I made a private branch with specific cpu and memory values as needed for my use case (WGS), but you likely need a more generalizable solution./tmp
. The compute nodes at Weill Cornell and New York Genome Center (NYGC) have very limited space in/tmp
. For temp directory, we use the env variable$TMPDIR
, which specifies a local scratch disc.base.config
, setting pipefail option causes jobs to sometimes fail with exit code 141. Known issue with pipefail and exit 141. See https://gitter.im/nextflow-io/nextflow/archives/2016/04/12process.shell = ['/bin/bash', '-euo', 'pipefail']
toprocess.shell = ['/bin/bash', '-eu']
. This change is not in PR.Many thanks to the nf-core team for nf-core/sarek!