another awk solution:
$ awk -v OFS="\t" -F "\t" '{sub("^[a-zA-Z]+\.","",$2)}1' test.txt
$ awk -v OFS="\t" -F "\t" '{$2=substr($2,6)}1' test.txt
Pepper1.55ch01 CA01g00010 63209 63880
with gawk installed:
$ awk -v OFS="\t" -F "\t" '{sub("^[a-zA-Z]{4}.","",$2)}1' test.txt
• 0 views
•
link
In the case provided it can also be:
sed "s/\tmRNA\./\t/g" example.gtf.