lib/big_simon/runners.rb in big_simon-0.2.1 vs lib/big_simon/runners.rb in big_simon-0.2.2
- old
+ new
@@ -86,10 +86,10 @@
Rya::AbortIf.assert all_seq_lengths[virus]
Rya::AbortIf.assert all_seq_lengths[host]
combined_seq_length = all_seq_lengths[virus] + all_seq_lengths[host]
- score = ary[3].to_i / combined_seq_length * 1000
+ score = ary[3].to_i / combined_seq_length.to_f * 1000
# unless hit_table[virus].has_key? host
# hit_table[virus][host] = -1
# end