From 111b1505fa7c3376fc9d9f08537bea8d342360bd Mon Sep 17 00:00:00 2001 From: drpatelh Date: Fri, 7 Aug 2020 09:40:02 +0100 Subject: [PATCH] Add basedir --- software/fastqc/test/main.nf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/software/fastqc/test/main.nf b/software/fastqc/test/main.nf index 6405805a..96f59d2f 100755 --- a/software/fastqc/test/main.nf +++ b/software/fastqc/test/main.nf @@ -15,7 +15,7 @@ workflow test_single_end { def input = [] input = [ [ id:'test', single_end:true ], - [ file('input/test_single_end.fastq.gz', checkIfExists: true) ] ] + [ file("${baseDir}/input/test_single_end.fastq.gz", checkIfExists: true) ] ] FASTQC ( input, [ publish_dir:'test_single_end' ] ) } @@ -27,7 +27,8 @@ workflow test_paired_end { def input = [] input = [ [ id:'test', single_end:false ], - [ file('input/test_R1.fastq.gz', checkIfExists: true), file('input/test_R2.fastq.gz', checkIfExists: true) ] ] + [ file("${baseDir}/input/test_R1.fastq.gz", checkIfExists: true), + file("${baseDir}/input/test_R2.fastq.gz", checkIfExists: true) ] ] FASTQC ( input, [ publish_dir:'test_paired_end' ] ) }