biocore / qiime

Official QIIME 1 software repository. QIIME 2 (https://qiime2.org) has succeeded QIIME 1 as of January 2018.
GNU General Public License v2.0
285 stars 268 forks source link

summarize_taxa_through_plots.py improvement #1212

Open wdwvt1 opened 10 years ago

wdwvt1 commented 10 years ago

Frequently I will use summarize_taxa_through_plots.py with the -c option to bin by a metadata category. Unfortunately, the order of the resulting metadata categories is arbitrary and not easily controllable. I think the only way to get the order you want for the display of these categories would be to use sort_otu_table.py on each of the summarized tables. To that end, we should include an option, perhaps --category_order, that allows the user to specify the order of the categories they'd like for the plots. This would be pretty easy using either the biom functionality or a call to sort the tables after they were produced by the other parts of the script.

gregcaporaso commented 10 years ago

+1

Could we get this in for 1.8.0?