Updated Practical 3 Processing 16S rRNA amplicon data (markdown) authored by Ben Francis's avatar Ben Francis
...@@ -34,6 +34,7 @@ Now start up R, and we'll install the new packages: ...@@ -34,6 +34,7 @@ Now start up R, and we'll install the new packages:
> install.packages("devtools") > install.packages("devtools")
> library("devtools") > library("devtools")
> devtools::install_github("benjjneb/dada2", ref="v1.14") > devtools::install_github("benjjneb/dada2", ref="v1.14")
# this step will take a while
> install.packages("dada2", > install.packages("dada2",
repos = NULL, repos = NULL,
type = "source", type = "source",
...@@ -42,5 +43,12 @@ Now start up R, and we'll install the new packages: ...@@ -42,5 +43,12 @@ Now start up R, and we'll install the new packages:
### 1.2 Processing our data with DADA2 ### 1.2 Processing our data with DADA2
First let's go back to our data directory First let's go back to our data directory
> setwd("/bioinf/home/your_username/day_1/16S_amplicon/demultiplexed") > setwd("/bioinf/home/your_username/day_1/16S_amplicons/demultiplexed")
Then start dada2:
> library(dada2)
The first parts of the process are now just preparing the files and file names.