diff --git a/modules/samtools/convert/main.nf b/modules/samtools/convert/main.nf index 4638d360..e0e7d725 100644 --- a/modules/samtools/convert/main.nf +++ b/modules/samtools/convert/main.nf @@ -13,7 +13,7 @@ process SAMTOOLS_CONVERT { path fai output: - tuple val(meta), path("*.{cram,bam}"), path("*.{crai,bai}") , emit: aligned_index + tuple val(meta), path("*.{cram,bam}"), path("*.{crai,bai}") , emit: alignment_index path "versions.yml" , emit: versions when: diff --git a/modules/samtools/convert/meta.yml b/modules/samtools/convert/meta.yml index 87727255..937b1403 100644 --- a/modules/samtools/convert/meta.yml +++ b/modules/samtools/convert/meta.yml @@ -39,7 +39,7 @@ output: description: | Groovy Map containing sample information e.g. [ id:'test', single_end:false ] - - aligned_index: + - alignment_index: type: file description: filtered/converted BAM/CRAM file + index pattern: "*{.bam/cram,.bai/crai}"