From ee666c020bf78265648a710dd7cc04bf0d0e7cc6 Mon Sep 17 00:00:00 2001 From: VinzentRisch <100149044+VinzentRisch@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:04:28 +0100 Subject: [PATCH] Update q2_moshpit/dereplication/derep.py Co-authored-by: Michal Ziemski --- q2_moshpit/dereplication/derep.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/q2_moshpit/dereplication/derep.py b/q2_moshpit/dereplication/derep.py index 84c626fa..270eae22 100644 --- a/q2_moshpit/dereplication/derep.py +++ b/q2_moshpit/dereplication/derep.py @@ -312,9 +312,9 @@ def dereplicate_mags( bin_clusters = _find_similar_bins_fcluster(distances, threshold) # select one representative bin per cluster by BUSCO results and length - representative_bins = ( - _get_representatives(mags, busco_results, bin_clusters) - ) + representative_bins = _get_representatives( + mags, busco_results, bin_clusters + ) # generate a map between the original bins and the dereplicated bins final_bins = _remap_bins(bin_clusters, representative_bins, distances)