You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.. note:: Taxonomic classifiers perform best when they are trained based on your specific sample preparation and sequencing parameters, including the primers that were used for amplification and the length of your sequence reads. Therefore in general you should follow the instructions in :doc:`Training feature classifiers with q2-feature-classifier <../tutorials/feature-classifier>` to train your own taxonomic classifiers (for example, from the marker gene reference databases below). We provided some common classifiers as this step can require a large amount of memory. For example, the Silva classifier linked here required approximately 30 GB of RAM to train.
Copy file name to clipboardExpand all lines: source/install/native.rst
+51-11Lines changed: 51 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
1
Natively installing QIIME 2
2
2
===========================
3
3
4
-
.. note:: QIIME 2 does not currently support Windows. It is something we will be working on soon, and in the meantime we recommend using a virtual machine or services such as Amazon Elastic Compute Cloud if a Unix/Mac platform is not available to you.
5
-
6
4
This document describes how to install the QIIME 2 framework, a command-line interface, and some plugins used in the :doc:`tutorials <../tutorials/index>`.
7
5
6
+
.. note:: QIIME 2 does not currently support Windows. It is something we will be working on soon, and in the meantime we recommend using one of the :doc:`QIIME 2 virtual machines <virtual-machine>`.
7
+
8
+
.. note:: Installing QIIME 2 will become easier as we transition out of the alpha release phase.
9
+
8
10
Install Miniconda
9
11
-----------------
10
12
@@ -22,9 +24,9 @@ You can choose whatever name you'd like for the environment. In this example, we
``-n qiime2`` specifies the name of the environment, and ``-c qiime2`` specifies the channel to search for packages.
29
+
.. note:: ``-n qiime2`` specifies the name of the environment, and ``--override-channels -c qiime2 -c defaults`` specifies the channels to search for packages, regardless of the channels that may exist in a `.condarc` file.
28
30
29
31
Now that you have an environment, activate it using the environment's name:
30
32
@@ -81,8 +83,8 @@ Out of the box, installing the QIIME 2 framework and command-line interface does
The ``q2-dada2`` plugin requires R and the `latest version of dada2 available through Bioconductor <https://www.bioconductor.org/packages/release/bioc/html/dada2.html>`_. Installing dada2 through Bioconductor is necessary because the latest version of dada2 is not available through ``conda`` at the time of this writing. There is work being done to make the latest version of dada2 available through ``conda``. When the package is available, the installation process will become faster and easier.
136
+
137
+
.. command-block::
138
+
:no-exec:
139
+
140
+
conda install --override-channels -c r -c defaults r
141
+
CDPATH= R -e 'source("https://bioconductor.org/biocLite.R"); biocLite("dada2")'
If installation of dada2 using Bioconductor fails, try the following suggestions (if applicable to your computing environment):
147
+
148
+
* Per the `Bioconductor installation instructions <https://www.bioconductor.org/install/>`_, try using ``http://`` instead of ``https://`` in the Bioconductor URL that is sourced above (i.e. http://bioconductor.org/biocLite.R instead of https://bioconductor.org/biocLite.R).
149
+
150
+
* If you are using a Mac (i.e. macOS or OS X), install the Xcode Command Line Tools.
151
+
152
+
* Ensure the version of R you have installed is compatible with dada2. The `dada2 Bioconductor install guide <https://www.bioconductor.org/packages/release/bioc/html/dada2.html>`_ lists the minimum required version of R. You can see what version of R you have installed by running:
153
+
154
+
.. command-block::
155
+
156
+
R --version
157
+
158
+
If the R version is incompatible, try updating to a newer version by running:
159
+
160
+
.. command-block::
161
+
:no-exec:
162
+
163
+
conda update --override-channels -c r -c defaults r
164
+
165
+
* To test that dada2 installed correctly, run:
166
+
167
+
.. command-block::
168
+
169
+
R -e 'library("dada2")'
170
+
171
+
If no errors are reported, the installation was successful!
132
172
133
173
Now that you have some plugins installed and have explored the command-line interface a bit, you're ready to analyze microbiome data! Check out the :doc:`QIIME 2 tutorials <../tutorials/index>` for analyses of tutorial datasets.
0 commit comments