OndrejSladky / kmercamel

KmerCamel🐫 provides implementations of several algorithms for efficiently representing a set of k-mers as a masked superstring.
MIT License
12 stars 2 forks source link

computation is not reproducible even on the same computer #28

Closed karel-brinda closed 1 year ago

karel-brinda commented 1 year ago

even when running on the same computer, I'm getting different results each run (different superstrings)

is this fixable or not?

karel-brinda commented 1 year ago

I see why:

1c1
< >superstring l=2038842 k=12 k_mers_cnt=1816719 seq_l=2221315 compression_coeff=1.12227 t=1493ms
---
> >superstring l=2038842 k=12 k_mers_cnt=1816719 seq_l=2221315 compression_coeff=1.12227 t=1525ms

Would it be possible to remove the timing information from the output to keep it reproducible?

When time measurements are needed, they can be done by time,