Skip to content
Snippets Groups Projects
Commit 73a49881 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Change params.genomeLocation to concatenate with params.genome

parent 51737889
Branches
Tags
4 merge requests!29Develop,!16Develop,!14Resolve "Make param.genomeLocation have full path",!13Resolve "Make param.genomeLocation have full path"
Pipeline #3183 failed with stage
in 2 minutes and 45 seconds
......@@ -8,7 +8,7 @@ params.fastq = "$baseDir/../test_data/*.fastq.gz"
params.designFile = "$baseDir/../test_data/design.csv"
params.genome = 'GRCh38-3.0.0'
params.genomes = []
params.genomeLocation = params.genome ? params.genomes[ params.genome ].loc ?: false : false
params.genomeLocation = params.genome ? params.genomes[ params.genome ].loc ?: false : false + params.genome
params.expectCells = 10000
params.forceCells = 0
params.kitVersion = 'three'
......@@ -27,7 +27,7 @@ fastqList = Channel
.map { file -> [ file.getFileName().toString(), file.toString() ].join("\t") }
.collectFile(name: 'fileList.tsv', newLine: true)
refLocation = Channel
.fromPath(params.genomeLocation+params.genome)
.fromPath(params.genomeLocation)
.ifEmpty { exit 1, "referene not found: ${params.genome}" }
expectCells = params.expectCells
forceCells = params.forceCells
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment