Skip to content

Commit a4adc3d

Browse files
authored
Merge pull request #646 from prototaxites/fix_gtdb_dir_input
Fix GTDB-Tk directory input
2 parents 65c4fd8 + 5b9c4f1 commit a4adc3d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### `Fixed`
1313

14+
- [#646](https://github.com/nf-core/mag/pull/646) - GTDB-Tk directory input now creates a value channel so it runs for all entries to the process and not just the first (by @prototaxites).
15+
1416
### `Dependencies`
1517

1618
### `Deprecated`

subworkflows/local/gtdbtk.nf

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ workflow GTDBTK {
7474
gtdb_dir = gtdb.listFiles()
7575
ch_db_for_gtdbtk = Channel
7676
.of(gtdb_dir)
77-
.map{['gtdb', it]}
78-
.groupTuple()
77+
.collect()
78+
.map { ["gtdb", it] }
7979
} else {
8080
error("Unsupported object given to --gtdb, database must be supplied as either a directory or a .tar.gz file!")
8181
}

0 commit comments

Comments
 (0)