Skip to content

Commit

Permalink
Fix gtdb usage of qc summary
Browse files Browse the repository at this point in the history
  • Loading branch information
dialvarezs committed Jan 8, 2025
1 parent 07905a8 commit 1671aca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion subworkflows/local/gtdbtk.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include { GTDBTK_SUMMARY } from '../../modules/local/gtdbtk_summary'
workflow GTDBTK {
take:
bins // channel: [ val(meta), [bins] ]
bin_qc_summary // channel: path
bin_qc_summary // channel: [ val(meta), path ]
gtdb // channel: path
gtdb_mash // channel: path

Expand All @@ -22,6 +22,7 @@ workflow GTDBTK {
]

ch_bin_metrics = bin_qc_summary
.map { _meta, summary -> summary }
.splitCsv(header: true, sep: '\t')
.map { row -> qc_columns[params.binqc_tool].collect { col -> row[col] } }
.filter { row -> row[1] != '' }
Expand Down

0 comments on commit 1671aca

Please sign in to comment.