From 6076c016ebcd0048b71cf96f5e93aa21f128f893 Mon Sep 17 00:00:00 2001 From: Young Date: Wed, 11 Dec 2024 15:18:06 -0700 Subject: [PATCH 1/2] add more reads globs --- subworkflows/local/initialize.nf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/subworkflows/local/initialize.nf b/subworkflows/local/initialize.nf index c450b01..07a8353 100755 --- a/subworkflows/local/initialize.nf +++ b/subworkflows/local/initialize.nf @@ -172,7 +172,8 @@ workflow INITIALIZE { // looking for paired-end fastq files if (params.reads) { Channel - .fromFilePairs(["${params.reads}/*{1,2}*.{fastq,fastq.gz,fq,fq.gz}"], size: 2 ) + .fromFilePairs(["${params.reads}/*_R{1,2}*.{fastq,fastq.gz,fq,fq.gz}", + "${params.reads}/*_{1,2}*.{fastq,fastq.gz,fq,fq.gz}"], size: 2 ) .unique() .map { it -> meta = [id:it[0].replaceAll(~/_S[0-9]+_L[0-9]+/,""), single_end:false] @@ -514,4 +515,4 @@ workflow INITIALIZE { kraken2_db = ch_kraken2_db // channel: path scripts = ch_scripts // channel: [scripts] nextclade_dataset = ch_nextclade_dataset // channel: file -} \ No newline at end of file +} From 5035100a995296fc32551b51470c1e74e796d4d7 Mon Sep 17 00:00:00 2001 From: Young Date: Wed, 11 Dec 2024 15:18:50 -0700 Subject: [PATCH 2/2] Update nextflow to 3.22.24346 --- nextflow.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextflow.config b/nextflow.config index d7efa24..d403b75 100644 --- a/nextflow.config +++ b/nextflow.config @@ -263,7 +263,7 @@ manifest { name = 'UPHL-BioNGS/Cecret' author = 'Erin Young' homePage = 'https://github.com/UPHL-BioNGS/Cecret' - version = 'v3.22.24345' + version = 'v3.22.24346' defaultBranch = 'master' recurseSubmodules = false description = 'Reference-based consensus creation'