q2-cli qiime tools view

Hi, I'm using qiime2 to analyze microbiome taxonomy assignments.
I have trouble to view visualization files.
I know I can view them upload on https://view.qiime2.org/ , but I want short cut that I want to view files without uploding them on the site.
While searching, I found that there is a command [qiime tools view], but it doesn't work well.
The error message is:

Error: Visualization viewing is currently not supported in headless environments. You can view Visualizations (and Artifacts) at https://view.qiime2.org, or move the Visualization to an environment with a display and view it with qiime tools view.

my command:
qiime tools view /path/barplot.qzv

I'm curious that it means it doesn't support anymore? or I use it with wrong way?
I appreciate with any helps, thanks!

EY

Hello @eysung,

Did you run the qiime tools view command when you were ssh'ed into a server by chance?

Hi, @colinvwood ! Thank you for your reply :slight_smile:

No, it is always connected to the server and all operations are done on the server.
I'm looking to see if there is a way to view the plot on the server, as it's a hassle to put the file into the viewer each time.

1 Like

Hello @eysung,

The following part of the error message:

Error: Visualization viewing is currently not supported in headless environments.

Essentially means there is no screen on which to show you a visualization attached to the computer on which you ran the qiime tools view command. Thus you have to first get the visualization to your computer that has a browser and a screen (I'm assuming this is what you're doing currently).

So to summarize, I can't see the qzv file in the cli, I have to import it into the viewer..

Am I understanding correctly?

Hello @eysung,

No you can't view visualizations in the command line, you need a browser to do that. The qiime tools view command just automates opening a browser and loading the visualization for you.

1 Like

Hi, @colinvwood

I really appreciate with your reply!
Sad story, but thanks for letting me know.

EY

1 Like