-
Notifications
You must be signed in to change notification settings - Fork 218
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
tbl2asn expired #453
Comments
I am updating |
I did download all tbl2asn executables from: ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/ It seems for linux, only linux64.tbl2asn.gz is up to date, while all others throw the tbl2asn older than 1 year error. After All done from inside my previously working prokka environment (conda). Any help? |
I was able to run prokka with the tbl2asn downloaded from ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/ You probably need to install glibc version 2.14 or later to execute this file. If this is a debian based distro, then the following commands will do it
hth |
Thx suryasaha. However, I am operating on a server network without sudo access. Also, I wonder why glibc (if necessary) is not already present in my prokka conda environment (which as mentioned worked prior to the tbl2asn expiration w/o glibc)? |
Hi keyfm, I managed to find a tmp fix by creating a prokka env in conda with an older version of blast and replacing the tbl2asn executable in the env bin folder with the newest version from ncbi. #I first removed my old prokka_env
This resolved the tbl2asn issue for me. prokka now produces a gbk. |
so running |
@Koen-vdl I tried this. Not helping. @tseemann Is it possible to bundle the latest tbl2asn binary and do a quick release? |
Several Prokka users here at the J. Craig Venter Institute with the same issue. Updating tbl2asn now produces the GLIBC error, and we are on a server without the ability to update glibc. I also tried the fix suggested by @Koen-vdl, and it did not work for me either. Any help would be greatly appreciated. Thanks! |
It seems that NCBI used to provide a binary linked against an older i've updated binaries in git, no release yet though. |
Looks like your tests on Travis are failing (for the same reason?) since the tbl2asn update |
Hi all, I was finally able to build a working Docker by installing prokka v1.14.5 via conda and update tbl2asn manually. I also needed RUN apt-get update -y
RUN apt-get install -y libidn11 to get it run. Please feel free to use the Docker if you have still any issues at the moment: docker pull nanozoo/prokka:1.14.5--33be639 ps: kicking out tbl2asn in some newer prokka version would be awesome ;) |
I also made a working Docker using conda and a manual update of tbl2asn Dockerfile
environment.yml file
|
Is there a fix for those of us working with conda? |
The following should work (replace the path to the environment if you use another specification for your (mini)conda) conda create -n prokka -c bioconda prokka=1.14.5
wget ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/linux64.tbl2asn.gz -O linux64.tbl2asn.gz
gunzip linux64.tbl2asn.gz
mv linux64.tbl2asn ~/miniconda3/envs/prokka/bin/tbl2asn
chmod +x ~/miniconda3/envs/prokka/bin/tbl2asn Then your Use the right |
Hi @hoelzer, thank you for this it seems to have worked! :) |
@hoelzer, it seems like I am still sometimes getting the error unfortunatly. Some genomes work some don't. Any idea why this would happen? |
Oh sorry, this does not sound like an issue related to the |
Thank you this helped me to resolve the issue on the Mac, but for the final step I had to add following command:
|
@jaybake5 have you found a workaround? I have the same issue and I don't see how I could fix it. |
Hi @bibilujan, I'm sorry but I haven't found a good work around. I resorted to using a colleague's old Prokka conda environment (with the old tbl2asn), where you get the tbl2asn warning, but you still get most of the output (all I needed at the moment was the gene calls from the .faa file). |
I just tested my previous fix on a new system and it still does the trick: #I first removed my old prokka_env
|
New conda ready, brew coming now. |
I have pulled prokka docker image using "docker pull ummidock/prokka:1.14.5-1", and it works well before, but why it can not work and says "can't run tbl2asn" with the same docker image recently. In my opinion, the docker image is a stable environment, once built successfully, it will work well all the time. |
Unfortunately, no. I think the tbl2asn executable has a timestamp from when the Docker image was created. And after x months: expires. One has to re-build the Docker image to reset the time stamp. If you want, you can use nanozoo/prokka:1.14.6--773a90d with the latest version. |
Thank you for your solution. Would the tbl2assn of docker image of nanozoo/prokka:1.14.6--773a90d expire someday in the future? |
@liangyong1991 I fear that one will also expire at some point. However, I think there was a solution now how to prevent the tbl2asn time check but can't find it currently |
Previously prokka was run from the main singularity image. However, on retrying this pipeline after 2 years, prokka failed with a dependency error for tbl2asn (tseemann/prokka#453). This seems to be a time stamp issue with tbl2asn, which needs to be reinstalled to get a fresh time stamp. I therefore used the prokka docker file from https://hub.docker.com/r/staphb/prokka which was converted to singularity with docker2singularity
wget ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/linux64.tbl2asn.gz This solved my problem on Debian10 |
Dear Torsten,
Thanks for actively developing and maintaining prokka.
I'm pretty sure that tlb2asn just expired and prokka produces an error saying it can't run tbl2asn.
Latest version of tbl2asn (25.8) has not been added to the conda channels so conda update prokka is not fixing the issue.
Users having to wait for the fix can download latest tbl2asn from ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/
Best,
Eric
The text was updated successfully, but these errors were encountered: