ribosomeprofiling / ribor

R interface for .ribo files
4 stars 1 forks source link

(Original) Region Boundaries #16

Open hakanozadam opened 3 years ago

hakanozadam commented 3 years ago

The function, get_region_coordinates, returns the coordinates of the regions after incorporating 5' and 3' UTR junctions. Though sometimes, the users need the original region boundaries.

New proposal is as follows:

  1. Let's keep the function get_region_coordinates as is for back-compatibility reasons.
  2. Let's introduce a function called get_internal_region_coordinates that provides the exact functionality of get_region_coordinates. We can provide and encourage this in the documentation of the coming version / release.
  3. Let's implement a function called get_original_coordinates that provides the annotated coordinates of the regions. By annotated, we mean the coordinates coming from the originally curated annotation (from GENCODE, UCSC, etc.) where CDS region starts with the start codon ATG.