Entering edit mode
2.4 years ago
Lillian
•
0
Recently I'm studying alternative splicing events on RNA-seq.
I'm wondering if there is a way or tools to retrieve the intron sequence of the skip exon events.
I have the fastq files, and also I have already done SUPPA to get the position of the skip exon events.
Here is the picture of skip exon events:
And I'm wondering if I can get the sequence of those intron(pink line!) maybe using getSeq() or other tools?
If you load your annotation file as a
TxDb
object in R, you can useGenomicFeatures::intronsByTranscripts
to get the genomic coordinates of all introns, and then can subset this to get the introns of interest.To get the sequences for those introns use
Rsamtools::FaFile
to open your genome assembly file, andgetSeq
to retrieve the sequences for the introns you previously subset.Hi! Thank you for answering my questions!
I have tried to use the
GenomicFeatures::intronsByTranscripts
, however, I'm I bit confused about the output.The output give me a list of Granges objects. I'm wondering what is this list mean, is that in each Granges objects, it shows the intron position in each chromosome? For example, there is an intron sequence in 12228-12612 ?
I'm trying to find the intron sequence with the Skip exon events.
For example, I have an event :
and according to SUPPA2:
I know that the skip exon position is here: 167012369:167012511 (I usually use
getSeq()
to get the exon sequence)And the intron sequence I want to get are in the position 167005397-167012369 and 167012511-167016222.
So if I want to get the sequence should I use these two position to match the intron position in the
GenomicFeatures::intronsByTranscripts
?Thank you!