Skip to content

Commit

Permalink
Update gtdbtk.nf
Browse files Browse the repository at this point in the history
  • Loading branch information
prototaxites authored Aug 1, 2024
1 parent 8082972 commit deab007
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions subworkflows/local/gtdbtk.nf
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ workflow GTDBTK {
gtdb_dir = gtdb.listFiles()
ch_db_for_gtdbtk = Channel
.of(gtdb_dir)
.map{['gtdb', it]}
.groupTuple()
.first()
.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 deab007

Please sign in to comment.