-
Notifications
You must be signed in to change notification settings - Fork 62
Introduction to scATAC‐seq data analysis
This 2-session hands-on workshop will provide an introduction to a typical single-cell ATAC-seq protocol and focus on the data analysis steps to address unique computational challenges before the downstream analysis.
You’ll learn how to perform quality checks of raw data in the typical format provided by sequencing centers, how to process the data, perform dimensionality reduction for visualization, clustering and cell type annotation, generate a gene score matrix to identify cell types, and perform motif and peak enrichment using ArchR.
Prior experience with transcriptomics data or attendance at an scRNA-seq or bulk RNA-seq workshop is required.
Note: Attendance at both sessions is highly recommended. Each session builds upon prior sessions.
Required experience:
- Prior attendance at an scRNA-seq or bulk RNA-seq workshop, or experience with analysis of transcriptomics data
- Familiarity with R and RStudio (e.g., reading in files, working with lists and dataframes)
This is an advanced workshop building upon the RNA-Seq Analysis series. Prior experience with scRNA-seq or bulk RNA-seq is required. See introductory and intermediate workshops in the RNA-Seq Analysis series.
The slides are here.
- There is a zip file with code and data at this link.
- Open the link, press the download button (usually on the top right corner), and select “Direct Download” if a menu pops up.
- The zip file download should start.
- Unzip the zip file.
For Mac users, install the necessary mandatory tools before proceeding with the installation of R packages.
- Install the packages required by ArchR:
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("CNEr")
BiocManager::install("TFBSTools")
BiocManager::install("motifmatchr")
- Install ArchR in RStudio using the instructions here.
- Install the required packages in RStudio:
install.packages(c('Rcpp', 'RcppArmadillo', 'cowplot', 'Seurat', 'harmony'))
BiocManager::install("BSgenome.Hsapiens.UCSC.hg38")
install.packages('knitr', dependencies = TRUE)
require(devtools)
devtools::install_github("GreenleafLab/chromVARmotifs")
devtools::install_github("immunogenomics/presto")
# install ggplot2 version 3.4.4
# newer versions of ggplot2 are not compatible with ArchR package
install_version("ggplot2", version = "3.4.4", repos = "http://cran.us.r-project.org")
- Restart RStudio.
- Open the “ArchR_demo_1_create_arrow_files.Rmd” file (download here as explained above) in RStudio.
- Press the Knit button.
- Install MACS using the instructions here. This step is not required but good to have. If you face installation issues, please skip this step, you can use the default peak caller from ArchR.
- If you have access to Wynton, you can alternatively follow these instructions to get ready to run the demo.
Note: If you see a warning about installing from source, respond with ‘y’ for yes
If your installations were successful, RStudio will run all the steps and compile an HTML document that should look like the file named “ArchR_demo_1_create_arrow_files.html” in the workshop materials. It may take some time to run through all the steps.