title: How to split values in a column into separate column
body: <p>My tab-delimited file looks like this:</p>
  
  <pre><code>  ID   Pop  snp1  snp2  snp3  snp4  snp5
    AD62  1  0/1   1/1   .    1/1   0/.
    AD75  1  0/0   1/1   .    ./0   1/0
    AD89  1  .     1/0   1/1  0/0   1/.
  </code></pre>
  
  <p>I want to separate the columns (starting from column 3) so that the values separated by the "/" character are delimited into a column of its own. However there are also columns whereby the values are missing (they only contain the "." character) and I want this to be treated as though it was "./." so that the two "." characters are then divided into their own columns. For example:  </p>
  
  <pre><code>  ID   Pop  snp1     snp2     snp3     snp4     snp5
    AD62  1    0    1   1    1   .    .   1    1   0    .
    AD75  1    0    0   1    1   .    .   .    0   1    0
    AD89  1    .    .   1    0   1    1   0    0   1    .
  </code></pre>
  
  <p>Thanks</p>