This is a test version of Biostars. For the public version, visit https://www.biostars.org.
understanding the data from the ucsc table browser

im trying to find the intron length distribution of the hg18 assembly downloaded from the table browser.the refseq file has the following columns in iti calculated gene length by txstart-txend and made a plot of the distribution..however i need to find the intron length .

"bin" "name" "chrom" "strand" "txStart" "txEnd" "cdsStart" "cdsEnd" "exonCount" "exonStarts" "exonEnds" "score" "name2" "cdsStartStat" "cdsEndStat" "exonFrames"

gene genome genome browser introns r

1 answer

I need to find the intron length from this data.

length of ith intron:

intronLength +=  $exonStarts[ith+1] -  $exonEnds[ith]  )

Log in to answer this question.