I was wondering if it would be of interest to have the ability to extract the qiime2 commands needed to rerun a workflow from an artifact’s proveneance? Does this already exist?
The envisioned use case is for reproducing workflows to apply to new datasets or to run similar analyses with modified parameters. For instance, if you supplied a PCoAResults artifact, it would output a pipeline that could be used to generate that PCoA (possibly with changing some of the parameters along the way).
This implies the existance of a Pipeline semantic type and also some new actions dumping a Pipeline from an artifact and for running a pipeline as loaded from the new Pipeline artifact. I’d imagine it could be nice to have the same functionality for visualizations as well.
It might take some thought for how to specify inputs for the pipeline (since it would be loaded as input for the run command) but it is something I wouldn’t mind working on if this feature would be of enough use to the community.