Tool: A python program to automate taxonomic pie chart generation from QIIME
gravatar for Vijay Lakhujani
11 months ago by
Vijay Lakhujani1.8k
Vijay Lakhujani1.8k wrote:


QIIME (Quantitative Insights Into Microbial Ecology) is one of the most popular open-source bioinformatics suite for performing metagenome, 16S rRNA amplicon and Internal Transcribed Spacer (ITS) data analysis. Although, it is very comprehensive and powerful tool, it lacks a method to provide publication ready taxonomic pie charts.

The script bundled with QIIME generate a html file and a folder containing taxonomic pie chart and legend as separate images. The images have randomly generated alphanumeric names. Therefore, it is difficult to associate the pie chart with the legend and the corresponding sample identifier. Even if the option to have the legend within the html file is selected while executing, it is very tedious to crop a complete image (having both the pie chart and the legend) due to unequal image sizes.

It requires a lot of time to manually prepare the pie charts for multiple samples for publication purpose. Moreover, there are chances of error while identifying the pie chart and legend pair due to random alphanumeric names of the images.

To bypass all these bottlenecks and make this process efficient, we have developed a python based program,, to automate the renaming, cropping and merging of taxonomic pie chart and corresponding legend image into a single, good quality publication ready image. This program not only augments the functionality of but is also very fast in terms of CPU time and user friendly.

Programmatic Work flow

Program Workflow A sample output of program Output of program

Language: Python, v2.7

Availability of program:


qiime tool taxonomy 16s python • 802 views
ADD COMMENTlink modified 6 weeks ago • written 11 months ago by Vijay Lakhujani1.8k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1291 users visited in the last hour