generated from CCBR/CCBR_NextflowTemplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement main QC steps
- Loading branch information
Showing
24 changed files
with
8,274 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
ccbr/sandbox Nextflow base config file | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
A 'blank slate' config file, appropriate for general use on most high performance | ||
compute environments. Assumes that all software is installed and available on | ||
the PATH. Runs in `local` mode - all jobs will be run on the logged in environment. | ||
---------------------------------------------------------------------------------------- | ||
*/ | ||
|
||
process { | ||
|
||
// TODO nf-core: Check the defaults for all processes | ||
cpus = { check_max( 1 * task.attempt, 'cpus' ) } | ||
memory = { check_max( 6.GB * task.attempt, 'memory' ) } | ||
time = { check_max( 4.h * task.attempt, 'time' ) } | ||
|
||
errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' } | ||
maxRetries = 1 | ||
maxErrors = '-1' | ||
|
||
// Process-specific resource requirements | ||
// NOTE - Please try and re-use the labels below as much as possible. | ||
// These labels are used and recognised by default in DSL2 files hosted on nf-core/modules. | ||
// If possible, it would be nice to keep the same label naming convention when | ||
// adding in your local modules too. | ||
// TODO nf-core: Customise requirements for specific processes. | ||
// See https://www.nextflow.io/docs/latest/config.html#config-process-selectors | ||
withLabel:process_single { | ||
cpus = { check_max( 1 , 'cpus' ) } | ||
memory = { check_max( 6.GB * task.attempt, 'memory' ) } | ||
time = { check_max( 4.h * task.attempt, 'time' ) } | ||
} | ||
withLabel:process_low { | ||
cpus = { check_max( 2 * task.attempt, 'cpus' ) } | ||
memory = { check_max( 12.GB * task.attempt, 'memory' ) } | ||
time = { check_max( 4.h * task.attempt, 'time' ) } | ||
} | ||
withLabel:process_medium { | ||
cpus = { check_max( 6 * task.attempt, 'cpus' ) } | ||
memory = { check_max( 36.GB * task.attempt, 'memory' ) } | ||
time = { check_max( 8.h * task.attempt, 'time' ) } | ||
} | ||
withLabel:process_high { | ||
cpus = { check_max( 12 * task.attempt, 'cpus' ) } | ||
memory = { check_max( 72.GB * task.attempt, 'memory' ) } | ||
time = { check_max( 16.h * task.attempt, 'time' ) } | ||
} | ||
withLabel:process_long { | ||
time = { check_max( 20.h * task.attempt, 'time' ) } | ||
} | ||
withLabel:process_high_memory { | ||
memory = { check_max( 200.GB * task.attempt, 'memory' ) } | ||
} | ||
withLabel:error_ignore { | ||
errorStrategy = 'ignore' | ||
} | ||
withLabel:error_retry { | ||
errorStrategy = 'retry' | ||
maxRetries = 2 | ||
} | ||
/* | ||
withName:CUSTOM_DUMPSOFTWAREVERSIONS { | ||
cache = false | ||
}*/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,51 @@ | ||
|
||
params { | ||
// config that only works on biowulf, but regardless of on slurm or local | ||
// e.g. genome file paths | ||
config_profile_description = 'Biowulf nf-core config' | ||
config_profile_contact = '[email protected]' | ||
config_profile_url = 'https://hpc.nih.gov/apps/nextflow.html' | ||
max_memory = '224 GB' | ||
max_cpus = 32 | ||
max_time = '72 h' | ||
|
||
igenomes_base = '/fdb/igenomes/' | ||
} | ||
|
||
executor { | ||
|
||
$slurm { | ||
queue = 'norm' | ||
queueSize = 200 | ||
pollInterval = '2 min' | ||
queueStatInterval = '5 min' | ||
submitRateLimit = '6/1min' | ||
retry.maxAttempts = 1 | ||
} | ||
} | ||
|
||
singularity { | ||
enabled = true | ||
autoMounts = true | ||
cacheDir = "/data/$USER/.singularity" | ||
envWhitelist='https_proxy,http_proxy,ftp_proxy,DISPLAY,SLURM_JOBID,SINGULARITY_BINDPATH' | ||
} | ||
|
||
env { | ||
SINGULARITY_CACHEDIR="/data/$USER/.singularity" | ||
PYTHONNOUSERSITE = 1 | ||
} | ||
|
||
|
||
process { | ||
executor = 'slurm' | ||
maxRetries = 1 | ||
|
||
clusterOptions = ' --gres=lscratch:200 ' | ||
|
||
scratch = '/lscratch/$SLURM_JOBID' | ||
|
||
stageInMode = 'symlink' | ||
stageOutMode = 'rsync' | ||
|
||
// for running pipeline on group sharing data directory, this can avoid inconsistent files timestamps | ||
cache = 'lenient' | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
params { | ||
config_profile_name = 'Slurm interactive node' | ||
max_memory = '224 GB' | ||
max_cpus = 32 | ||
max_time = '72 h' | ||
} | ||
process { | ||
scratch = '/lscratch/$SLURM_JOBID' | ||
} | ||
singularity { | ||
enabled = true | ||
autoMounts = true | ||
cacheDir = "/data/$USER/.singularity" | ||
envWhitelist='https_proxy,http_proxy,ftp_proxy,DISPLAY,SLURM_JOBID,SINGULARITY_BINDPATH' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.