-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nextclade run with optional dataset tag input #1521
Comments
Hi @jrotieno, Makes sense! I cannot give any promises that this will be implemented though, due to lack of time. (Contributions are always welcome!) For the time being, if you need to use the same version repeatedly - you could use the 2-stage flow with |
Many thanks @ivan-aksamentov for the swift response! We have been using the 2-stage flow. However, I wanted to also have the option of running But thinking about it again, it may not be the most sensible to predict a name and use a fixed tag as the tags are not universal across all datasets. Nonetheless, will be nice to see the run and tag option in the future! |
While here, is there a way to output the dataset tag used from a nextclade run command with an input dataset name? |
Hmm... I don't think so. Not currently. The name you already know when downloading or running - you'd have to write it down somewhere, e.g. in a txt or json file. If you've downloaded the dataset, then the tag you can find in the dataset directory in There were previously feature requests to add dataset name, tag and other things (like time of the run) to the outputs, however it's bit tricky, because you can also run nextclade without any dataset or with a third-party dataset, and in this case there might be no name or tag at all. Names and tags are really only ensured for our official datasets and our official dataset server where we enforce this particular versioning scheme. I agree that it might be useful, and we need to contemplate about these things a little more sometimes. |
For anyone following, my tentative solution is
|
The
nextclade run --dataset-name xx
is great and uses by default the latest dataset tag. However, as mentioned in the documentation, "If a new version of the dataset is released between two runs, they will use different versions of the dataset and may produce different results."It would be nice to have an optional
--dataset-tag
input where one can specify the specific tag for a dataset name when they don't want to use the default latest.The text was updated successfully, but these errors were encountered: