Error converting .qza to .qzv on cluster

Hello,

I am getting the following error while running QIIME2 on the monsoon cluster. Any insights would be greatly appreciated.

Thanks!

qiime demux summarize   --i-data demux.qza   --o-visualization demux.qzv
Aborted

Hey @Nathan_Stone1,
This can happen if the matplotlib backend is not set when working on a headless server (i.e., one that does not have a display connected to it). You can get this working by setting the matplotlib backend as follows:

mkdir -p $HOME/.config/matplotlib/
echo "backend: Agg" >> $HOME/.config/matplotlib/matplotlibrc
3 Likes