Hi All:
It is very excited for my very first post here. I have a simple question: Given a genomic interval, like:
chrom start end value strand
chr1 564495 564594 248 +
How to get the related info for this interval in R ?
I wish to know the 1)gene, 2)sequence and 3)seq-type (CDS or 3'UTR)
Thanks in advance!
Best wishes!
Thank you Alex!
I am trying. Is there any R package could do this job, without downloading annotation file?
Yes,
system()
will work with the commands I showed, without downloading the annotation file. By using standard UNIX streams and piping data from one command to the next, you do not store the GTF file locally, only the mapping result between it and your intervals-of-interest, which should not be very much larger than your intervals file.