Extract the information we need from the output file

We need to extract the information we need from the output file and create a GTF file which will be out output file:

Where the primers bind in which transcript