Matthew Care
05/08/2025, 5:14 PMdb
I'm running version 2.4.0 of the pipeline (though the dev version gives the same error) on the following system:
Nextflow version: 24.10.5 build 5935
Java version: openjdk 17.0.6 2023-01-17 LTS
Operating system: Rocky Linux, VERSION="8.8 (Green Obsidian)",ID_LIKE="rhel centos fedora")
Bash version: version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Apptainer: V1.3.3
Executor: slurm or direct
Hardware HPC -- submitting pipeline from <http://tower.nf|tower.nf>
Tower Agent version 0.5.0 (build d758993)
Which gives this error:
predict rRNAs...
found: 0
predict ncRNAs...
found: 0
predict ncRNA regions...
found: 0
predict CRISPR arrays...
found: 1
predict & annotate CDSs...
predicted: 116
discarded spurious: 2
revised translational exceptions: 0
detected IPSs: 5
found PSCs: 30
found PSCCs: 27
lookup annotations...
conduct expert systems...
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/bakta/main.py", line 275, in main
expert_amr_found = exp_amr.search(cdss, cds_aa_path)
File "/usr/local/lib/python3.10/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 /mnt/scratch/projects/biol-tf-2018/nextflow/Data/bakta_db/2024.01.19_ver5.1/db/amrfinderplus-db' to update AMRFinderPlus's internal database.
Any thoughts on how to resolve this?
Thanks.Daniel Straub
05/09/2025, 6:58 AMI'm trying to run bacass using bakta. means. Could you elaborate?Matthew Care
05/09/2025, 7:08 AM--annotation_tool . The pipeline is failing at the NFCORE_BACASSBACASSBAKTA_DBDOWNLOAD_RUN:BAKTA_BAKTA stage with the errors I outlined above.Daniel Straub
05/09/2025, 7:13 AMException: amrfinder error! error code: 1. Please, try 'amrfinder_update --force_update --database /mnt/scratch/projects/biol-tf-2018/nextflow/Data/bakta_db/2024.01.19_ver5.1/db/amrfinderplus-db' to update AMRFinderPlus's internal database.
That means the database that you have set up doesnt apper to be as bakta wants. Did you try to apply the above command to your database (i.e. not to the one on scratch as indicated above ofc)?Matthew Care
05/09/2025, 7:21 AMDaniel Straub
05/09/2025, 8:08 AMMatthew Care
05/09/2025, 8:12 AM