Dear all,

I have a gft file and I want to remove a cenrtaind word in a certain column:

In this case I want to remove in the second column "mRNA." and just to keep CA01g00010 in this column, could you help me with this?

    Pepper1.55ch01  mRNA.CA01g00010 63209   63880

I would like this output  

    Pepper1.55ch01   CA01g00010 63209   63880


Best
    awk -v OFS="\t" -v FS="\t" '{ $2=gensub("^mRNA.", "", 0, $2); print $0; }' your_file > your_modified_file

Edit: removed tab-separated assumption, as I just saw it should treat a gtf, which we all know is tab-separated.