code: def lastz_to_blast(row):
      
      atoms = row.strip().split("\t")
      name1, name2, coverage, identity, nmismatch, ngap, \
              start1, end1, strand1, start2, end2, strand2, score = atoms
      identity = identity.replace("%", "")
      hitlen = coverage.split("/")[1]
      score = float(score)
      same_strand = (strand1 == strand2)
      if not same_strand:
          start2, end2 = end2, start2
  
      evalue = blastz_score_to_ncbi_expectation(score)
      score = blastz_score_to_ncbi_bits(score)
      evalue, score = "%.2g" % evalue, "%.1f" % score
      return "\t".join((name1, name2, identity, hitlen, nmismatch, ngap, \
              start1, end1, start2, end2, evalue, score))
docs: Convert the lastz tabular to the blast tabular, see headers above
      Obsolete after LASTZ version 1.02.40