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

Merge branch '24-output.folders' into 'develop'

Resolve "Organize output folders"

Closes #24

See merge request !40
parents 771a4f0b 14ac1946
Branches
Tags
2 merge requests!53Develop,!40Resolve "Organize output folders"
Pipeline #3801 failed with stages
in 28 minutes and 38 seconds
......@@ -4,6 +4,7 @@
// Note - $baseDir is the location of this workflow file main.nf
// Define Input variables
params.name = "run"
params.fastq = "$baseDir/../test_data/*.fastq.gz"
params.designFile = "$baseDir/../test_data/design.csv"
params.genome = 'GRCh38-3.0.0'
......@@ -36,6 +37,7 @@ if (params.astrocyte) {
params.genomeLocationFull = params.genomeLocation+params.genome
// Define regular variables
name = params.name
designLocation = Channel
.fromPath(params.designFile)
.ifEmpty { exit 1, "design file not found: ${params.designFile}" }
......@@ -55,7 +57,7 @@ outDir = params.outDir
process checkDesignFile {
publishDir "$outDir/${task.process}", mode: 'copy'
publishDir "$outDir/misc/${task.process}/$name", mode: 'copy'
input:
......
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