codes to get genomic ranges for RNA data