QIIME 2¶
The home page for QIIME is here: https://qiime2.org https://library.qiime2.org/quickstart/amplicon
To find the documentation that describes how to install QIIME 2 go to the QIIME 2 homepage then from the menu at the top click on “Quickstart “. From that page click on the link for the version of QIIME2 that you require. From there follow the instructions for installing Qiime using Conda.
Below is a description od an earlier install.
Install Miniconda¶
See our Python Miniconda install page, then return to here. Then we are set to install Qiime 2.
Install QIIME 2¶
Check what is the latest QIIME2. These instructions use a QIIME2 2023 “tiny” version.
Continue to follow the install notes. Those notes suggest to call your QIIME 2 environment based on the QIIME 2 release date. This is a good idea, though you can name it anything you like.
Make sure your in your base conda environment:
~/$ source miniconda3/bin/activate
(base) ~/$
Download the qiime2 definition file:
(base)$ wget https://data.qiime2.org/distro/tiny/qiime2-tiny-2023.9-py38-linux-conda.yml
Create a miniconda environment named “qiime2-tiny-2023.9” based on this definition file:
(base)$ conda env create -n qiime2-tiny-2023.9 --file qiime2-tiny-2023.9-py38-linux-conda.yml
... it will take a while ...
$
Once the install has finished you can optionally remove the definition file:
$ rm qiime2-tiny-2023.9-py38-linux-conda.yml
We can “source” the new QIIME 2 environment to enable it like this:
$ conda activate qiime2-tiny-2023.9
(qiime2-tiny-2023.9)$
Run Qiime’s help command to check it works:
(qiime2-tiny-2023.9)$ qiime --help
We can also deactivate this environment and reactivate it later with.
(qiime2-tiny-2023.9)$ conda deactivate
(base) ~/$
$ conda activate qiime2-tiny-2023.9
(qiime2-tiny-2023.9)$