title: Adding numbers of a field
body: <p>I am having a text file with multiple rows and two or four column. If two column then  1st column is id and 2nd is number and if four column 1st and 2nd is id and 3rd and 4th is number. For the four column rows 2nd and 4th column cells can have multiple entry separated by comma. If there is two column only I want to print them as it is; but if there is four column I want to print only the 1st column id and in the second column I want the sum of all the number present in 3rd and 4th column for that row.</p>
  
  <h1>Input</h1>
  
  <pre><code>    CG  AT,AA,CA    17  1,1,1
      GT  14
      TB  AC,TC,TA,GG,TT,AR,NN,NM,AB,AT,TT,TC,CA,BB,GT,AT,XT,MT,NA,TT         552 6,1,1,2,2,1,2,1,5,3,4,1,2,1,1,1,3,4,5,4
      TT  CG,GT,TA,GB 105 3,4,1,3
  </code></pre>
  
  <h1>Expected Output</h1>
  
  <pre><code>    CG  20
      GT  14
      TB  602
      TT  116
  </code></pre>