Read the QIIME 2 Moving Pictures of the Human Microbiome tutorial and work through the commands in this notebook. This tutorial will introduce you to using QIIME 2, and will teach you the commands that you'll need to complete parts 2 and 3 of this assignment.
Important: In order to run QIIME 2 commands in this notebook, you'll need to change your kernel to bash
. You can do this by selecting Kernel > Change kernel > Bash in the menu at the top of the notebook:
Begin by running the commands in the Sample metadata. The first few commands will look like the following.
Tip: When the tutorial instructs you to download files, use either the wget
or curl
option that is provided.
First, you'll download a sample metadata file.
wget -O "sample-metadata.tsv" "https://data.qiime2.org/2020.2/tutorials/moving-pictures/sample_metadata.tsv"
Then, you'll create a directory and download the two sequence data files to that directory.
mkdir emp-single-end-sequences
wget -O "emp-single-end-sequences/barcodes.fastq.gz" "https://data.qiime2.org/2020.2/tutorials/moving-pictures/emp-single-end-sequences/barcodes.fastq.gz"
wget -O "emp-single-end-sequences/sequences.fastq.gz" "https://data.qiime2.org/2020.2/tutorials/moving-pictures/emp-single-end-sequences/sequences.fastq.gz"
Now you can run your first QIIME 2 command, which will import the sequence data that we just downloaded into a QIIME 2 artifact.
qiime tools import \
--type EMPSingleEndSequences \
--input-path emp-single-end-sequences \
--output-path emp-single-end-sequences.qza
QIIME 2 results are always in .qza
or .qzv
files, which you can learn about by reading QIIME 2 core concepts. You can view .qza
and .qzv
files at view.qiime2.org. To do this, you'll:
.qza
or .qzv
file using either the scp command or an sftp client;.qza
or .qzv
file from your computer to the view.qiime2.org.Try downloading the emp-single-end-sequences.qza
file that was generated as output by the previous command, and then uploading it to view.qiime2.org. You'll primarily use view.qiime2.org to view QIIME 2 visualizations (i.e., .qzv
files), but take a minute to look at the Provenance tab for the emp-single-end-sequences.qza
artifact on view.qiime2.org. This provides information on all of the QIIME 2 commands that were run to get to this artifact, as well as some additional information. For example, you can see how long each command took to run. How long did the import
command take to run?
Work through the rest of the Moving Pictures of the Human Microbiome tutorial in this notebook. As you go, answer the questions that are presented in the tutorial. (You don't need to turn those answers in, but spending time on them now will help you with Parts 2 and 3 of this assignment.)
Note: You may or may not use all of the empty cells in this section. You can create more if you need them using the "Insert > Insert Cell Above" or "Insert > "Insert Cell Below" menu items at the top of the Jupyter Notebook.