Closed xzhub closed 2 years ago
nextclade dataset list
report similar error message
@xzhub This is expected.
Nextclade v2 introduces some breaking changes to dataset index file. However, the alphas are still configured to download data from the production v1 dataset server (https://data.clades.nextstrain.org), which corresponds to release
branch of the https://github.com/nextstrain/nextclade_data/ repo, but it does not have the new dataset files there yet. We will push the new dataset files simultaneously with the Nextclade v2 release.
Meanwhile, I released alpha.4 and alpha.5 with some fixes, and you can add a flag
--server="https://data.master.clades.nextstrain.org"
to switch to the master
dataset server (https://data.master.clades.nextstrain.org), which corresponds to the master
branch of https://github.com/nextstrain/nextclade_data/.
I tested with this command:
docker run -it nextstrain/nextclade:2.0.0-alpha.5-debian bash -c 'nextclade dataset get --name="sars-cov-2" --server="https://data.master.clades.nextstrain.org" --output-dir="/tmp/sars-cov-2" -v && ls -al "/tmp/sars-cov-2"'
Output:
and this command:
docker run -it nextstrain/nextclade:2.0.0-alpha.5-debian bash -c 'nextclade dataset list --server="https://data.master.clades.nextstrain.org"'
Output:
Further improvements:
Later we may configure CI such that pre-releases download from the master
server by default.
The default server is set using variable DATA_FULL_DOMAIN
in .env
file, for both, web app and CLI, in case you want to build from sources and modify it.
Resolved by adding '--server' argument in 2.0.0-alpha.5, thanks!
I downloaded the docker image nextstrain/nextclade:2.0.0-alpha.3-debian, but I can't download the latest dataset: