This is a test version of Biostars. For the public version, visit https://www.biostars.org.
distances betweeen my SNV and nearest exon

Hello everyone.

I want to calculate the distances between detected intronic SNVs and nearest exons ( upstream/downstream ).

However, I can do it only with very computationally-costful way.

Does anyone know more simple way?

Any helps will be appretiated. Thank you.

exome annotation snp

1 answer

You could do this with GenomicRanges in R by using the distanceToNearest() function, which will result in the values for all of the SNPs at once.

Excellent! Thank you very much!

I got the way to measure the distance.

Log in to answer this question.