Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stochastic output #51

Open
mwalker174 opened this issue Sep 24, 2019 · 1 comment
Open

Stochastic output #51

mwalker174 opened this issue Sep 24, 2019 · 1 comment
Labels

Comments

@mwalker174
Copy link

We are observing non-deterministic behavior of whamg when run multiple times across cloud VMs on the same BAM file, where about 5-10% of calls are different. I see from a quick search of the code base that random sampling is used to estimate metrics (this seems to be seeded to the system clock with srand in wham and not in whamg), but from the logs it looks like these estimates converge consistently.

Can anyone reproduce this behavior?

Either way, it would also be very useful to set the random seed manually from the command line.

@zeeev zeeev added the question label Sep 24, 2019
@zeeev
Copy link
Owner

zeeev commented Sep 24, 2019

Hi @mwalker174,

I've marked this as a question, but it's possible it is a bug. Let me think about this for a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants