Is there a way to keep coding and remove non-coding regions in a GTF file? UTRs are non-coding and CDSs are coding, so the regions are [usually] well-defined, but some tools look at exons. However, exons can be both. Is there a way to break up and extract coding exons?
The easiest solution I can think of is to remove all UTRs and exons, then copy CDSs and rename them exon. Not sure if I may be overlooking something there.