I have a small snippet of a file I'm working with:
ENSDARG00000032737 ENSDARP00000120731 ENSDARG00000032737 ENSDARP00000049290 ENSDARG00000061051 ENSDARP00000081062 ENSDARG00000061051 ENSDARG00000061051 ENSDARP00000129708
I only want to print the first instance of each unique value in the first column and the corresponding value in the second column, so my desired output would be:
ENSDARG00000032737 ENSDARP00000120731 ENSDARG00000061051 ENSDARP00000081062
Is there a simple way to accomplish this with awk or uniq or something similar?
Any help would be appreciated.