chore: Replace results dir with parameterized outdir

This commit is contained in:
Thomas A. Christensen II 2023-10-18 21:40:08 -05:00
parent b415c29ec0
commit 93bd5cedec
Signed by: millironx
GPG key ID: 09335146883990B9
10 changed files with 10 additions and 10 deletions

View file

@ -13,7 +13,7 @@ process CLIQUESNV {
tuple val(prefix), path("*.json")
tuple val(prefix), path("*.fasta")
publishDir "results/${task.process}", mode: 'copy'
publishDir "${params.outdir}/${task.process}", mode: 'copy'
when:
task.ext.when == null || task.ext.when

View file

@ -7,7 +7,7 @@ process EFETCH {
input:
val(genome)
publishDir "results", mode: 'copy'
publishDir "${params.outdir}", mode: 'copy'
output:
path 'reference.fasta'

View file

@ -12,7 +12,7 @@ process HAPLINK_HAPLOTYPES {
output:
tuple val(prefix), path("*.yaml")
publishDir "results/${task.process}", mode: 'copy'
publishDir "${params.outdir}/${task.process}", mode: 'copy'
when:
task.ext.when == null || task.ext.when

View file

@ -12,7 +12,7 @@ process HAPLINK_SEQUENCES {
output:
tuple val(prefix), val(method), path("*.fasta")
publishDir "results/${method}", mode: 'copy'
publishDir "${params.outdir}/${method}", mode: 'copy'
when:
task.ext.when == null || task.ext.when

View file

@ -12,7 +12,7 @@ process HAPLINK_VARIANTS {
output:
tuple val(prefix), path("*.vcf")
publishDir "results/${task.process}", mode: 'copy'
publishDir "${params.outdir}/${task.process}", mode: 'copy'
when:
task.ext.when == null || task.ext.when

View file

@ -8,7 +8,7 @@ process MINIMAP2 {
tuple val(prefix), path(reads)
path reference
publishDir "results", mode: 'copy'
publishDir "${params.outdir}", mode: 'copy'
output:
tuple val(prefix), path("*.bam"), path("*.bam.bai")

View file

@ -11,7 +11,7 @@ process QUASIRECOMB {
output:
tuple val(prefix), path("*.fasta")
publishDir "results/${task.process}", mode: 'copy'
publishDir "${params.outdir}/${task.process}", mode: 'copy'
when:
task.ext.when == null || task.ext.when

View file

@ -13,7 +13,7 @@ process SHORAH_AMPLICON {
tuple val(prefix), path("*.vcf")
tuple val(prefix), path("*support.fas")
publishDir "results/${task.process}", mode: 'copy'
publishDir "${params.outdir}/${task.process}", mode: 'copy'
when:
task.ext.when == null || task.ext.when

View file

@ -13,7 +13,7 @@ process SHORAH_SHOTGUN {
tuple val(prefix), path("*.vcf")
tuple val(prefix), path("*support.fas")
publishDir "results/${task.process}", mode: 'copy'
publishDir "${params.outdir}/${task.process}", mode: 'copy'
when:
task.ext.when == null || task.ext.when

View file

@ -12,7 +12,7 @@ process VIQUAS {
output:
tuple val(prefix), path("*.fa")
publishDir "results/${task.process}", mode: 'copy'
publishDir "${params.outdir}/${task.process}", mode: 'copy'
when:
task.ext.when == null || task.ext.when