You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MCMC sampling is done by the sub-program diri_sampler, and ShoRAH starts it from run_dmp()
For each window, once the sampling is finished, you should see a line like:
DEBUG 2020/09/21 16:49:35 shotgun.py: run_dpm() 223: run -i w-NC_045512.2-7840-8040.reads.fas -j 2535 -t 507 -a 0.100000 -K 20 -R 42 finished
(In the above example: NC_045512.2 is the reference sequence/chromosome, 7840-8040 is the region covered by this window, 2535 is the total number of iteration to sample over, 507 is the number of iterations after which that window will start recording history to look for convergence)
Overall, when all sampling is finished, the code will move onto the next part and will switch to output log lines such as:
INFO 2020/09/21 17:02:56 shotgun.py: main() 502: reading windows for start position 1
To find how many windows there are in total, you can look at this line right before the block of run_dmp():
INFO 2020/09/21 16:49:35 shotgun.py: main() 468: will run on 375 windows
To get details about the windows, you can look inside file coverage.txt.
I am performing local haplotype reconstruction on more than 100 samples with shorah.
Is there a way to check whether the MCMC sampling has converged for a particular region or overall?
The text was updated successfully, but these errors were encountered: