I'm wondering if someone can check my work using STAR to map and StringTie for assembly and quantification. My data is from RNAseq on 29 timecourse samples, ~60M PE 100bp reads/sample. My initial goal is to discover novel isoforms that are present in my timecourse compared to the genome annotation file: Mus_musculus.GRCm38.100.gtf
Can someone please confirm that my merged.stats make sense and there aren't any red flags in the results (or glaring problems with the pipeline)? Also, help to determine how many novel transcripts are present in my samples and not in the reference? I see novel introns and novel exons and novel loci, but not sure how to calculate how many novel transcripts are there. Maybe this is a dumb question.....Help!
STAR to generate a genome index
STAR --runThreadN 40 --runMode genomeGenerate --genomeDir star --genomeFastaFiles genome/GRCm38.primary_assembly.genome.fa --sjdbOverhang 99 --sjdbGTFfile genes/Mus_musculus.GRCm38.100.gtf
Aligned (total of 29 timecourse samples)
STAR --genomeDir star --readFilesCommand zcat --readFilesIn samples/2_Forward.fq.gz samples/2_Reverse.fq.gz --outSAMtype BAM SortedByCoordinate --limitBAMsortRAM 16000000000 --outSAMunmapped Within --twopassMode Basic --outFilterMultimapNmax 1 --quantMode TranscriptomeSAM --outSAMstrandField intronMotif --runThreadN 40 --outFileNamePrefix "2_star/"
Use StringTie assemble transcripts for each sample (named WT*.gtf, final total of 29 .gtf files):
stringtie-2.1.4/stringtie -p 40 -G genes/Mus_musculus.GRCm38.100.gtf -o WT2.gtf 2_star/Aligned.sortedByCoord.out.bam
Merge transcripts from all 29 samples:
stringtie-2.1.4/stringtie --merge -p 40 -G genes/Mus_musculus.GRCm38.100.gtf -o adipo_stringtie_merged.gtf mergelist.txt
Examine how the transcripts compare to the reference annotation
gffcompare-0.12.1/gffcompare -r genes/Mus_musculus.GRCm38.100.gtf -G -o merged adipo_stringtie_merged.gtf
Contents of merged.stats
Summary for dataset: adipo_stringtie_merged.gtf
Query mRNAs : 171578 in 67086 loci (143536 multi-exon transcripts)
(26390 multi-transcript loci, ~2.6 transcripts per locus)
Reference mRNAs : 141881 in 53534 loci (114993 multi-exon)
Super-loci w/ reference transcripts: 53533
-----------------| Sensitivity | Precision |
Base level: 100.0 | 67.5 |
Exon level: 100.0 | 73.3 |
Intron level: 100.0 | 66.8 |
Intron chain level: 100.0 | 80.1 |
Transcript level: 100.0 | 82.7 |
Locus level: 100.0 | 79.8 |
Matching intron chains: 114993
Matching transcripts: 141881
Matching loci: 53534
Missed exons: 0/446708 ( 0.0%)
Novel exons: 162803/610424 ( 26.7%)
Missed introns: 0/284950 ( 0.0%)
Novel introns: 141429/426396 ( 33.2%)
Missed loci: 0/53534 ( 0.0%)
Novel loci: 13553/67086 ( 20.2%)
Total union super-loci across all input datasets: 67086
171578 out of 171578 consensus transcripts written in merged.annotated.gtf (0 discarded as redundant)
rna-seq
star
stringtie
gffcompare
novel isoforms