This is a guide for acquiring the materials for the Dickson Lab SOP for Analysis of 16S rRNA Gene Amplicon Data. As of the latest update this includes data and source code for a tutorial analysis of the lung microbiome.
Prior to starting, several pieces of software need to be acquired. Completing these first three steps is necessary in order to be able to begin working with the code. It should take between 15-30 minutes to complete these preparatory tasks.
First you’ll need to acquire R itself. This can be done directly from
CRAN. If R is already installed, we
recommend updating to the current version. You can check your R version
with getRversion()
.
Secondly, install the free desktop version of RStudio. We also recommend updating RStudio if a prior installation exists.
Next, the materials need to be acquired and loaded. First, locate the green Clone or download button at the top right of this page, then download the ZIP contents. From your Downloads folder, extract the files from Dickson_16S_SOP-master.zip. We recommend moving this unzipped/extracted directory either to your desktop or preferred workspace. You will need to navigate to this extracted directory in the next step.
Next, launch RStudio. Then create a new project, by clicking File > New Project, in the upper left of the RStudio interface. Click on Existing Directory and then browse to find the Dickson_16S_SOP-master directory that was extracted. Finally, left click the file entitled Lung_Microbiome_Tutorial.Rmd from the lower right pane in the RStudio interface.
This extracted directory includes all of the data and code needed for completing this walkthrough, though the only file you’ll need to directly interact with is Lung_Microbiome_Tutorial.Rmd. You can explore at your own pace, either by reviewing the code and running it chunk by chunk, or by creating the report for a more guided experience (see Step V. below).
It would also be highly beneficial to be familiar with the basics of R programming prior beginning, though it is not required. A great resource is R for Data Science. Reading chapters 1 through 5 will familiarize you with the R design philosophy and syntax you’ll see during the hands-on presentation.
Finally, the .Rmd file included with these materials can be assembled into an HTML report by clicking the Knit button inside RStudio.