From d3a9decebe603fdd6655c0cb8edbf1a8b2dc52fa Mon Sep 17 00:00:00 2001 From: d4straub Date: Mon, 17 Jun 2024 12:23:19 +0200 Subject: [PATCH] create barplot without metadata --- CHANGELOG.md | 2 ++ workflows/ampliseq.nf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24c37bbb..7e692cc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### `Changed` +- [#749](https://github.com/nf-core/ampliseq/pull/749) - Create barplot also when no metadata is given + ### `Fixed` - [#747](https://github.com/nf-core/ampliseq/pull/747) - Template update for nf-core/tools version 2.14.1 diff --git a/workflows/ampliseq.nf b/workflows/ampliseq.nf index 2a85f28b..d3514d54 100644 --- a/workflows/ampliseq.nf +++ b/workflows/ampliseq.nf @@ -772,7 +772,7 @@ workflow AMPLISEQ { } if (!params.skip_barplot) { - QIIME2_BARPLOT ( ch_metadata, ch_asv, ch_tax, '' ) + QIIME2_BARPLOT ( ch_metadata.ifEmpty([]), ch_asv, ch_tax, '' ) ch_versions = ch_versions.mix( QIIME2_BARPLOT.out.versions ) }