(the load() method)
(the load() method)
This method is used instead of the GeneAnnotationReader.loadRefFlat method from Picard, since this method ignores genes which overlap exactly with another gene (only one of the two is returned).
Reads the refFlat file and does some sanity/formatting checks.
This method needed to be copied because it was private and, thus, couldn't be imported.
This method needed to be copied because it was private and, thus, couldn't be imported.
This method constructs a Gene object from a set of refFlat rows.
This method needed to be copied because it was private and, thus, couldn't be imported.
This method needed to be copied because it was private and, thus, couldn't be imported.
This method constructs a Transcript object from a refFlat line, which gets added to gene.
Original comment: Conversion from 0-based half-open to 1-based inclusive intervals is done here.