A function to extract retained introns.
Reading and writing gene features to/from the output.