Skip to content

Commit

Permalink
Update q2_moshpit/dereplication/derep.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Ziemski <[email protected]>
  • Loading branch information
VinzentRisch and misialq authored Nov 4, 2024
1 parent b37c94a commit ee666c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions q2_moshpit/dereplication/derep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ee666c0

Please sign in to comment.