Infer missing UTR features in GFF3 file
Among other things, the canon-gff3 program in the AEGeAn Toolkit infers and prints missing features like UTRs.

$ canon-gff3 &lt; genes.gff3 &gt; genes-with-utrs.gff3