TreeToReads icon indicating copy to clipboard operation
TreeToReads copied to clipboard

Reproducible results

Open stevendavis opened this issue 6 years ago • 2 comments

Is there a way to generate identical results when running ttr with identical config files? I'm seeing different results in the seqs_sim.txt, sim.vcf, and var_site_matrix files.

stevendavis avatar Jul 17 '19 19:07 stevendavis

It is possible to set the random seed, whish should give identical results. What random seed was chosen which should be printed out in your log file. But that isn't in the config, you would have to do it here. https://github.com/snacktavish/TreeToReads/blob/1c98db2895aa9812b89d7efb7d8a1c5e475e4282/treetoreads.py#L28 I will update the config file to make it easier to specify the seed.

snacktavish avatar Jul 17 '19 20:07 snacktavish

I added a random seed in the config on branch dev. Will add tests and merge soon.

snacktavish avatar Aug 03 '19 20:08 snacktavish