[Biopython] Monte Carlo Simulation
Michael Thon
mike.thon at gmail.com
Tue Jan 14 10:25:56 UTC 2014
Check out:
http://stackoverflow.com/questions/976882/shuffling-a-list-of-objects-in-python
Something like this should work:
from random import shuffle
x = ‘GCAT’
s = list(x)
shuffle(s)
On Jan 14, 2014, at 4:04 AM, Jeremias Ponciano da Silva <jere_2001 at ig.com.br> wrote:
> Hi people!
> I'm doing a Monte Carlo Simulation, must take a DNA sequence and this
> sequence can randomize N times, and with these seguencias plot on a Normal
> chart monte carlo simulation, one would have any suggestions?
>
> --
> *Jeremias Ponciano*
> _______________________________________________
> Biopython mailing list - Biopython at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython
More information about the Biopython
mailing list