bash
ls -l Share/mapping/RNAseq*bamDESeq2
RNA-seq data was published in Nuño-Cabanes et al., Scientific Data 2020
Control RNA-seq @ 30 C:
SRR9929263SRR9929264SRR9929273SRR9929282Heat shock RNA-seq @ 39 C, 20 min: SRR2045248 & SRR2045249
SRR9929271SRR9929265SRR9929280SRR9929274Share/mapping directory.bash
ls -l Share/mapping/RNAseq*bambash
wc -l Share/genome/R64-1-1.gtf
head Share/genome/R64-1-1.gtf
cut -f3 Share/genome/R64-1-1.gtf | sort | uniq -cfeatureCounts help to understand the different options available.featureCounts options specific to paired-end reads? And to stranded RNA-seq?featureCounts to count the number of mapped fragments over the set of gene annotations.bash
featureCounts --help
featureCounts \
-a Share/genome/R64-1-1.gtf \
-o RNAseq_counts.txt \
-t transcript \
-g gene_name \
-s 2 \
-p \
--countReadPairs \
-P -B -D 10000 -C \
-T 2 \
Share/mapping/RNAseq*R64-1-1.bamCreate a tibble containing the following information for the four RNA-seq samples:
bam fileWT, HS)rep1, rep2, …)featureCounts into R.SummarizedExperiment object.R
library(SummarizedExperiment)
se <- SummarizedExperiment(
assays = list(counts = cnts),
rowRanges = genes,
colData = samples
)DESeq documentation (?DESeq). What type of object does it require? How can you create one?DESeqDataSet object from the RNA counts. Choose your design formula appropriately.DESeq workflowR
library(DESeq2)
dds <- DESeqDataSet(se, design = ~ condition)
dds <- DESeq(dds)results function from DESeq2 package.contrast.