Skip to content

Commit

Permalink
Add tests/nextflow.config
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonJM committed Jul 23, 2024
1 parent 9b1def7 commit 5619352
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions tests/nextflow.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
params {
// Base directory for nf-core/modules test data
modules_testdata_base_path = 's3://ngi-igenomes/testdata/nf-core/modules/'

// Base directory for nf-core/fetchngs test data
pipelines_testdata_base_path = 's3://ngi-igenomes/testdata/nf-core/pipelines/fetchngs/1.15.0/'

max_cpus = 4
max_memory = '12.GB'
time = '2.h'
}

// Impose sensible resource limits for testing
process {
withName: BOWTIE2_PHIX_REMOVAL_ALIGN {
cpus = 1
memory = 12.GB
time = 2.h
}

withName: CENTRIFUGE_CENTRIFUGE {
cpus = 1
memory = 12.GB
time = 2.h
}

withName: BOWTIE2_ASSEMBLY_ALIGN {
cpus = 1
memory = 12.GB
time = 2.h
}

withName: METABAT2_JGISUMMARIZEBAMCONTIGDEPTHS {
cpus = 1
memory = 12.GB
time = 2.h
}

withName: QUAST_BINS {
cpus = 1
memory = 12.GB
time = 2.h
}

withName: METABAT2_METABAT2 {
cpus = 1
memory = 12.GB
time = 2.h
}
}

// Impose same minimum Nextflow version as the pipeline for testing
manifest {
nextflowVersion = '!>=23.04.0'
}

// Disable all Nextflow reporting options
timeline { enabled = false }
report { enabled = false }
trace { enabled = true }
dag { enabled = false }

// Load modules test_data.config
includeConfig 'https://github.com/nf-core/modules/raw/master/tests/config/test_data.config'

0 comments on commit 5619352

Please sign in to comment.