<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Mensaje</TITLE>
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=705292113-14072005><FONT face=Arial color=#0000ff
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=705292113-14072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=705292113-14072005><FONT face=Arial color=#0000ff
size=2>Perhaps this isn't the most straight way of doing it, but If you connect
Perl with the statistical software R you could generate this random motifs you
mention. R can also be called in batch mode from Perl or other scripting
languages such as Python or PHP (via a "system" command or something
similar).</FONT></SPAN></DIV>
<DIV><SPAN class=705292113-14072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=705292113-14072005><FONT face=Arial color=#0000ff size=2>Hope
this helps,</FONT></SPAN></DIV>
<DIV><SPAN class=705292113-14072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=705292113-14072005><FONT face=Arial color=#0000ff
size=2>Xavi.</FONT></SPAN></DIV>
<DIV><SPAN class=705292113-14072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV></DIV>
<DIV><FONT face=Tahoma size=2>-----Mensaje original-----<BR><B>De:</B>
bio_bulletin_board-bounces+x.sole=ico.scs.es@bioinformatics.org
[mailto:bio_bulletin_board-bounces+x.sole=ico.scs.es@bioinformatics.org] <B>En
nombre de </B>Gao Zhang<BR><B>Enviado el:</B> dimecres, 13 / juliol / 2005
19:22<BR><B>Para:</B> bio_bulletin_board@bioinformatics.org<BR><B>Asunto:</B>
[BiO BB] generate random motifs<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I need some help to generate random motifs. The goal is to </DIV>
<DIV><FONT
face="Courier New">generate a random motif of width w. Each position will<BR>have a dominant letter with probability around 0.85.</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">I know there is python module TAMO (<A
href="http://jura.wi.mit.edu/fraenkel/TAMO/documentation/TAMO.MotifTools.html#Motif-emit">http://jura.wi.mit.edu/fraenkel/TAMO/documentation/TAMO.MotifTools.html#Motif-emit
</A>)</FONT></DIV>
<DIV><FONT face="Courier New">which can do this job.</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Can anybody know how to do this using
Perl/Bioperl?</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Thank you very much and look forward to your
reply!</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Best Regards,</FONT></DIV>
<DIV><FONT face="Courier New">
Maya</FONT></DIV></BLOCKQUOTE></BODY></HTML>