Now, with argparse, I have added some tricks to the script.
As @Nicholas_Bokulich suggested I tried to use collapsed table, and it extracts metadata.tsv from collapsed taxa visualization (a qzv file).
I didn't want to deal with a feature-table.biom because I don't know the nature of the file.
This script has input, output, exclude, regex options now!
krona-arg.py (2.3 KB)
Let's hear out how it can be improved much more..