biocore / q2-greengenes2

A QIIME 2 plugin for interaction with the Greengenes2 database
BSD 3-Clause "New" or "Revised" License
27 stars 3 forks source link

taxonomy-from-table should error politely if passed the wrong reference #10

Closed wasade closed 1 year ago

wasade commented 1 year ago

The input to taxonomy-from-table is the taxonomic data represented in a tree structure. This is done as that format is more efficient than a tabular representation. However, this can be misleading to users as the artifact type is Phylogeny[Rooted]. It would be nice if taxonomy-from-table detected this situation and provided an informative error message.

Thanks for reporting @ahdilmore!