diff --git a/workflow/main.nf b/workflow/main.nf index dee449262a65c4d01cbae35e46fea916939af4d6..39b0c00e9e1c0815fcec68cf2d41de2c40af1d17 100644 --- a/workflow/main.nf +++ b/workflow/main.nf @@ -64,7 +64,7 @@ else { spltnames .splitCsv() .filter { fileMap.get(it[1]) != null } - .map { it -> tuple(it[0], fileMap.get(it[1]),fileMap.get(it[1])) } + .map { it -> tuple(it[0], fileMap.get(it[1]),'') } .set { read } } if( ! read ) { error "Didn't match any input files with entries in the design file" } @@ -232,7 +232,7 @@ process gatkbam { output: set file("${pair_id}.final.bam"),file("${pair_id}.final.bai") into gatkbam when: - params.align == 'hisat' + params.align == 'hisat' && $index_path == '/project/shared/bicf_workflow_ref/GRCh38/' script: """ bash $baseDir/process_scripts/variants/gatkrunner.sh -a gatkbam_rna -b $rbam -r ${index_path}/hisat_index -p $pair_id diff --git a/workflow/process_scripts b/workflow/process_scripts index b6d2f6898ecc1890b4df305e9505bdaa5eace4a6..012a37c5f66ad4c20312642904416c4c493fa75e 160000 --- a/workflow/process_scripts +++ b/workflow/process_scripts @@ -1 +1 @@ -Subproject commit b6d2f6898ecc1890b4df305e9505bdaa5eace4a6 +Subproject commit 012a37c5f66ad4c20312642904416c4c493fa75e