Coder Social home page Coder Social logo

hmgdb_script's People

Contributors

jotakas avatar mdsufz avatar tmdb-team avatar

Stargazers

 avatar  avatar

Forkers

jotakas

hmgdb_script's Issues

Cannot download the database using hmg_db_downloader.py

Hi,

I used the csv file downloaded from the database website (quick search > download as csv > download complete csv) as the input for the downloader script. But it returned an error.

--> HMgDB Downloader - v.1

Would you like to fetch processed files from MG-RAST when raw data is not available? Please type Yes[default]/No:  Yes

 -> Trying processed MGRast data if raw data is not available

 -> Using input file: hmgdb_selected_dataset_all_col_20201130_015732.csv
Traceback (most recent call last):
  File "hmgdb_downloader.py", line 344, in <module>
    main()
  File "hmgdb_downloader.py", line 315, in main
    sra_list, mgrast_list = get_input_file(infile)
  File "hmgdb_downloader.py", line 48, in get_input_file
    l=f.readline()
  File "/home/yw14n20/.conda/envs/main/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5400: ordinal not in range(128)

I run this command line on Linux. python3 hmgdb_downloader.py -o /scratch/yw14n20/db/hmgdb -i hmgdb_selected_dataset_all_col_20201130_015732.csv

Your help will be greatly appreciated! Thank you!

Best regards,
Yi

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.