Skip to content

Commit

Permalink
Updated resfinder database to most recent version
Browse files Browse the repository at this point in the history
  • Loading branch information
apetkau committed May 26, 2022
1 parent bf7aee4 commit a49929b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
DATABASE_COMMITS: '--resfinder-commit 039e2cc6750a8ad377b32d814e723641316b170a --pointfinder-commit 8c694b9f336153e6d618b897b3b4930961521eb8 --plasmidfinder-commit 1a443a19a1142aa1018ef62f0bdbfd871b79eab6'
DATABASE_COMMITS: '--resfinder-commit fa32d9a3cf0c12ec70ca4e90c45c0d590ee810bd --pointfinder-commit 8c694b9f336153e6d618b897b3b4930961521eb8 --plasmidfinder-commit 1a443a19a1142aa1018ef62f0bdbfd871b79eab6'

strategy:
fail-fast: False
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Drop support for Python 3.5 as it leads to issues with managing dependency versions (0.8.0.dev0).
* Switched from disallowing to generating a warning when the PointFinder organism is not one of the validated organisms (0.8.0.dev1).
* Updated ResFinder and PointFinder gene drug key to `072621` (0.8.0.dev2).
* Updated default database commits to those corresponding to dates used by ResFinder (2022-02-04), PointFinder (2021-02-01), and PlasmidFinder (2021-11-29) (0.8.0.dev2).
* Updated default database commits to those corresponding to dates used by ResFinder (2022-05-24), PointFinder (2021-02-01), and PlasmidFinder (2021-11-29) (0.8.0.dev2).
* Fixed issue when multiple matches for same amino acid change to try and select the most specific amino acid change (0.8.0.dev2).
* Fixed up PlasmidFinder database handling to account for changes to PlasmidFinder database structure (0.8.0.dev2).

Expand Down
4 changes: 2 additions & 2 deletions staramr/databases/AMRDatabasesManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

class AMRDatabasesManager:
# Update to commits corresponding to dates listed on <https://cge.cbs.dtu.dk/services/ResFinder/> (and PlasmidFinder)
# As of May 19, 2022
# As of May 26, 2022
DEFAULT_COMMITS = {
'resfinder': '039e2cc6750a8ad377b32d814e723641316b170a', # 2022-02-04
'resfinder': 'fa32d9a3cf0c12ec70ca4e90c45c0d590ee810bd', # 2022-05-24
'pointfinder': '8c694b9f336153e6d618b897b3b4930961521eb8', # 2021-02-01
'plasmidfinder': '1a443a19a1142aa1018ef62f0bdbfd871b79eab6', # 2021-11-29
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class AMRDatabasesManagerIT(unittest.TestCase):
RESFINDER_DEFAULT_COMMIT = '039e2cc6750a8ad377b32d814e723641316b170a'
RESFINDER_DEFAULT_COMMIT = 'fa32d9a3cf0c12ec70ca4e90c45c0d590ee810bd'
POINTFINDER_DEFAULT_COMMIT = '8c694b9f336153e6d618b897b3b4930961521eb8'
PLASMIDFINDER_DEFAULT_COMMIT = '1a443a19a1142aa1018ef62f0bdbfd871b79eab6'

Expand Down

0 comments on commit a49929b

Please sign in to comment.