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 = [ "
  • Andrews, S. (2010). FastQC: A Quality Control Tool for High Throughput Sequence Data [Online]. Available: https://www.bioinformatics.babraham.ac.uk/projects/fastqc/
  • ", - params.trimmer == "fastp" ? "
  • Chen S, Zhou Y, Chen Y, Gu J. fastp: an ultra-fast all-in-one FASTQ preprocessor. Bioinformatics. 2018 Sep 1;34(17):i884-i890. 10.1093/bioinformatics/bty560
  • " : "" + params.trim_fastq || params.split_fastq > 0 ? "
  • Chen S, Zhou Y, Chen Y, Gu J. fastp: an ultra-fast all-in-one FASTQ preprocessor. Bioinformatics. 2018 Sep 1;34(17):i884-i890. 10.1093/bioinformatics/bty560
  • " : "" ].join(' ').trim() // Alignment tools