Git Product home page Git Product logo

Comments (2)

adriangeerre avatar adriangeerre commented on May 24, 2024

Hi @Niicii ,

I am trying to use tiptoft and I found the same error as you did. I have solve it by modifying the script RefGenesGetter.py which was located inside the conda enviroment I created "<conda_env_path>/lib/python3.10/site-packages/tiptoft/RefGenesGetter.py".

I modified the lines 41 to 44 to be:

for f in files_to_download:
    cmd = 'wget https://bitbucket.org/genomicepidemiology/plasmidfinder_db/raw/master/'+str(f)
    print('Downloading data with:', cmd, sep='\n')
    subprocess.check_call(cmd, shell=True)

Hope it helps!
Adrián

from tiptoft.

AdityaLankapalli avatar AdityaLankapalli commented on May 24, 2024

This error comes up because tiptoft_database_downloader is trying to download enterobacteriaceae.fsa from plasmidfinder_db, which has been modified to enterobacteriales.fsa.
enterobacteriaceae.fsa → enterobacteriales.fsa
I modified the tiptoft/RefGenesGetter.py line 39:

files_to_download = ['enterobacteriaceae.fsa', 'Inc18.fsa', 'NT_Rep.fsa', 'Rep1.fsa', 'Rep2.fsa', 'Rep3.fsa', 'RepA_N.fsa', 'RepL.fsa', 'Rep_trans.fsa']

to

files_to_download = ['enterobacteriales.fsa', 'Inc18.fsa', 'NT_Rep.fsa', 'Rep1.fsa', 'Rep2.fsa', 'Rep3.fsa', 'RepA_N.fsa', 'RepL.fsa', 'Rep_trans.fsa']

and was able to download.

Hope this helps !!

from tiptoft.

Related Issues (18)

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.