Hello,
I'm a perl newbie and would appreciate your help here.
This is the file I have,
Arm -0.4 1.2 3.2
Bow 0.06 2.3 4.9
Arm 0.1 4.9 31.0
Pix -0.7 45.6 33.0
Gel 1.0 12.0 3.2
Arm 1.1 1.9 3.0
My columns of interest are 1 and 4. I want to uniquify column1 entries based on its largest column 4 value.
The new file should have the following,
Bow 0.06 2.3 4.9
Arm 0.1 4.9 31.0
Pix -0.7 45.6 33.0
Gel 1.0 12.0 3.2
I'm a perl newbie and would appreciate your help here.
This is the file I have,
Arm -0.4 1.2 3.2
Bow 0.06 2.3 4.9
Arm 0.1 4.9 31.0
Pix -0.7 45.6 33.0
Gel 1.0 12.0 3.2
Arm 1.1 1.9 3.0
My columns of interest are 1 and 4. I want to uniquify column1 entries based on its largest column 4 value.
The new file should have the following,
Bow 0.06 2.3 4.9
Arm 0.1 4.9 31.0
Pix -0.7 45.6 33.0
Gel 1.0 12.0 3.2