I have a file with Ensembl gene and Transcript IDs :
I want to retain only the first entires from both the column so that the output looks like this:
ENSG00000003137 ENST00000001146 ENSG00000003402 ENST00000309955
and ignore the rest.
Have tried awk
awk '!a[$1$2]++' and versions of it. Nothing works.
Kindly suggest some way to get the desired output.