diff --git a/subworkflows/local/bam_align/main.nf b/subworkflows/local/bam_align/main.nf index ba927fd4..00e514b3 100644 --- a/subworkflows/local/bam_align/main.nf +++ b/subworkflows/local/bam_align/main.nf @@ -144,7 +144,7 @@ workflow BAM_ALIGN { } // Manipulate meta map to remove old fields and add new ones .map { meta, bam -> - [ meta - meta.subMap('id', 'read_group', 'data_type', 'num_lanes', 'read_group', 'size') + [ data_type: 'bam', id: meta.sample ], bam ] + [ meta - meta.subMap('id', 'read_group', 'data_type', 'num_lanes', 'read_group', 'size', 'lane') + [ data_type: 'bam', id: meta.sample ], bam ] } // Create groupKey from meta map .map { meta, bam -> @@ -176,7 +176,7 @@ workflow BAM_ALIGN { } // Manipulate meta map to remove old fields and add new ones .map { meta, bam -> - [ meta - meta.subMap('id', 'read_group', 'data_type', 'num_lanes', 'read_group', 'size') + [ data_type: 'bam', id: meta.sample ], bam ] + [ meta - meta.subMap('id', 'read_group', 'data_type', 'num_lanes', 'read_group', 'size', 'lane') + [ data_type: 'bam', id: meta.sample ], bam ] } // Create groupKey from meta map .map { meta, bam -> diff --git a/subworkflows/local/utils_nfcore_rnadnavar_pipeline/main.nf b/subworkflows/local/utils_nfcore_rnadnavar_pipeline/main.nf index e453ed3f..d7af06aa 100644 --- a/subworkflows/local/utils_nfcore_rnadnavar_pipeline/main.nf +++ b/subworkflows/local/utils_nfcore_rnadnavar_pipeline/main.nf @@ -207,7 +207,7 @@ def toolCitationText() { // Build text sections for different pipeline components def text_preprocessing = [ "Raw read quality control was performed with FastQC (Andrews 2010)", - params.trimmer == "fastp" ? "and preprocessing with fastp (Chen et al. 2018)." : "." + params.trim_fastq || params.split_fastq > 0 ? "and preprocessing with fastp (Chen et al. 2018)." : "." ].join(' ').trim() def text_alignment = [ @@ -274,7 +274,7 @@ def toolBibliographyText() { // Quality control and preprocessing def qc_preprocessing_citations = [ "