Skip to content

Commit

Permalink
Reduce "large" collection threshold in subclades
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Jun 5, 2024
1 parent 41430a1 commit 6829496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/miga/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module MiGA
# - String indicating release status:
# - rc* release candidate, not released as gem
# - [0-9]+ stable release, released as gem
VERSION = [1.3, 15, 5].freeze
VERSION = [1.3, 15, 6].freeze

##
# Nickname for the current major.minor version.
Expand Down
2 changes: 1 addition & 1 deletion utils/subclades.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ subclade_clustering <- function (out_base, thr, ani.d, dist_rds) {

# Classify genomes
say("Classify => k :", top.n, "| n :", length(labels(ani.d)))
is.large <- nn > 3e4
is.large <- nn > 1e4
ani.cl <- pam(ani.d, top.n, variant = "faster", do.swap = !is.large)
ani.types <- ani.cl$clustering
ani.medoids <- ani.cl$medoids
Expand Down

0 comments on commit 6829496

Please sign in to comment.