title: Extract multiple columns and add null character in between
body: <p>I have a file with the following format :</p>
  
  <pre><code>TRINITY_DN119001_c0_g1_i1   4   *   0   0   *   *   0   0   GAGCCTCCCTCATGAATGTACCAGCATTTACCTCATAAAGAGCT    *   XO:Z:NM 
  TRINITY_DN119037_c0_g1_i1   4   *   0   0   *   *   0   0   TAAGATTAGGTTGTATTCCAG   *   XO:Z:NM 
  TRINITY_DN119099_c0_g1_i1   4   *   0   0   *   *   0   0   AGGCAGGCGCTAAACGATTTGCATTTCTCTAATGATTACGCCAG    *   XO:Z:NM
  </code></pre>
  
  <p>I am trying to extract the 1st and 10th column and store it in the following format(output file) :</p>
  
  <pre><code>&gt;TRINITY_DN119099_c0_g1_i1  
  GAGCCTCCCTCATGAATGTACCAGCATTTACCTCATAAAGAGCT    
  &gt;TRINITY_DN119037_c0_g1_i1
  TAAGATTAGGTTGTATTCCAG
  &gt;TRINITY_DN119001_c0_g1_i1  
  AGGCAGGCGCTAAACGATTTGCATTTCTCTAATGATTACGCCAG
  </code></pre>
  
  <p>I am doing the following code for now : </p>
  
  <pre><code>cut -d "  " -f1,10 in.txt &gt; out.txt
  sed 's/^/&gt;/' out.txt
  </code></pre>
  
  <p>but,unable to get how to get above output.</p>