Session 1 : Introduction to RNA-Seq analysis

Advanced R-course 2026

Dr. Debasish Mukherjee

Bioinformatics Core Facility CECAD

2026-11-25

Slides & Code

  • [f] Full screen
  • [o] Slide Overview
  • [c] Notes
  • [h] help

git repo

R-Advanced


Clone repo

git clone https://github.com/CECADBioinformaticsCoreFacility/Advanced_R_course_2026.git


Slides Directly

https://cecadbioinformaticscorefacility.github.io/Advanced_R_course_2026/

Session 1 :: Introduction

Best Practices for RNA-Seq Analysis

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

Best Practices : Experimental Design

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

style A fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

What scientific questions am I interested in? What experimental design will best address my questions?

  • Library Type
    • target RNA (e.g., whole transcriptome, mRNA, small RNA)
    • preparation method (e.g., stranded, non-stranded, poly(A)-selected)
    • sequencing type (e.g., single-end, paired-end)
  • Biological Conditions
    • Control vs Treatment
    • Time Points
  • Replicates
    • Biological Replicates
    • Technical Replicates

Important

Always consult with a bioinformatician during the experimental design phase!

Best Practices : RNA preparation

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

style B fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

How can I control biases during RNA preparation?

  • Randomization in sample selection
  • RNA extraction protocols
  • RNA Fragmentation
  • RNA integrity assessment
  • Avoiding contamination
  • Sample storage and handling

Best Practices : Library Generation

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

style C fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

Is my Library good enough?

  • Multiplexing
  • Spike-ins
  • Read Length
  • Read Depth
  • QC
    • RIN Score
    • RNA Concentration
    • 28S/18S Ratio
    • fragment size distribution
  • Tools: Bioanalyzer, TapeStation, Qubit

Best Practices : Sequencing

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

style D fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

Which sequencing platform should I use?

  • Sequencing Platform
    • Illumina
    • PacBio
    • Oxford Nanopore

Best Practices : QC of Raw Data

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

style E fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

Is my sequencing data good enough?

  • Per Base GC Content
  • Per Sequence GC Content
  • Sequence Length Distribution
  • Sequence Duplication Levels
  • Adapter Content
  • Tools: FastQC, MultiQC

Best Practices : Read Alignment

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

style F fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

How can I ensure accurate read alignment?

  • Read Alignment
  • Reference Genome
  • QC
    • Alignment Rate
    • Coverage Uniformity
    • Duplicate Reads
    • Insert Size Distribution
    • Contamination Check
  • Tools: HISAT2, STAR, Salmon, Kallisto, RSeQC, MultiQC

Best Practices : Quantification

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

style G fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

How can I accurately quantify gene expression?

  • Annotation

  • Quantification

  • Tools: Salmon, Kallisto, featureCounts, RSeQC, MultiQC

Best Practices : Differential Expression Analysis

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

style H fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

How can I identify differentially expressed genes?

  • Normalization
  • Quality Control(sample-level and gene-level)
    • Batch Effect Assessment
    • Sample Outliers
    • Normalization Effectiveness
  • Modeling data
  • Source of variation (Design formula)
  • Shrinking estimates
  • Statistical testing
  • Multiple Testing Correction
  • Tools: DESeq2, edgeR, limma-voom

Best Practices : Functional Profiling

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

style I fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

How can I interpret the biological significance of my results?

  • Over-Representation Analysis (ORA)
  • Gene Set Enrichment Analysis (GSEA)
  • Tools: clusterProfiler, gProfiler, DAVID

Best Practices for RNA-Seq Analysis

flowchart TD
  A[[Hypothesis & Experiment Design]] --> B[[RNA preparation]]
  B --> C[[Library Generation]]
  C --> D[[Sequencing]]
  D --> E[[QC of Raw Data]]
  E --> F[[Read Alignment]]
  F --> G[[Quantification]]
  G --> H[[Differential Expression Analysis]]
  H --> I[[Functional Profiling]]

%% style H fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold
%% style I fill:#228B22,stroke:#333,stroke-width:2px,color:#ffffff,font-weight:bold

  • Users (e.g. PI/Students)
  • Sequencing Provider(e.g. CCG)
  • Initial Analysis Pipeline (e.g. nf-core/rnaseq)
  • Downstream Analysis (e.g. This Course)

Directory structure and Files

RNA-Seq_ProjectName/
├── data/
│ ├── raw_data/
│ └── counts_data/          
│
├── results/
│ ├── qc/                   
│ ├── differential_expression/  
│ └── functional_profiling/     
│
├── reports/                    
├── scripts/                    
├── R/                          
├── logs/                       
└── README.md

Aligned reads files (BAM/SAM format)

counts_data/ : Gene expression counts matrix

Session 1 Summary

Key Takeaways

  • RNA-Seq analysis is a multi-step process that requires careful planning and execution.

  • Best practices at each step, from experimental design to functional profiling, are crucial for obtaining reliable and meaningful results.

  • Quality control is essential at multiple stages to ensure data integrity and accuracy.

  • Collaboration with bioinformaticians and sequencing providers can enhance the success of RNA-Seq.

  • A well-organized directory structure and clear documentation facilitate reproducibility and ease of analysis.

Quiz Time!

Session 1 Summary

Key Takeaways

  • RNA-Seq analysis is a multi-step process that requires careful planning and execution.

  • Best practices at each step, from experimental design to functional profiling, are crucial for obtaining reliable and meaningful results.

  • Quality control is essential at multiple stages to ensure data integrity and accuracy.

  • Collaboration with bioinformaticians and sequencing providers can enhance the success of RNA-Seq.

  • A well-organized directory structure and clear documentation facilitate reproducibility and ease of analysis.

Quiz Time!