I am in the process of adding a couple of IQ-TREE methods to q2-phylogeny. See here. IQ-TREE allows upwards of 286 DNA substitution models. I would like to allow the user to specify any one of these, and provide an error message if the option they enter is not available / supported. It does not make sense to show all of these as a set of choices when calling
--help. I want something like
--show-importable-types for the
qiime tools import command.
I am having trouble figuring out how to handle this for the
iqtree plugin, as I could not quite follow what was going on in similar cases, e.g. the
qiime tools import code. Is there another example that I missed? Other advice?
Here is a screen shot of
qiime phylogeny iqtree --help
Thanks in advance!