prokka
prokka copied to clipboard
tbl2asn Problem
Hello,
I am running Prokka on my M1 Mac Book Pro. I encountered an error related to tbl2asn during my test runs. First I got an error regarding tbl2asn: Could not determine version of tbl2asn - please install version 24.3 or higher. I resolved the issue by installing the latest version of tbl2asn in the prokka binary folder, but now I am getting another error: sh: /Users/finnk/prokka/bin/../binaries/darwin/tbl2asn: Bad CPU type in executable.
I downloaded the Mac file from: https://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/ and moved it into my binary folder, and made it executable. Is this error message caused by the fact that I am using an M1 Mac Book Pro and is there a solution?
Thanks!
Most likely the issue is tbl2asn
isn't built for arm64 (M1). Can you by chance make use of Docker?
Hi, I use this open issue since I have problems with tbl2asn too, although it is not the same, sorry if I'd should have opened a new issue for this.
The thing is I can't install prokka using the brew method in a M1 MacBook since it stops when trying to download tbl2asn.txt:
Downloading https://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/DOCUMENTATION/tbl2asn.txt curl: (22) The requested URL returned error: 404
Error: prokka: Failed to download resource "tbl2asn--doc" Download failed: https://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/DOCUMENTATION/tbl2asn.txt
I have manually browsed that address and it is true that file is not there: https://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/DOCUMENTATION/
Any help on this?
Thank you!
Check here for possible solution https://github.com/tseemann/prokka/issues/667 and try to run just tbl2asn from the installation location Its not prokka problem, most probably.
Please check my answer here to fix this problem