[BiO BB] Random Sequence Generator

Dan Bolser dmb at mrc-dunn.cam.ac.uk
Tue Oct 5 16:18:01 EDT 2004


On Tue, 5 Oct 2004, Ryan Golhar wrote:

>Can anyone recommend a good random sequence generator program available
>for Linux?

perl -e '@x=qw(A T C G);for(1..10000){print $x[rand(@x)]}'

Other than that it kind of depends on what your requirements are (and
aparently the above random generator isn't too good).

perl -e '@x=qw(all work and no play);while(1){print $x[rand(@x)]}'


>
>Ryan
>_______________________________________________
>BiO_Bulletin_Board maillist  -  BiO_Bulletin_Board at bioinformatics.org
>https://bioinformatics.org/mailman/listinfo/bio_bulletin_board
>




More information about the BBB mailing list