-- %TEACHINGWEB%.TaiNg - 09 Oct 2011
My parameter File is structured like this:
(number of A)
(number of T)
(number of C)
(number of G)
(total number)
(motif you can add in (extra credit))
don't start the file with a blank line.
don't add any extra line between each line (no blank lines, don't press enter after each entry)
*Note
the idea behind my random generator is to create an array of nonrepeating number with length of the sequence.
STEP ONE: generate random number (i.e. 1 3 7 5 4). the original indicies are 0,1,2,3,4
STEP TWO: sort the random number (i.e. 1 3 4 5 7). The original indicies are now 0,1,4,3,2
so my original indicies are now scrambled, and I evaluate my unscrambled dna sequence with those nonrepeating, random numbers!

Copyright © 2008-2013 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback