For example in the below example
I want to remove the duplicate ids from the second column and print only those ids that have the highest value in the third column
MS1199089 PT01000001.1.1 0.63 16.4 0.7 -
MS0068379 PT01000007.1.1 0.96 13.9 0.4 core
MS0950857 PT01000010.1.8 0.1 17.5 0.2 S11
MS0736357 PT01000010.1.8 0.062 18.2 0.5 (Saprolegnia
MS0260587 PT01000010.1.2 0.5 15.4 0.1 VII-activating
MS0402367 PT01000010.1.2 0.6 15.1 0.1 V-activating
MS0416158 PT01000010.1.2 0.65 15 0.1 Callorhinchus
MS0438713 PT01000010.1.3 0.2 18.1 0 TRP3
MS0436466 PT01000010.1.3 0.48 17 0 -
MS0436647 PT01000010.1.3 0.49 16.9 0 Stomatobaculum
MS0438816 PT01000010.1.3 0.59 16.7 0 peptidase
MS0436602 PT01000010.1.3 0.55 16.8 0 Desulfosporosinus
Output should be
MS1199089 PT01000001.1.1 0.63 16.4 0.7 -
MS0068379 PT01000007.1.1 0.96 13.9 0.4 core
MS0950857 PT01000010.1.8 0.1 17.5 0.2 S11
MS0416158 PT01000010.1.2 0.65 15 0.1 Callorhinchus
MS0438816 PT01000010.1.3 0.59 16.7 0 peptidase