After a short review of my own script "random_dna_strings.pl" I realized that is more useful to set the parameter of C content distribution probability (which is the last parameter of probability distribution that is asked to the user) automatically to:
line 116:
Rather than ask the user for typing manually the remaining value that finally satisfy the 1.00 of total probability value.
Total p value = 1 = (A content + T content + G content + C content)
C content = (1 - (A content + T content + G content))
Benjamin
line 116:
my $C_content = (1-($A_content+$T_content+$G_content))
Rather than ask the user for typing manually the remaining value that finally satisfy the 1.00 of total probability value.
Total p value = 1 = (A content + T content + G content + C content)
C content = (1 - (A content + T content + G content))
Benjamin
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.