title: to read a blat alignment file and print all the position in the alignment
body: <p>hello everyone i have some data form the blat tool which gives output of the alignment something like this: </p>
  
  <pre><code>contig30
  chromosome 1
  000000001 gctctgc.tctggggacgctcgcagcgctcggcgcctggcccag 000000043
  &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ||||||| |||||||||||||||||||||||||||||||||||| &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
  123368567 gctctgcatctggggacgctcgcagcgctcggcgcctggcccag 123368610
  
  000000044 tttctttgacaatgtctaccgttcatgaaattctgtgcaagctcagcttg 000000093
  &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; |||||||||||||||||||||||||||||||||||||||||||||||||| &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
  123380141 tttctttgacaatgtctaccgttcatgaaattctgtgcaagctcagcttg 123380190
  
  contig35
  chromosome 1
  000000001 gctctgc.tctggggacgctcgcagcgctcggcgcctggcccag 000000043
  &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ||||||| |||||||||||||||||||||||||||||||||||| &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
  123368567 gctctgcatctggggacgctcgcagcgctcggcgcctggcccag 123368610
  </code></pre>
  
  <p>I have a text file of this data.</p>
  
  <p>What I want to do is print the output in the following way:</p>
  
  <pre><code>contig 30 chromosome 1 000000001-123368567
  contig 30 chromosome 1 000000002-123368568
  contig 30 chromosome 1 000000003-123368569
  
   -
   -
   upto
   contig 30 chromosome 1 000000093-123380190
  </code></pre>
  
  <p>and similary for the next  entry.
  I have multiple entries of this type in my input text file.</p>