Skip to content

Commit

Permalink
Merge pull request #395 from UPHL-BioNGS/patch-fix
Browse files Browse the repository at this point in the history
Patch fix
  • Loading branch information
erinyoung authored Dec 12, 2024
2 parents 9017340 + 5035100 commit 5d96130
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 3 additions & 2 deletions subworkflows/local/initialize.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
}
}

0 comments on commit 5d96130

Please sign in to comment.