Skip to content

Commit

Permalink
fix: Change regex for core tree
Browse files Browse the repository at this point in the history
  • Loading branch information
jvfe committed Aug 14, 2023
1 parent 9ff573a commit 3a979c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion subworkflows/local/phylo.nf
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ workflow PHYLOGENOMICS{
ch_software_versions = ch_software_versions.mix(FASTTREE.out.versions.ifEmpty(null))
core_tree = FASTTREE.out.phylogeny
.flatten()
.filter( ~/^core.*/ )
.map { it -> it.toString() }
.filter( ~/.*core.*/ )
.map { file(it) }
}

if (!use_fasttree && !params.use_ppanggolin) {
Expand Down

0 comments on commit 3a979c0

Please sign in to comment.