Convert QIIME1 OTU table to QIIME2 taxa bar plot

Hi everyone,

I have a bunch of OTU tables (tab separated .txt file) with taxonomies created using QIIME 1.

Is there way to directly convert them to the taxa bar plot (from Kingdom down to Species) in QIIME2? (Ideally not having to go through the .qza format)

Hi @SteveMcL,


  1. import as a feature table.
  2. You will also need to import your biom table as a FeatureData[Taxonomy] artifact to extract the taxonomy assignments. See this forum post for a prior example of steps 1 and 2: Feature-table filter-samples removes taxonomy from biom table
  3. Once you have those files imported, it is as simple as using qiime taxa barplot to generate a barplot.

Almost everything in QIIME 2 uses artifact (QZA) files. There is no way around that.

Good luck!

1 Like

Correction. You can import your biom table as a FeatureData[Taxonomy artifact directly, no need to modify. I have amended the description above, with a link to a prior forum post demonstrating this.

1 Like

Thanks a lot! I’ve managed to convert my .biom files into a bar plot vizualization.qza.

Now, I know I can visualize the .qza file on the QIIME2View website. But I’d like to send the results directly to collaborator without him having to upload it. Is there a way to convert the .qza file to an HTML file (like in QIMME1 one could view the results even without internet access)?

Also, is the bar plot the only taxa vizualization? What happened to the area plot?

Edit: I see there’s a qiime tools export function which can convert to HTML. However, I’d still like to know if there are other options for visualization (ie, area chart and pie chart)? Also, could one adjust the height/width of the bars etc?

If you want someone to view without internet access, then exporting to HTML as you have already discovered is your best bet.

However, an even better option would be to deposit your results on dropbox, go to the qiime2 view website, and enter the link to that dropbox file in the line below (click where it says “link to a file on dropbox”). You can send the URL of that visualization to your collaborator.

There is no area or pie chart options. You can generate a heatmap with qiime feature-table heatmap if you prefer that visualization. There is currently not a way to adjust bar height/width in that visualization.

1 Like

Good news - doesn’t actually receive any uploaded data, there is no server at all. When you “view” your QZV files there, the data stays local, on your machine. That means you can email these files to your collaborator, and they can view the results interactively without needing to install QIIME 2. This scheme can be compatible with your institution’s IRB protocols, HIPAA, etc (we really don’t want to be in the business of storing people’s data!).


This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.