Skip to content

Commit

Permalink
Merge branch 'dev' into dp24_yaml_update
Browse files Browse the repository at this point in the history
  • Loading branch information
DLBPointon authored Nov 22, 2023
2 parents fd73077 + f6b94a7 commit 60f129f
Show file tree
Hide file tree
Showing 10 changed files with 154 additions and 128 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ If you would like to contribute to this pipeline, please see the [contributing g

<!--TODO: Citation-->

If you use sanger-tol/treeval for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX).
If you use sanger-tol/treeval for your analysis, please cite it using the following doi: [10.5281/zenodo.10047653](https://doi.org/10.5281/zenodo.10047653).

### Tools

Expand Down
20 changes: 16 additions & 4 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,21 @@ process {
}

// CUSTOM CONFIGS
// TODO: add process.tiny

withLabel:process_tiny {
cpus = { check_max( 1 , 'cpus' ) }
memory = { check_max( 100.MB * task.attempt , 'memory' ) }
time = { check_max( 4.h * task.attempt , 'time' ) }
}

withName:CUSTOM_DUMPSOFTWAREVERSIONS {
cache = false
}

// IN CASES WHERE THERE IS ONE HIC FILE THIS WILL NEED ALMOST NOTHING
withName:SAMTOOLS_MERGE {
cpus = { check_max( 16 * 1, 'cpus' ) }
memory = { check_max( 150.GB * task.attempt, 'memory') }
cpus = { check_max( 16 * 1, 'cpus' ) }
memory = { check_max( 50.GB * task.attempt, 'memory') }
}

// RESOURCES: MEMORY INTENSIVE STEPS, SOFTWARE TO BE UPDATED TO COMBAT THIS
Expand Down Expand Up @@ -151,6 +157,12 @@ process {
memory = { check_max( 100.MB * task.attempt, 'memory' ) }
}

withName: SNAPSHOT_SRES {
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
}

// NOT CURRENTLY IN USE
withName: SNAPSHOT_HRES {
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
memory = { check_max( 50.GB * task.attempt, 'memory' ) }
Expand All @@ -173,7 +185,7 @@ process {

withName: COOLER_CLOAD {
cpus = { check_max( 16 * 1, 'cpus' ) }
memory = { check_max( 100.GB * task.attempt, 'memory' ) }
memory = { check_max( 50.GB * task.attempt, 'memory' ) }
}

withName: BUSCO {
Expand Down
Loading

0 comments on commit 60f129f

Please sign in to comment.