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
this is about the accuracy of the printf formatting. If you'd like to turn it up for greater precision you could alter the makeGametesMS() function in discoal_functions.c and alter line 2079 to something like
fprintf(stdout,"%.9lf ",allMuts[i] );
that will print up to 9 digits to the right of the decimal place. run make again and you should be all set i believe.
Hi, I noticed that some positions are repeated in the output file, so two different polymorphism states are assigned to the same location.
Minimal example:
discoal 30 1 110000 -t 550 -r 110 > all_sims.out
Then obtaining positions and showing duplicates:
sed -n 6p all_sims.out | awk -F ': ' '{print $2}' | awk '{for(i = 1; i <= NF; i++) printf ("%.6f\n",$i)}' | uniq -D
The text was updated successfully, but these errors were encountered: