Skip to content

Commit 06a1ade

Browse files
committed
fixed syntax for converting .nkw files to HTML for phylogeny output
1 parent 09bdbe7 commit 06a1ade

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workflows/Nextflow/modules/SNPtree/SNPtree.nf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ process prepareXMLphylogeny {
117117
path ann
118118

119119
output:
120-
path "*.nwk"
120+
path "*.nwk", emit: nwk
121121
path "*.xml"
122122

123123
script:
@@ -138,7 +138,7 @@ process visualizePhylogenyHTML {
138138

139139
input:
140140
val settings
141-
path treeFiles from prepareXMLphylogeny.out.filter { it.name.endsWith(".nwk") }
141+
path treeFiles
142142

143143
output:
144144
path "*.html", emit: treeHTML
@@ -183,6 +183,6 @@ workflow PHYLOGENETICANALYSIS {
183183
resultTree,
184184
prepareSNPphylogeny.out.phyloAnn)
185185

186-
visualizePhylogenyHTML(settings, prepareXMLphylogeny.out)
186+
visualizePhylogenyHTML(settings, prepareXMLphylogeny.out.nwk)
187187

188188
}

0 commit comments

Comments
 (0)