BayesTyper
BayesTyper copied to clipboard
If executed multiple times, will the result of the data generated be the same each time?
If executed multiple times, will the result of the data generated be the same each time?
If you use the same seed (option --random-seed
) the results should be the same between each run.
But I have the same data, and each time I execute it, the file is different.
Strange. Did you use the same seed for each run? Are you able to share the command line you are using?
In order to get the same results each run you need to use the same seed for the pseudo-random number generator. By default, the seed will be set using the Unix time when you started the run. It will therefore be different between each run except if you started the runs at exactly the same time. You can provide a seed to both bayesTyper cluster
and bayesTyper genotype
using the option random-seed
.