// // Notes to End Users. // // The workflow should run without editing this configuration file, // however there may be instances in which you wish to edit this // file for compute performance or other reasons. Please see: // // https://nextflow.io/docs/latest/config.html#configuration // // for further help editing this file. params { help = false fastq = null out_dir = "output" samples = null sanitize_fastq = false wfversion = "v0.0.7" aws_image_prefix = null aws_queue = null report_name = "report" monochrome_logs = false validate_params = true show_hidden_params = false schema_ignore_params = 'show_hidden_params,validate_params,monochrome_logs,aws_queue,aws_image_prefix,wfversion' } manifest { name = 'epi2me-labs/wf-template' author = 'Oxford Nanopore Technologies' homePage = 'https://github.com/epi2me-labs/wf-template' description = 'Template workflow' mainScript = 'main.nf' nextflowVersion = '>=20.10.0' //version = 'v0.0.7' // TODO: do switch to this? } executor { $local { cpus = 4 memory = "8 GB" } } profiles { // the "standard" profile is used implicitely by nextflow // if no other profile is given on the CLI standard { docker { enabled = true // this ensures container is run as host user and group, but // also adds host user to the within-container group runOptions = "--user \$(id -u):\$(id -g) --group-add 100" } process { withLabel:pysam { container = "ontresearch/wf-template:${params.wfversion}" } shell = ['/bin/bash', '-euo', 'pipefail'] } } // profile using conda environments rather than docker // containers conda { docker { enabled = false } process { withLabel:pysam { conda = "${projectDir}/environment.yaml" } shell = ['/bin/bash', '-euo', 'pipefail'] } conda { cacheDir = "" useMamba = true } } awsbatch { process { executor = 'awsbatch' queue = "${params.aws_queue}" memory = '8G' withLabel:pysam { container = "${params.aws_image_prefix}-wf-template:${params.wfversion}" } shell = ['/bin/bash', '-euo', 'pipefail'] } } aws.region = 'eu-west-1' aws.batch.cliPath = '/home/ec2-user/miniconda/bin/aws' } timeline { enabled = true file = "${params.out_dir}/execution/timeline.html" } report { enabled = true file = "${params.out_dir}/execution/report.html" } trace { enabled = true file = "${params.out_dir}/execution/trace.txt" } dag { enabled = true file = "${params.out_dir}/execution/pipeline.svg" }