title: awk splitting into two fields in output
body: <p>The below <code>awk</code> inserts <code>inheritance</code> in <code>$10</code> and defaults the value in each line to <code>.</code> The problem is that it seems to be splitting the old <code>$10</code> into two separate fields causing the data to shift.</p>
  
  <p>For example, <code>$10</code> bedore the <code>awk</code> was <code>nonsynonymous SNV</code> in and after it is split into two columns and I am not sure why or how to fix it.</p>
  
  <p><strong>file</strong></p>
  
  <pre><code>R_Index Chr Start   End Ref Alt Func.IDP.refGene    Gene.IDP.refGene    GeneDetail.IDP.refGene  ExonicFunc.IDP.refGene  AAChange.IDP.refGene
  1   chr1    949608  949608  G   A   exonic  ISG15   .   nonsynonymous SNV   ISG15:NM_005101.3:exon2:c.248G&gt;A:p.S83N
  22  chr1    1650845 1650845 G   A   intergenic  DVL1,GABRD  dist=366353;dist=299923 .   .
  23  chr1    1957037 1957037 T   C   exonic  GABRD   .   synonymous SNV  GABRD:NM_000815.4:exon4:c.330T&gt;C:p.G110G
  </code></pre>
  
  <p><strong>current output</strong></p>
  
  <pre><code>R_Index Chr Start   End Ref Alt Func.IDP.refGene    Gene.IDP.refGene    GeneDetail.IDP.refGene  Inheritence ExonicFunc.IDP.refGene  AAChange.IDP.refGene
  1   chr1    949608  949608  G   A   exonic  ISG15   .   .   nonsynonymous   SNV ISG15:NM_005101.3:exon2:c.248G&gt;A:p.S83N
  22  chr1    1650845 1650845 G   A   intergenic  DVL1,GABRD  dist=366353;dist=299923 .   .   .
  23  chr1    1957037 1957037 T   C   exonic  GABRD   .   .   synonymous  SNV GABRD:NM_000815.4:exon4:c.330T&gt;C:p.G110G
  </code></pre>
  
  <p><strong>awk</strong></p>
  
  <pre><code>awk '{$10=NR==1?"Inheritence" OFS $10:"." OFS $10} 1' OFS="\t" file &gt; output
  </code></pre>
  
  <p>edit <code>awk</code> print</p>
  
  <pre><code>awk '{print $11}' output
  ExonicFunc.IDP.refGene
  nonsynonymous
  .
  synonymous
  
  awk '{print $12}' output
  AAChange.IDP.refGene
  SNV
  .
  SNV
  </code></pre>