1. Davide Cittaro
  2. trumpet

Commits

dawe  committed 2591bae

weight instead of pairs

  • Participants
  • Parent commits 325c41a
  • Branches default

Comments (0)

Files changed (1)

File scripts/bam2xgmml.py

View file
  • Ignore whitespace
     id1 = node1[mask][x]
     id2 = node2[mask][x]
     options.outfile.write( '  <edge label="%d" id="%d" source="%d" target="%d">\n' % (x, x, id1, id2))
-    options.outfile.write( '    <att name="pairs" type="integer" value="%s"/>\n' % weight[mask][x])
+    options.outfile.write( '    <att name="weight" type="integer" value="%s"/>\n' % weight[mask][x])
     options.outfile.write( '  </edge>\n')
 
   options.outfile.write( "</graph>\n")