<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<!DOCTYPE dreme[
<!ELEMENT dreme (model, motifs, run_time)>
<!ATTLIST dreme version CDATA #REQUIRED release CDATA #REQUIRED>
<!ELEMENT model 
  (command_line, positives, negatives, background, stop, norc, ngen, add_pv_thresh, 
  seed, host, when, description?)>
<!ELEMENT command_line (#PCDATA)>
<!ELEMENT positives EMPTY>
<!ATTLIST positives 
  name CDATA #REQUIRED count CDATA #REQUIRED file CDATA #REQUIRED 
  last_mod_date CDATA #REQUIRED>
<!--  
  negatives must have a file and last_mod_date specified when the from
  attribute is file.
-->
<!ELEMENT negatives EMPTY>
<!ATTLIST negatives 
  name CDATA #REQUIRED count CDATA #REQUIRED from (shuffled|file) #REQUIRED
  file CDATA #IMPLIED last_mod_date CDATA #IMPLIED>
<!-- 
  background allows DNA and RNA (AA is not going to be supported with DREME) 
  however currently only DNA is implemented. Note that when type is dna the
  value for T must be supplied and when the type is rna the value for U must
  be supplied. The sum of the frequencies must be 1 (with a small error).
-->
<!ELEMENT background EMPTY>
<!ATTLIST background 
  type (dna|rna) #REQUIRED
  A CDATA #REQUIRED C CDATA #REQUIRED G CDATA #REQUIRED 
  T CDATA #IMPLIED U CDATA #IMPLIED 
  from (dataset|file) #REQUIRED 
  file CDATA #IMPLIED last_mod_date CDATA #IMPLIED>
<!ELEMENT stop EMPTY>
<!ATTLIST stop 
  evalue CDATA #IMPLIED count CDATA #IMPLIED time CDATA #IMPLIED>
<!ELEMENT norc (#PCDATA)>
<!ELEMENT ngen (#PCDATA)>
<!ELEMENT seed (#PCDATA)>
<!ELEMENT add_pv_thresh (#PCDATA)>
<!ELEMENT host (#PCDATA)>
<!ELEMENT when (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT motifs (motif*)>
<!ELEMENT motif (pos*, match*)>
<!ATTLIST motif
  id CDATA #REQUIRED seq CDATA #REQUIRED length CDATA #REQUIRED 
  nsites CDATA #REQUIRED p CDATA #REQUIRED n CDATA #REQUIRED
  pvalue CDATA #REQUIRED evalue CDATA #REQUIRED unerased_evalue CDATA #REQUIRED>
<!--
  pos allows DNA and RNA (AA is not going to be supported with DREME)
  however current only DNA is implemented. When the type in the background
  is 'dna' pos must have a T attribute and when it is 'rna' pos must have a
  U attribute
-->
<!ELEMENT pos EMPTY>
<!ATTLIST pos
  i CDATA #REQUIRED A CDATA #REQUIRED C CDATA #REQUIRED G CDATA #REQUIRED 
  T CDATA #IMPLIED U CDATA #IMPLIED>
<!ELEMENT match EMPTY>
<!ATTLIST match
  seq CDATA #REQUIRED p CDATA #REQUIRED n CDATA #REQUIRED 
  pvalue CDATA #REQUIRED evalue CDATA #REQUIRED>
<!ELEMENT run_time EMPTY>
<!ATTLIST run_time
  cpu CDATA #REQUIRED real CDATA #REQUIRED stop (evalue|count|time) #REQUIRED>
]>
<dreme version="4.10.0" release="Wed May 21 10:35:36 2014 +1000">
  <model>
    <command_line>dreme -v 1 -oc memechip_example_output_files/dreme_out -p memechip_example_output_files/seqs-centered -n memechip_example_output_files/seqs-shuffled -png</command_line>
    <positives name="seqs-centered" count="812" file="memechip_example_output_files/seqs-centered" last_mod_date="Tue Oct 07 17:09:05 EST 2014" />
    <negatives name="seqs-shuffled" count="812" from="file" file="memechip_example_output_files/seqs-shuffled" last_mod_date="Tue Oct 07 17:09:06 EST 2014" />
    <background type="dna" A="0.246" C="0.254" G="0.250" T="0.251" from="dataset"/>
    <stop evalue="0.05"/>
    <norc>FALSE</norc>
    <ngen>100</ngen>
    <add_pv_thresh>0.01</add_pv_thresh>
    <seed>1</seed>
    <host>IMB12-010665</host>
    <when>Tue Oct 07 17:17:31 EST 2014</when>
  </model>
  <motifs>
    <motif id="m01" seq="GGGYGK" length="6" nsites="549" p="430" n="119" pvalue="2.3e-062" evalue="7.4e-058" unerased_evalue="7.4e-058">
      <pos i="1" A="0.000000" C="0.000000" G="1.000000" T="0.000000"/>
      <pos i="2" A="0.000000" C="0.000000" G="1.000000" T="0.000000"/>
      <pos i="3" A="0.000000" C="0.000000" G="1.000000" T="0.000000"/>
      <pos i="4" A="0.000000" C="0.306011" G="0.000000" T="0.693989"/>
      <pos i="5" A="0.000000" C="0.000000" G="1.000000" T="0.000000"/>
      <pos i="6" A="0.000000" C="0.000000" G="0.411658" T="0.588342"/>
      <match seq="GGGTGT" p="200" n="49" pvalue="1.0e-026" evalue="3.3e-022"/>
      <match seq="GGGCGT" p="96" n="9" pvalue="6.9e-021" evalue="2.3e-016"/>
      <match seq="GGGCGG" p="69" n="11" pvalue="3.5e-012" evalue="1.1e-007"/>
      <match seq="GGGTGG" p="144" n="59" pvalue="8.6e-011" evalue="2.8e-006"/>
    </motif>
    <motif id="m02" seq="TTATCW" length="6" nsites="287" p="257" n="57" pvalue="2.1e-038" evalue="6.5e-034" unerased_evalue="6.5e-034">
      <pos i="1" A="0.000000" C="0.000000" G="0.000000" T="1.000000"/>
      <pos i="2" A="0.000000" C="0.000000" G="0.000000" T="1.000000"/>
      <pos i="3" A="1.000000" C="0.000000" G="0.000000" T="0.000000"/>
      <pos i="4" A="0.000000" C="0.000000" G="0.000000" T="1.000000"/>
      <pos i="5" A="0.000000" C="1.000000" G="0.000000" T="0.000000"/>
      <pos i="6" A="0.432056" C="0.000000" G="0.000000" T="0.567944"/>
      <match seq="TTATCT" p="156" n="30" pvalue="2.0e-024" evalue="6.3e-020"/>
      <match seq="TTATCA" p="116" n="28" pvalue="2.3e-015" evalue="7.4e-011"/>
    </motif>
    <motif id="m03" seq="AGAWA" length="5" nsites="390" p="306" n="211" pvalue="2.6e-007" evalue="8.1e-003" unerased_evalue="2.9e-014">
      <pos i="1" A="1.000000" C="0.000000" G="0.000000" T="0.000000"/>
      <pos i="2" A="0.000000" C="0.000000" G="1.000000" T="0.000000"/>
      <pos i="3" A="1.000000" C="0.000000" G="0.000000" T="0.000000"/>
      <pos i="4" A="0.635897" C="0.000000" G="0.000000" T="0.364103"/>
      <pos i="5" A="1.000000" C="0.000000" G="0.000000" T="0.000000"/>
      <match seq="AGATA" p="129" n="66" pvalue="9.3e-007" evalue="2.9e-002"/>
      <match seq="AGAAA" p="213" n="156" pvalue="4.5e-004" evalue="1.4e+001"/>
    </motif>
  </motifs>
  <run_time cpu="16.23" real="17.02" stop="evalue"/>
</dreme>
