GithubHelp home page GithubHelp logo

Comments (7)

oschwengers avatar oschwengers commented on July 23, 2024 1

it's online. I'll release a patch version soon.

from bakta.

oschwengers avatar oschwengers commented on July 23, 2024

Hi @naturepoker , thanks for trying Bakta and filing this issue!

Bakta internally takes advantage of AMRFinderPlus which in turn uses its own databases which must be setup once before the first execution. Seems like this is the case here.
Could you lease try amrfinder -u to update the internal AMRFinderPlus database?

If this is the case, I'll adopt the error message to help other users running into this.

from bakta.

naturepoker avatar naturepoker commented on July 23, 2024

Your solution worked perfectly

amrfinder -u

Above command updates the amrfinder database to version 2021-03-01.1 and the rest of the bakta process finished without any issues.

Thanks again!

from bakta.

lauralwd avatar lauralwd commented on July 23, 2024

Hi There, just confirming that I hit the same bug yesterday and that the same fix worked for me. Thanks for all the effort you put into bakta and for sharing it pre-publication. I'm running it on several genomes now and I'm curious to see how it compares!

Back on topic: for ease of use, I had the following two ideas:

  1. Perhaps it's worth time/effort to include amrfinder --update in bakta_db download by default. At least that seems logical to me as long as bakta will halt on this amrfinder issue.
  2. Secondly, how about a "pre-flight check" for amrfinder along with other dependencies in utils.py. Perhaps one check for amrfinder presence, and a second for the version number of the database in envs/bakta/share/amrfinderplus/data/latest/version.txt

Thanks again!

edit-----------
corrected version.txt path above.
Also, commit 750396f already is super helpfull for future users indeed.

from bakta.

oschwengers avatar oschwengers commented on July 23, 2024

Thanks @lauralwd for the confirmation and your suggestions - excellent ideas!

  1. will be added as soon as possible.
  2. is already implemented, just needs some testing.

from bakta.

lauralwd avatar lauralwd commented on July 23, 2024

Sound like great progress. If you'd appreciate a pull request just let me know. I'm not that fluent in python but I think I can handle this.

off-topic------------
annotations are looking great to me. At least similar to previous tools I used and trust, but the bakta names for genes are a bit more verbose which makes it easier for me to interpret. My favourite feature is the extra information for hypothetical proteins.

from bakta.

oschwengers avatar oschwengers commented on July 23, 2024

@lauralwd thanks for the offered help but it's already implemented: https://github.com/oschwengers/bakta/tree/catch-amrfinderplus-db-issue
I'm just running some final tests.

from bakta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.