Skip to content

Commit

Permalink
update clair3 params to be less strict
Browse files Browse the repository at this point in the history
  • Loading branch information
DarianHole committed Nov 29, 2024
1 parent d3c94eb commit 3c5566d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 5 additions & 3 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ process {
withLabel: process_single {
cpus = { check_max( 1 , 'cpus' ) }
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }
time = { check_max( 6.h * task.attempt, 'time' ) }
}
withLabel: process_low {
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }
time = { check_max( 6.h * task.attempt, 'time' ) }
}
withLabel: process_medium {
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
Expand All @@ -47,7 +47,9 @@ process {
time = { check_max( 20.h * task.attempt, 'time' ) }
}
withLabel: process_high_memory {
memory = { check_max( 90.GB * task.attempt, 'memory' ) }
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 32.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) }
}
withLabel: error_ignore {
errorStrategy = 'ignore'
Expand Down
3 changes: 1 addition & 2 deletions modules/local/nanopore_amplicon/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ process CLAIR3_VARIANTS {
--platform='ont' \\
--model_path="\$MODEL_PATH" \\
--output="${sampleName}-out" \\
--qual=3 \\
--min_coverage=20 \\
--min_coverage=10 \\
--haploid_precise \\
--enable_long_indel \\
--fast_mode \\
Expand Down
3 changes: 1 addition & 2 deletions modules/local/nanopore_shotgun/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ process CLAIR3_VARIANTS {
--platform='ont' \\
--model_path="\$MODEL_PATH" \\
--output="${sampleName}-out" \\
--qual=2 \\
--min_coverage=20 \\
--min_coverage=10 \\
--haploid_precise \\
--enable_long_indel \\
--fast_mode \\
Expand Down
2 changes: 1 addition & 1 deletion modules/local/visualization/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Visualization Modules
// Custom scripts are versioned here
process CREATE_READ_VARIATION_CSV {
label 'process_single'
label 'process_high_memory'
tag "$meta.id"
publishDir "${params.outdir}/variation_csvs", pattern: "*.csv", mode: "copy"

Expand Down

0 comments on commit 3c5566d

Please sign in to comment.