RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with...

43
RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016

Transcript of RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with...

Page 1: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

RNA-Seq analysis with AstrocyteDifferential expression and transcriptome assembly

Beibei Chen Ph.D

BICF

9/28/2016

Page 2: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Agenda

• Launch Workflows using Astrocyte

• BICF Workflows

• BICF RNA-seq Workflow

• Experimental Design Affecting Your Analysis

• Required Inputs

• Astrocyte demo

• Outputs

• Common Errors

• Visualization of Results using Vizapps

• Vizapp Demo

Page 3: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Agenda

• Launch Workflows using Astrocyte

• BICF Workflows

• BICF RNA-seq Workflow

• Experimental Design Affecting Your Analysis

• Required Inputs

• Astrocyte demo

• Outputs

• Common Errors

• Visualization of Results using Vizapps

• Vizapp Demo

Page 4: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Allows groups to give easy-access to their analysis pipelines via the web

Astrocyte – BioHPC Workflow Platform

Standardized Workflows

Simple Web Forms

Online documentation & results visualization*

Workflows run on HPC cluster without developer or user needing cluster knowledge

Slide contribution: David Trudgian@BioHPC

astrocyte.biohpc.swmed.edu

Page 5: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Agenda

• Launch Workflows using Astrocyte

• BICF Workflows

• BICF RNA-seq Workflow

• Experimental Design Affecting Your Analysis

• Required Inputs

• Astrocyte demo

• Outputs

• Visualization of Results using Vizapps

• Common Errors

• Vizapp Demo

Page 6: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Browse workflows

Page 7: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

BICF Workflows

• RNASeq

• Differential Expression Analysis

• Germline Variation

• Fastq to annotated VCF

• DNA

• RNA

• Somatic Variation

• Fastq to annotated VCF

Page 8: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Workflow for Genome Analysis

Page 9: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Annotation Sources

• Gene Annotation (Genes, Regulation and TFBS)

• dbSNP, ExAC

• clinvar, gwas catalog

• cosmic

• dbNSFP

• SIFT, Polyphen2, LRT, MutationTaster, MutationAssessor, FATHMM, VEST3, CADD, MetaLR, MetaSVM, PROVEAN, DANN, fathmm-MKL, fitCons

• PhyloP x 2, phastCons x 2, GERP++ and SiPhy

• Allele frequencies in 1000 Genomes Project phase 3 data, UK10K cohorts data, ExAC consortium data and the NHLBI Exome Sequencing Project ESP6500 data

• genesets (MSigDB)

• CIVIC

• BROAD Target

Page 10: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Agenda

• Launch Workflows using Astrocyte

• BICF Workflows

• BICF RNA-seq Workflow

• Experimental Design Affecting Your Analysis

• Required Inputs

• Astrocyte demo

• Outputs

• Visualization of Results using Vizapps

• Common Errors

• Vizapp Demo

Page 11: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Everything's connected slide by Dündar et al. (2015)

Page 12: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

General

RNA-seq

Workflow

Page 13: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Experimental Design Affecting Your Analysis

• Whole transcriptome vs mRNA

• Single end vs paired ends• Paired-end produces more accurate alignments

• Paired-end allows for alternative transcript analysis

• Single-end is cheaper

• Number of Reads• 10-50M is a good range

• Read Length• Longer reads produce better alignments, min 50 bp paired

or 100bp single

Page 14: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Experimental Design Affecting Your Analysis

• Number of Samples

• Your power to detect an effect depends on

–Effect size (difference between group means)

–Within group variance

– Sample size

• More Samples the better, min 3 per group

• Five samples sequenced to 20M reads each offer more power than 2 samples sequenced to 50M reads

• Stranded

• Can distinguish expression of overlapping genes

Page 15: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Strand-specific RNA-seq

image from GATC Biotech

Page 16: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

How to decide strand

Reverse stranded

Stranded

Page 17: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

RNASeq Analysis Pipeline

http://www.utsouthwestern.edu/labs/bioinformatics/services/data-analysis/rnaseq-pipeline.html

Page 18: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Create a new project

Page 19: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Add data to your project

Page 20: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Add data to your project

For NGS experiment, this is recommended.

Page 21: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Make your design file

Page 22: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Make your design file

• Use tab as delimiter

– Excel save as “Text (tab delimited)”

• If no SubjectID, use same number/character for all rows

• If no FqR2, leave them empty

• For all contents, no “-”

• For all contents, no spaces

• Columns names MUST be exactly the same as documented

Page 23: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Comparisons

• Comparisons are based on SampleGroup

– All pair-wise comparisons

– Could be identified by file name

• A_B.edgeR.txt

• Log fold change will be A/B

• If you want B/A, -1*logFC

Page 24: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Select your data files and submit

SELECT YOUR FILES

Page 25: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Project is running

Page 26: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Timeline of the whole run

Page 27: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Download/visualize your results

Vizapp need about 30s to start if there is no queue. You need to refresh the page.

You can also choose individual files to download to your local computer

Page 28: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Agenda

• Launch Workflows using Astrocyte

• BICF Workflows

• BICF RNA-seq Workflow

• Experimental Design Affecting Your Analysis

• Required Inputs

• Astrocyte demo

• Outputs

• Common Errors

• Visualization of Results using Vizapps

• Vizapp Demo

Page 29: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Common errors and solutions

• Make sure the delimiter is tab

• Make sure the column name are the same as mentioned in documentation

• Make sure the file names match

Page 30: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Common errors and solutions

• Not all files are uploaded

• It’s about the proxy setting

• Use auto-detect proxy

Page 31: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Agenda

• Launch Workflows using Astrocyte

• BICF Workflows

• BICF RNA-seq Workflow

• Experimental Design Affecting Your Analysis

• Required Inputs

• Astrocyte demo

• Outputs

• Common Errors

• Visualization of Results using Vizapps

• Vizapp Demo

Page 32: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Vizapp: QC general stat

Page 33: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Vizapp: QC MSD and PCA

Page 34: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Vizapp: Gene Compare

Page 35: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Vizapp: DEA

• Uses edgeR results• Filter gene list by different parameters• Sort by different columns• Data table downloading

Page 36: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Vizapp: DEA heatmap

• Filter gene list by different parameters• Choose different comparisons• Support user define gene list (gene official symbol)• Support pathway

Page 37: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Vizapp: alternative splicing

Page 38: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Vizapp: alternative splicing

Different transcripts’ expression in sample groups

Page 39: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Vizapp: alternative splicing

Page 40: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Vizapp: QuSAGE

Page 41: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

• Introduction to BioHPC

– 10/5/2016

– 10:30AM-Noon @ NL6.215

• Please attend so you can get an account to try this out

Page 42: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Acknowledgement

• Brandi Cantarel

• David Trudgian

• BioHPC team

• BICF team

Page 43: RNA-Seq analysis with Astrocyte - BioHPC Portal Home · 2016-09-28 · RNA-Seq analysis with Astrocyte Differential expression and transcriptome assembly Beibei Chen Ph.D BICF 9/28/2016.

Agenda

• Launch Workflows using Astrocyte

• BICF Workflows

• BICF RNA-seq Workflow

• Experimental Design Affecting Your Analysis

• Required Inputs

• Astrocyte demo

• Outputs

• Visualization of Results using Vizapps

• Common Errors

• Vizapp Demo