ksumngs / yavsap

Yet Another Viral Subspecies Analysis Pipeline
https://ksumngs.github.io/yavsap
MIT License
2 stars 1 forks source link

[Feature]: Allow for setting of random seed #13

Closed MillironX closed 2 years ago

MillironX commented 2 years ago

Summary

Create a parameter to set the random seed for processes in the pipeline.

Added Features

Additional parameters

More Info

Context

There are currently four processes in the pipeline that utilize random numbers

For better reproducibility, the random seed of any process should be fixed, that way every iteration of the pipeline produces the exact same results, regardless of the launch machine or the date/time.

Possible implementation

A single parameter to be passed as the seed to each process that used random numbers.

MillironX commented 2 years ago

The --seed parameter has been added, but only RAxML-NG consumes it right now. Updated OP to create a checklist for when I add compatibility to other tools.