-
Notifications
You must be signed in to change notification settings - Fork 20
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
nextstrain run
: unmanaged pathogen support?
#420
Comments
@jameshadfield @joverlee521 You're implicated in previous discussion/commentary here and so I'd definitely appreciate any thoughts you have. |
Huh, I was not expecting to use Am I understanding correctly that the main feature from Or should we port all of |
nextstrain run
: unmanaged pathogen supportnextstrain run
: unmanaged pathogen support?
It definitely blurs the lines a bit. There's still a line though: I think external analysis directory is the main thing at the moment, yeah. This was driven by @jameshadfield's desired use cases. Adding support for external analysis directories to I don't think we should port all of |
As long as the two commands are separate, another reason this support seems useful is that it means |
True! After thinking on this more, I see the need for supporting development with Personally, I do reach for the various Snakemake options when testing workflow changes, so I will have to figure out what's the best development cycle here...
That sounds like good reason to go with your proposed "No setup required" version. |
@tsibley what does the ¹ refer to? |
If |
Support
nextstrain run
for unmanaged pathogen sources, i.e. working copies of our repos, to aid development.Two avenues to consider for such support.
nextstrain setup
pointed at local directory (like Python's "editable installs")nextstrain run
pointed at a local directory (likenextstrain build
)"Editable" setups
Accept a local file path/URL when setting up a version.
Invoked the same as any other version.
Can be approximated currently by:
No setup required
Distinguish managed pathogens vs. non-managed pathogens by
absence/presence of a path separator.
and maybe special case
.
too for convenience?Note that we'd still keep pathogen and workflow as separate arguments (i.e. rather than combining them the way
nextstrain build
does) so thatworkflows are still names and can be resolved via pathogen registration
metadata in the future.
History
I'd long anticipated some sort of "editable install" feature for
nextstrain setup
to support pathogen development, but several review comments spurred me to think about supporting directory paths directly innextstrain run
.The text was updated successfully, but these errors were encountered: