Skip to content

Commit acacada

Browse files
authored
Merge pull request #517 from nf-core/test-gpu-profile
create separate test_gpu profile
2 parents b7e1598 + 2d45707 commit acacada

4 files changed

Lines changed: 58 additions & 2 deletions

File tree

assets/samplesheet_single_gpu.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sample,fastq_1,fastq_2,genome
2+
SRR7961150_GSM3415714_MShef4_bulk,s3://ngi-igenomes/test-data/methylseq/SRR7961150_GSM3415714_MShef4_bulk_BSseq_Homo_sapiens_Bisulfite-Seq_1.fastq.gz,s3://ngi-igenomes/test-data/methylseq/SRR7961150_GSM3415714_MShef4_bulk_BSseq_Homo_sapiens_Bisulfite-Seq_2.fastq.gz,

conf/test_gpu.config

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
Nextflow config file for running minimal tests
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5+
Defines input files and everything required to run a fast and simple pipeline test.
6+
7+
Use as follows:
8+
nextflow run nf-core/methylseq -profile test,<docker/singularity> --outdir <OUTDIR>
9+
10+
----------------------------------------------------------------------------------------
11+
*/
12+
13+
params {
14+
config_profile_name = 'Test GPU profile'
15+
config_profile_description = 'Minimal test dataset to check pipeline function'
16+
17+
// Input data
18+
input = "${projectDir}/assets/samplesheet_gpu.csv"
19+
20+
// Genome references
21+
fasta = "${params.pipelines_testdata_base_path}/reference/genome.fa.gz"
22+
fasta_index = "${params.pipelines_testdata_base_path}/reference/genome.fa.fai"
23+
}
24+
25+
process {
26+
resourceLimits = [
27+
cpus: 4,
28+
memory: '15.GB',
29+
time: '1.h'
30+
]
31+
}
32+

conf/test_single_gpu.config

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
Nextflow config file for running minimal tests
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5+
Defines input files and everything required to run a fast and simple pipeline test.
6+
7+
Use as follows:
8+
nextflow run nf-core/methylseq -profile test,<docker/singularity> --outdir <OUTDIR>
9+
10+
----------------------------------------------------------------------------------------
11+
*/
12+
13+
params {
14+
config_profile_name = 'Test GPU profile with one single full size sample'
15+
config_profile_description = 'Test dataset to check pipeline GPU function'
16+
17+
// Input data
18+
input = "${projectDir}/assets/samplesheet_single_gpu.csv"
19+
genome = 'GRCh38'
20+
}

nextflow.config

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,10 @@ profiles {
225225
apptainer.runOptions = '--nv'
226226
singularity.runOptions = '--nv'
227227
}
228-
test { includeConfig 'conf/test.config' }
229-
test_full { includeConfig 'conf/test_full.config' }
228+
test { includeConfig 'conf/test.config' }
229+
test_gpu { includeConfig 'conf/test_gpu.config' }
230+
test_single_gpu { includeConfig 'conf/test_single_gpu.config' }
231+
test_full { includeConfig 'conf/test_full.config' }
230232
}
231233

232234
// Load nf-core custom profiles from different Institutions

0 commit comments

Comments
 (0)