-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to Skip the AMR detection step #268
Comments
Hi, I just wanted to add that we are also facing the same issue, only as of yesterday. We haven't been able to solve it yet, but I wanted to add in case it is a potential update issue. |
Hi @abelTan131 , @gracehm , FYI: the |
Same problem here. Will try the update. Does it have to do with this amrfinderplus issue: ncbi/amr#89 ? |
Hi @aldertzomer, sorry for the late reply. No, the issue you've referenced is quite old and is already fixed IMHO. So, I don't think that this error is related to that issue. I rather see this caused by the new AMRFinderPlus DB version which is not compatible with former versions. Hence, an update of Bakta with the newest AMRFinderPlus version and an DB update should solve this. |
I was having the same issue. My fix was updating both Bakta (v1.9.3) and AMRFinderPlus with both:
Though the first few tries didn't work until I updated the read/write/execute permissions of the amrfinderplus-db directory. Can't say if its the same issue but may be something to check. |
I am having the same issue. I've reinstalled Bakta via conda (v1.8.1) and tried the force update for AMRFinderPlus. Bakta seems to work fine until reaching the AMR detection step and then throws the following error: |
Could you please try to update Bakta and AMRFInderPlus to the latest versions and then re-install the Bakta db? It is certainly related to different Software/Database version dependencies of AMRFinderPlus. A successful quick test:
|
Same problem here. I've using the command line 'amrfinder_update --force_update --database /data/workdir/huwa/annotation/bakta_annotation/db/amrfinderplus-db' But it failed with that *** ERROR *** HOSTNAME: localhost Could you please give me some advice on it? Thanks |
Hi @StickHu , |
Hi @oschwengers, I get a same update error on amrfinderplus database. I have tried to either reinstall bakta, or force update database, or directly download latest database from the amrfinderplus GitHub page but unfortunately can't resolve the issue. It is worthy to mention that I get a new error message running with debug mode: Here is the command I used:
Attach the test sequence:
|
Thanks @oschwengers for your work in bakta! Is there any chance to get the option to skip AMR detection added in future releases? |
Is your feature request related to an existing issue or bug?
Briefly reference any existing issues this is related to.
I run my file and got:
Traceback (most recent call last):
File "/opt/conda/bin/bakta", line 8, in
sys.exit(main())
File "/opt/conda/lib/python3.8/site-packages/bakta/main.py", line 275, in main
expert_amr_found = exp_amr.search(cdss, cds_aa_path)
File "/opt/conda/lib/python3.8/site-packages/bakta/expert/amrfinder.py", line 47, in search
raise Exception(f"amrfinder error! error code: {proc.returncode}. Please, try 'amrfinder_update --force_update --database {amrfinderplus_db_path}' to update AMRFinderPlus's internal database.")
Exception: amrfinder error! error code: 1. Please, try 'amrfinder_update --force_update --database /tllhome/abel/bakta/db-light/amrfinderplus-db' to update AMRFinderPlus's internal database.
Is your new feature related to a general problem?
Please provide us with a concise description of what the problem is:
I dont want the AMR genes, I just want the gene annotation. Can we skip it?
Describe the solution you'd like
A clear and concise description of what you want to happen.
Option to skip the AMR detection step, so I dont get this error.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or information about your feature request here.
The text was updated successfully, but these errors were encountered: