mancusolab/twas_sim

Setting random seed

Closed this issue · 2 comments

Mostly for sim.py but also for sample_genes.py it would be great if it were possible to set random.seed for these scripts from a command line argument for computational reproducibility.

Thanks again for putting this online, it seems just right for us.

This what i've added on my end, but it's not really perfect, I think you'd want to not set seed if it's not specified by argument:

#4

I'll go ahead and repeat this for sample_genes and push shortly.