Skip to content

Commit

Permalink
Bump AMRFinderplus dependency to v4.0.3 (#343)
Browse files Browse the repository at this point in the history
* update AMRFinderPlus test db compatible to v4.0.3
* bump amrfinderplus dependency to v4.0.3
  • Loading branch information
oschwengers authored Nov 4, 2024
1 parent 0f00178 commit 518253a
Show file tree
Hide file tree
Showing 41 changed files with 1,519 additions and 1,326 deletions.
2 changes: 1 addition & 1 deletion bakta/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def print_version(self):
DEPENDENCY_DIAMOND = (Version(2, 1, 10), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, 'Diamond', ('diamond', 'help'), ['--skip-cds', '--skip-sorf'])
DEPENDENCY_DEEPSIG = (Version(1, 2, 5), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, 'DeepSig', ('deepsig', '--version'), ['--gram ?'])
DEPENDENCY_BLASTN = (Version(2, 14, 0), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, 'Blastn', ('blastn', '-version'), ['--skip-ori'])
DEPENDENCY_AMRFINDERPLUS = (Version(3, 11, 26), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, 'AMRFinderPlus', ('amrfinder', '--version'), ['--skip-cds'])
DEPENDENCY_AMRFINDERPLUS = (Version(4, 0, 3), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, 'AMRFinderPlus', ('amrfinder', '--version'), ['--skip-cds'])
DEPENDENCY_CIRCOS = (Version(0, 69, 8), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, 'Circos', ('circos', '--version'), ['--skip-plot'])


Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:
- pyhmmer>=0.10.15
- diamond>=2.1.10
- blast>=2.14.0
- ncbi-amrfinderplus>=3.11.26
- ncbi-amrfinderplus>=4.0.3
- circos>=0.69.8
1 change: 1 addition & 0 deletions test/db-light/amrfinderplus-db
1 change: 0 additions & 1 deletion test/db-light/amrfinderplus-db/latest

This file was deleted.

Binary file removed test/db/amrfinderplus-db/2024-01-31.1/AMR.LIB.h3i
Binary file not shown.
1,189 changes: 0 additions & 1,189 deletions test/db/amrfinderplus-db/2024-01-31.1/AMRProt-mutation.tab

This file was deleted.

Binary file removed test/db/amrfinderplus-db/2024-01-31.1/AMRProt.phr
Binary file not shown.
Binary file removed test/db/amrfinderplus-db/2024-01-31.1/AMRProt.pin
Binary file not shown.
22 changes: 0 additions & 22 deletions test/db/amrfinderplus-db/2024-01-31.1/AMRProt.pjs

This file was deleted.

Binary file removed test/db/amrfinderplus-db/2024-01-31.1/AMR_CDS.nhr
Binary file not shown.
Binary file removed test/db/amrfinderplus-db/2024-01-31.1/AMR_CDS.nin
Binary file not shown.
22 changes: 0 additions & 22 deletions test/db/amrfinderplus-db/2024-01-31.1/AMR_CDS.njs

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion test/db/amrfinderplus-db/2024-01-31.1/version.txt

This file was deleted.

Binary file not shown.
Binary file added test/db/amrfinderplus-db/2024-10-22.1/AMR.LIB.h3i
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,290 changes: 1,290 additions & 0 deletions test/db/amrfinderplus-db/2024-10-22.1/AMRProt-mutation.tsv

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#taxgroup protein_accession protein_gi
Burkholderia_mallei ABN88303.1 126224798
Escherichia AAA21095.1 151858
Escherichia AAA21096.1 151859
Escherichia AAB09628.1 1061418
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
22 changes: 22 additions & 0 deletions test/db/amrfinderplus-db/2024-10-22.1/AMRProt.fa.pjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "1.2",
"dbname": "AMRProt.fa",
"dbtype": "Protein",
"db-version": 5,
"description": "/tmp/amrfinder_index.e6b30A/db/AMRProt.fa",
"number-of-letters": 3040158,
"number-of-sequences": 8776,
"last-updated": "2024-10-30T14:36:00",
"number-of-volumes": 1,
"bytes-total": 4986731,
"bytes-to-cache": 3119271,
"files": [
"AMRProt.fa.pdb",
"AMRProt.fa.phr",
"AMRProt.fa.pin",
"AMRProt.fa.pot",
"AMRProt.fa.psq",
"AMRProt.fa.ptf",
"AMRProt.fa.pto"
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
22 changes: 22 additions & 0 deletions test/db/amrfinderplus-db/2024-10-22.1/AMR_CDS.fa.njs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "1.2",
"dbname": "AMR_CDS.fa",
"dbtype": "Nucleotide",
"db-version": 5,
"description": "/tmp/amrfinder_index.e6b30A/db/AMR_CDS.fa",
"number-of-letters": 8685586,
"number-of-sequences": 8507,
"last-updated": "2024-10-30T14:36:00",
"number-of-volumes": 1,
"bytes-total": 4061483,
"bytes-to-cache": 2279672,
"files": [
"AMR_CDS.fa.ndb",
"AMR_CDS.fa.nhr",
"AMR_CDS.fa.nin",
"AMR_CDS.fa.not",
"AMR_CDS.fa.nsq",
"AMR_CDS.fa.ntf",
"AMR_CDS.fa.nto"
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.1

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
#taxgroup gpipe_taxgroup number_of_nucl_ref_genes
Acinetobacter_baumannii Acinetobacter 1
Burkholderia_cepacia Burkholderia_cepacia_complex 0
Burkholderia_mallei Burkholderia_mallei 0
Burkholderia_pseudomallei Burkholderia_pseudomallei 0
Campylobacter Campylobacter 3
Citrobacter_freundii Citrobacter_freundii 0
Clostridioides_difficile Clostridioides_difficile 1
Clostridioides_difficile Clostridioides_difficile 2
Corynebacterium_diphtheriae Corynebacterium_diphtheriae 0
Enterobacter_asburiae Enterobacter_asburiae 0
Enterobacter_cloacae Enterobacter_cloacae 0
Enterococcus_faecalis Enterococcus_faecalis 1
Enterococcus_faecium Enterococcus_faecium 1
Escherichia Escherichia_coli_Shigella 6
Haemophilus_influenzae Haemophilus_influenzae 0
Klebsiella_oxytoca Klebsiella_oxytoca 1
Klebsiella_pneumoniae Klebsiella 0
Klebsiella_pneumoniae Klebsiella 1
Neisseria_gonorrhoeae Neisseria_gonorrhoeae 6
Neisseria_meningitidis Neisseria_meningitidis 0
Pseudomonas_aeruginosa Pseudomonas_aeruginosa 0
Expand Down
1 change: 1 addition & 0 deletions test/db/amrfinderplus-db/2024-10-22.1/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2024-10-22.1
2 changes: 1 addition & 1 deletion test/db/amrfinderplus-db/latest

0 comments on commit 518253a

Please sign in to comment.