QIIME2-2017.5 Installation on Windows Subsystem for Linux

My experience with the installation of QIIME2-2017.5 on Windows Subsystem for Linux is described below. The first step to getting everything up and running was to copy the anaconda installation command on the main page website.

conda create -n qiime2-2017.5 --file https://data.qiime2.org/distro/core/qiime2-2017.5-conda-linux-64.txt

After the conda environment installation was completed, I tried to run the QIIME2 help command to verify the installation:

qiime --help
...
    from PyQt5 import QtCore, QtGui, QtWidgets
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Something isn’t quite right. Even though QT is installed on Windows, I need a copy of it for the WSL. To install the QT5 framework, if you are using the Ubuntu Xenial WSL, simply use apt-get.

sudo apt-get install qtbase5-dev

Now, everything works great!

(qiime2-2017.5)~$ qiime --help
QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
Usage: qiime [OPTIONS] COMMAND [ARGS]...

  QIIME 2 command-line interface (q2cli)
  --------------------------------------

  To get help with QIIME 2, visit https://qiime2.org.

  To enable tab completion in Bash, run the following command or add it to
  your .bashrc/.bash_profile:

      source tab-qiime

  To enable tab completion in ZSH, run the following commands or add them to
  your .zshrc:

      autoload bashcompinit && bashcompinit && source tab-qiime

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  info                Display information about current deployment.
  tools               Tools for working with QIIME 2 files.
  dev                 Utilities for developers and advanced users.
  alignment           Plugin for generating and manipulating alignments.
  composition         Plugin for compositional data analysis.
  dada2               Plugin for sequence quality control with DADA2.
  deblur              Plugin for sequence quality control with Deblur.
  demux               Plugin for demultiplexing & viewing sequence quality.
  diversity           Plugin for exploring community diversity.
  emperor             Plugin for ordination plotting with Emperor.
  feature-classifier  Plugin for taxonomic classification.
  feature-table       Plugin for working with sample by feature tables.
  phylogeny           Plugin for generating and manipulating phylogenies.
  quality-filter      Plugin for PHRED-based filtering and trimming.
  taxa                Plugin for working with feature taxonomy annotations.
3 Likes

That is amazing @bhillmann, thanks for sharing!

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