Skip to content

Commit

Permalink
Merge pull request #646 from prototaxites/fix_gtdb_dir_input
Browse files Browse the repository at this point in the history
Fix GTDB-Tk directory input
  • Loading branch information
jfy133 authored Aug 3, 2024
2 parents 65c4fd8 + 5b9c4f1 commit a4adc3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### `Fixed`

- [#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).

### `Dependencies`

### `Deprecated`
Expand Down
4 changes: 2 additions & 2 deletions subworkflows/local/gtdbtk.nf
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ workflow GTDBTK {
gtdb_dir = gtdb.listFiles()
ch_db_for_gtdbtk = Channel
.of(gtdb_dir)
.map{['gtdb', it]}
.groupTuple()
.collect()
.map { ["gtdb", it] }
} else {
error("Unsupported object given to --gtdb, database must be supplied as either a directory or a .tar.gz file!")
}
Expand Down

0 comments on commit a4adc3d

Please sign in to comment.