Giter Club home page Giter Club logo

Comments (3)

ivan-aksamentov avatar ivan-aksamentov commented on July 30, 2024

Hi Katherine @ktmeaton

Thanks for reporting! You've hit 2 bugs simultaneously - one in software and another in data! That's a bingo!

The problem with "tag": "unreleased" was caused by incorrect files being put into the zip archives which Nextclade CLI relies on. I fixed the dataset build logic for the future dataset releases in #177, and in #178 I also retroactively re-uploaded to our servers the corrected dataset zips for already released datasets, so that the tags should now show up in the pathogen.json correctly once you re-download the datasets. There is no new dataset release, the tags are the same and the files inside datasets are the same, except for the tag in pathogen.json.

The problem with "Dataset not found" was caused by the bug in Nextclade software itself. I fixed it in nextstrain/nextclade#1420 and will release a new version shortly. You will need to update Nextclade CLI to get the fix.

In the meantime you can manually download dataset.zip files from one of the subdirectories here: https://github.com/nextstrain/nextclade_data/tree/master/data_output/nextstrain/sars-cov-2/wuhan-hu-1/orfs. These are the exact same zips which nextclade dataset get downloads (and extracts) for you.

from nextclade_data.

ivan-aksamentov avatar ivan-aksamentov commented on July 30, 2024

Nextclade CLI 3.2.1 is now released with the mentioned bugfix.

Here is how I tested:

$ docker run -it --rm nextstrain/nextclade:3.2.1 bash -c "nextclade dataset get --name=sars-cov-2 --tag='2024-01-16--20-31-02Z' --output-dir=out && grep 'tag' 'out/pathogen.json'"
    "tag": "2024-01-16--20-31-02Z"

$ docker run -it --rm nextstrain/nextclade:3.2.1 bash -c "nextclade dataset get --name=sars-cov-2 --tag='2024-02-16--04-00-32Z' --output-dir=out && grep 'tag' 'out/pathogen.json'"
    "tag": "2024-02-16--04-00-32Z"

$ docker run -it --rm nextstrain/nextclade:3.2.1 bash -c "nextclade dataset get --name=sars-cov-2 --tag='latest' --output-dir=out && grep 'tag' 'out/pathogen.json'"
    "tag": "2024-02-16--04-00-32Z",

$ docker run -it --rm nextstrain/nextclade:3.2.1 bash -c "nextclade dataset get --name=sars-cov-2 --output-dir=out && grep 'tag' 'out/pathogen.json'"
    "tag": "2024-02-16--04-00-32Z"

I will close the issue. Please comment or open a new issue if there's still problems.

from nextclade_data.

ktmeaton avatar ktmeaton commented on July 30, 2024

Thank you, it works great now with no errors!

from nextclade_data.

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.