<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<title></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
</head>
<body>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">Hello Angus,</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">you could use preg with following pattern as written in regular expressions: 
([KRH][^DE][^DE][^DE])|([^DE][KRH][^DE][^DE])|([^DE][^DE][KRH][^DE])|([^DE][^DE][^DE][KRH])</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">Alternatively you could search with four different PROSITE-style patterns using fuzzpro and 
combine the result tables:</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">[KRH]{DE}(3)</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">{DE}(1)[KRH]{DE}(2)</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">{DE}(2)[KRH]{DE}(1)</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">[KRH]{DE}(3)</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">For searching with combinations of PROSITE patterns, amino acid compositions and 
eventually AAINDEX profiles we had made a free web application for the University of Oslo, 
the SAPA tool:</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">http://sapa-tool.uio.no/sapa/index.php</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">E.g. searching a 4-letter subsequence with the PROSITE-style patterns &quot;[KRH].{DE}(4)&quot;, 
where the dot operator means logical AND, will produce a list of all subsequences having 
the two patterns in that application.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">Maybe the possibility to combine more than one PROSITE-style pattern within a fuzzpro 
search with logical AND would be a useful extension for fuzzpro improvement. Often more 
than one pattern is given for a domain or functional site in the PROSITE pattern database. 
Of course preg will do the job, however, the PROSITE patterns have to be rewritten as 
regular expressions.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">Best regards,</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">Josef</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">Josef Maier, IStLS Information Services to Life Science</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">&#160;</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Date: Thu, 18 Oct 2012 15:52:44 +0100</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; From: Aengus Stewart &lt;aengus.stewart@cancer.org.uk&gt;</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Subject: [EMBOSS] Help to build a motif for fzzpro</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; To: emboss@lists.open-bio.org</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Message-ID: &lt;508017BC.80002@cancer.org.uk&gt;</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Content-Type: text/plain; charset=&quot;ISO-8859-1&quot;; format=flowed</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Hi all,</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; I have been asked to build a motif and the first part of the motif</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; is.....</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; &quot;The first 4 AAs must not be acidic and 1 of them should be basic&quot;</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; I am not sure how to do this. So far I have</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; {DE}(4)</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; I am thinking I run with this and then post-filter the fuzzpro file?</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Any ideas greatfully accepted.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Cheers</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Aengus</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; NOTICE AND DISCLAIMER</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; This e-mail (including any attachments) is intended for the</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; above-named person(s). If you are not the intended recipient, notify</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; the sender immediately, delete this email from your system and do not</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; disclose or use for any purpose. </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; We may monitor all incoming and outgoing emails in line with current</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; legislation. We have taken steps to ensure that this email and</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; attachments are free from any virus, but it remains your</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; responsibility to ensure that viruses do not adversely affect you.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Cancer Research UK Registered charity in England and Wales (1089464),</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Scotland (SC041666) and the Isle of Man (1103) A company limited by</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; guarantee.&#160; Registered company in England and Wales (4325234) and the</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; Isle of Man (5713F). Registered Office Address: Angel Building, 407 St</span></font></div>
<div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">&gt; John Street, London EC1V 4AD.</span></font></div>
<div align="left">&nbsp;&nbsp;</div>
</body>
</html>