Skip to content

Commit 5af4545

Browse files
committed
omitting QIMME2 tree when QIIME2 isnt executed
1 parent ef6c984 commit 5af4545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflows/ampliseq.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ workflow AMPLISEQ {
873873
ch_tree_for_robject = FASTA_NEWICK_EPANG_GAPPA.out.grafted_phylogeny.map { it = it[1] }.first()
874874
} else if (params.multiregion) {
875875
ch_tree_for_robject = SIDLE_WF.out.tree_nwk
876-
} else if ( params.metadata && (!params.skip_alpha_rarefaction || !params.skip_diversity_indices) ) {
876+
} else if ( run_qiime2 && params.metadata && (!params.skip_alpha_rarefaction || !params.skip_diversity_indices) ) {
877877
ch_tree_for_robject = QIIME2_DIVERSITY.out.tree_nwk
878878
} else {
879879
ch_tree_for_robject = []

0 commit comments

Comments
 (0)