title: Remove duplicates and keep line which contains max value from one column - LINUX
body: <p>everyone! </p>
  
  <p>I'd like to remove duplicates and keep lines with the highest value from one column (4th column) in a file with 4 fields. I must do this in a Linux server.</p>
  
  <p><em>Before</em></p>
  
  <pre><code>gene  subj  e-value ident
    g1    h1    0.05   75.5
    g1    h2    0.03   60.6 
    g2    h7    0.00   80.5
    g2    h9    0.00   50.3
    g2    h4    0.03   90.7
    g3    h5    0.10   30.5
    g3    h8    0.00   76.8
    g4    h11   0.00   80.7
  </code></pre>
  
  <p><em>After</em></p>
  
  <pre><code>gene  subj  e-value ident
    g1    h1    0.05   75.5
    g2    h4    0.03   90.7
    g3    h8    0.00   76.8
    g4    h11   0.00   80.7
  </code></pre>
  
  <p>Thank you so much and I'm sorry if I asked something repeated! But I didn't find an answer for my problem. </p>