Skip to content

Commit

Permalink
made some files optional
Browse files Browse the repository at this point in the history
  • Loading branch information
erinyoung committed Nov 2, 2023
1 parent de69a45 commit 40391a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/freyja.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ process freyja_variants {

output:
tuple val(sample), file("freyja/${sample}_{depths,variants}.tsv"), optional: true, emit: variants
path "freyja/${sample}*", emit: files
path "freyja/${sample}*", optional: true, emit: files
path "logs/${task.process}/${sample}.${workflow.sessionId}.log"

shell:
Expand Down Expand Up @@ -60,7 +60,7 @@ process freyja_demix {

output:
path "freyja/${sample}_demix.tsv", optional: true, emit: demix
path "freyja/${sample}*", emit: files
path "freyja/${sample}*", optional: true, emit: files
path "logs/${task.process}/${sample}.${workflow.sessionId}.log"

shell:
Expand Down Expand Up @@ -120,7 +120,6 @@ process freyja_boot {
'''
}


process freyja_aggregate {
tag "Aggregating results from freyja"
label "process_single"
Expand All @@ -144,7 +143,7 @@ process freyja_aggregate {
output:
path "freyja/aggregated*", emit: files
path "freyja/aggregated-freyja.tsv", emit: aggregated_freyja_file
path "freyja/*mqc.png", emit: for_multiqc
path "freyja/*mqc.png", emit: for_multiqc
path "freyja/*png"
path "logs/${task.process}/${task.process}.${workflow.sessionId}.log"

Expand Down

0 comments on commit 40391a8

Please sign in to comment.