Script to convert taxonomy summaries to Krona-compatible XML

I wrote a script to convert mothur’s taxonomy summaries into a format compatible with Krona’s XML importer. Check it out:

Feel free to send me any bugs, fixes, or suggestions.

reviving this really old thread. I’m getting a SyntaxError: invalid syntax when I try running this within python 2.7.6

mothur_krona_XML.py test.tax.sum > out.xml

I’m not working in the field any more, so consider this project unmaintained and unsupported. The syntax error message isn’t very helpful – are you trying to run this on windows?

thanks for the reply. It was just user error on my part-working with a manipulated tax.summary file rather than exactly what mothur spits out. Your script works great, I’ll link to it!