Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Let's recap what we learned yesterday:

We looked at finding differentially expressed genes when we are not interested in novel genes.

Image Removed

...

mapping reads to the genome and transcriptome.

Image Added


       1. Unspliced mapping: BWA. We used BWA to map reads from two conditions C1 and C2 to our transcriptome.

    • Unspliced mappers are typically faster (particularly those using BWT).
    • Unspliced mappers will miss/misalign reads that span exon-exon junctions.
    • Unspliced mappers are best when mapping RNA-Seq data directly to the transcriptome.

2. Spliced mapping: HISAT2/STAR. We used STAR to map reads from two conditions C1 and C2 to our genome.

    • Spliced mapping is more conducive for rna-seq data.
    • Spliced alignments look different from unspliced alignments in their cigar scores ("N")

...

  1. Inputs: mapping output (sam or bam file) and annotation file (gff/gtf file)
  2. Bedtools- for simple counting. Any time a read overlaps a gene, it's counted towards that gene.
  3. HtSeq - for fine tuned counting. You can choose how you want to count reads that map only partially to a gene, that map to multiple genes etc.  

    Code Block
    titleOutput File Example
    FBgn0000008 304 311 273 264 296 296
    FBgn0000014 47 40 39 36 63 43
    FBgn0000015 41 35 28 22 35 35
  4. Output:  Gene id, following by raw counts for that gene.

...

How to take the gene counts for different conditions and compare then to identify genes that are differentially expressed?

  1. DESeq, edgeR, DEXSeq
  2. normalize, calculate variance, statistical test, output genes along with fold change, p value, FDR 
  3. R- how to install packages, run R commands and plot graphs.

We learned some unix as well!

...

3. Pseudomapping using Kallisto: We used Kallisto to quantify transcripts using reads from two conditions C1 and C2.

    • When you want to quantify known transcripts, kallisto is the fastest way to go. It skips the alignment step.

BACK TO COURSE OUTLINE