Giter Club home page Giter Club logo

Comments (5)

kimyoungw avatar kimyoungw commented on August 11, 2024 1

Thank you for the prompt reply and thorough explanation. Yea we're using 0.7.1 because it's the only containerized version that works for us at the moment :l But yes, will definitely try to see if the database commits you suggested resolve our issues. Thanks again! Closing this issue.

from staramr.

apetkau avatar apetkau commented on August 11, 2024

What is the resfinder database commit you are using where the issue occurs? It might be the case there are duplicated entries in some commits of the database.

from staramr.

kimyoungw avatar kimyoungw commented on August 11, 2024
staramr_resfinder_commit = '1a53e55081ce35dfc05ecd995e6326eb8c428b19' //Date of commit: Wed, 31 May 2023 08:34
staramr_pointfinder_commit = 'cb7806fd9bfeec1497ff9f6b6c278284ba560ec6' //Date of commit: Wed, 31 May 2023 08:37
staramr_plasmidfinder_commit = '314d85f43e4e018baf35a2b093d9adc1246bc88d' //Date of commit: Fri, 17 Mar 2023 08:05

These are the commits.

from staramr.

kimyoungw avatar kimyoungw commented on August 11, 2024

oops didn't mean to close

from staramr.

apetkau avatar apetkau commented on August 11, 2024

Thanks so much @kimyoungw

It looks like as if this commit in the resfinder database (https://bitbucket.org/genomicepidemiology/resfinder_db/commits/d34e556f8a917d7ac833141d87c0894253c56173, 2023-02-27) there was an all.fsa file added, which contains duplicates of all the AMR sequences that are found in all the other *.fsa files.

The developers of StarAMR are not affiliated with the maintainers of the ResFinder database, and so we cannot guarantee that any particular commit will work properly with StarAMR. We only make an effort to make sure that the default database files distributed with StarAMR work properly.

My recommendation would be to either downgrade to a commit prior to the above, or remove the all.fsa file form the resfinder database directory used by StarAMR.

I also noticed that you are using StarAMR 0.7.1, but version 0.9.1 is available. Version 0.9.1 uses these specific database commits if you wish to downgrade to them specifically (but there might be other fixes in StarAMR that are unavailable in version 0.7.1 that prevent proper use of these database commits).

DEFAULT_COMMITS = {
'resfinder': 'fa32d9a3cf0c12ec70ca4e90c45c0d590ee810bd', # 2022-05-24
'pointfinder': '8c694b9f336153e6d618b897b3b4930961521eb8', # 2021-02-01
'plasmidfinder': '1a443a19a1142aa1018ef62f0bdbfd871b79eab6', # 2021-11-29
}

from staramr.

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.