Skip to content

Commit

Permalink
Added process names for use in versions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tives82 committed Nov 29, 2023
1 parent 23c2e32 commit c5a0bf5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/local/irma_abricate_report.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ process IRMA_ABRICATE_REPORT {
output:
tuple val(meta), path("*.combined.typing.tsv"), emit: tsv_combined

when:
task.ext.when == null || task.ext.when

script:
def prefix = task.ext.prefix ?: "${meta.id}"
def output_tsv = "${prefix}.combined.typing.tsv"
Expand Down
1 change: 1 addition & 0 deletions modules/local/qc_report.nf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ process QC_REPORT {

output:
path("*_output.txt"), emit: qc_line
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when
Expand Down
1 change: 1 addition & 0 deletions subworkflows/local/preprocessing_read_qc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ workflow PREPROCESSING_READ_QC {
ch_qcreport_input = FAQCS.out.txt
QC_REPORT(ch_qcreport_input)
ch_qcreport = QC_REPORT.out.qc_line
ch_versions = ch_versions.mix(QC_REPORT.out.versions)

if ( !params.skip_kraken2 ) {
KRAKEN2_KRAKEN2(reads, db, false, true)
Expand Down

0 comments on commit c5a0bf5

Please sign in to comment.