Skip to content

Commit

Permalink
Fix gunc
Browse files Browse the repository at this point in the history
  • Loading branch information
dialvarezs committed Oct 31, 2024
1 parent 196c184 commit da52285
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions subworkflows/local/bin_qc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,13 @@ workflow BIN_QC {
/*
* GUNC
*/
ch_input_bins_for_gunc = ch_bins.filter { meta, _bins ->
meta.domain != "eukarya"
}
ch_input_bins_for_gunc = ch_bins
.filter { meta, _bins ->
meta.domain != "eukarya"
}
.flatMap { meta, bins ->
bins.collect { bin -> [meta, bin] }
}

if ( params.gunc_db ) {
ch_db_for_gunc = ch_gunc_db
Expand All @@ -158,10 +162,10 @@ workflow BIN_QC {
GUNC_MERGECHECKM(ch_input_to_mergecheckm)
ch_versions.mix(GUNC_MERGECHECKM.out.versions)

// Make sure to keep directory in sync with modules.conf
GUNC_MERGECHECKM.out.tsv
.map{it[1]}
.collectFile(name: "gunc_checkm_summary.tsv", keepHeader: true, storeDir: "${params.outdir}/GenomeBinning/QC/")
// Make sure to keep directory in sync with modules.conf
GUNC_MERGECHECKM.out.tsv
.map{it[1]}
.collectFile(name: "gunc_checkm_summary.tsv", keepHeader: true, storeDir: "${params.outdir}/GenomeBinning/QC/")
}
}

Expand Down

0 comments on commit da52285

Please sign in to comment.