prokka icon indicating copy to clipboard operation
prokka copied to clipboard

tbl2asn Problem

Open fkessner opened this issue 2 years ago • 4 comments

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!

fkessner avatar Jan 16 '23 15:01 fkessner

Most likely the issue is tbl2asn isn't built for arm64 (M1). Can you by chance make use of Docker?

rpetit3 avatar Feb 15 '23 18:02 rpetit3

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!

rjavier17 avatar Mar 10 '23 10:03 rjavier17

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.

abhijeetsingh1704 avatar Jun 27 '23 14:06 abhijeetsingh1704

Please check my answer here to fix this problem

zagrosman avatar Oct 06 '23 16:10 zagrosman