DiBiG
ICBR BioinformaticsPowered by Actor, v1.0

RNAseq - Alignment and differential expression analysis

Title: GE7176
Project: (none)
Started on: 1/4/2024 15:02:26
Hostname: login7.ufhpc
Run directory: /blue/licht/runs/Evans-MDS/GE7176/GE7176
Configuration GE7176.conf
Table of contents:
  1. Input data
  2. Trimming and quality control
  3. Alignment to transcriptome
  4. Genome coverage
  5. Expression analysis - quantification
  6. Differential expression - protein-coding genes
  7. Differential expression - all genes
  8. Differential expression - isoform level
  9. Differential expression - combined files
  10. MultiQC report
  11. UCSC hub
  12. Methods summary
1. Input data
The following table summarizes the samples, conditions, and contrasts in this analysis. A readset is either a single fastq file or a pair of fastq files (for paired-end sequencing).

CategoryData
Summary of input data
Reference genome:mm10
Experimental conditions:JX-A, JX-B
Contrasts:JX-A vs. JX-B
Number of samples4
Sequencing data data
Total number of reads:483,574,308
Average reads per sample:120,893,577
Table 1. Summary of input data



ConditionSampleNumber of reads% Reads
JX-ASJX-1115,017,52623.78%
SJX-2129,296,38826.74%
JX-BSJX-3125,986,75926.05%
SJX-4113,273,63523.42%
Table 2. Number of reads in each sample.

2. Trimming and quality control
The input sequences were trimmed using trimmomatic. Quality control was performed before and after trimming using FastQC. The following table provides links to the quality control reports before and after trimming, as well as the number of reads in the trimmed files.

SampleReadsetReads before trimQC before trimReads after trimQC after trim% Retained
SJX-1SJX-1_r19,263,928JX-1_S1_L003_R1_001
JX-1_S1_L003_R2_001
8,823,034JX-1_S1_L003_R1_001.trim.paired
JX-1_S1_L003_R2_001.trim.paired
95.24%
SJX-1_r2105,753,598JX-1_S1_L004_R1_001
JX-1_S1_L004_R2_001
103,915,934JX-1_S1_L004_R1_001.trim.paired
JX-1_S1_L004_R2_001.trim.paired
98.26%
SJX-2SJX-2_r111,790,601JX-2_S2_L003_R1_001
JX-2_S2_L003_R2_001
11,096,417JX-2_S2_L003_R1_001.trim.paired
JX-2_S2_L003_R2_001.trim.paired
94.11%
SJX-2_r2117,505,787JX-2_S2_L004_R1_001
JX-2_S2_L004_R2_001
115,385,395JX-2_S2_L004_R1_001.trim.paired
JX-2_S2_L004_R2_001.trim.paired
98.20%
SJX-3SJX-3_r112,808,900JX-3_S3_L003_R1_001
JX-3_S3_L003_R2_001
12,120,179JX-3_S3_L003_R1_001.trim.paired
JX-3_S3_L003_R2_001.trim.paired
94.62%
SJX-3_r2113,177,859JX-3_S3_L004_R1_001
JX-3_S3_L004_R2_001
111,351,891JX-3_S3_L004_R1_001.trim.paired
JX-3_S3_L004_R2_001.trim.paired
98.39%
SJX-4SJX-4_r110,057,238JX-4_S4_L003_R1_001
JX-4_S4_L003_R2_001
9,573,639JX-4_S4_L003_R1_001.trim.paired
JX-4_S4_L003_R2_001.trim.paired
95.19%
SJX-4_r2103,216,397JX-4_S4_L004_R1_001
JX-4_S4_L004_R2_001
101,564,605JX-4_S4_L004_R1_001.trim.paired
JX-4_S4_L004_R2_001.trim.paired
98.40%
Table 3. Number of reads in input files and links to QC reports.

The following two tables report the number of reads before and after QC in each sample and in each condition.

SampleReads before QCReads after QC% Retained
SJX-1115,017,526112,738,96898.02%
SJX-2129,296,388126,481,81297.82%
SJX-3125,986,759123,472,07098.00%
SJX-4113,273,635111,138,24498.11%
Table 4. Number of reads in each sample before and after QC.



ConditionReads before QCReads after QC% Retained
JX-A244,313,914239,220,78097.92%
JX-B239,260,394234,610,31498.06%
Table 5. Number of reads in each condition before and after QC.

3. Alignment to transcriptome
The input sequences were aligned to the mm10 transcriptome using 2.7.9a. The following table reports the number of alignments to the genome and the transcriptome for each sample. Please note that the number of alignments will in general be higher than the number of reads because the same read may align to multiple isoforms of the same gene. The WIG files can be uploaded to the UCSC Genome Browser as custom tracks.

SampleInput readsGenome alignmentsGenome alignment rateTranscriptome alignmentsTranscriptome alignment rateAlignment report
SJX-1112,738,968223,114,8451.9891,253,63380.94%SJX-1.star/Log.final.out
SJX-2126,481,812263,012,0142.08105,978,37183.79%SJX-2.star/Log.final.out
SJX-3123,472,070256,632,9932.08104,771,09884.85%SJX-3.star/Log.final.out
SJX-4111,138,244230,897,5322.0895,440,75485.88%SJX-4.star/Log.final.out
Table 6. Number of alignments to genome and transcriptome.

4. Genome coverage
The following table reports the overall and effective genome coverage in each sample. The Total nt column reports the total number of nucleotides sequenced, i.e. the number of aligned reads times the length of each read. Coverage is this number divided by the size of the genome. Effective bp reports the number of bases in the genome having coverage greater than 5, and the Effective Perc column shows what percentage this is of the genome size. Note that, especially in the case of RNA-seq, the effective genome size may be much smaller than the full size. Eff Coverage is the average coverage over the effectively covered fraction of the genome.

NameTotal ntCoverageEffective bpEffective PercEff Coverage
SJX-1186,052,225,36468.30602,834,40022.10%308.63
SJX-2233,881,816,66685.85616,194,39622.60%379.56
SJX-3233,802,702,46585.83588,099,18021.60%397.56
SJX-4219,936,020,08780.73608,625,50622.30%361.37
Table 7. Genome coverage by sample.

The following table reports the overall and effective genome coverage in each condition.

NameTotal ntCoverageEffective bpEffective PercEff Coverage
JX-A404,179,690,828148.33730,426,97326.80%553.35
JX-B434,878,602,904159.60710,871,09826.10%611.75
Table 8. Genome coverage by condition

File: GE7176.sample.cov.xlsx
Size: 19.08 kB
Description: Per-chromosome coverage data, by sample.

File: GE7176.cond.cov.xlsx
Size: 12.46 kB
Description: Per-chromosome coverage data, by condition.

5. Expression analysis - quantification
Gene and transcript expression values were quantified using RSEM v1.3.1. The following files contain the raw FPKM values for all genes/transcripts in all samples. NOTE: these values are not normalized yet, please apply the appropriate normalization before using them in analysis.
File: genes.rawmatrix.csv
Size: 2.45 MB
Description: Matrix of FPKM values for all genes in all samples.

File: transcripts.rawmatrix.csv
Size: 6.91 MB
Description: Matrix of FPKM values for all transcripts in all samples.

File: genes.xpra.txt
Size: 1.67 MB
Description: Counts table suitable for ExpressAnalyst.

The following scatterplots show the level of similarity between replicates of the same condition.


Principal Component Analysis on raw (un-normalized) expression data. Click on the thumbnail to display the full-size image.

(png format, 73.65 kB)


The following image displays the Multi-Dimensional Scaling (MDS) plot for the raw (un-normalized) expression data. Click on the thumbnail to display the full-size image.
6. Differential expression - protein-coding genes
Differential gene expression was analyzed using DESeq2. The following table reports the number of differentially expressed genes in each contrast with abs(log2(FC)) >= 1.0 and FDR-corrected P-value <= 0.05. The files under the Table heading contain the log2(FC) and P-value of all significant genes, while the files under the Expressions heading contain normalized expression values for the significant genes in all replicates of the two conditions being compared. The lists of differentially expressed genes for all contrasts can also be downloaded as a single Excel file using the link below.

TestControlTotalOverexpressedUnderexpressedTableExpressions
JX-AJX-B633JX-A.vs.JX-B.codinggeneDiff.csvJX-A.vs.JX-B.gmatrix.csv
Table 9. Results of gene-level differential expression analysis.

File: GE7176-codingdiff.xlsx
Size: 5.95 kB
Description: Excel file containing differentially expressed genes for all contrasts (one sheet per contrast). Only includes protein-coding genes.

File: GE7176-allcodingdiff.xlsx
Size: 822.23 kB
Description: Excel file containing differential expression values for all tested genes in all contrasts (one sheet per contrast). Only includes protein-coding genes. Note: genes with very low average expression in all conditions were removed.

File: GE7176.g.deseq2norm.xlsx
Size: 1.09 MB
Description: Excel file containing normalized (DESeq2) expression values for all protein-coding genes in all conditions. Note: genes with very low average expression in all conditions were removed.


Principal Component Analysis on normalized expression data. Click on the thumbnail to display the full-size image.

(png format, 82.44 kB)


The following image displays the Multi-Dimensional Scaling (MDS) plot for the normalized expression data. In this plot, relative distances between samples reflect the similarity of their gene expression profiles. Ideally, replicates of the same condition should be close together, and well separated from other conditions.

Volcano plots for all contrasts. Use the menu to select a contrast.

7. Differential expression - all genes
The following table reports results from the same differential analysis as above, but includes all biotypes instead of coding genes only.

TestControlTotalOverexpressedUnderexpressedTableExpressions
JX-AJX-B1275JX-A.vs.JX-B.geneDiff.csvJX-A.vs.JX-B.gmatrix.csv
Table 10. Results of gene-level differential expression analysis (all biotypes).

File: GE7176-genediff.xlsx
Size: 6.49 kB
Description: Excel file containing differentially expressed genes for all contrasts (one sheet per contrast). Includes all genes and pseudo-genes.

File: GE7176-allgenediff.xlsx
Size: 1019.85 kB
Description: Excel file containing differential expression values for all genes in all contrasts (one sheet per contrast). Includes all genes and pseudo-genes.

File: GE7176-allExpressions.xlsx
Size: 1.56 MB
Description: Excel file containing normalized (RSEM) expression values for all genes in all conditions.

8. Differential expression - isoform level
The following table reports the number of differentially expressed isoforms in each contrast with abs(log2(FC)) >= 1.0 and FDR-corrected P-value <= 0.05. The lists of differentially expressed isoforms for all contrasts can also be downloaded as a single Excel file using the link below.

TestControlTot isoformsOverexpressedUnderexpressedTableExpressions
JX-AJX-B376170206JX-A.vs.JX-B.isoDiff.csvJX-A.vs.JX-B.imatrix.csv
Table 11. Results of isoform-level differential expression analysis.

File: GE7176-isodiff.xlsx
Size: 37.85 kB
Description: Excel file containing differentially expressed isoforms for all contrasts (one sheet per contrast).

File: GE7176-allisodiff.xlsx
Size: 2.56 MB
Description: Excel file containing differential expression values for all isoforms in all contrasts (one sheet per contrast).

9. Differential expression - combined files
The following file contains merged differential expression data. The first sheet contains fold changes for all genes that were found to be differentially expressed in at least one contrast. The second and third sheets contain the same information for coding genes only, and all transcripts.
File: GE7176-merged.allDiff.xlsx
Size: 30.06 kB
Description: Merged fold changes for all differentially expressed genes, coding genes, and transcripts respectively.

10. MultiQC report
MultiQC is a general Quality Control tool for a large number of bioinformatics pipelines. The report on this analysis (generated using MultiQC version 1.12) is available here:

MultiQC report
11. UCSC hub

UCSC Genome Browser: use the previous link to display the data tracks automatically, or copy the the URL https://lichtlab.cancer.ufl.edu/reports/MDS//GE7176/hub/hub.txt and paste it into the "My Hubs" form in this page.

WashU EpiGenome Browser: use the previous link to display the data tracks automatically, or copy the following URL into the "Datahub by URL Link" field: https://lichtlab.cancer.ufl.edu/reports/MDS//GE7176/hub/hub.json.

12. Methods summary

Short reads were trimmed using trimmomatic (v 0.36) [1], and QC on the original and trimmed reads was performed using FastQC (v 0.11.4) [2] and MultiQC [3].

The reads were aligned to the transcriptome using STAR version 2.7.9a [4].

Transcript abundance was quantified using RSEM (RSEM v1.3.1) [5].

Differential expression analysis was performed using DESeq2 [6], with an FDR-corrected P-value threshold of 0.05. The output files were further filtered to extract transcripts showing a 2.0-fold change in either direction. Results were reported for protein-coding genes only, and for all transcript types.


References

  1. Bolger, A. M., Lohse, M., and Usadel, B. (2014). Trimmomatic: A flexible trimmer for Illumina Sequence Data. Bioinformatics, btu170.
  2. https://www.bioinformatics.babraham.ac.uk/projects/fastqc/
  3. Philip Ewels, Mans Magnusson, Sverker Lundin and Max Kaller (2016). MultiQC: Summarize analysis results for multiple tools and samples in a single report. Bioinformatics | doi: 10.1093/bioinformatics/btw354 | PubMed: 27312411
  4. Dobin A, Davis CA, Schlesinger F, Drenkow J, Zaleski C, Jha S, Batut P, Chaisson M, Gingeras TR (2013). STAR: ultrafast universal RNA-seq aligner. Bioinformatics. 29(1):15-21 | doi: 10.1093/bioinformatics/bts635
  5. Li B and Dewey CN (2011). RSEM: accurate transcript quantification from RNA-Seq data with or without a reference genome. BMC Bioinformatics 12:323 | doi: 10.1186/1471-2105-12-323
  6. Love MI, huber W, Anders S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biology, 15,550 (2014). | doi: 10.1186/s13059-014-0550-8



Completed: 1-4-2024@15:02
© 2024, A. Riva, University of Florida.