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
I think that array named "vector" in the code below is used to mark those sites that has a large number of non- synonymous mutations, however the marked site is a different randomly chosen site.
# Line 713 of tools.c
while(nsyn_persite[p]/Options.runs>print_parameter ) {
# site p is saturated if code enter the while loop
r=rndu();
if(r!=1.0)
p=r*protsize;
elsep=0;
# A new site p is chosen randomly.
vector[p]=1;
# The new site p is marked as saturated, not the initial one.
cont=0;
for(i=0;i<protsize;i++) {
if(vector[i]!=0){
cont++;
}
}
if(cont==protsize) {
average=1.;
return(1);
}
}
The text was updated successfully, but these errors were encountered:
I think that array named "vector" in the code below is used to mark those sites that has a large number of non- synonymous mutations, however the marked site is a different randomly chosen site.
The text was updated successfully, but these errors were encountered: