Skip to content

Commit

Permalink
Add use_scoredist to allowed params for Blosum62
Browse files Browse the repository at this point in the history
  • Loading branch information
ulupo committed Oct 19, 2023
1 parent 2056dda commit a31e4a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion diffpass/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DiffPASSMixin:
allowed_similarity_kinds = {"Hamming", "Blosum62"}
allowed_similarities_cfg_keys = {
"Hamming": {"use_dot", "p"},
"Blosum62": {"aa_to_int", "gaps_as_stars"},
"Blosum62": {"use_scoredist", "aa_to_int", "gaps_as_stars"},
}
allowed_reciprocal_best_hits_cfg_keys = {"tau"}

Expand Down
2 changes: 1 addition & 1 deletion nbs/base.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
" allowed_similarity_kinds = {\"Hamming\", \"Blosum62\"}\n",
" allowed_similarities_cfg_keys = {\n",
" \"Hamming\": {\"use_dot\", \"p\"},\n",
" \"Blosum62\": {\"aa_to_int\", \"gaps_as_stars\"},\n",
" \"Blosum62\": {\"use_scoredist\", \"aa_to_int\", \"gaps_as_stars\"},\n",
" }\n",
" allowed_reciprocal_best_hits_cfg_keys = {\"tau\"}\n",
"\n",
Expand Down

0 comments on commit a31e4a3

Please sign in to comment.