I have the following tabular separated table:
NM_000057 0
NM_000059 0
NM_000060 0
NM_000061 0
NM_000062 0
NM_000063 0
NM_000063 0
NM_000063 3
NM_000063 2
NM_000063 0
NM_000063 0
NM_000063 0
NM_000064 0
NM_000065 0
NM_000066 0
NM_000067 0
NM_000068 0
NM_000069 0
NM_000070 0
I want to look for the first value, if there are more than one equal, I want to merge it and add the values from the second column. In the example:
NM_000057 0
NM_000059 0
NM_000060 0
NM_000061 0
NM_000062 0
**NM_000063 5**
NM_000064 0
NM_000065 0
NM_000066 0
NM_000067 0
NM_000068 0
NM_000069 0
NM_000070 0
Thank you!