<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="UTF-8">
    <title>TOMTOM</title>
    <script>
      // @JSON_VAR data
      var data = {
        "program": "Tomtom",
        "version": "5.0.4",
        "release": "Wed Jan 23 14:05:40 2019 -0800",
        "cmd": [
          "tomtom", "-oc", ".", "dreme.html",
          "/home/ryan.friedman/CRX-Genomic-Analysis/Data/Downloaded/Pwm/photoreceptorMotifsAndHOCOMOCOv11_full_MOUSE.meme"
        ],
        "options": {
          "strands": "both",
          "distance_measure": "ed",
          "threshold_type": "qvalue",
          "threshold_value": 0.5,
          "background_source": "--query--"
        },
        "alphabet": {
          "name": "DNA",
          "like": "dna",
          "ncore": 4,
          "symbols": [
            {
              "symbol": "A",
              "name": "Adenine",
              "colour": "CC0000",
              "complement": "T"
            }, {
              "symbol": "C",
              "name": "Cytosine",
              "colour": "0000CC",
              "complement": "G"
            }, {
              "symbol": "G",
              "name": "Guanine",
              "colour": "FFB300",
              "complement": "C"
            }, {
              "symbol": "T",
              "aliases": "U",
              "name": "Thymine",
              "colour": "008000",
              "complement": "A"
            }, {
              "symbol": "N",
              "aliases": "X.",
              "name": "Any base",
              "equals": "ACGT"
            }, {
              "symbol": "V",
              "name": "Not T",
              "equals": "ACG"
            }, {
              "symbol": "H",
              "name": "Not G",
              "equals": "ACT"
            }, {
              "symbol": "D",
              "name": "Not C",
              "equals": "AGT"
            }, {
              "symbol": "B",
              "name": "Not A",
              "equals": "CGT"
            }, {
              "symbol": "M",
              "name": "Amino",
              "equals": "AC"
            }, {
              "symbol": "R",
              "name": "Purine",
              "equals": "AG"
            }, {
              "symbol": "W",
              "name": "Weak",
              "equals": "AT"
            }, {
              "symbol": "S",
              "name": "Strong",
              "equals": "CG"
            }, {
              "symbol": "Y",
              "name": "Pyrimidine",
              "equals": "CT"
            }, {
              "symbol": "K",
              "name": "Keto",
              "equals": "GT"
            }
          ]
        },
        "background": [0.252, 0.248, 0.248, 0.252],
        "query_dbs": [
          {
            "source": "dreme.html",
            "name": "dreme.html",
            "loaded": 5,
            "excluded": 0,
            "last_modified": "Tue Jul 28 11:46:36 2020"
          }
        ],
        "target_dbs": [
          {
            "source": "/home/ryan.friedman/CRX-Genomic-Analysis/Data/Downloaded/Pwm/photoreceptorMotifsAndHOCOMOCOv11_full_MOUSE.meme",
            "name": "photoreceptorMotifsAndHOCOMOCOv11_full_MOUSE",
            "loaded": 536,
            "excluded": 0,
            "last_modified": "Wed Jul  1 10:22:47 2020"
          }
        ],
        "queries": [
          {
            "db": 0,
            "id": "CAGSCTGY",
            "alt": "DREME-5",
            "len": 8,
            "nsites": 85,
            "evalue": "2.7e-002",
            "pwm": [
              [0.000296122, 0.999116, 0.000291422, 0.000296122], 
              [0.999121, 0.000291422, 0.000291422, 0.000296122], 
              [0.000296122, 0.000291422, 0.999116, 0.000296122], 
              [0.000296122, 0.470326, 0.529081, 0.000296122], 
              [0.000296122, 0.999116, 0.000291422, 0.000296122], 
              [0.000296122, 0.000291422, 0.000291422, 0.999121], 
              [0.000296122, 0.000291422, 0.999116, 0.000296122], 
              [0.000296122, 0.493829, 0.000291422, 0.505584]
            ]
          }, {
            "db": 0,
            "id": "CAKMTGG",
            "alt": "DREME-2",
            "len": 7,
            "nsites": 253,
            "evalue": "2.9e-013",
            "pwm": [
              [9.95654e-05, 0.999703, 9.7985e-05, 9.95654e-05], 
              [0.999704, 9.7985e-05, 9.7985e-05, 9.95654e-05], 
              [9.95654e-05, 9.7985e-05, 0.707328, 0.292474], 
              [0.509779, 0.490023, 9.7985e-05, 9.95654e-05], 
              [9.95654e-05, 9.7985e-05, 9.7985e-05, 0.999704], 
              [9.95654e-05, 9.7985e-05, 0.999703, 9.95654e-05], 
              [9.95654e-05, 9.7985e-05, 0.999703, 9.95654e-05]
            ]
          }, {
            "db": 0,
            "id": "CCNCCCC",
            "alt": "DREME-3",
            "len": 7,
            "nsites": 361,
            "evalue": "1.6e-008",
            "pwm": [
              [6.97868e-05, 0.999792, 6.8679e-05, 6.97868e-05], 
              [6.97868e-05, 0.999792, 6.8679e-05, 6.97868e-05], 
              [0.229923, 0.124688, 0.23823, 0.407159], 
              [6.97868e-05, 0.999792, 6.8679e-05, 6.97868e-05], 
              [6.97868e-05, 0.999792, 6.8679e-05, 6.97868e-05], 
              [6.97868e-05, 0.999792, 6.8679e-05, 6.97868e-05], 
              [6.97868e-05, 0.999792, 6.8679e-05, 6.97868e-05]
            ]
          }, {
            "db": 0,
            "id": "CWGCWG",
            "alt": "DREME-4",
            "len": 6,
            "nsites": 521,
            "evalue": "2.3e-007",
            "pwm": [
              [4.83592e-05, 0.999856, 4.75916e-05, 4.83592e-05], 
              [0.475965, 4.75916e-05, 4.75916e-05, 0.52394], 
              [4.83592e-05, 4.75916e-05, 0.999856, 4.83592e-05], 
              [4.83592e-05, 0.999856, 4.75916e-05, 4.83592e-05], 
              [0.508588, 4.75916e-05, 4.75916e-05, 0.491317], 
              [4.83592e-05, 4.75916e-05, 0.999856, 4.83592e-05]
            ]
          }, {
            "db": 0,
            "id": "RGGKCA",
            "alt": "DREME-1",
            "len": 6,
            "nsites": 773,
            "evalue": "7.4e-018",
            "pwm": [
              [0.614442, 3.20786e-05, 0.385493, 3.2596e-05], 
              [3.2596e-05, 3.20786e-05, 0.999903, 3.2596e-05], 
              [3.2596e-05, 3.20786e-05, 0.999903, 3.2596e-05], 
              [3.2596e-05, 3.20786e-05, 0.455342, 0.544593], 
              [3.2596e-05, 0.999903, 3.20786e-05, 3.2596e-05], 
              [0.999903, 3.20786e-05, 3.20786e-05, 3.2596e-05]
            ]
          }
        ],
        "targets": [
          {
            "db": 0,
            "id": "ANDR_MOUSE.H11MO.1.A",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ANDR_MOUSE.H11MO.1.A",
            "pwm": [
              [0.507949, 0.0800336, 0.108028, 0.30399], 
              [0.082034, 0.429964, 0.323985, 0.164018], 
              [0.182014, 0.232003, 0.0340428, 0.55194], 
              [0.072036, 0.34798, 0.365976, 0.214008], 
              [0.0260452, 0.0220452, 0.00404879, 0.947861], 
              [0.00204999, 0.00204919, 0.983853, 0.012048], 
              [0.00804879, 4.95901e-05, 0.00604839, 0.985853], 
              [0.0680368, 0.236002, 0.172015, 0.523946], 
              [0.00204999, 0.973855, 4.95901e-05, 0.0240456], 
              [0.05204, 0.365976, 0.00804799, 0.573936], 
              [0.0760352, 0.20001, 0.212007, 0.511948], 
              [0.166017, 0.160018, 0.307988, 0.365977]
            ]
          }, {
            "db": 0,
            "id": "AP2A_MOUSE.H11MO.0.A",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/AP2A_MOUSE.H11MO.0.A",
            "pwm": [
              [0.405969, 0.206008, 0.234003, 0.15402], 
              [0.176015, 0.19601, 0.192011, 0.435963], 
              [0.228005, 0.14602, 0.443961, 0.182014], 
              [0.00404959, 0.465956, 0.513947, 0.0160472], 
              [0.00204999, 0.99585, 0.00204919, 5.03899e-05], 
              [5.03899e-05, 0.973855, 4.95901e-05, 0.0260452], 
              [0.0260452, 0.212007, 0.0720352, 0.689912], 
              [0.0780348, 4.95901e-05, 0.917866, 0.00404959], 
              [0.541942, 0.0960304, 0.357978, 0.00404959], 
              [0.062038, 4.95901e-05, 0.935862, 0.00204999], 
              [5.03899e-05, 4.95901e-05, 0.99985, 5.03899e-05], 
              [0.0140476, 0.719906, 0.259998, 0.00604919]
            ]
          }, {
            "db": 0,
            "id": "AP2C_MOUSE.H11MO.0.A",
            "len": 13,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/AP2C_MOUSE.H11MO.0.A",
            "pwm": [
              [0.15402, 0.305988, 0.162017, 0.377975], 
              [0.263998, 0.132023, 0.433963, 0.170016], 
              [0.00804879, 0.381973, 0.575934, 0.0340436], 
              [5.03899e-05, 0.993851, 0.00204919, 0.00404959], 
              [0.00204999, 0.821885, 0.00204919, 0.174016], 
              [5.03899e-05, 0.425964, 0.126024, 0.447961], 
              [0.00204999, 0.883873, 4.95901e-05, 0.114028], 
              [0.667917, 0.0100476, 0.279994, 0.042042], 
              [0.0100484, 4.95901e-05, 0.989852, 5.03899e-05], 
              [5.03899e-05, 4.95901e-05, 0.991851, 0.00804879], 
              [0.0180468, 0.551939, 0.423965, 0.00604919], 
              [0.168017, 0.413967, 0.162017, 0.255999], 
              [0.357979, 0.216006, 0.244001, 0.182014]
            ]
          }, {
            "db": 0,
            "id": "ASCL1_MOUSE.H11MO.0.A",
            "len": 14,
            "nsites": 447,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ASCL1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.0805754, 0.58158, 0.167803, 0.17004], 
              [0.259506, 0.19017, 0.087284, 0.46304], 
              [0.100705, 0.286344, 0.539085, 0.0738659], 
              [5.63632e-05, 0.999832, 5.54686e-05, 5.63632e-05], 
              [0.999833, 5.54686e-05, 5.54686e-05, 5.63632e-05], 
              [5.63632e-05, 0.4362, 0.552505, 0.0112399], 
              [5.63632e-05, 0.990885, 5.54686e-05, 0.00900336], 
              [5.63632e-05, 5.54686e-05, 0.00229197, 0.997596], 
              [5.63632e-05, 0.00229197, 0.997595, 5.63632e-05], 
              [0.0224224, 0.794061, 0.082811, 0.100705], 
              [0.111888, 0.467513, 5.54686e-05, 0.420544], 
              [0.0604459, 0.351207, 0.322131, 0.266216], 
              [0.105178, 0.505535, 0.138726, 0.250559], 
              [0.161094, 0.38252, 0.140964, 0.315422]
            ]
          }, {
            "db": 0,
            "id": "ASCL2_MOUSE.H11MO.0.C",
            "len": 9,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ASCL2_MOUSE.H11MO.0.C",
            "pwm": [
              [0.262523, 0.352684, 0.338659, 0.0461333], 
              [0.00205409, 0.989831, 0.00405689, 0.00405769], 
              [0.985825, 0.00606048, 0.00205329, 0.00606129], 
              [0.00606129, 0.352684, 0.587106, 0.0541476], 
              [0.0140757, 0.979813, 0.00205329, 0.00405769], 
              [0.00405769, 0.00405689, 4.96894e-05, 0.991836], 
              [0.00205409, 0.0100677, 0.963785, 0.0240937], 
              [0.00606129, 0.867611, 0.0140749, 0.112252], 
              [0.102234, 0.29458, 0.00806408, 0.595121]
            ]
          }, {
            "db": 0,
            "id": "ATF1_MOUSE.H11MO.0.B",
            "len": 10,
            "nsites": 34,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ATF1_MOUSE.H11MO.0.B",
            "pwm": [
              [0.306139, 0.340377, 0.340377, 0.0131076], 
              [0.000739003, 0.000727273, 0.000727273, 0.997806], 
              [0.000739003, 0.000727273, 0.997795, 0.000739003], 
              [0.997806, 0.000727273, 0.000727273, 0.000739003], 
              [0.000739003, 0.96735, 0.0311717, 0.000739003], 
              [0.0311835, 0.000727273, 0.96735, 0.000739003], 
              [0.019767, 0.0711312, 0.000727273, 0.908374], 
              [0.0825594, 0.562053, 0.263314, 0.0920734], 
              [0.740928, 0.156757, 0.0635196, 0.0387951], 
              [0.193873, 0.391753, 0.296613, 0.117761]
            ]
          }, {
            "db": 0,
            "id": "ATF2_MOUSE.H11MO.0.A",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ATF2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.315987, 0.088032, 0.463957, 0.132024], 
              [0.423966, 0.166016, 0.383973, 0.0260452], 
              [0.0200464, 0.0240448, 0.0120472, 0.943862], 
              [0.0160472, 0.0140468, 0.939862, 0.0300444], 
              [0.90387, 0.0120472, 0.0140468, 0.0700364], 
              [0.0340436, 0.361977, 0.248, 0.355979], 
              [0.00204999, 0.0420412, 0.933863, 0.022046], 
              [0.126025, 0.0720352, 0.0260444, 0.775895], 
              [0.158019, 0.775894, 0.0360424, 0.0300444], 
              [0.875875, 0.018046, 0.0640368, 0.042042], 
              [0.062038, 0.253999, 0.184013, 0.49995]
            ]
          }, {
            "db": 0,
            "id": "ATF7_MOUSE.H11MO.0.D",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ATF7_MOUSE.H11MO.0.D",
            "pwm": [
              [0.345981, 0.0940308, 0.49795, 0.062038], 
              [0.441962, 0.0820332, 0.391971, 0.0840336], 
              [0.0660372, 4.95901e-05, 0.0160464, 0.917867], 
              [0.012048, 0.0300436, 0.901869, 0.0560392], 
              [0.859878, 0.0420412, 0.0400416, 0.0580388], 
              [0.062038, 0.333983, 0.251999, 0.35198], 
              [0.00804879, 0.0440408, 0.917866, 0.0300444], 
              [0.186013, 0.078034, 0.0360424, 0.69991], 
              [0.224006, 0.721905, 0.038042, 0.0160472], 
              [0.947861, 0.0100476, 0.0160464, 0.0260452], 
              [0.0340436, 0.307988, 0.253999, 0.40397]
            ]
          }, {
            "db": 0,
            "id": "ATOH1_MOUSE.H11MO.0.B",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ATOH1_MOUSE.H11MO.0.B",
            "pwm": [
              [0.533944, 0.0420412, 0.377974, 0.0460412], 
              [0.323986, 0.154019, 0.521945, 5.03899e-05], 
              [0.00204999, 0.99585, 0.00204919, 5.03899e-05], 
              [0.997851, 4.95901e-05, 4.95901e-05, 0.00204999], 
              [5.03899e-05, 0.00804799, 0.973855, 0.0180468], 
              [0.585933, 0.379974, 0.0340428, 5.03899e-05], 
              [0.0180468, 0.00604839, 0.00204919, 0.973856], 
              [0.00204999, 4.95901e-05, 0.989852, 0.00804879], 
              [0.032044, 0.110028, 0.721905, 0.136023]
            ]
          }, {
            "db": 0,
            "id": "BACH1_MOUSE.H11MO.0.C",
            "len": 14,
            "nsites": 8,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/BACH1_MOUSE.H11MO.0.C",
            "pwm": [
              [0.138406, 0.246593, 0.00306173, 0.611939], 
              [0.111347, 0.00306173, 0.88248, 0.00311111], 
              [0.00311111, 0.990716, 0.00306173, 0.00311111], 
              [0.00311111, 0.111298, 0.00306173, 0.882529], 
              [0.00311111, 0.00306173, 0.990716, 0.00311111], 
              [0.882529, 0.00306173, 0.00306173, 0.111347], 
              [0.00311111, 0.246593, 0.747185, 0.00311111], 
              [0.00311111, 0.00306173, 0.00306173, 0.990765], 
              [0.00311111, 0.990716, 0.00306173, 0.00311111], 
              [0.990765, 0.00306173, 0.00306173, 0.00311111], 
              [0.138406, 0.381888, 0.00306173, 0.476644], 
              [0.111347, 0.00306173, 0.747185, 0.138406], 
              [0.00311111, 0.260122, 0.625419, 0.111347], 
              [0.00311111, 0.00306173, 0.00306173, 0.990765]
            ]
          }, {
            "db": 0,
            "id": "BHA15_MOUSE.H11MO.0.A",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/BHA15_MOUSE.H11MO.0.A",
            "pwm": [
              [0.172016, 0.285992, 0.471955, 0.0700364], 
              [0.15202, 0.44996, 0.29599, 0.10203], 
              [0.687913, 0.068036, 0.20001, 0.0440416], 
              [0.279994, 0.108028, 0.609928, 0.00204999], 
              [0.0560392, 0.921865, 0.0160464, 0.00604919], 
              [0.983854, 0.00404879, 0.0100476, 0.00204999], 
              [0.00604919, 0.00404879, 0.963857, 0.0260452], 
              [0.0540396, 0.877874, 0.0640368, 0.00404959], 
              [0.0260452, 0.0120472, 0.00404879, 0.957859], 
              [0.00404959, 0.00404879, 0.981853, 0.0100484], 
              [0.00204999, 0.14802, 0.633923, 0.216007]
            ]
          }, {
            "db": 0,
            "id": "BHE40_MOUSE.H11MO.0.A",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/BHE40_MOUSE.H11MO.0.A",
            "pwm": [
              [0.289992, 0.038042, 0.505948, 0.166017], 
              [0.124026, 0.869876, 0.00204919, 0.00404959], 
              [0.937863, 0.0100476, 0.0160464, 0.0360432], 
              [0.00404959, 0.893871, 0.0200456, 0.082034], 
              [0.0280448, 0.0120472, 0.951859, 0.00804879], 
              [0.0180468, 0.0160464, 0.0220452, 0.943862], 
              [5.03899e-05, 4.95901e-05, 0.99785, 0.00204999], 
              [0.655919, 0.277994, 0.0620372, 0.00404959], 
              [0.126025, 0.505948, 0.273995, 0.0940316]
            ]
          }, {
            "db": 0,
            "id": "BHE41_MOUSE.H11MO.0.D",
            "len": 20,
            "nsites": 10,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/BHE41_MOUSE.H11MO.0.D",
            "pwm": [
              [0.382714, 0.0764574, 0.168323, 0.372506], 
              [0.00249505, 0.584266, 0.410744, 0.00249505], 
              [0.298504, 0.308671, 0.298464, 0.0943604], 
              [0.400576, 0.104528, 0.492401, 0.00249505], 
              [0.104567, 0.104528, 0.410744, 0.380161], 
              [0.00249505, 0.400537, 0.492401, 0.104567], 
              [0.00249505, 0.492401, 0.00245545, 0.502649], 
              [0.00249505, 0.992554, 0.00245545, 0.00249505], 
              [0.706792, 0.00245545, 0.196392, 0.0943604], 
              [0.20664, 0.594473, 0.0943208, 0.104567], 
              [0.00249505, 0.104528, 0.798618, 0.0943604], 
              [0.00249505, 0.00245545, 0.00245545, 0.992594], 
              [0.00249505, 0.00245545, 0.992554, 0.00249505], 
              [0.308711, 0.594473, 0.0943208, 0.00249505], 
              [0.410783, 0.196392, 0.104528, 0.288297], 
              [0.00249505, 0.0943208, 0.706752, 0.196432], 
              [0.492441, 0.196392, 0.308671, 0.00249505], 
              [0.400576, 0.0943208, 0.400537, 0.104567], 
              [0.308711, 0.104528, 0.584266, 0.00249505], 
              [0.232157, 0.323982, 0.323982, 0.119878]
            ]
          }, {
            "db": 0,
            "id": "BMAL1_MOUSE.H11MO.0.A",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/BMAL1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.311988, 0.505948, 0.180014, 0.00204999], 
              [0.0660372, 0.923865, 0.00204919, 0.00804879], 
              [0.939862, 0.018046, 0.0220452, 0.0200464], 
              [0.00404959, 0.793891, 0.038042, 0.164018], 
              [0.0180468, 0.0120472, 0.959858, 0.0100484], 
              [0.0100484, 4.95901e-05, 0.00404879, 0.985853], 
              [0.00404959, 0.00404879, 0.989852, 0.00204999], 
              [0.477955, 0.407968, 0.0140468, 0.10003], 
              [0.134024, 0.481953, 0.156018, 0.228005]
            ]
          }, {
            "db": 0,
            "id": "COT1_MOUSE.H11MO.0.B",
            "len": 9,
            "nsites": 83,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/COT1_MOUSE.H11MO.0.B",
            "pwm": [
              [0.0972634, 0.636462, 0.0862349, 0.18004], 
              [0.685372, 0.108032, 0.0975093, 0.109087], 
              [0.65626, 0.0504071, 0.211854, 0.0814794], 
              [0.803029, 0.000298436, 0.196369, 0.000303249], 
              [0.00932238, 0.000298436, 0.990076, 0.000303249], 
              [0.000303249, 0.000298436, 0.760786, 0.238612], 
              [0.00932238, 0.0860331, 0.0283596, 0.876285], 
              [0.0103252, 0.908349, 0.00931757, 0.0720069], 
              [0.848426, 0.08533, 0.0456468, 0.0205968]
            ]
          }, {
            "db": 0,
            "id": "COT1_MOUSE.H11MO.1.C",
            "len": 12,
            "nsites": 82,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/COT1_MOUSE.H11MO.1.C",
            "pwm": [
              [0.0853812, 0.117534, 0.712213, 0.0848708], 
              [0.0930379, 0.0756791, 0.48948, 0.341804], 
              [0.11158, 0.229495, 0.246683, 0.412243], 
              [0.102392, 0.699286, 0.0625741, 0.135748], 
              [0.758334, 0.0758449, 0.04624, 0.11958], 
              [0.608946, 0.0523656, 0.255693, 0.0829961], 
              [0.724469, 0.000302071, 0.264714, 0.0105155], 
              [0.0176618, 0.000302071, 0.981729, 0.000306943], 
              [0.0197033, 0.0452193, 0.651462, 0.283615], 
              [0.0390996, 0.0787414, 0.0288862, 0.853274], 
              [0.00949474, 0.866029, 0.0671675, 0.0573084], 
              [0.814903, 0.100268, 0.045475, 0.0393543]
            ]
          }, {
            "db": 0,
            "id": "COT2_MOUSE.H11MO.0.A",
            "len": 13,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/COT2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.172016, 0.34798, 0.251999, 0.228005], 
              [0.271996, 0.423965, 0.144021, 0.160018], 
              [0.547941, 0.190012, 0.110028, 0.15202], 
              [0.479954, 0.0820332, 0.375974, 0.062038], 
              [0.763898, 0.00404879, 0.222005, 0.0100484], 
              [0.0340436, 4.95901e-05, 0.955858, 0.0100484], 
              [0.0160472, 0.00604839, 0.953859, 0.0240456], 
              [0.0180468, 0.0620372, 0.088032, 0.831884], 
              [0.00404959, 0.907868, 0.0400416, 0.0480408], 
              [0.971856, 0.00204919, 0.0100476, 0.0160472], 
              [0.327985, 0.156018, 0.375974, 0.140022], 
              [0.413968, 0.14602, 0.351979, 0.0880328], 
              [0.283994, 0.108028, 0.405968, 0.20201]
            ]
          }, {
            "db": 0,
            "id": "COT2_MOUSE.H11MO.1.B",
            "len": 15,
            "nsites": 79,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/COT2_MOUSE.H11MO.1.B",
            "pwm": [
              [0.405378, 0.213864, 0.292635, 0.0881234], 
              [0.555332, 0.0118759, 0.264813, 0.167979], 
              [0.0913753, 0.0277748, 0.792365, 0.088485], 
              [0.0639141, 0.0133221, 0.709257, 0.213508], 
              [0.0942667, 0.124613, 0.208444, 0.572676], 
              [0.000318584, 0.913773, 0.0581273, 0.0277798], 
              [0.907998, 0.0523457, 0.000313527, 0.0393432], 
              [0.54377, 0.0942616, 0.260476, 0.101493], 
              [0.547383, 0.0393381, 0.278543, 0.134736], 
              [0.182432, 0.000313527, 0.750449, 0.0668044], 
              [0.146299, 0.0682445, 0.655057, 0.1304], 
              [0.0917369, 0.111244, 0.211696, 0.585323], 
              [0.0653593, 0.616032, 0.118833, 0.199777], 
              [0.579903, 0.133285, 0.199772, 0.0870398], 
              [0.423806, 0.23735, 0.188209, 0.150635]
            ]
          }, {
            "db": 0,
            "id": "COT2_MOUSE.H11MO.2.B",
            "len": 17,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/COT2_MOUSE.H11MO.2.B",
            "pwm": [
              [0.315987, 0.0860324, 0.429964, 0.168017], 
              [0.263998, 0.0460404, 0.563937, 0.126025], 
              [0.269996, 0.102029, 0.507948, 0.120026], 
              [0.182014, 0.184013, 0.511947, 0.122026], 
              [0.128025, 0.263997, 0.20001, 0.407969], 
              [0.198011, 0.543941, 0.124025, 0.134024], 
              [0.637923, 0.0760344, 0.118026, 0.168017], 
              [0.497951, 0.0240448, 0.457958, 0.0200464], 
              [0.731904, 0.00204919, 0.257998, 0.00804879], 
              [0.0260452, 0.00404879, 0.89987, 0.0700364], 
              [0.0280448, 0.0100476, 0.909868, 0.05204], 
              [0.012048, 0.04804, 0.184013, 0.755899], 
              [0.0700364, 0.831883, 0.04804, 0.0500404], 
              [0.957859, 0.0140468, 0.0160464, 0.012048], 
              [0.226005, 0.180014, 0.415966, 0.178015], 
              [0.30199, 0.19601, 0.373975, 0.128025], 
              [0.259998, 0.154019, 0.463957, 0.122026]
            ]
          }, {
            "db": 0,
            "id": "CREB1_MOUSE.H11MO.0.A",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/CREB1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.281994, 0.285992, 0.152019, 0.279994], 
              [0.345981, 0.0960304, 0.425964, 0.132024], 
              [0.509948, 0.0420412, 0.435962, 0.012048], 
              [0.00404959, 0.0240448, 0.0100476, 0.961858], 
              [0.00804879, 0.00604839, 0.977854, 0.00804879], 
              [0.969856, 4.95901e-05, 0.0220452, 0.00804879], 
              [0.0100484, 0.865876, 0.028044, 0.0960312], 
              [0.0180468, 0.0120472, 0.89587, 0.0740356], 
              [0.0800344, 0.267996, 0.0120472, 0.639922], 
              [0.313988, 0.503949, 0.0820332, 0.10003], 
              [0.621926, 0.122025, 0.116026, 0.140022]
            ]
          }, {
            "db": 0,
            "id": "CREM_MOUSE.H11MO.0.C",
            "len": 11,
            "nsites": 30,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/CREM_MOUSE.H11MO.0.C",
            "pwm": [
              [0.0427056, 0.569625, 0.259184, 0.128486], 
              [0.462414, 0.209146, 0.327604, 0.000837209], 
              [0.258176, 0.405214, 0.262248, 0.0743621], 
              [0.000837209, 0.00082392, 0.00082392, 0.997515], 
              [0.0335153, 0.00082392, 0.964824, 0.000837209], 
              [0.960752, 0.0375864, 0.00082392, 0.000837209], 
              [0.0335153, 0.899467, 0.0661801, 0.000837209], 
              [0.217329, 0.00082392, 0.78101, 0.000837209], 
              [0.10704, 0.033502, 0.00082392, 0.858634], 
              [0.0294309, 0.7034, 0.225485, 0.041685], 
              [0.83821, 0.102943, 0.033502, 0.0253455]
            ]
          }, {
            "db": 0,
            "id": "CTCFL_MOUSE.H11MO.0.A",
            "len": 18,
            "nsites": 495,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/CTCFL_MOUSE.H11MO.0.A",
            "pwm": [
              [0.193951, 0.202029, 0.476722, 0.127298], 
              [0.0545849, 0.818067, 0.084881, 0.0424663], 
              [0.0162096, 0.967532, 0.00812946, 0.00813027], 
              [0.343416, 0.107099, 0.39795, 0.151535], 
              [0.0970013, 0.509038, 0.383811, 0.0101499], 
              [0.0525653, 0.593869, 0.0808418, 0.272723], 
              [0.900879, 0.0263078, 0.0505449, 0.0222684], 
              [0.00409008, 0.00408927, 0.991769, 5.08988e-05], 
              [0.169714, 5.00909e-05, 0.826146, 0.00409008], 
              [0.0444859, 0.0525645, 0.78777, 0.11518], 
              [0.00813027, 0.00408927, 0.983689, 0.00409008], 
              [0.00207049, 0.0182284, 0.941274, 0.0384271], 
              [0.0465065, 0.947334, 5.00909e-05, 0.00611067], 
              [0.135378, 0.00206968, 0.858463, 0.00409008], 
              [0.0222684, 0.78777, 0.149515, 0.0404467], 
              [0.111139, 0.38987, 0.0949799, 0.404009], 
              [0.234347, 0.313118, 0.39795, 0.0545849], 
              [0.0848818, 0.365633, 0.260603, 0.288882]
            ]
          }, {
            "db": 0,
            "id": "CTCF_MOUSE.H11MO.0.A",
            "len": 20,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/CTCF_MOUSE.H11MO.0.A",
            "pwm": [
              [0.0800344, 0.367976, 0.128024, 0.423966], 
              [0.148021, 0.176014, 0.525944, 0.15002], 
              [0.20401, 0.0920312, 0.587932, 0.116027], 
              [0.0400424, 0.875874, 0.04804, 0.0360432], 
              [0.00804879, 0.989852, 4.95901e-05, 0.00204999], 
              [0.635923, 0.018046, 0.285992, 0.0600384], 
              [0.0200464, 0.601929, 0.367976, 0.0100484], 
              [0.10403, 0.611927, 0.0420412, 0.242002], 
              [0.885873, 0.038042, 0.0520392, 0.0240456], 
              [0.00204999, 4.95901e-05, 0.993851, 0.00404959], 
              [0.347981, 4.95901e-05, 0.64992, 0.00204999], 
              [0.0340436, 0.0360424, 0.639922, 0.289992], 
              [0.00204999, 0.00804799, 0.979854, 0.0100484], 
              [0.022046, 0.0200456, 0.89987, 0.0580388], 
              [0.0660372, 0.903869, 4.95901e-05, 0.0300444], 
              [0.252, 0.00604839, 0.737902, 0.00404959], 
              [0.0640376, 0.669916, 0.246, 0.0200464], 
              [0.0900324, 0.361977, 0.118026, 0.429964], 
              [0.291992, 0.303989, 0.357978, 0.0460412], 
              [0.092032, 0.242001, 0.359978, 0.305989]
            ]
          }, {
            "db": 0,
            "id": "E2F1_MOUSE.H11MO.0.A",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/E2F1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.178015, 0.162017, 0.507948, 0.15202], 
              [0.371976, 0.114027, 0.335982, 0.178015], 
              [0.170016, 0.0240448, 0.643921, 0.162018], 
              [0.0580388, 0.104029, 0.825884, 0.012048], 
              [0.0140476, 0.00804799, 0.973855, 0.00404959], 
              [0.0160472, 0.923865, 0.00404879, 0.0560392], 
              [0.0240456, 0.00804799, 0.933863, 0.0340436], 
              [0.0780348, 0.018046, 0.883873, 0.0200464], 
              [0.022046, 0.0160464, 0.961857, 5.03899e-05], 
              [0.573936, 0.0420412, 0.369976, 0.0140476], 
              [0.505949, 0.281993, 0.164017, 0.0480408], 
              [0.355979, 0.202009, 0.301989, 0.140022]
            ]
          }, {
            "db": 0,
            "id": "E2F3_MOUSE.H11MO.0.A",
            "len": 10,
            "nsites": 498,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/E2F3_MOUSE.H11MO.0.A",
            "pwm": [
              [0.18676, 0.112477, 0.570216, 0.130546], 
              [0.122516, 0.257026, 0.6184, 0.00205819], 
              [0.00607338, 0.024141, 0.953673, 0.0161114], 
              [0.0743327, 0.917537, 4.97892e-05, 0.00808098], 
              [0.0201266, 0.0301637, 0.945643, 0.00406579], 
              [0.00406579, 0.0261485, 0.961704, 0.00808098], 
              [0.0663023, 0.0100878, 0.921552, 0.00205819], 
              [0.983789, 0.00406498, 0.00808018, 0.00406579], 
              [0.441729, 0.0843699, 0.471843, 0.00205819], 
              [0.208844, 0.263049, 0.471843, 0.0562643]
            ]
          }, {
            "db": 0,
            "id": "E2F4_MOUSE.H11MO.0.A",
            "len": 14,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/E2F4_MOUSE.H11MO.0.A",
            "pwm": [
              [0.381974, 0.190012, 0.273995, 0.15402], 
              [0.234004, 0.10003, 0.603929, 0.062038], 
              [0.20401, 0.068036, 0.551939, 0.176015], 
              [0.248001, 0.0660364, 0.529944, 0.156019], 
              [0.0240456, 0.0740348, 0.89987, 0.00204999], 
              [0.012048, 0.00804799, 0.969856, 0.0100484], 
              [0.0260452, 0.89787, 0.00604839, 0.0700364], 
              [0.00804879, 0.00204919, 0.957858, 0.032044], 
              [0.00204999, 0.04804, 0.909868, 0.0400424], 
              [0.0680368, 0.0100476, 0.903869, 0.0180468], 
              [0.577935, 0.04804, 0.325984, 0.0480408], 
              [0.395971, 0.393971, 0.106028, 0.10403], 
              [0.30199, 0.279994, 0.176014, 0.242002], 
              [0.279994, 0.19601, 0.19601, 0.327985]
            ]
          }, {
            "db": 0,
            "id": "E2F6_MOUSE.H11MO.0.A",
            "len": 12,
            "nsites": 1864,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/E2F6_MOUSE.H11MO.0.A",
            "pwm": [
              [0.221261, 0.168232, 0.296422, 0.314086], 
              [0.201793, 0.0642589, 0.460551, 0.273398], 
              [0.147728, 0.118024, 0.719463, 0.0147867], 
              [0.0254262, 0.0282548, 0.940073, 0.00624618], 
              [0.115878, 0.85763, 0.00224618, 0.0242452], 
              [0.0578884, 0.0289478, 0.889158, 0.0240062], 
              [0.00859506, 0.0648848, 0.918447, 0.00807209], 
              [0.010295, 0.00969578, 0.969649, 0.01036], 
              [0.808119, 0.00316413, 0.186703, 0.00201241], 
              [0.582794, 0.0521435, 0.358982, 0.00608019], 
              [0.25976, 0.170815, 0.519137, 0.0502878], 
              [0.186314, 0.222716, 0.48328, 0.10769]
            ]
          }, {
            "db": 0,
            "id": "E2F7_MOUSE.H11MO.0.C",
            "len": 13,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/E2F7_MOUSE.H11MO.0.C",
            "pwm": [
              [0.196011, 0.14802, 0.529944, 0.126025], 
              [0.337983, 0.0320432, 0.415966, 0.214008], 
              [0.142022, 0.0820332, 0.771895, 0.00404959], 
              [0.0440416, 0.00404879, 0.941861, 0.0100484], 
              [0.0840336, 0.853879, 0.00404879, 0.0580388], 
              [0.140022, 0.0160464, 0.813887, 0.0300444], 
              [0.022046, 0.0120472, 0.957858, 0.00804879], 
              [0.20401, 0.00604839, 0.775894, 0.0140476], 
              [0.713908, 0.00404879, 0.275994, 0.00604919], 
              [0.60393, 0.138022, 0.240002, 0.0180468], 
              [0.427965, 0.192011, 0.224005, 0.156019], 
              [0.343982, 0.0860324, 0.355978, 0.214008], 
              [0.259998, 0.152019, 0.485952, 0.10203]
            ]
          }, {
            "db": 0,
            "id": "EGR1_MOUSE.H11MO.0.A",
            "len": 14,
            "nsites": 492,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/EGR1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.227647, 0.1931, 0.4715, 0.107753], 
              [0.136203, 0.172779, 0.339412, 0.351606], 
              [0.0508539, 0.0386605, 0.896209, 0.0142763], 
              [0.154492, 0.670646, 0.0122429, 0.16262], 
              [0.0020838, 5.03963e-05, 0.987655, 0.0102121], 
              [0.00411538, 0.00208298, 0.544655, 0.449147], 
              [0.0345972, 0.00208298, 0.96327, 5.12091e-05], 
              [5.12091e-05, 0.00411457, 0.989686, 0.00614797], 
              [5.12091e-05, 5.03963e-05, 0.999847, 5.12091e-05], 
              [0.148395, 0.611715, 5.03963e-05, 0.239839], 
              [5.12091e-05, 0.00614716, 0.989686, 0.00411538], 
              [0.0244363, 0.0284996, 0.778347, 0.168716], 
              [0.262193, 0.085399, 0.548719, 0.103689], 
              [0.219519, 0.0975916, 0.577169, 0.105721]
            ]
          }, {
            "db": 0,
            "id": "EGR2_MOUSE.H11MO.0.A",
            "len": 14,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/EGR2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.138023, 0.142021, 0.417966, 0.30199], 
              [0.0940316, 0.134023, 0.727904, 0.0440416], 
              [0.222006, 0.39797, 0.068036, 0.311988], 
              [0.0200464, 0.0120472, 0.94986, 0.0180468], 
              [0.00804879, 0.0140468, 0.29599, 0.681914], 
              [0.062038, 0.00404879, 0.925864, 0.00804879], 
              [0.00204999, 0.00404879, 0.983853, 0.0100484], 
              [0.00204999, 0.018046, 0.979854, 5.03899e-05], 
              [0.248001, 0.417966, 0.0140468, 0.319986], 
              [0.0280448, 0.0160464, 0.923865, 0.032044], 
              [0.072036, 0.00804799, 0.729904, 0.190012], 
              [0.252, 0.0960304, 0.541941, 0.110028], 
              [0.188013, 0.108028, 0.527944, 0.176015], 
              [0.224006, 0.170016, 0.49995, 0.106029]
            ]
          }, {
            "db": 0,
            "id": "EGR2_MOUSE.H11MO.1.A",
            "len": 18,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/EGR2_MOUSE.H11MO.1.A",
            "pwm": [
              [0.356692, 0.148317, 0.410789, 0.0842016], 
              [0.190393, 0.07819, 0.458876, 0.272541], 
              [0.0842016, 0.058154, 0.825535, 0.0321081], 
              [0.310609, 0.356691, 0.0421253, 0.290573], 
              [0.0421261, 0.0441289, 0.883641, 0.0301045], 
              [0.0341117, 0.0220893, 0.406782, 0.537017], 
              [0.158336, 0.00405689, 0.78947, 0.0481369], 
              [0.0301045, 0.00606048, 0.907684, 0.0561512], 
              [0.0301045, 0.0140749, 0.951763, 0.00405769], 
              [0.444851, 0.264526, 0.0140749, 0.276548], 
              [0.0481369, 0.00205329, 0.899669, 0.0501405], 
              [0.062162, 0.0381181, 0.731366, 0.168354], 
              [0.318624, 0.134292, 0.430825, 0.116259], 
              [0.28857, 0.0561504, 0.478912, 0.176368], 
              [0.192397, 0.134292, 0.565066, 0.108245], 
              [0.26653, 0.126277, 0.398768, 0.208426], 
              [0.174365, 0.104237, 0.587106, 0.134293], 
              [0.200411, 0.128281, 0.531005, 0.140303]
            ]
          }, {
            "db": 0,
            "id": "EGR4_MOUSE.H11MO.0.D",
            "len": 11,
            "nsites": 6,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/EGR4_MOUSE.H11MO.0.D",
            "pwm": [
              [0.0247485, 0.024683, 0.92582, 0.0247485], 
              [0.00413115, 0.00406557, 0.987672, 0.00413115], 
              [0.00413115, 0.50935, 0.333943, 0.152576], 
              [0.00413115, 0.00406557, 0.987672, 0.00413115], 
              [0.00413115, 0.00406557, 0.987672, 0.00413115], 
              [0.00413115, 0.59182, 0.0865351, 0.317515], 
              [0.575391, 0.00406557, 0.416412, 0.00413115], 
              [0.00413115, 0.00406557, 0.839227, 0.152576], 
              [0.00413115, 0.0865351, 0.905203, 0.00413115], 
              [0.00413115, 0.00406557, 0.987672, 0.00413115], 
              [0.268033, 0.525843, 0.103029, 0.103095]
            ]
          }, {
            "db": 0,
            "id": "EPAS1_MOUSE.H11MO.0.C",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/EPAS1_MOUSE.H11MO.0.C",
            "pwm": [
              [0.230004, 0.255998, 0.44596, 0.0680368], 
              [0.166017, 0.0700356, 0.244001, 0.519946], 
              [0.865877, 0.0200456, 0.108028, 0.00604919], 
              [0.0200464, 0.911867, 0.0260444, 0.042042], 
              [0.0160472, 0.0100476, 0.969856, 0.00404959], 
              [5.03899e-05, 4.95901e-05, 0.00204919, 0.997851], 
              [5.03899e-05, 4.95901e-05, 0.99785, 0.00204999], 
              [0.373976, 0.469956, 0.0600376, 0.0960312], 
              [0.160018, 0.489952, 0.134023, 0.216007]
            ]
          }, {
            "db": 0,
            "id": "ERR1_MOUSE.H11MO.0.A",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ERR1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.39997, 0.178014, 0.186012, 0.236003], 
              [0.162018, 0.126024, 0.489952, 0.222006], 
              [0.0780348, 0.305988, 0.309988, 0.305989], 
              [0.0240456, 0.263997, 0.0760344, 0.635923], 
              [0.062038, 0.815886, 0.120026, 0.00204999], 
              [0.939862, 0.00604839, 0.0540388, 5.03899e-05], 
              [0.993852, 4.95901e-05, 0.00604839, 5.03899e-05], 
              [5.03899e-05, 4.95901e-05, 0.991851, 0.00804879], 
              [5.03899e-05, 4.95901e-05, 0.99585, 0.00404959], 
              [0.012048, 0.00604839, 0.0460404, 0.935863], 
              [5.03899e-05, 0.94986, 0.0200456, 0.0300444], 
              [0.989852, 4.95901e-05, 0.0100476, 5.03899e-05]
            ]
          }, {
            "db": 0,
            "id": "ERR2_MOUSE.H11MO.0.A",
            "len": 17,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ERR2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.40397, 0.152019, 0.287992, 0.156019], 
              [0.543942, 0.130024, 0.118026, 0.208009], 
              [0.216007, 0.102029, 0.505948, 0.176015], 
              [0.0600384, 0.188012, 0.180014, 0.571936], 
              [0.0460412, 0.168016, 0.0200456, 0.765897], 
              [0.0480408, 0.855878, 0.0940308, 0.00204999], 
              [0.885873, 0.0720352, 0.0320432, 0.0100484], 
              [0.959858, 4.95901e-05, 0.0360424, 0.00404959], 
              [0.0240456, 0.00404879, 0.957858, 0.0140476], 
              [0.00204999, 0.0100476, 0.969856, 0.0180468], 
              [0.0480408, 0.00804799, 0.0240448, 0.919866], 
              [0.0100484, 0.935862, 0.018046, 0.0360432], 
              [0.90387, 0.0640368, 0.0140468, 0.0180468], 
              [0.162018, 0.253999, 0.14602, 0.437963], 
              [0.236003, 0.441961, 0.132023, 0.190012], 
              [0.10403, 0.467956, 0.170016, 0.257999], 
              [0.248001, 0.160018, 0.14802, 0.443962]
            ]
          }, {
            "db": 0,
            "id": "ERR3_MOUSE.H11MO.0.C",
            "len": 10,
            "nsites": 242,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ERR3_MOUSE.H11MO.0.C",
            "pwm": [
              [0.082715, 0.247934, 0.21902, 0.450331], 
              [0.0248868, 0.731205, 0.231412, 0.012496], 
              [0.950125, 0.0166246, 0.0290165, 0.00423438], 
              [0.962516, 0.00423273, 0.0248852, 0.00836468], 
              [0.0372787, 0.000102437, 0.954253, 0.00836468], 
              [0.00423438, 0.0248852, 0.950123, 0.0207566], 
              [0.214891, 0.0331468, 0.144671, 0.607291], 
              [0.0207566, 0.747728, 0.185976, 0.0455403], 
              [0.867515, 0.0455387, 0.0703214, 0.0166263], 
              [0.0951058, 0.508156, 0.252064, 0.144672]
            ]
          }, {
            "db": 0,
            "id": "ESR1_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ESR1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.557939, 0.0460404, 0.305988, 0.0900324], 
              [0.0940316, 0.00604839, 0.767896, 0.132024], 
              [0.0980308, 0.0720352, 0.803889, 0.0260452], 
              [0.242002, 0.0700356, 0.108028, 0.579934], 
              [0.00204999, 0.84988, 0.118026, 0.0300444], 
              [0.927865, 0.00604839, 0.0460404, 0.0200464], 
              [0.0740356, 0.561937, 0.281993, 0.082034], 
              [0.437963, 0.561937, 4.95901e-05, 5.03899e-05], 
              [0.168017, 0.475954, 0.246, 0.110028], 
              [0.0760352, 0.0520392, 0.0140468, 0.857879], 
              [0.0260452, 0.028044, 0.937862, 0.00804879], 
              [0.54994, 0.158018, 0.0740348, 0.218007], 
              [0.0660372, 0.793891, 0.0440408, 0.0960312], 
              [0.10403, 0.817886, 4.95901e-05, 0.0780348], 
              [0.0700364, 0.375974, 0.0540388, 0.49995]
            ]
          }, {
            "db": 0,
            "id": "ESR1_MOUSE.H11MO.1.A",
            "len": 10,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ESR1_MOUSE.H11MO.1.A",
            "pwm": [
              [0.122026, 0.54594, 0.120026, 0.212008], 
              [0.34998, 0.325984, 0.118026, 0.206009], 
              [0.631924, 0.0160464, 0.34798, 0.00404959], 
              [0.00604919, 4.95901e-05, 0.965856, 0.0280448], 
              [0.00604919, 4.95901e-05, 0.991851, 0.00204999], 
              [0.0380428, 0.00404879, 0.102029, 0.855879], 
              [0.00404959, 0.973855, 0.0200456, 0.00204999], 
              [0.993852, 0.00204919, 0.00404879, 5.03899e-05], 
              [0.0680368, 0.443961, 0.369976, 0.118027], 
              [0.317987, 0.335982, 0.246, 0.10003]
            ]
          }, {
            "db": 0,
            "id": "ESR2_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 497,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ESR2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.494921, 0.0966095, 0.36215, 0.0463194], 
              [0.114716, 0.0121195, 0.790635, 0.0825291], 
              [0.0463194, 0.0262016, 0.859032, 0.0684469], 
              [0.0966103, 0.116726, 0.22938, 0.557283], 
              [0.0161445, 0.798682, 0.0523534, 0.132821], 
              [0.621656, 0.034248, 0.247485, 0.0966103], 
              [0.0925871, 0.511013, 0.26559, 0.130809], 
              [5.0694e-05, 0.667924, 4.98894e-05, 0.331976], 
              [0.122762, 0.4225, 0.267602, 0.187136], 
              [0.0402836, 0.239439, 0.0302248, 0.690053], 
              [0.0825291, 0.0262016, 0.891219, 5.0694e-05], 
              [0.521073, 0.273637, 0.0865515, 0.118739], 
              [0.0241908, 0.84495, 0.0221784, 0.108681], 
              [0.0825291, 0.846961, 0.0121195, 0.058389], 
              [0.0724711, 0.356115, 0.0362596, 0.535154]
            ]
          }, {
            "db": 0,
            "id": "ESR2_MOUSE.H11MO.1.A",
            "len": 8,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ESR2_MOUSE.H11MO.1.A",
            "pwm": [
              [0.633924, 0.0160464, 0.341981, 0.00804879], 
              [0.0180468, 4.95901e-05, 0.967856, 0.0140476], 
              [5.03899e-05, 0.0120472, 0.979854, 0.00804879], 
              [0.0500404, 0.0140468, 0.208008, 0.727905], 
              [0.0100484, 0.983853, 0.00604839, 5.03899e-05], 
              [0.987853, 0.00404879, 4.95901e-05, 0.00804879], 
              [0.0460412, 0.255998, 0.59793, 0.10003], 
              [0.25, 0.25, 0.433963, 0.0660372]
            ]
          }, {
            "db": 0,
            "id": "GCR_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/GCR_MOUSE.H11MO.0.A",
            "pwm": [
              [0.465957, 0.0200456, 0.403969, 0.110028], 
              [0.0680368, 0.00804799, 0.843881, 0.0800344], 
              [0.34998, 0.166016, 0.315986, 0.168017], 
              [0.861878, 0.0260444, 0.0240448, 0.0880328], 
              [5.03899e-05, 0.971855, 0.018046, 0.0100484], 
              [0.817887, 0.018046, 0.0500396, 0.114028], 
              [0.15202, 0.25, 0.403969, 0.194012], 
              [0.629924, 4.95901e-05, 0.369976, 5.03899e-05], 
              [0.377975, 0.257998, 0.29999, 0.0640376], 
              [0.166017, 0.0860324, 0.0420412, 0.705909], 
              [0.022046, 0.00604839, 0.965856, 0.00604919], 
              [0.0540396, 0.018046, 0.0320432, 0.895871], 
              [0.162018, 0.317986, 0.140022, 0.379974], 
              [0.0540396, 0.865876, 0.00404879, 0.0760352], 
              [0.108029, 0.387972, 0.0340428, 0.469956]
            ]
          }, {
            "db": 0,
            "id": "GCR_MOUSE.H11MO.1.A",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/GCR_MOUSE.H11MO.1.A",
            "pwm": [
              [0.383974, 0.305988, 0.110028, 0.20001], 
              [0.425965, 0.140022, 0.305988, 0.128025], 
              [0.493952, 0.00204919, 0.491951, 0.012048], 
              [0.00404959, 0.00204919, 0.993851, 5.03899e-05], 
              [0.609928, 0.0440408, 0.19601, 0.15002], 
              [0.987853, 0.00804799, 0.00404879, 5.03899e-05], 
              [0.00204999, 0.993851, 0.00404879, 5.03899e-05], 
              [0.981854, 4.95901e-05, 0.00204919, 0.0160472], 
              [0.122026, 0.188012, 0.533943, 0.156019], 
              [0.487953, 0.0820332, 0.178014, 0.252], 
              [0.343982, 0.244001, 0.311987, 0.10003], 
              [0.285993, 0.210008, 0.0540388, 0.44996]
            ]
          }, {
            "db": 0,
            "id": "GLI1_MOUSE.H11MO.0.C",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/GLI1_MOUSE.H11MO.0.C",
            "pwm": [
              [0.112028, 0.391971, 0.184013, 0.311988], 
              [0.0340436, 0.471955, 0.39997, 0.0940316], 
              [0.0700364, 0.0760344, 0.0120472, 0.841882], 
              [0.0200464, 0.028044, 0.905868, 0.0460412], 
              [0.0100484, 0.0120472, 0.763897, 0.214008], 
              [0.012048, 0.0400416, 0.94786, 5.03899e-05], 
              [0.0660372, 0.0220452, 0.0200456, 0.891872], 
              [0.012048, 0.00804799, 0.973855, 0.00604919], 
              [0.0160472, 0.00404879, 0.937862, 0.042042], 
              [0.0140476, 0.238002, 0.152019, 0.595931], 
              [0.042042, 0.879874, 0.0420412, 0.0360432], 
              [0.116027, 0.359978, 0.0600376, 0.463958]
            ]
          }, {
            "db": 0,
            "id": "GLI2_MOUSE.H11MO.0.D",
            "len": 11,
            "nsites": 931,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/GLI2_MOUSE.H11MO.0.D",
            "pwm": [
              [0.113104, 0.175004, 0.617201, 0.0946899], 
              [2.70648e-05, 2.66352e-05, 2.66352e-05, 0.99992], 
              [2.70648e-05, 2.66352e-05, 0.999919, 2.70648e-05], 
              [2.70648e-05, 2.66352e-05, 0.844765, 0.155181], 
              [2.70648e-05, 2.66352e-05, 0.999919, 2.70648e-05], 
              [2.70648e-05, 2.66352e-05, 2.66352e-05, 0.99992], 
              [2.70648e-05, 2.66352e-05, 0.999919, 2.70648e-05], 
              [2.70648e-05, 2.66352e-05, 0.999919, 2.70648e-05], 
              [2.70648e-05, 2.66352e-05, 2.66352e-05, 0.99992], 
              [2.70648e-05, 0.999919, 2.66352e-05, 2.70648e-05], 
              [0.0798935, 0.369368, 0.0933066, 0.457432]
            ]
          }, {
            "db": 0,
            "id": "GLI3_MOUSE.H11MO.0.D",
            "len": 12,
            "nsites": 476,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/GLI3_MOUSE.H11MO.0.D",
            "pwm": [
              [0.111375, 0.399128, 0.201691, 0.287807], 
              [0.0504623, 0.527252, 0.30251, 0.119776], 
              [0.105073, 0.0903691, 0.0294579, 0.7751], 
              [0.00845417, 0.0441608, 0.863316, 0.0840693], 
              [0.0357594, 0.00215265, 0.697385, 0.264703], 
              [0.00425405, 0.0525621, 0.94103, 0.00215349], 
              [0.176487, 0.0294579, 0.0126544, 0.781402], 
              [0.0147558, 0.00215265, 0.959934, 0.0231571], 
              [0.0147558, 0.0525621, 0.892722, 0.0399605], 
              [0.0420611, 0.346618, 0.126076, 0.485245], 
              [0.0819687, 0.728891, 0.0882686, 0.100872], 
              [0.134479, 0.308811, 0.180686, 0.376024]
            ]
          }, {
            "db": 0,
            "id": "GLIS3_MOUSE.H11MO.0.D",
            "len": 10,
            "nsites": 38,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/GLIS3_MOUSE.H11MO.0.D",
            "pwm": [
              [0.0544559, 0.196927, 0.734871, 0.013747], 
              [0.0268315, 0.381572, 0.0937001, 0.497895], 
              [0.0937106, 0.000650919, 0.852636, 0.0530017], 
              [0.000661417, 0.000650919, 0.800296, 0.198392], 
              [0.0268315, 0.026821, 0.945686, 0.000661417], 
              [0.0530017, 0.000650919, 0.762494, 0.183852], 
              [0.000661417, 0.000650919, 0.998026, 0.000661417], 
              [0.0413703, 0.026821, 0.852636, 0.0791718], 
              [0.0268315, 0.224552, 0.000650919, 0.747966], 
              [0.422293, 0.419374, 0.105331, 0.0530017]
            ]
          }, {
            "db": 0,
            "id": "HEN1_MOUSE.H11MO.0.C",
            "len": 20,
            "nsites": 55,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/HEN1_MOUSE.H11MO.0.C",
            "pwm": [
              [0.119991, 0.230297, 0.293334, 0.356377], 
              [0.110771, 0.0950042, 0.636176, 0.158048], 
              [0.031975, 0.0319678, 0.778008, 0.158048], 
              [0.0950114, 0.000450091, 0.856804, 0.0477344], 
              [0.12653, 0.126523, 0.462826, 0.284121], 
              [0.494352, 0.457463, 0.0477271, 0.00045735], 
              [0.12653, 0.142281, 0.441704, 0.289485], 
              [0.0477344, 0.919839, 0.0319678, 0.00045735], 
              [0.967125, 0.0162094, 0.0162094, 0.00045735], 
              [0.00045735, 0.0792458, 0.872562, 0.0477344], 
              [0.00045735, 0.998635, 0.000450091, 0.00045735], 
              [0.0634937, 0.000450091, 0.000450091, 0.935606], 
              [0.00045735, 0.000450091, 0.982876, 0.0162167], 
              [0.0162167, 0.888322, 0.0634865, 0.031975], 
              [0.0477344, 0.0162094, 0.825285, 0.110771], 
              [0.00045735, 0.221077, 0.284113, 0.494352], 
              [0.0162167, 0.888322, 0.0634865, 0.031975], 
              [0.0950114, 0.699213, 0.0792458, 0.12653], 
              [0.110771, 0.425944, 0.0950042, 0.36828], 
              [0.127871, 0.395767, 0.064827, 0.411534]
            ]
          }, {
            "db": 0,
            "id": "HEY2_MOUSE.H11MO.0.D",
            "len": 17,
            "nsites": 8,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/HEY2_MOUSE.H11MO.0.D",
            "pwm": [
              [0.00311111, 0.00306173, 0.871, 0.122827], 
              [0.00311111, 0.242493, 0.496889, 0.257507], 
              [0.00311111, 0.257458, 0.377173, 0.362258], 
              [0.00311111, 0.257458, 0.616604, 0.122827], 
              [0.137792, 0.00306173, 0.856036, 0.00311111], 
              [0.00311111, 0.856036, 0.00306173, 0.137792], 
              [0.496938, 0.00306173, 0.122777, 0.377223], 
              [0.00311111, 0.871, 0.122777, 0.00311111], 
              [0.00311111, 0.122777, 0.871, 0.00311111], 
              [0.00311111, 0.122777, 0.00306173, 0.87105], 
              [0.00311111, 0.00306173, 0.990716, 0.00311111], 
              [0.122827, 0.242493, 0.631569, 0.00311111], 
              [0.122827, 0.73632, 0.137742, 0.00311111], 
              [0.362258, 0.257458, 0.122777, 0.257507], 
              [0.00311111, 0.257458, 0.122777, 0.616654], 
              [0.00311111, 0.257458, 0.362208, 0.377223], 
              [0.365999, 0.261199, 0.246234, 0.126568]
            ]
          }, {
            "db": 0,
            "id": "HIC1_MOUSE.H11MO.0.C",
            "len": 9,
            "nsites": 39,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/HIC1_MOUSE.H11MO.0.C",
            "pwm": [
              [0.203549, 0.105161, 0.512336, 0.178954], 
              [0.0252394, 0.099012, 0.752132, 0.123617], 
              [0.000644501, 0.000634271, 0.924293, 0.0744283], 
              [0.0252394, 0.000634271, 0.344956, 0.62917], 
              [0.000644501, 0.000634271, 0.000634271, 0.998087], 
              [0.0252394, 0.000634271, 0.973482, 0.000644501], 
              [0.0252394, 0.973482, 0.000634271, 0.000644501], 
              [0.000644501, 0.998077, 0.000634271, 0.000644501], 
              [0.191252, 0.623011, 0.0928638, 0.092874]
            ]
          }, {
            "db": 0,
            "id": "HNF4A_MOUSE.H11MO.0.A",
            "len": 14,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/HNF4A_MOUSE.H11MO.0.A",
            "pwm": [
              [0.345981, 0.188012, 0.331983, 0.134024], 
              [0.435963, 0.0300436, 0.389972, 0.144022], 
              [0.130024, 0.0340428, 0.7499, 0.0860332], 
              [0.124026, 0.0540388, 0.413967, 0.407969], 
              [0.108029, 0.439962, 0.212007, 0.240002], 
              [0.0240456, 0.911867, 0.00204919, 0.062038], 
              [0.95386, 0.0120472, 0.0260444, 0.00804879], 
              [0.80389, 0.00604839, 0.164017, 0.0260452], 
              [0.879874, 0.00204919, 0.104029, 0.0140476], 
              [0.00204999, 0.00604839, 0.981853, 0.0100484], 
              [0.022046, 0.00604839, 0.142021, 0.829884], 
              [0.0140476, 0.685912, 0.0920312, 0.208009], 
              [0.00804879, 0.889872, 0.0100476, 0.092032], 
              [0.739902, 0.0420412, 0.110028, 0.108029]
            ]
          }, {
            "db": 0,
            "id": "HNF4G_MOUSE.H11MO.0.C",
            "len": 14,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/HNF4G_MOUSE.H11MO.0.C",
            "pwm": [
              [0.281994, 0.253999, 0.353979, 0.110028], 
              [0.455959, 0.0320432, 0.39797, 0.114028], 
              [0.072036, 0.018046, 0.84788, 0.062038], 
              [0.182014, 0.0700356, 0.325984, 0.421966], 
              [0.15002, 0.307988, 0.277994, 0.263998], 
              [0.00804879, 0.925864, 0.0100476, 0.0560392], 
              [0.94986, 0.0220452, 0.0160464, 0.012048], 
              [0.845881, 0.00804799, 0.144021, 0.00204999], 
              [0.921866, 4.95901e-05, 0.068036, 0.0100484], 
              [0.00804879, 0.00604839, 0.967856, 0.0180468], 
              [0.0160472, 0.00804799, 0.381973, 0.593932], 
              [0.042042, 0.49595, 0.128024, 0.333984], 
              [0.0180468, 0.835882, 0.0160464, 0.130024], 
              [0.70191, 0.0640368, 0.130024, 0.10403]
            ]
          }, {
            "db": 0,
            "id": "HTF4_MOUSE.H11MO.0.A",
            "len": 10,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/HTF4_MOUSE.H11MO.0.A",
            "pwm": [
              [0.409968, 0.0560384, 0.355978, 0.178015], 
              [0.156019, 0.170016, 0.655918, 0.0180468], 
              [0.0160472, 0.835882, 0.136022, 0.012048], 
              [0.971856, 0.00404879, 0.0100476, 0.0140476], 
              [0.00804879, 0.00404879, 0.977854, 0.0100484], 
              [0.15202, 0.240002, 0.589932, 0.0180468], 
              [0.112028, 0.0140468, 0.0440408, 0.829884], 
              [0.0440416, 0.0240448, 0.907868, 0.0240456], 
              [0.0960312, 0.0600376, 0.535942, 0.307989], 
              [0.114028, 0.220006, 0.529944, 0.136023]
            ]
          }, {
            "db": 0,
            "id": "INSM1_MOUSE.H11MO.0.C",
            "len": 12,
            "nsites": 24,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/INSM1_MOUSE.H11MO.0.C",
            "pwm": [
              [0.0651077, 0.00102905, 0.228134, 0.705729], 
              [0.00104564, 0.00102905, 0.741205, 0.25672], 
              [0.00104564, 0.15715, 0.122231, 0.719574], 
              [0.349926, 0.619429, 0.00102905, 0.0296156], 
              [0.968326, 0.00102905, 0.00102905, 0.0296156], 
              [0.00104564, 0.00102905, 0.99688, 0.00104564], 
              [0.00104564, 0.00102905, 0.99688, 0.00104564], 
              [0.00104564, 0.00102905, 0.99688, 0.00104564], 
              [0.00104564, 0.00102905, 0.99688, 0.00104564], 
              [0.00104564, 0.058169, 0.91117, 0.0296156], 
              [0.0581856, 0.93974, 0.00102905, 0.00104564], 
              [0.619446, 0.00102905, 0.378479, 0.00104564]
            ]
          }, {
            "db": 0,
            "id": "ITF2_MOUSE.H11MO.0.B",
            "len": 9,
            "nsites": 454,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ITF2_MOUSE.H11MO.0.B",
            "pwm": [
              [0.332023, 0.342665, 0.324096, 0.00121524], 
              [5.54944e-05, 0.999834, 5.46135e-05, 5.54944e-05], 
              [0.999835, 5.46135e-05, 5.46135e-05, 5.54944e-05], 
              [5.54944e-05, 5.46135e-05, 0.999834, 5.54944e-05], 
              [5.54944e-05, 5.46135e-05, 0.999834, 5.54944e-05], 
              [5.54944e-05, 5.46135e-05, 0.00121436, 0.998676], 
              [5.54944e-05, 5.46135e-05, 0.999834, 5.54944e-05], 
              [0.02497, 0.659259, 5.46135e-05, 0.315716], 
              [0.37293, 0.0804189, 0.346718, 0.199932]
            ]
          }, {
            "db": 0,
            "id": "KLF15_MOUSE.H11MO.0.A",
            "len": 19,
            "nsites": 479,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/KLF15_MOUSE.H11MO.0.A",
            "pwm": [
              [0.311053, 0.0355354, 0.542735, 0.110677], 
              [0.258872, 0.0125751, 0.695105, 0.0334486], 
              [5.25986e-05, 0.00213933, 0.997755, 5.25986e-05], 
              [0.0167501, 0.00631346, 0.974796, 0.00214016], 
              [0.536475, 0.354884, 5.17637e-05, 0.108589], 
              [0.0689322, 0.00631346, 0.91844, 0.00631429], 
              [0.012576, 0.0146627, 0.885044, 0.0877173], 
              [0.492643, 0.0313602, 0.423763, 0.0522337], 
              [0.116938, 0.00631346, 0.868346, 0.00840186], 
              [0.313139, 0.344448, 0.298528, 0.0438844], 
              [0.344449, 0.16077, 0.286005, 0.208777], 
              [0.233824, 0.0438836, 0.582393, 0.139898], 
              [0.150334, 0.0209244, 0.79738, 0.0313611], 
              [0.185818, 0.0313602, 0.770246, 0.012576], 
              [0.256784, 0.133636, 0.576131, 0.0334486], 
              [0.177469, 0.104414, 0.665884, 0.0522337], 
              [0.277657, 0.129461, 0.446723, 0.14616], 
              [0.0877173, 0.0939782, 0.743112, 0.0751939], 
              [0.18373, 0.0167493, 0.730588, 0.0689322]
            ]
          }, {
            "db": 0,
            "id": "KLF1_MOUSE.H11MO.0.A",
            "len": 14,
            "nsites": 454,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/KLF1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.350198, 0.0286823, 0.286336, 0.334784], 
              [0.00445952, 5.46135e-05, 0.984419, 0.0110661], 
              [0.00445952, 0.00445864, 0.991025, 5.54944e-05], 
              [0.00666204, 5.46135e-05, 0.991025, 0.00225801], 
              [0.110163, 0.436082, 0.00225713, 0.451498], 
              [0.00886455, 5.46135e-05, 0.984419, 0.00666204], 
              [0.0242792, 0.00886367, 0.493338, 0.473519], 
              [0.0286832, 0.00666116, 0.911748, 0.0529069], 
              [0.0198751, 0.0176717, 0.911748, 0.0507053], 
              [0.0683225, 0.645286, 0.15861, 0.12778], 
              [0.17843, 0.400847, 0.134386, 0.286336], 
              [0.0991527, 0.127779, 0.532977, 0.240091], 
              [0.0463013, 0.171823, 0.621063, 0.160813], 
              [0.0727265, 0.112365, 0.643085, 0.171824]
            ]
          }, {
            "db": 0,
            "id": "KLF3_MOUSE.H11MO.0.A",
            "len": 19,
            "nsites": 498,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/KLF3_MOUSE.H11MO.0.A",
            "pwm": [
              [0.212859, 0.188767, 0.471843, 0.126531], 
              [0.226913, 0.222897, 0.461804, 0.0883859], 
              [0.259035, 0.204828, 0.42366, 0.112478], 
              [0.244981, 0.186759, 0.495934, 0.0723251], 
              [0.327294, 0.246988, 0.315247, 0.11047], 
              [0.345363, 0.0442179, 0.359416, 0.251004], 
              [0.0341807, 4.97892e-05, 0.965719, 5.05922e-05], 
              [0.00607338, 4.97892e-05, 0.991819, 0.00205819], 
              [0.00406579, 0.00808018, 0.985796, 0.00205819], 
              [0.0863783, 0.642491, 4.97892e-05, 0.27108], 
              [0.00808098, 0.00607258, 0.981781, 0.00406579], 
              [0.00406579, 0.0261485, 0.724804, 0.244981], 
              [0.184753, 0.0181182, 0.754918, 0.0422111], 
              [0.0763403, 0.0100878, 0.843253, 0.0703175], 
              [0.0843707, 0.6184, 0.148614, 0.148615], 
              [0.182745, 0.381499, 0.162668, 0.273088], 
              [0.130546, 0.204828, 0.495934, 0.168692], 
              [0.092401, 0.242973, 0.530063, 0.134562], 
              [0.160661, 0.218882, 0.481881, 0.138577]
            ]
          }, {
            "db": 0,
            "id": "KLF4_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/KLF4_MOUSE.H11MO.0.A",
            "pwm": [
              [0.170016, 0.144021, 0.341981, 0.343982], 
              [0.261998, 0.184013, 0.469956, 0.0840336], 
              [0.285993, 0.206008, 0.419966, 0.0880328], 
              [0.461958, 0.120026, 0.291991, 0.126025], 
              [0.255999, 0.236002, 0.469956, 0.0380428], 
              [0.341982, 0.018046, 0.158018, 0.481954], 
              [0.106029, 0.00404879, 0.885872, 0.00404959], 
              [0.0280448, 4.95901e-05, 0.891871, 0.0800344], 
              [0.0580388, 0.0440408, 0.883873, 0.0140476], 
              [0.116027, 0.232003, 0.0160464, 0.635923], 
              [0.0960312, 0.0100476, 0.877874, 0.0160472], 
              [0.022046, 0.00604839, 0.433963, 0.537943], 
              [0.0740356, 0.00804799, 0.815886, 0.10203], 
              [0.0640376, 0.0400416, 0.721905, 0.174016], 
              [0.15002, 0.681913, 0.0700356, 0.0980308]
            ]
          }, {
            "db": 0,
            "id": "KLF5_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/KLF5_MOUSE.H11MO.0.A",
            "pwm": [
              [0.242487, 0.110248, 0.476908, 0.170357], 
              [0.126278, 0.0902116, 0.66124, 0.12227], 
              [0.198408, 0.148317, 0.551041, 0.102234], 
              [0.162343, 0.178371, 0.543027, 0.116259], 
              [0.158336, 0.462883, 0.290572, 0.0882088], 
              [0.462884, 0.0220893, 0.170357, 0.34467], 
              [0.0441297, 4.96894e-05, 0.947756, 0.00806488], 
              [0.00405769, 0.00205329, 0.991835, 0.00205409], 
              [0.0100685, 0.00806408, 0.97781, 0.00405769], 
              [0.262523, 0.308605, 0.00205329, 0.426819], 
              [0.0341117, 0.0100677, 0.943749, 0.0120721], 
              [0.0862052, 0.0301037, 0.609146, 0.274544], 
              [0.0421261, 0.00606048, 0.943749, 0.00806488], 
              [0.0581548, 0.0381181, 0.853586, 0.0501405], 
              [0.202415, 0.59512, 0.07819, 0.124274]
            ]
          }, {
            "db": 0,
            "id": "KLF6_MOUSE.H11MO.0.B",
            "len": 19,
            "nsites": 496,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/KLF6_MOUSE.H11MO.0.B",
            "pwm": [
              [0.155262, 0.185497, 0.510028, 0.149215], 
              [0.22178, 0.247984, 0.479792, 0.0504436], 
              [0.445526, 0.189528, 0.280236, 0.0847107], 
              [0.459635, 0.0181913, 0.368928, 0.153246], 
              [0.048428, 0.00609677, 0.814402, 0.131072], 
              [0.0242399, 4.99899e-05, 0.955502, 0.0202077], 
              [0.0443969, 0.0524584, 0.890999, 0.0121454], 
              [0.260079, 0.457619, 4.99899e-05, 0.282252], 
              [0.116962, 0.00609677, 0.854717, 0.0222233], 
              [0.0282711, 0.0222225, 0.689427, 0.260079], 
              [0.209686, 0.064553, 0.68338, 0.0423813], 
              [0.0867273, 0.0302859, 0.836575, 0.0464124], 
              [0.229843, 0.453588, 0.207669, 0.1089], 
              [0.294346, 0.318534, 0.137119, 0.25], 
              [0.0625382, 0.157276, 0.522122, 0.258064], 
              [0.147198, 0.12704, 0.608798, 0.116962], 
              [0.161308, 0.171386, 0.602751, 0.0645538], 
              [0.34877, 0.110915, 0.433431, 0.106884], 
              [0.258064, 0.233874, 0.455603, 0.0524592]
            ]
          }, {
            "db": 0,
            "id": "KLF8_MOUSE.H11MO.0.C",
            "len": 9,
            "nsites": 5,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/KLF8_MOUSE.H11MO.0.C",
            "pwm": [
              [0.00494118, 0.775171, 0.00486275, 0.215025], 
              [0.670207, 0.319989, 0.00486275, 0.00494118], 
              [0.00494118, 0.00486275, 0.880213, 0.109983], 
              [0.00494118, 0.00486275, 0.670128, 0.320068], 
              [0.00494118, 0.00486275, 0.985255, 0.00494118], 
              [0.00494118, 0.00486275, 0.635115, 0.355081], 
              [0.00494118, 0.00486275, 0.985255, 0.00494118], 
              [0.00494118, 0.109905, 0.00486275, 0.880291], 
              [0.00494118, 0.109905, 0.880213, 0.00494118]
            ]
          }, {
            "db": 0,
            "id": "LYL1_MOUSE.H11MO.0.A",
            "len": 14,
            "nsites": 453,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/LYL1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.205308, 0.441458, 0.203101, 0.150132], 
              [0.145718, 0.695265, 0.0265389, 0.132476], 
              [0.640091, 0.0508165, 0.0464025, 0.262691], 
              [0.0574379, 0.125855, 0.490013, 0.326695], 
              [0.13027, 0.730577, 0.044195, 0.0949577], 
              [0.105992, 5.47341e-05, 0.00667627, 0.887277], 
              [0.00226313, 0.176616, 0.810031, 0.0110912], 
              [0.00667716, 0.298002, 0.18103, 0.514291], 
              [0.061852, 0.207515, 0.220757, 0.509877], 
              [0.207516, 0.220757, 0.130269, 0.441459], 
              [0.0441959, 0.512083, 0.119233, 0.324487], 
              [0.0949577, 0.580501, 0.110405, 0.214136], 
              [0.141304, 0.187651, 0.18103, 0.490013], 
              [0.119234, 0.273725, 0.379662, 0.227378]
            ]
          }, {
            "db": 0,
            "id": "MAFA_MOUSE.H11MO.0.D",
            "len": 13,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAFA_MOUSE.H11MO.0.D",
            "pwm": [
              [0.0960312, 0.365976, 0.192011, 0.345981], 
              [0.072036, 0.112027, 0.0120472, 0.80389], 
              [0.0140476, 0.0200456, 0.84588, 0.120026], 
              [0.032044, 0.919866, 0.0200456, 0.0280448], 
              [0.012048, 0.0100476, 0.00804799, 0.969856], 
              [0.00804879, 0.0540388, 0.867876, 0.0700364], 
              [0.757899, 0.124025, 0.0320432, 0.0860332], 
              [0.0560392, 0.531943, 0.287992, 0.124026], 
              [0.174016, 0.126024, 0.138022, 0.561938], 
              [0.112028, 0.493951, 0.174015, 0.220006], 
              [0.383974, 0.0700356, 0.140022, 0.405969], 
              [0.116027, 0.15002, 0.537942, 0.196011], 
              [0.062038, 0.389972, 0.206008, 0.341982]
            ]
          }, {
            "db": 0,
            "id": "MAFB_MOUSE.H11MO.0.B",
            "len": 11,
            "nsites": 473,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAFB_MOUSE.H11MO.0.B",
            "pwm": [
              [0.0993983, 0.0233035, 0.0613505, 0.815949], 
              [0.00639393, 0.0571224, 0.900496, 0.0359867], 
              [0.0655784, 0.90261, 0.0148483, 0.0169627], 
              [0.0803743, 0.00639308, 5.24202e-05, 0.913179], 
              [0.0359867, 0.02119, 0.853995, 0.0888295], 
              [0.822289, 0.0233035, 0.0550088, 0.0993983], 
              [0.107852, 0.448161, 0.310769, 0.133217], 
              [0.200857, 0.143785, 0.0951693, 0.560189], 
              [0.173379, 0.418569, 0.160695, 0.247358], 
              [0.448162, 0.141671, 0.188174, 0.221993], 
              [0.238904, 0.105738, 0.433365, 0.221993]
            ]
          }, {
            "db": 0,
            "id": "MAFF_MOUSE.H11MO.1.A",
            "len": 10,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAFF_MOUSE.H11MO.1.A",
            "pwm": [
              [0.0340436, 0.018046, 0.0140468, 0.933864], 
              [0.00804879, 0.0120472, 0.965856, 0.0140476], 
              [0.0280448, 0.935862, 0.0260444, 0.0100484], 
              [0.0160472, 0.0420412, 0.00604839, 0.935863], 
              [0.0140476, 0.0120472, 0.913867, 0.0600384], 
              [0.913868, 0.018046, 0.0100476, 0.0580388], 
              [0.00804879, 0.309988, 0.611927, 0.0700364], 
              [0.0500404, 0.0760344, 0.0520392, 0.821886], 
              [0.132024, 0.713907, 0.0620372, 0.092032], 
              [0.80189, 0.0300436, 0.09803, 0.0700364]
            ]
          }, {
            "db": 0,
            "id": "MAFG_MOUSE.H11MO.0.A",
            "len": 18,
            "nsites": 430,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAFG_MOUSE.H11MO.0.A",
            "pwm": [
              [0.395316, 0.127935, 0.309288, 0.167462], 
              [0.492967, 0.0488833, 0.188386, 0.269763], 
              [0.597594, 0.011683, 0.0860847, 0.304639], 
              [0.495292, 0.0395835, 0.037258, 0.427866], 
              [0.255813, 0.262788, 0.209311, 0.272088], 
              [0.0581851, 0.0721339, 0.0093575, 0.860324], 
              [5.8591e-05, 5.7661e-05, 0.999825, 5.8591e-05], 
              [0.0302846, 0.962625, 0.00238312, 0.00470851], 
              [0.00470851, 0.0093575, 5.7661e-05, 0.985876], 
              [5.8591e-05, 5.7661e-05, 0.99285, 0.00703397], 
              [0.997501, 5.7661e-05, 0.00238312, 5.8591e-05], 
              [0.0209837, 0.553417, 0.413914, 0.0116839], 
              [0.0488842, 0.0302836, 0.0140074, 0.906825], 
              [0.0837601, 0.813821, 0.0512088, 0.0512097], 
              [0.813822, 5.7661e-05, 0.109334, 0.0767847], 
              [0.0302846, 5.7661e-05, 0.837072, 0.132586], 
              [0.0163338, 0.899848, 0.0721339, 0.0116839], 
              [0.709196, 0.0442334, 0.100034, 0.146537]
            ]
          }, {
            "db": 0,
            "id": "MAFG_MOUSE.H11MO.1.A",
            "len": 8,
            "nsites": 498,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAFG_MOUSE.H11MO.1.A",
            "pwm": [
              [0.0522491, 0.0361875, 0.098424, 0.81314], 
              [0.0100886, 0.0341799, 0.93962, 0.0161114], 
              [0.0321731, 0.827193, 0.128538, 0.0120962], 
              [0.0402035, 0.00607258, 0.0161106, 0.937613], 
              [0.0141038, 0.0181182, 0.903482, 0.0642947], 
              [0.736851, 0.0201258, 0.0803547, 0.162669], 
              [0.0602795, 0.19479, 0.658553, 0.0863783], 
              [0.0723251, 0.0903926, 0.124523, 0.712758]
            ]
          }, {
            "db": 0,
            "id": "MAFK_MOUSE.H11MO.0.A",
            "len": 20,
            "nsites": 441,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAFK_MOUSE.H11MO.0.A",
            "pwm": [
              [0.349184, 0.0930061, 0.297041, 0.260769], 
              [0.428531, 0.0612663, 0.183688, 0.326514], 
              [0.555487, 0.0431305, 0.0589999, 0.342384], 
              [0.417197, 0.12021, 0.104341, 0.358253], 
              [0.147416, 0.383189, 0.185955, 0.28344], 
              [0.0476653, 0.0544659, 0.00232371, 0.895546], 
              [0.00232462, 5.62231e-05, 0.997562, 5.71299e-05], 
              [0.00232462, 0.995296, 0.00232371, 5.71299e-05], 
              [0.022728, 0.0181931, 5.62231e-05, 0.959024], 
              [5.71299e-05, 0.0113917, 0.968091, 0.0204605], 
              [0.952222, 0.0204596, 5.62231e-05, 0.027262], 
              [0.0113926, 0.303842, 0.650703, 0.0340634], 
              [0.0340634, 0.0499319, 0.0113917, 0.904614], 
              [0.0862056, 0.834334, 0.0159256, 0.0635347], 
              [0.877409, 0.00459019, 0.0794032, 0.0385974], 
              [0.0408639, 0.0816707, 0.523747, 0.353718], 
              [0.0408639, 0.75272, 0.138347, 0.0680687], 
              [0.462537, 0.133813, 0.145148, 0.258502], 
              [0.226763, 0.283439, 0.111142, 0.378656], 
              [0.263036, 0.117943, 0.188223, 0.430798]
            ]
          }, {
            "db": 0,
            "id": "MAF_MOUSE.H11MO.0.A",
            "len": 17,
            "nsites": 488,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAF_MOUSE.H11MO.0.A",
            "pwm": [
              [0.417999, 0.145513, 0.23156, 0.204928], 
              [0.518388, 0.0942935, 0.0881478, 0.29917], 
              [0.331951, 0.0840496, 0.0963421, 0.487657], 
              [0.118879, 0.29917, 0.241804, 0.340146], 
              [0.0942943, 0.0635628, 0.0164405, 0.825702], 
              [0.00619837, 0.0348797, 0.946578, 0.0123441], 
              [0.108636, 0.866676, 5.08093e-05, 0.0246366], 
              [0.0184909, 0.0143919, 0.00619755, 0.960921], 
              [0.0164413, 0.0123433, 0.907652, 0.0635636], 
              [0.868726, 0.06766, 0.0369283, 0.0266852], 
              [0.0799533, 0.491753, 0.270487, 0.157806], 
              [0.25, 0.120928, 0.133221, 0.495852], 
              [0.213123, 0.485607, 0.106586, 0.194684], 
              [0.48356, 0.135269, 0.125025, 0.256147], 
              [0.186488, 0.0471722, 0.577801, 0.188538], 
              [0.0942943, 0.555265, 0.221316, 0.129123], 
              [0.405707, 0.237707, 0.0840496, 0.272537]
            ]
          }, {
            "db": 0,
            "id": "MAF_MOUSE.H11MO.1.A",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAF_MOUSE.H11MO.1.A",
            "pwm": [
              [0.182014, 0.393971, 0.186012, 0.238003], 
              [0.0960312, 0.0220452, 0.0140468, 0.867877], 
              [0.00204999, 0.0160464, 0.973855, 0.00804879], 
              [0.0340436, 0.94786, 0.0120472, 0.00604919], 
              [0.0140476, 0.00204919, 0.00204919, 0.981854], 
              [0.00804879, 0.00604839, 0.94786, 0.0380428], 
              [0.909868, 0.00604839, 0.00804799, 0.0760352], 
              [0.072036, 0.473955, 0.385972, 0.0680368], 
              [0.295991, 0.202009, 0.0740348, 0.427965]
            ]
          }, {
            "db": 0,
            "id": "MAX_MOUSE.H11MO.0.A",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAX_MOUSE.H11MO.0.A",
            "pwm": [
              [0.186013, 0.257998, 0.479954, 0.0760352], 
              [0.365977, 0.357978, 0.240002, 0.0360432], 
              [0.192012, 0.29999, 0.485952, 0.022046], 
              [0.0200464, 0.971855, 0.00804799, 5.03899e-05], 
              [0.975855, 0.00804799, 0.00604839, 0.0100484], 
              [0.012048, 0.827884, 0.0420412, 0.118027], 
              [0.0380428, 4.95901e-05, 0.953859, 0.00804879], 
              [0.062038, 0.220006, 0.00404879, 0.713908], 
              [0.00204999, 0.00404879, 0.975854, 0.0180468], 
              [0.126025, 0.214007, 0.609928, 0.0500404], 
              [0.220006, 0.511947, 0.142021, 0.126025]
            ]
          }, {
            "db": 0,
            "id": "MAZ_MOUSE.H11MO.0.A",
            "len": 22,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAZ_MOUSE.H11MO.0.A",
            "pwm": [
              [0.216007, 0.144021, 0.503949, 0.136023], 
              [0.283994, 0.0240448, 0.651919, 0.0400424], 
              [0.30199, 0.0120472, 0.673915, 0.012048], 
              [0.082034, 0.018046, 0.865876, 0.0340436], 
              [0.05204, 0.112027, 0.825884, 0.0100484], 
              [0.647921, 0.088032, 0.0260444, 0.238003], 
              [0.0540396, 0.0100476, 0.905868, 0.0300444], 
              [0.114028, 0.0200456, 0.851879, 0.0140476], 
              [0.265997, 0.0340428, 0.665916, 0.0340436], 
              [0.271996, 0.00804799, 0.679914, 0.0400424], 
              [0.114028, 0.202009, 0.655918, 0.0280448], 
              [0.317987, 0.134023, 0.331983, 0.216007], 
              [0.174016, 0.0400416, 0.69791, 0.0880328], 
              [0.333984, 0.0540388, 0.553939, 0.0580388], 
              [0.190012, 0.120026, 0.64792, 0.042042], 
              [0.365977, 0.078034, 0.511947, 0.0440416], 
              [0.29999, 0.0720352, 0.569936, 0.0580388], 
              [0.329984, 0.134023, 0.455958, 0.0800344], 
              [0.259998, 0.0620372, 0.555938, 0.122026], 
              [0.273996, 0.204009, 0.44596, 0.0760352], 
              [0.355979, 0.106028, 0.429964, 0.108029], 
              [0.273996, 0.09803, 0.561937, 0.0660372]
            ]
          }, {
            "db": 0,
            "id": "MAZ_MOUSE.H11MO.1.A",
            "len": 11,
            "nsites": 486,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MAZ_MOUSE.H11MO.1.A",
            "pwm": [
              [0.32303, 0.137883, 0.512292, 0.0267953], 
              [0.487606, 0.0453087, 0.368288, 0.0987965], 
              [0.0658823, 0.00622275, 0.921672, 0.00622357], 
              [5.18412e-05, 5.10183e-05, 0.989559, 0.0103377], 
              [0.00210942, 0.00622275, 0.989559, 0.00210942], 
              [0.648067, 0.302458, 5.10183e-05, 0.0494247], 
              [0.0288529, 0.00210859, 0.96693, 0.00210942], 
              [0.00416599, 5.10183e-05, 0.989559, 0.00622357], 
              [0.123483, 0.0165086, 0.837328, 0.0226812], 
              [0.123483, 0.00622275, 0.866128, 0.00416599], 
              [0.115254, 0.341545, 0.469091, 0.0741106]
            ]
          }, {
            "db": 0,
            "id": "MEIS2_MOUSE.H11MO.0.B",
            "len": 13,
            "nsites": 461,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MEIS2_MOUSE.H11MO.0.B",
            "pwm": [
              [0.199134, 0.134161, 0.119477, 0.547227], 
              [5.46519e-05, 5.37844e-05, 5.37844e-05, 0.999838], 
              [5.46519e-05, 5.37844e-05, 0.999837, 5.46519e-05], 
              [0.873661, 5.37844e-05, 5.37844e-05, 0.126231], 
              [5.46519e-05, 0.999837, 5.37844e-05, 5.46519e-05], 
              [0.999838, 5.37844e-05, 5.37844e-05, 5.46519e-05], 
              [0.0199593, 0.124185, 0.791919, 0.0639368], 
              [0.0863249, 0.41176, 0.266402, 0.235513], 
              [0.00138136, 0.0143467, 5.37844e-05, 0.984219], 
              [0.0106524, 0.00883488, 0.68043, 0.300083], 
              [0.0208521, 0.0178949, 0.153036, 0.808216], 
              [0.0509296, 0.557886, 0.172072, 0.219112], 
              [0.454704, 0.33955, 0.108957, 0.0967897]
            ]
          }, {
            "db": 0,
            "id": "MITF_MOUSE.H11MO.0.A",
            "len": 10,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MITF_MOUSE.H11MO.0.A",
            "pwm": [
              [0.0900324, 0.39597, 0.176014, 0.337983], 
              [0.00404959, 0.971855, 0.0120472, 0.012048], 
              [0.455959, 0.214007, 0.0600376, 0.269996], 
              [0.00804879, 0.621925, 0.0460404, 0.323986], 
              [0.118027, 0.0720352, 0.79989, 0.0100484], 
              [0.0160472, 0.00204919, 0.0220452, 0.959858], 
              [5.03899e-05, 0.0120472, 0.979854, 0.00804879], 
              [0.773896, 0.116026, 0.058038, 0.05204], 
              [0.012048, 0.729904, 0.0960304, 0.162018], 
              [0.0800344, 0.389972, 0.068036, 0.461958]
            ]
          }, {
            "db": 0,
            "id": "MSGN1_MOUSE.H11MO.0.C",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MSGN1_MOUSE.H11MO.0.C",
            "pwm": [
              [0.421966, 0.0960304, 0.421965, 0.0600384], 
              [0.032044, 0.939862, 0.0260444, 0.00204999], 
              [0.00804879, 0.991851, 4.95901e-05, 5.03899e-05], 
              [0.917867, 0.00804799, 0.00604839, 0.0680368], 
              [5.03899e-05, 0.00804799, 0.0160464, 0.975855], 
              [0.0580388, 0.152019, 4.95901e-05, 0.789892], 
              [5.03899e-05, 4.95901e-05, 4.95901e-05, 0.99985], 
              [5.03899e-05, 4.95901e-05, 0.99985, 5.03899e-05], 
              [0.00604919, 0.142021, 0.363977, 0.487953], 
              [0.00404959, 0.477954, 0.0300436, 0.487953], 
              [0.15202, 0.487952, 0.132023, 0.228005], 
              [0.174016, 0.389972, 0.126024, 0.309988]
            ]
          }, {
            "db": 0,
            "id": "MXI1_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MXI1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.229117, 0.302421, 0.393893, 0.0745695], 
              [0.00426055, 0.967884, 0.0258564, 0.001999], 
              [0.964584, 0.00170826, 0.0299196, 0.00378764], 
              [0.022062, 0.890617, 0.0661164, 0.0212042], 
              [0.172995, 0.0657974, 0.751726, 0.0094825], 
              [0.0666991, 0.0944277, 0.0422761, 0.796597], 
              [0.00785183, 4.95901e-05, 0.985772, 0.00632713], 
              [0.0611062, 0.171933, 0.594561, 0.1724], 
              [0.119063, 0.391811, 0.371151, 0.117975], 
              [0.198315, 0.239882, 0.284866, 0.276938], 
              [0.0335567, 0.232127, 0.565589, 0.168728], 
              [0.118678, 0.391927, 0.320073, 0.169323], 
              [0.139129, 0.305183, 0.362948, 0.192741], 
              [0.163427, 0.217486, 0.451574, 0.167514], 
              [0.178988, 0.307097, 0.413344, 0.100572]
            ]
          }, {
            "db": 0,
            "id": "MXI1_MOUSE.H11MO.1.A",
            "len": 8,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MXI1_MOUSE.H11MO.1.A",
            "pwm": [
              [0.29999, 0.44996, 0.10003, 0.15002], 
              [0.0700364, 0.877874, 0.0500396, 0.00204999], 
              [0.7539, 0.0120472, 0.19601, 0.0380428], 
              [0.0260452, 0.935862, 0.038042, 5.03899e-05], 
              [0.252, 0.00404879, 0.739902, 0.00404959], 
              [0.0240456, 4.95901e-05, 0.00604839, 0.969856], 
              [5.03899e-05, 0.00604839, 0.987852, 0.00604919], 
              [0.0140476, 0.419966, 0.475954, 0.0900324]
            ]
          }, {
            "db": 0,
            "id": "MYB_MOUSE.H11MO.0.A",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MYB_MOUSE.H11MO.0.A",
            "pwm": [
              [0.337983, 0.140022, 0.371975, 0.15002], 
              [0.240002, 0.160018, 0.49795, 0.10203], 
              [0.327985, 0.142021, 0.154019, 0.375975], 
              [0.208009, 0.0160464, 0.565936, 0.210008], 
              [0.329984, 0.0140468, 0.483953, 0.172016], 
              [0.00804879, 0.973855, 0.0140468, 0.00404959], 
              [0.537943, 0.226004, 0.126024, 0.110028], 
              [5.03899e-05, 0.00204919, 0.993851, 0.00404959], 
              [0.042042, 0.0620372, 0.078034, 0.817887], 
              [0.00404959, 0.00204919, 0.0220452, 0.971856], 
              [0.29999, 0.0100476, 0.54594, 0.144022], 
              [0.216007, 0.178014, 0.44596, 0.160018]
            ]
          }, {
            "db": 0,
            "id": "MYCN_MOUSE.H11MO.0.A",
            "len": 8,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MYCN_MOUSE.H11MO.0.A",
            "pwm": [
              [0.012048, 0.485952, 0.335982, 0.166017], 
              [0.0800344, 0.885872, 0.0200456, 0.0140476], 
              [0.593932, 0.0120472, 0.277994, 0.116027], 
              [0.00204999, 0.979854, 0.0100476, 0.00804879], 
              [0.138023, 0.0220452, 0.823885, 0.0160472], 
              [0.00204999, 4.95901e-05, 0.00204919, 0.995851], 
              [0.00204999, 0.00204919, 0.991851, 0.00404959], 
              [0.042042, 0.124025, 0.64592, 0.188013]
            ]
          }, {
            "db": 0,
            "id": "MYC_MOUSE.H11MO.0.A",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MYC_MOUSE.H11MO.0.A",
            "pwm": [
              [0.246001, 0.409968, 0.202009, 0.142022], 
              [0.170016, 0.19601, 0.493951, 0.140022], 
              [0.120026, 0.777894, 0.0860324, 0.0160472], 
              [0.0100484, 0.983853, 4.95901e-05, 0.00604919], 
              [0.70391, 0.00804799, 0.132023, 0.156019], 
              [0.00804879, 0.89587, 0.0120472, 0.0840336], 
              [0.10003, 0.0820332, 0.801889, 0.0160472], 
              [0.012048, 0.20001, 0.00204919, 0.785893], 
              [0.00404959, 0.00404879, 0.959858, 0.032044], 
              [0.042042, 0.543941, 0.277994, 0.136023], 
              [0.0900324, 0.228004, 0.39997, 0.281994], 
              [0.0940316, 0.69591, 0.124025, 0.0860332]
            ]
          }, {
            "db": 0,
            "id": "MYF5_MOUSE.H11MO.0.D",
            "len": 11,
            "nsites": 448,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MYF5_MOUSE.H11MO.0.D",
            "pwm": [
              [0.158503, 0.296864, 0.374972, 0.169661], 
              [0.0134462, 0.946273, 0.0156769, 0.0246048], 
              [0.977517, 0.00228685, 0.00451835, 0.0156778], 
              [0.0246048, 0.252231, 0.676243, 0.0469208], 
              [0.0134462, 0.919493, 0.00898235, 0.0580793], 
              [0.0156778, 0.0112139, 5.53448e-05, 0.973053], 
              [0.00898324, 0.0424569, 0.816837, 0.131723], 
              [0.00228774, 0.16966, 0.0223714, 0.80568], 
              [0.00228774, 0.321413, 0.0803944, 0.595905], 
              [0.218757, 0.366045, 0.149576, 0.265622], 
              [0.178587, 0.397288, 0.111637, 0.312486]
            ]
          }, {
            "db": 0,
            "id": "MYF6_MOUSE.H11MO.0.C",
            "len": 7,
            "nsites": 7,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MYF6_MOUSE.H11MO.0.C",
            "pwm": [
              [0.0035493, 0.989408, 0.00349296, 0.0035493], 
              [0.989465, 0.00349296, 0.00349296, 0.0035493], 
              [0.0035493, 0.432843, 0.560058, 0.0035493], 
              [0.0035493, 0.989408, 0.00349296, 0.0035493], 
              [0.0035493, 0.00349296, 0.00349296, 0.989465], 
              [0.0035493, 0.00349296, 0.989408, 0.0035493], 
              [0.035353, 0.750881, 0.0352966, 0.178469]
            ]
          }, {
            "db": 0,
            "id": "MYOD1_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MYOD1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.236003, 0.238002, 0.411967, 0.114028], 
              [0.00204999, 0.99785, 4.95901e-05, 5.03899e-05], 
              [0.997851, 0.00204919, 4.95901e-05, 5.03899e-05], 
              [0.00404959, 0.29999, 0.661917, 0.0340436], 
              [0.00804879, 0.977854, 0.00804799, 0.00604919], 
              [0.00204999, 4.95901e-05, 4.95901e-05, 0.997851], 
              [5.03899e-05, 4.95901e-05, 0.99985, 5.03899e-05], 
              [0.00204999, 0.289992, 0.0500396, 0.657919], 
              [0.00604919, 0.44796, 0.068036, 0.477955], 
              [0.170016, 0.365976, 0.236002, 0.228005], 
              [0.0760352, 0.59993, 0.10003, 0.224006], 
              [0.114028, 0.29999, 0.0960304, 0.489952], 
              [0.180014, 0.222005, 0.423965, 0.174016], 
              [0.116027, 0.329984, 0.174015, 0.379974], 
              [0.132024, 0.515946, 0.154019, 0.198011]
            ]
          }, {
            "db": 0,
            "id": "MYOD1_MOUSE.H11MO.1.A",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MYOD1_MOUSE.H11MO.1.A",
            "pwm": [
              [0.146021, 0.277994, 0.467956, 0.108029], 
              [0.00204999, 0.99785, 4.95901e-05, 5.03899e-05], 
              [0.991852, 0.00204919, 0.00404879, 0.00204999], 
              [5.03899e-05, 0.152019, 0.839882, 0.00804879], 
              [5.03899e-05, 0.99585, 0.00404879, 5.03899e-05], 
              [0.00404959, 4.95901e-05, 4.95901e-05, 0.995851], 
              [5.03899e-05, 4.95901e-05, 0.99985, 5.03899e-05], 
              [5.03899e-05, 0.385972, 0.00404879, 0.609928], 
              [0.00604919, 0.44596, 0.0540388, 0.493952], 
              [0.15202, 0.417966, 0.307988, 0.122026], 
              [0.0680368, 0.571935, 0.120026, 0.240002]
            ]
          }, {
            "db": 0,
            "id": "MYOG_MOUSE.H11MO.0.A",
            "len": 13,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/MYOG_MOUSE.H11MO.0.A",
            "pwm": [
              [0.072036, 0.493951, 0.206008, 0.228005], 
              [0.30399, 0.355978, 0.09803, 0.242002], 
              [0.216007, 0.263997, 0.44596, 0.0740356], 
              [0.00404959, 0.991851, 0.00404879, 5.03899e-05], 
              [0.983854, 4.95901e-05, 0.00604839, 0.0100484], 
              [0.00404959, 0.114027, 0.875874, 0.00604919], 
              [0.0100484, 0.969856, 0.00804799, 0.012048], 
              [0.00204999, 4.95901e-05, 0.00404879, 0.993852], 
              [0.00204999, 4.95901e-05, 0.99785, 5.03899e-05], 
              [0.00404959, 0.39797, 0.0460404, 0.55194], 
              [0.00404959, 0.573935, 0.04804, 0.373976], 
              [0.188013, 0.429964, 0.160018, 0.222006], 
              [0.114028, 0.379974, 0.194011, 0.311988]
            ]
          }, {
            "db": 0,
            "id": "NDF1_MOUSE.H11MO.0.A",
            "len": 10,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NDF1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.433964, 0.0720352, 0.469956, 0.0240456], 
              [0.523946, 0.208008, 0.265996, 0.00204999], 
              [0.022046, 0.975854, 0.00204919, 5.03899e-05], 
              [0.997851, 4.95901e-05, 4.95901e-05, 0.00204999], 
              [0.00204999, 4.95901e-05, 0.973855, 0.0240456], 
              [0.729904, 0.220006, 0.0500396, 5.03899e-05], 
              [0.00804879, 4.95901e-05, 4.95901e-05, 0.991852], 
              [0.00204999, 4.95901e-05, 0.991851, 0.00604919], 
              [0.00804879, 0.04804, 0.767896, 0.176015], 
              [0.0760352, 0.39597, 0.126024, 0.40197]
            ]
          }, {
            "db": 0,
            "id": "NDF2_MOUSE.H11MO.0.A",
            "len": 10,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NDF2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.489952, 0.0820332, 0.363977, 0.0640376], 
              [0.421966, 0.194011, 0.379974, 0.00404959], 
              [0.00204999, 0.99785, 4.95901e-05, 5.03899e-05], 
              [0.99985, 4.95901e-05, 4.95901e-05, 5.03899e-05], 
              [0.00204999, 0.00604839, 0.927864, 0.0640376], 
              [0.7499, 0.224005, 0.0240448, 0.00204999], 
              [0.10403, 0.00204919, 0.00604839, 0.887873], 
              [0.00204999, 4.95901e-05, 0.957858, 0.0400424], 
              [0.00404959, 0.174015, 0.787892, 0.0340436], 
              [0.10003, 0.391971, 0.162017, 0.345981]
            ]
          }, {
            "db": 0,
            "id": "NFE2_MOUSE.H11MO.0.A",
            "len": 14,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NFE2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.679914, 0.0260444, 0.291991, 0.00204999], 
              [0.00204999, 4.95901e-05, 0.0100476, 0.987853], 
              [0.00204999, 4.95901e-05, 0.989852, 0.00804879], 
              [0.979854, 0.00404879, 0.0100476, 0.00604919], 
              [0.0360432, 0.767896, 0.164017, 0.032044], 
              [0.0580388, 0.0100476, 0.0200456, 0.911868], 
              [0.0600384, 0.84788, 0.0560384, 0.0360432], 
              [0.869876, 0.00804799, 0.0720352, 0.0500404], 
              [0.0160472, 4.95901e-05, 0.967856, 0.0160472], 
              [0.022046, 0.941861, 0.0220452, 0.0140476], 
              [0.871876, 0.0240448, 0.0560384, 0.0480408], 
              [0.277995, 0.142021, 0.405968, 0.174016], 
              [0.327985, 0.116026, 0.164017, 0.391972], 
              [0.34998, 0.112027, 0.0700356, 0.467957]
            ]
          }, {
            "db": 0,
            "id": "NGN2_MOUSE.H11MO.0.C",
            "len": 12,
            "nsites": 206,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NGN2_MOUSE.H11MO.0.C",
            "pwm": [
              [0.266983, 0.174793, 0.441654, 0.116571], 
              [0.116571, 0.257277, 0.397985, 0.228167], 
              [0.577512, 0.0874569, 0.286389, 0.0486427], 
              [0.431952, 0.131125, 0.436801, 0.000122271], 
              [0.00497392, 0.980228, 0.00497197, 0.00982656], 
              [0.999637, 0.00012033, 0.00012033, 0.000122271], 
              [0.000122271, 0.00012033, 0.970523, 0.0292341], 
              [0.771593, 0.223313, 0.00497197, 0.000122271], 
              [0.00982656, 0.00012033, 0.00497197, 0.985081], 
              [0.00497392, 0.00497197, 0.955967, 0.0340868], 
              [0.0389384, 0.102013, 0.727922, 0.131127], 
              [0.0729029, 0.407689, 0.218461, 0.300947]
            ]
          }, {
            "db": 0,
            "id": "NR1D1_MOUSE.H11MO.0.A",
            "len": 19,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1D1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.421966, 0.0800336, 0.321985, 0.176015], 
              [0.307989, 0.0560384, 0.535942, 0.10003], 
              [0.25, 0.210008, 0.491951, 0.0480408], 
              [0.269996, 0.214007, 0.321985, 0.194012], 
              [0.473956, 0.44996, 0.0460404, 0.0300444], 
              [0.737903, 0.00604839, 0.0560384, 0.20001], 
              [0.0800344, 0.365976, 0.427964, 0.126025], 
              [0.106029, 0.0240448, 0.0820332, 0.787893], 
              [0.196011, 0.00204919, 0.771895, 0.0300444], 
              [0.0660372, 0.0120472, 0.729904, 0.192012], 
              [0.0200464, 0.0500396, 0.889872, 0.0400424], 
              [0.146021, 0.142021, 0.19601, 0.515947], 
              [0.124026, 0.669916, 0.116026, 0.0900324], 
              [0.877875, 0.0400416, 0.0220452, 0.0600384], 
              [0.210008, 0.194011, 0.465956, 0.130024], 
              [0.359978, 0.118026, 0.311987, 0.210008], 
              [0.367977, 0.130024, 0.351979, 0.15002], 
              [0.267997, 0.0860324, 0.417966, 0.228005], 
              [0.234004, 0.176014, 0.431963, 0.158019]
            ]
          }, {
            "db": 0,
            "id": "NR1D1_MOUSE.H11MO.1.C",
            "len": 14,
            "nsites": 13,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1D1_MOUSE.H11MO.1.C",
            "pwm": [
              [0.582171, 0.0408495, 0.180273, 0.196706], 
              [0.526812, 0.00189313, 0.0839073, 0.387389], 
              [0.838464, 0.0757053, 0.00189313, 0.0839378], 
              [0.838464, 0.00189313, 0.00189313, 0.15775], 
              [0.313576, 0.149518, 0.452968, 0.0839378], 
              [0.00192366, 0.0839073, 0.0839073, 0.830263], 
              [0.838464, 0.00189313, 0.157719, 0.00192366], 
              [0.00192366, 0.00189313, 0.912245, 0.0839378], 
              [0.00192366, 0.00189313, 0.99426, 0.00192366], 
              [0.00192366, 0.00189313, 0.00189313, 0.99429], 
              [0.00192366, 0.928648, 0.00189313, 0.067535], 
              [0.99429, 0.00189313, 0.00189313, 0.00192366], 
              [0.379187, 0.0839073, 0.379156, 0.15775], 
              [0.424295, 0.0387992, 0.194626, 0.342281]
            ]
          }, {
            "db": 0,
            "id": "NR1D2_MOUSE.H11MO.0.A",
            "len": 19,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1D2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.329984, 0.136022, 0.365976, 0.168017], 
              [0.373976, 0.14802, 0.387972, 0.0900324], 
              [0.357979, 0.0720352, 0.505948, 0.0640376], 
              [0.333984, 0.0500396, 0.393971, 0.222006], 
              [0.585933, 0.202009, 0.158018, 0.0540396], 
              [0.543942, 0.0360424, 0.142021, 0.277995], 
              [0.138023, 0.242001, 0.521945, 0.0980308], 
              [0.082034, 0.0200456, 0.15002, 0.747901], 
              [0.383974, 0.0220452, 0.573935, 0.0200464], 
              [0.39997, 0.00204919, 0.561937, 0.0360432], 
              [0.0260452, 0.058038, 0.903869, 0.012048], 
              [0.0180468, 0.0640368, 0.160018, 0.757899], 
              [0.032044, 0.887872, 0.0660364, 0.0140476], 
              [0.95186, 0.00604839, 0.00604839, 0.0360432], 
              [0.140022, 0.289992, 0.435962, 0.134024], 
              [0.385973, 0.120026, 0.214007, 0.279994], 
              [0.269996, 0.138022, 0.477954, 0.114028], 
              [0.271996, 0.106028, 0.455958, 0.166017], 
              [0.285993, 0.158018, 0.383973, 0.172016]
            ]
          }, {
            "db": 0,
            "id": "NR1H2_MOUSE.H11MO.0.D",
            "len": 19,
            "nsites": 19,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1H2_MOUSE.H11MO.0.D",
            "pwm": [
              [0.0427682, 0.0427473, 0.0427473, 0.871738], 
              [0.705944, 0.208541, 0.00129843, 0.0842161], 
              [0.705944, 0.00129843, 0.208541, 0.0842161], 
              [0.788842, 0.00129843, 0.208541, 0.00131937], 
              [0.00131937, 0.00129843, 0.996063, 0.00131937], 
              [0.00131937, 0.00129843, 0.954614, 0.0427682], 
              [0.00131937, 0.00129843, 0.00129843, 0.996084], 
              [0.00131937, 0.996063, 0.00129843, 0.00131937], 
              [0.996084, 0.00129843, 0.00129843, 0.00131937], 
              [0.996084, 0.00129843, 0.00129843, 0.00131937], 
              [0.996084, 0.00129843, 0.00129843, 0.00131937], 
              [0.00131937, 0.00129843, 0.996063, 0.00131937], 
              [0.00131937, 0.00129843, 0.996063, 0.00131937], 
              [0.00131937, 0.00129843, 0.00129843, 0.996084], 
              [0.00131937, 0.996063, 0.00129843, 0.00131937], 
              [0.996084, 0.00129843, 0.00129843, 0.00131937], 
              [0.830289, 0.00129843, 0.0841951, 0.0842161], 
              [0.00131937, 0.623026, 0.24999, 0.125665], 
              [0.00131937, 0.0427473, 0.623026, 0.332907]
            ]
          }, {
            "db": 0,
            "id": "NR1H3_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1H3_MOUSE.H11MO.0.A",
            "pwm": [
              [0.192012, 0.311987, 0.401969, 0.0940316], 
              [0.49995, 0.0440408, 0.178014, 0.277995], 
              [0.140022, 0.0560384, 0.671915, 0.132024], 
              [0.224006, 0.0600376, 0.523945, 0.192012], 
              [0.126025, 0.281993, 0.281993, 0.309988], 
              [0.0980308, 0.773895, 0.0520392, 0.0760352], 
              [0.783894, 0.134023, 0.018046, 0.0640376], 
              [0.505949, 0.10003, 0.34798, 0.0460412], 
              [0.811888, 0.00604839, 0.168016, 0.0140476], 
              [0.012048, 0.00804799, 0.953859, 0.0260452], 
              [0.0640376, 0.0240448, 0.569936, 0.341982], 
              [0.0300444, 0.267996, 0.164017, 0.537943], 
              [0.0280448, 0.84988, 0.0400416, 0.082034], 
              [0.855879, 0.018046, 0.018046, 0.108029], 
              [0.148021, 0.236002, 0.411967, 0.20401]
            ]
          }, {
            "db": 0,
            "id": "NR1H3_MOUSE.H11MO.1.A",
            "len": 19,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1H3_MOUSE.H11MO.1.A",
            "pwm": [
              [0.168017, 0.481953, 0.208008, 0.142022], 
              [0.423966, 0.224005, 0.124025, 0.228005], 
              [0.373976, 0.126024, 0.419966, 0.0800344], 
              [0.543942, 0.0260444, 0.379974, 0.0500404], 
              [0.122026, 0.00604839, 0.813887, 0.0580388], 
              [0.0380428, 0.0440408, 0.755898, 0.162018], 
              [0.0640376, 0.158018, 0.152019, 0.625925], 
              [0.144022, 0.427964, 0.0840328, 0.343982], 
              [0.829884, 0.018046, 0.0540388, 0.0980308], 
              [0.114028, 0.591931, 0.142021, 0.15202], 
              [0.224006, 0.178014, 0.0860324, 0.511948], 
              [0.240002, 0.228004, 0.289992, 0.242002], 
              [0.228005, 0.323985, 0.283993, 0.164018], 
              [0.659918, 0.0900316, 0.172015, 0.0780348], 
              [0.0800344, 0.0260444, 0.835882, 0.0580388], 
              [0.106029, 0.0400416, 0.717906, 0.136023], 
              [0.15202, 0.138022, 0.220006, 0.489952], 
              [0.0780348, 0.737902, 0.0720352, 0.112028], 
              [0.871876, 0.0440408, 0.04804, 0.0360432]
            ]
          }, {
            "db": 0,
            "id": "NR1H3_MOUSE.H11MO.2.A",
            "len": 10,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1H3_MOUSE.H11MO.2.A",
            "pwm": [
              [0.487953, 0.277994, 0.10003, 0.134024], 
              [0.455959, 0.265996, 0.248, 0.0300444], 
              [0.877875, 0.00604839, 0.0960304, 0.0200464], 
              [0.012048, 4.95901e-05, 0.975854, 0.012048], 
              [0.00604919, 0.00804799, 0.883873, 0.10203], 
              [0.106029, 0.126024, 0.154019, 0.613928], 
              [0.00604919, 0.969856, 0.0140468, 0.0100484], 
              [0.981854, 0.00804799, 0.00804799, 0.00204999], 
              [0.206009, 0.323985, 0.34998, 0.120026], 
              [0.409968, 0.14802, 0.273995, 0.168017]
            ]
          }, {
            "db": 0,
            "id": "NR1H4_MOUSE.H11MO.0.A",
            "len": 19,
            "nsites": 451,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1H4_MOUSE.H11MO.0.A",
            "pwm": [
              [0.270506, 0.195134, 0.438982, 0.0953787], 
              [0.481102, 0.0155725, 0.492185, 0.0111394], 
              [0.0732106, 0.00892201, 0.855741, 0.0621261], 
              [0.102029, 0.0355241, 0.740467, 0.12198], 
              [0.0244405, 0.121979, 0.332575, 0.521004], 
              [0.0288745, 0.729383, 0.146364, 0.0953787], 
              [0.755986, 0.0599087, 0.1774, 0.00670639], 
              [0.370262, 0.237253, 0.29489, 0.0975952], 
              [0.0643436, 0.179616, 0.104245, 0.651796], 
              [0.0665601, 0.0333066, 0.89121, 0.0089229], 
              [0.483319, 0.0953778, 0.321492, 0.0998117], 
              [0.0709931, 0.846874, 0.0576922, 0.0244405], 
              [0.0798612, 0.804755, 0.0111385, 0.104246], 
              [0.0776437, 0.35696, 0.279372, 0.286023], 
              [0.17075, 0.421248, 0.235036, 0.172967], 
              [0.119763, 0.219518, 0.474451, 0.186268], 
              [0.319275, 0.290457, 0.305974, 0.0842942], 
              [0.0709931, 0.0067055, 0.809189, 0.113113], 
              [0.0732106, 0.0643427, 0.771503, 0.0909447]
            ]
          }, {
            "db": 0,
            "id": "NR1H4_MOUSE.H11MO.1.A",
            "len": 8,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1H4_MOUSE.H11MO.1.A",
            "pwm": [
              [0.547941, 0.0360424, 0.387972, 0.0280448], 
              [0.00204999, 0.00204919, 0.987852, 0.00804879], 
              [0.012048, 0.0220452, 0.959858, 0.00604919], 
              [0.0380428, 0.0940308, 0.14802, 0.719906], 
              [0.00604919, 0.971855, 0.0200456, 0.00204999], 
              [0.929864, 0.0560384, 0.0100476, 0.00404959], 
              [0.0960312, 0.19601, 0.461957, 0.246001], 
              [0.15202, 0.218006, 0.142021, 0.487953]
            ]
          }, {
            "db": 0,
            "id": "NR1I2_MOUSE.H11MO.0.C",
            "len": 19,
            "nsites": 29,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1I2_MOUSE.H11MO.0.C",
            "pwm": [
              [0.32119, 0.125423, 0.193046, 0.36034], 
              [0.299835, 0.0649173, 0.399478, 0.23577], 
              [0.431524, 0.1361, 0.395919, 0.0364573], 
              [0.264244, 0.000852234, 0.662855, 0.0720495], 
              [0.0684898, 0.203724, 0.559639, 0.168146], 
              [0.000865979, 0.0328848, 0.0649173, 0.901332], 
              [0.000865979, 0.605909, 0.0649173, 0.328308], 
              [0.705579, 0.292703, 0.000852234, 0.000865979], 
              [0.598804, 0.0969499, 0.164574, 0.139673], 
              [0.299835, 0.207283, 0.292703, 0.200179], 
              [0.331868, 0.235756, 0.232197, 0.200179], 
              [0.595245, 0.068476, 0.335413, 0.000865979], 
              [0.926246, 0.000852234, 0.0720358, 0.000865979], 
              [0.000865979, 0.000852234, 0.997416, 0.000865979], 
              [0.000865979, 0.0720358, 0.30338, 0.623718], 
              [0.0969636, 0.0649173, 0.0364435, 0.801676], 
              [0.000865979, 0.758952, 0.1361, 0.104081], 
              [0.897773, 0.0328848, 0.068476, 0.000865979], 
              [0.130775, 0.226859, 0.354988, 0.287378]
            ]
          }, {
            "db": 0,
            "id": "NR1I2_MOUSE.H11MO.1.D",
            "len": 8,
            "nsites": 45,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1I2_MOUSE.H11MO.1.D",
            "pwm": [
              [0.472578, 0.0659785, 0.330029, 0.131416], 
              [0.755322, 0.000549889, 0.24357, 0.000558758], 
              [0.000558758, 0.000549889, 0.998333, 0.000558758], 
              [0.105711, 0.000549889, 0.194498, 0.69924], 
              [0.000558758, 0.0215802, 0.000549889, 0.977311], 
              [0.000558758, 0.930567, 0.0683153, 0.000558758], 
              [0.977311, 0.000549889, 0.0215802, 0.000558758], 
              [0.101038, 0.337039, 0.248243, 0.31368]
            ]
          }, {
            "db": 0,
            "id": "NR1I3_MOUSE.H11MO.0.C",
            "len": 18,
            "nsites": 28,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1I3_MOUSE.H11MO.0.C",
            "pwm": [
              [0.322941, 0.000882562, 0.49342, 0.182757], 
              [0.455547, 0.0766579, 0.466899, 0.000896797], 
              [0.178968, 0.000882562, 0.747266, 0.0728827], 
              [0.000896797, 0.141066, 0.724534, 0.133503], 
              [0.000896797, 0.000882562, 0.0349818, 0.963239], 
              [0.000896797, 0.819253, 0.06908, 0.11077], 
              [0.925352, 0.0728685, 0.000882562, 0.000896797], 
              [0.319152, 0.163799, 0.357025, 0.160024], 
              [0.254743, 0.194108, 0.387335, 0.163813], 
              [0.398716, 0.197898, 0.266095, 0.137292], 
              [0.580576, 0.0728685, 0.31156, 0.034996], 
              [0.902619, 0.000882562, 0.0956013, 0.000896797], 
              [0.0387845, 0.000882562, 0.959436, 0.000896797], 
              [0.000896797, 0.0652915, 0.213053, 0.720759], 
              [0.175179, 0.106968, 0.000882562, 0.71697], 
              [0.000896797, 0.70559, 0.0728685, 0.220644], 
              [0.709393, 0.0728685, 0.141066, 0.0766722], 
              [0.183704, 0.142014, 0.357972, 0.31631]
            ]
          }, {
            "db": 0,
            "id": "NR1I3_MOUSE.H11MO.1.D",
            "len": 8,
            "nsites": 33,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR1I3_MOUSE.H11MO.1.D",
            "pwm": [
              [0.499251, 0.029882, 0.343865, 0.127002], 
              [0.7226, 0.000749245, 0.275889, 0.000761329], 
              [0.000761329, 0.000749245, 0.997728, 0.000761329], 
              [0.000761329, 0.000749245, 0.389182, 0.609307], 
              [0.000761329, 0.000749245, 0.000749245, 0.99774], 
              [0.000761329, 0.903857, 0.0622509, 0.0331312], 
              [0.99774, 0.000749245, 0.000749245, 0.000761329], 
              [0.0590268, 0.295312, 0.321207, 0.324455]
            ]
          }, {
            "db": 0,
            "id": "NR2C1_MOUSE.H11MO.0.C",
            "len": 13,
            "nsites": 18,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR2C1_MOUSE.H11MO.0.C",
            "pwm": [
              [0.219118, 0.113175, 0.613355, 0.054352], 
              [0.054352, 0.3309, 0.442705, 0.172042], 
              [0.107313, 0.55451, 0.0543299, 0.283847], 
              [0.266193, 0.44859, 0.22498, 0.0602373], 
              [0.672221, 0.00137017, 0.325016, 0.00139227], 
              [0.230886, 0.16025, 0.548626, 0.0602373], 
              [0.942908, 0.00137017, 0.0543299, 0.00139227], 
              [0.00139227, 0.00137017, 0.995845, 0.00139227], 
              [0.00139227, 0.00137017, 0.772236, 0.225002], 
              [0.00139227, 0.00137017, 0.00137017, 0.995867], 
              [0.00139227, 0.995845, 0.00137017, 0.00139227], 
              [0.937022, 0.00137017, 0.00137017, 0.0602373], 
              [0.0940724, 0.2647, 0.376505, 0.264722]
            ]
          }, {
            "db": 0,
            "id": "NR2C2_MOUSE.H11MO.0.A",
            "len": 13,
            "nsites": 2058,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR2C2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.479285, 0.084345, 0.387652, 0.0487189], 
              [0.198441, 0.04295, 0.687, 0.0716098], 
              [0.0973375, 0.11972, 0.700556, 0.0823862], 
              [0.101487, 0.10384, 0.223794, 0.570879], 
              [0.123277, 0.643532, 0.162735, 0.0704548], 
              [0.811352, 0.0508786, 0.128617, 0.0091528], 
              [0.567921, 0.0591272, 0.360783, 0.0121697], 
              [0.857347, 0.00407585, 0.106252, 0.0323257], 
              [0.0482569, 0.0131874, 0.888579, 0.0499768], 
              [0.0301878, 0.0405481, 0.814304, 0.11496], 
              [0.0619822, 0.1069, 0.215046, 0.616072], 
              [0.141144, 0.719745, 0.1005, 0.0386104], 
              [0.792522, 0.0325005, 0.122373, 0.0526047]
            ]
          }, {
            "db": 0,
            "id": "NR2E3_MOUSE.H11MO.0.C",
            "len": 14,
            "nsites": 23,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR2E3_MOUSE.H11MO.0.C",
            "pwm": [
              [0.500314, 0.155144, 0.189381, 0.155161], 
              [0.825573, 0.0695489, 0.0695489, 0.035329], 
              [0.783007, 0.0353117, 0.146353, 0.035329], 
              [0.0695662, 0.0695489, 0.722842, 0.138041], 
              [0.0695662, 0.00107359, 0.103787, 0.825573], 
              [0.0695662, 0.894031, 0.0353117, 0.00109091], 
              [0.928287, 0.00107359, 0.0353117, 0.035329], 
              [0.791335, 0.138024, 0.0695489, 0.00109091], 
              [0.962524, 0.00107359, 0.00107359, 0.035329], 
              [0.817245, 0.00107359, 0.146353, 0.035329], 
              [0.249084, 0.0695489, 0.611801, 0.0695662], 
              [0.035329, 0.0695489, 0.2065, 0.688622], 
              [0.138041, 0.688604, 0.103787, 0.0695662], 
              [0.73142, 0.146584, 0.0781087, 0.0438878]
            ]
          }, {
            "db": 0,
            "id": "NR2F6_MOUSE.H11MO.0.D",
            "len": 18,
            "nsites": 11,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR2F6_MOUSE.H11MO.0.D",
            "pwm": [
              [0.473477, 0.0265234, 0.288845, 0.211155], 
              [0.177151, 0.00223423, 0.818344, 0.00227027], 
              [0.0897104, 0.274271, 0.633748, 0.00227027], 
              [0.449187, 0.00223423, 0.186831, 0.361747], 
              [0.186867, 0.721188, 0.0896743, 0.00227027], 
              [0.993261, 0.00223423, 0.00223423, 0.00227027], 
              [0.905821, 0.00223423, 0.0896743, 0.00227027], 
              [0.711509, 0.00223423, 0.283987, 0.00227027], 
              [0.00227027, 0.00223423, 0.993225, 0.00227027], 
              [0.177151, 0.09939, 0.274271, 0.449187], 
              [0.186867, 0.186831, 0.177115, 0.449187], 
              [0.177151, 0.633748, 0.186831, 0.00227027], 
              [0.905821, 0.00223423, 0.0896743, 0.00227027], 
              [0.274307, 0.274271, 0.186831, 0.264592], 
              [0.186867, 0.283987, 0.177115, 0.352032], 
              [0.186867, 0.00223423, 0.361711, 0.449187], 
              [0.264592, 0.0896743, 0.468583, 0.177151], 
              [0.536628, 0.186831, 0.274271, 0.00227027]
            ]
          }, {
            "db": 0,
            "id": "NR4A1_MOUSE.H11MO.0.B",
            "len": 9,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR4A1_MOUSE.H11MO.0.B",
            "pwm": [
              [0.412794, 0.148317, 0.268533, 0.170357], 
              [0.623172, 0.0441289, 0.292576, 0.0401225], 
              [0.759417, 0.0240929, 0.206421, 0.0100685], 
              [0.723353, 0.118262, 0.14431, 0.0140757], 
              [0.33866, 0.0220893, 0.368713, 0.270537], 
              [0.0741836, 0.0140749, 0.873622, 0.0381189], 
              [0.0521441, 0.138299, 0.380735, 0.428823], 
              [0.184383, 0.737377, 0.0661684, 0.0120721], 
              [0.951764, 0.00405689, 0.00806408, 0.0361153]
            ]
          }, {
            "db": 0,
            "id": "NR4A2_MOUSE.H11MO.0.C",
            "len": 9,
            "nsites": 33,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR4A2_MOUSE.H11MO.0.C",
            "pwm": [
              [0.668851, 0.0635509, 0.228405, 0.0391929], 
              [0.867214, 0.000749245, 0.0776123, 0.0544247], 
              [0.959309, 0.000749245, 0.0391808, 0.000761329], 
              [0.000761329, 0.000749245, 0.941019, 0.0574705], 
              [0.0391929, 0.000749245, 0.928833, 0.031225], 
              [0.0251315, 0.153771, 0.000749245, 0.820349], 
              [0.000761329, 0.907509, 0.000749245, 0.0909799], 
              [0.99774, 0.000749245, 0.000749245, 0.000761329], 
              [0.184598, 0.438489, 0.309133, 0.0677802]
            ]
          }, {
            "db": 0,
            "id": "NR4A3_MOUSE.H11MO.0.D",
            "len": 10,
            "nsites": 5,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR4A3_MOUSE.H11MO.0.D",
            "pwm": [
              [0.209416, 0.725518, 0.0324941, 0.0325725], 
              [0.808491, 0.181705, 0.00486275, 0.00494118], 
              [0.985333, 0.00486275, 0.00486275, 0.00494118], 
              [0.985333, 0.00486275, 0.00486275, 0.00494118], 
              [0.00494118, 0.00486275, 0.985255, 0.00494118], 
              [0.00494118, 0.00486275, 0.985255, 0.00494118], 
              [0.00494118, 0.00486275, 0.00486275, 0.985333], 
              [0.00494118, 0.874728, 0.115389, 0.00494118], 
              [0.985333, 0.00486275, 0.00486275, 0.00494118], 
              [0.0325725, 0.386179, 0.548675, 0.0325725]
            ]
          }, {
            "db": 0,
            "id": "NR5A2_MOUSE.H11MO.0.A",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR5A2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.206009, 0.162017, 0.415966, 0.216007], 
              [0.0680368, 0.287992, 0.257998, 0.385973], 
              [0.0360432, 0.389972, 0.0300436, 0.543942], 
              [0.00204999, 0.915866, 0.078034, 0.00404959], 
              [0.985853, 0.00204919, 0.0100476, 0.00204999], 
              [0.919866, 4.95901e-05, 0.0560384, 0.0240456], 
              [0.00604919, 0.00204919, 0.985852, 0.00604919], 
              [5.03899e-05, 0.00204919, 0.99585, 0.00204999], 
              [0.0860332, 0.375974, 0.0460404, 0.491952], 
              [0.0180468, 0.79589, 0.018046, 0.168017], 
              [0.761898, 0.0440408, 0.122025, 0.072036]
            ]
          }, {
            "db": 0,
            "id": "NR6A1_MOUSE.H11MO.0.D",
            "len": 13,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/NR6A1_MOUSE.H11MO.0.D",
            "pwm": [
              [0.541942, 0.0600376, 0.253999, 0.144022], 
              [0.60193, 0.108028, 0.174015, 0.116027], 
              [0.198011, 0.0320432, 0.553939, 0.216007], 
              [0.0180468, 0.124025, 0.433963, 0.423966], 
              [0.05204, 0.329984, 0.0340428, 0.583934], 
              [0.0280448, 0.94586, 0.018046, 0.00804879], 
              [0.883874, 0.108028, 0.00404879, 0.00404959], 
              [0.883874, 0.0240448, 0.04804, 0.0440416], 
              [0.184014, 0.00404879, 0.79589, 0.0160472], 
              [0.0600384, 0.0400416, 0.561937, 0.337983], 
              [0.0740356, 0.244001, 0.182013, 0.49995], 
              [0.0840336, 0.707908, 0.0560384, 0.15202], 
              [0.709908, 0.0600376, 0.110028, 0.120026]
            ]
          }, {
            "db": 0,
            "id": "NRL_HUMAN.MA0842.1",
            "len": 11,
            "nsites": 5786,
            "url": "http://jaspar.genereg.net/matrix/MA0842.1",
            "pwm": [
              [0.389041, 0.133428, 0.212237, 0.265296], 
              [0.439085, 0.105065, 0.151203, 0.304647], 
              [0.344969, 0.153994, 0.102837, 0.3982], 
              [0.241576, 0.23812, 0.213583, 0.306721], 
              [0.0906798, 0.199954, 0.0367397, 0.672627], 
              [0.00853821, 0.00393022, 0.987528, 4.35526e-06], 
              [0.136913, 0.839149, 4.28613e-06, 0.0239339], 
              [0.0681372, 0.0412786, 0.0125991, 0.877986], 
              [0.0513055, 0.0130271, 0.761106, 0.17456], 
              [0.868627, 0.0481945, 0.0222229, 0.0609553], 
              [0.0470135, 0.5712, 0.158142, 0.223643]
            ]
          }, {
            "db": 0,
            "id": "OLIG2_MOUSE.H11MO.0.A",
            "len": 18,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/OLIG2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.216007, 0.619926, 0.142021, 0.022046], 
              [0.15202, 0.825884, 0.00404879, 0.0180468], 
              [0.839882, 0.0160464, 0.0260444, 0.118027], 
              [0.00804879, 0.0260444, 0.489952, 0.475955], 
              [0.15402, 0.783893, 0.0500396, 0.012048], 
              [0.0340436, 0.0140468, 0.00604839, 0.945861], 
              [5.03899e-05, 0.0140468, 0.911867, 0.0740356], 
              [0.012048, 0.361977, 0.180014, 0.445961], 
              [0.0240456, 0.251999, 0.0340428, 0.689912], 
              [0.0800344, 0.257998, 0.154019, 0.507949], 
              [0.0980308, 0.431963, 0.186012, 0.283994], 
              [0.10403, 0.489952, 0.114027, 0.291992], 
              [0.176015, 0.381973, 0.166016, 0.275995], 
              [0.267997, 0.0860324, 0.192011, 0.45396], 
              [0.082034, 0.259998, 0.291991, 0.365977], 
              [0.188013, 0.451959, 0.136022, 0.224006], 
              [0.228005, 0.230004, 0.102029, 0.439962], 
              [0.130024, 0.19801, 0.339982, 0.331984]
            ]
          }, {
            "db": 0,
            "id": "OLIG2_MOUSE.H11MO.1.A",
            "len": 10,
            "nsites": 498,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/OLIG2_MOUSE.H11MO.1.A",
            "pwm": [
              [0.174715, 0.584269, 0.116492, 0.124524], 
              [0.228921, 0.732835, 0.00607258, 0.0321731], 
              [0.660561, 0.0642939, 0.0683091, 0.206836], 
              [0.0281569, 0.0542559, 0.39756, 0.520026], 
              [0.172707, 0.698704, 0.0522483, 0.0763403], 
              [0.0161114, 0.00808018, 0.00808018, 0.967727], 
              [0.0100886, 0.024141, 0.8553, 0.11047], 
              [0.00808098, 0.32127, 0.214866, 0.455782], 
              [0.0381959, 0.327293, 0.0783471, 0.556164], 
              [0.15263, 0.251003, 0.172706, 0.423661]
            ]
          }, {
            "db": 0,
            "id": "PPARA_MOUSE.H11MO.0.A",
            "len": 17,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PPARA_MOUSE.H11MO.0.A",
            "pwm": [
              [0.537943, 0.218006, 0.114027, 0.130024], 
              [0.571936, 0.0500396, 0.10003, 0.277995], 
              [0.114028, 0.39797, 0.371975, 0.116027], 
              [0.130024, 0.108028, 0.10003, 0.661918], 
              [0.471956, 0.0160464, 0.457958, 0.0540396], 
              [0.10403, 0.0100476, 0.781893, 0.10403], 
              [0.092032, 0.0200456, 0.851879, 0.0360432], 
              [0.0780348, 0.160018, 0.355978, 0.405969], 
              [0.108029, 0.487952, 0.301989, 0.10203], 
              [0.911868, 0.0200456, 0.0540388, 0.0140476], 
              [0.645921, 0.0440408, 0.259998, 0.0500404], 
              [0.839882, 0.00204919, 0.132023, 0.0260452], 
              [0.0780348, 0.00604839, 0.903869, 0.012048], 
              [0.062038, 0.0100476, 0.803889, 0.124026], 
              [0.0380428, 0.0840328, 0.234003, 0.643922], 
              [0.0880328, 0.521945, 0.228004, 0.162018], 
              [0.733904, 0.078034, 0.106028, 0.082034]
            ]
          }, {
            "db": 0,
            "id": "PPARA_MOUSE.H11MO.1.A",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PPARA_MOUSE.H11MO.1.A",
            "pwm": [
              [0.0840336, 0.59793, 0.234003, 0.0840336], 
              [0.905869, 0.0420412, 0.028044, 0.0240456], 
              [0.693912, 0.0820332, 0.214007, 0.0100484], 
              [0.937863, 4.95901e-05, 0.058038, 0.00404959], 
              [0.0440416, 0.00604839, 0.937862, 0.012048], 
              [0.0200464, 0.00204919, 0.883873, 0.0940316], 
              [0.0240456, 0.0820332, 0.206008, 0.687913], 
              [0.0440416, 0.791891, 0.0960304, 0.0680368], 
              [0.871876, 0.04804, 0.0260444, 0.0540396]
            ]
          }, {
            "db": 0,
            "id": "PPARD_MOUSE.H11MO.0.D",
            "len": 14,
            "nsites": 18,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PPARD_MOUSE.H11MO.0.D",
            "pwm": [
              [0.08478, 0.362717, 0.0847579, 0.467745], 
              [0.730262, 0.00137017, 0.205207, 0.0631611], 
              [0.00139227, 0.063139, 0.934076, 0.00139227], 
              [0.0569844, 0.063139, 0.767301, 0.112576], 
              [0.34112, 0.242268, 0.242268, 0.174344], 
              [0.174344, 0.371982, 0.242268, 0.211406], 
              [0.761146, 0.180499, 0.00137017, 0.0569844], 
              [0.55731, 0.21756, 0.168146, 0.0569844], 
              [0.878507, 0.00137017, 0.063139, 0.0569844], 
              [0.00139227, 0.00137017, 0.958784, 0.0384534], 
              [0.0631611, 0.00137017, 0.878485, 0.0569844], 
              [0.149637, 0.044608, 0.063139, 0.742616], 
              [0.0940455, 0.724063, 0.063139, 0.118752], 
              [0.733351, 0.0106357, 0.195941, 0.0600723]
            ]
          }, {
            "db": 0,
            "id": "PPARG_MOUSE.H11MO.0.A",
            "len": 17,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PPARG_MOUSE.H11MO.0.A",
            "pwm": [
              [0.545941, 0.168016, 0.122025, 0.164018], 
              [0.539942, 0.018046, 0.108028, 0.333984], 
              [0.118027, 0.351979, 0.371975, 0.158019], 
              [0.118027, 0.118026, 0.116026, 0.647921], 
              [0.397971, 0.028044, 0.527944, 0.0460412], 
              [0.10003, 0.00204919, 0.751899, 0.146021], 
              [0.166017, 0.0220452, 0.781893, 0.0300444], 
              [0.106029, 0.186012, 0.415966, 0.291992], 
              [0.108029, 0.575934, 0.246, 0.0700364], 
              [0.89987, 0.0360424, 0.0440408, 0.0200464], 
              [0.69991, 0.0320432, 0.251999, 0.0160472], 
              [0.791892, 0.00404879, 0.19801, 0.00604919], 
              [0.0960312, 4.95901e-05, 0.877874, 0.0260452], 
              [0.0740356, 0.00604839, 0.783893, 0.136023], 
              [0.0340436, 0.122025, 0.34798, 0.495951], 
              [0.158019, 0.517946, 0.154019, 0.170016], 
              [0.685913, 0.068036, 0.156018, 0.0900324]
            ]
          }, {
            "db": 0,
            "id": "PPARG_MOUSE.H11MO.1.A",
            "len": 10,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PPARG_MOUSE.H11MO.1.A",
            "pwm": [
              [0.15402, 0.220006, 0.39797, 0.228005], 
              [0.0440416, 0.693911, 0.166016, 0.0960312], 
              [0.959858, 0.0120472, 0.00204919, 0.0260452], 
              [0.59993, 0.0520392, 0.327984, 0.0200464], 
              [0.955859, 0.00204919, 0.0420412, 5.03899e-05], 
              [0.0760352, 4.95901e-05, 0.917866, 0.00604919], 
              [0.0240456, 0.00804799, 0.831883, 0.136023], 
              [0.042042, 0.128024, 0.253999, 0.575935], 
              [0.0680368, 0.691911, 0.128024, 0.112028], 
              [0.80389, 0.0700356, 0.0220452, 0.10403]
            ]
          }, {
            "db": 0,
            "id": "PRD14_MOUSE.H11MO.0.A",
            "len": 16,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PRD14_MOUSE.H11MO.0.A",
            "pwm": [
              [0.387973, 0.174015, 0.275994, 0.162018], 
              [0.325985, 0.0860324, 0.417966, 0.170016], 
              [0.293992, 0.0340428, 0.389972, 0.281994], 
              [0.0860332, 0.166016, 0.69991, 0.0480408], 
              [0.134024, 0.0500396, 0.226004, 0.589932], 
              [0.0500404, 0.0240448, 0.058038, 0.867877], 
              [0.963858, 0.00204919, 0.0200456, 0.0140476], 
              [0.0780348, 0.0560384, 0.865876, 5.03899e-05], 
              [0.721906, 0.0140468, 0.212007, 0.05204], 
              [0.0840336, 0.0220452, 0.857878, 0.0360432], 
              [0.539942, 0.331983, 0.0520392, 0.0760352], 
              [0.220006, 0.681913, 0.0340428, 0.0640376], 
              [0.0360432, 0.79789, 0.0800336, 0.0860332], 
              [0.10203, 0.405968, 0.058038, 0.433964], 
              [0.20201, 0.114027, 0.263997, 0.419966], 
              [0.160018, 0.206008, 0.459958, 0.174016]
            ]
          }, {
            "db": 0,
            "id": "PRDM9_MOUSE.H11MO.0.C",
            "len": 19,
            "nsites": 490,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PRDM9_MOUSE.H11MO.0.C",
            "pwm": [
              [0.512192, 0.206131, 0.114313, 0.167364], 
              [0.618292, 0.0979896, 0.20001, 0.0837073], 
              [0.279586, 0.14696, 0.348959, 0.224496], 
              [0.518313, 0.0673839, 0.246939, 0.167364], 
              [0.277546, 0.0633027, 0.279586, 0.379566], 
              [0.106152, 0.00617135, 0.818251, 0.0694253], 
              [0.212253, 0.0143337, 0.750917, 0.0224958], 
              [0.0306572, 0.550958, 0.00413177, 0.414253], 
              [0.865181, 5.06019e-05, 0.122475, 0.0122939], 
              [0.0796272, 0.00209119, 0.910069, 0.00821275], 
              [0.0224958, 0.495867, 0.0163743, 0.465262], 
              [0.91007, 0.0122931, 0.0673839, 0.0102533], 
              [0.185728, 0.238778, 0.489747, 0.0857479], 
              [0.00617217, 0.991685, 5.06019e-05, 0.002092], 
              [0.612171, 0.0592225, 0.00413177, 0.324475], 
              [0.0571828, 0.326515, 0.24898, 0.367323], 
              [0.0408591, 0.877423, 0.0306564, 0.051061], 
              [0.263263, 0.120434, 0.0449394, 0.571364], 
              [0.0939103, 0.24898, 0.387726, 0.269384]
            ]
          }, {
            "db": 0,
            "id": "PRGR_MOUSE.H11MO.1.A",
            "len": 8,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PRGR_MOUSE.H11MO.1.A",
            "pwm": [
              [0.371976, 0.222005, 0.287992, 0.118027], 
              [0.557939, 0.00204919, 0.403969, 0.0360432], 
              [0.0180468, 0.00204919, 0.971855, 0.00804879], 
              [0.483954, 0.09803, 0.305988, 0.112028], 
              [0.933864, 0.0220452, 0.0120472, 0.032044], 
              [0.0100484, 0.967856, 0.018046, 0.00404959], 
              [0.90387, 0.00604839, 0.0100476, 0.0800344], 
              [0.128025, 0.194011, 0.427964, 0.25]
            ]
          }, {
            "db": 0,
            "id": "PTF1A_MOUSE.H11MO.0.A",
            "len": 18,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PTF1A_MOUSE.H11MO.0.A",
            "pwm": [
              [0.15202, 0.44596, 0.361977, 0.0400424], 
              [0.0140476, 0.953859, 0.0120472, 0.0200464], 
              [0.939862, 0.0100476, 0.00604839, 0.0440416], 
              [0.00604919, 0.0440408, 0.765896, 0.184014], 
              [0.0760352, 0.867876, 0.0220452, 0.0340436], 
              [0.0140476, 0.00404879, 0.00204919, 0.979854], 
              [0.0100484, 0.0160464, 0.933863, 0.0400424], 
              [0.0200464, 0.443961, 0.273995, 0.261998], 
              [0.0560392, 0.423965, 0.120026, 0.39997], 
              [0.148021, 0.313987, 0.238002, 0.29999], 
              [0.082034, 0.409968, 0.25, 0.257999], 
              [0.134024, 0.413967, 0.140022, 0.311988], 
              [0.146021, 0.232003, 0.226004, 0.395971], 
              [0.0540396, 0.34598, 0.136022, 0.463958], 
              [0.072036, 0.403969, 0.0700356, 0.45396], 
              [0.0640376, 0.601929, 0.132023, 0.20201], 
              [0.242002, 0.439962, 0.0660364, 0.252], 
              [0.180014, 0.483953, 0.176014, 0.160018]
            ]
          }, {
            "db": 0,
            "id": "PTF1A_MOUSE.H11MO.1.A",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/PTF1A_MOUSE.H11MO.1.A",
            "pwm": [
              [0.521946, 0.0140468, 0.371975, 0.092032], 
              [0.124026, 0.120026, 0.729904, 0.0260452], 
              [0.042042, 0.915866, 0.0320432, 0.0100484], 
              [0.977855, 0.00604839, 0.0140468, 0.00204999], 
              [0.022046, 0.0160464, 0.929864, 0.032044], 
              [0.180014, 0.727904, 0.0860324, 0.00604919], 
              [0.124026, 0.00804799, 0.0120472, 0.855879], 
              [0.00404959, 0.0120472, 0.951859, 0.032044], 
              [0.0260452, 0.15002, 0.619926, 0.20401]
            ]
          }, {
            "db": 0,
            "id": "RARA_MOUSE.H11MO.0.A",
            "len": 20,
            "nsites": 445,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RARA_MOUSE.H11MO.0.A",
            "pwm": [
              [0.247192, 0.0494826, 0.557234, 0.146091], 
              [0.132611, 0.11239, 0.705515, 0.0494835], 
              [0.301113, 0.0764426, 0.49882, 0.123625], 
              [0.069704, 0.13935, 0.11239, 0.678556], 
              [0.065211, 0.680802, 0.11913, 0.134857], 
              [0.624635, 0.130363, 0.148337, 0.0966639], 
              [0.325826, 0.0854295, 0.447146, 0.141598], 
              [0.498821, 0.0337561, 0.456133, 0.0112901], 
              [0.847057, 0.00230221, 0.143843, 0.0067971], 
              [0.0247701, 0.0270157, 0.936924, 0.0112901], 
              [0.0270166, 0.0067962, 0.267412, 0.698776], 
              [0.00230311, 0.0225227, 0.0247692, 0.950405], 
              [0.0135366, 0.950404, 0.0225227, 0.0135366], 
              [0.977365, 0.0067962, 0.0135357, 0.00230311], 
              [0.842564, 0.0292622, 0.110143, 0.0180306], 
              [0.069704, 0.0157822, 0.876263, 0.03825], 
              [0.0539775, 0.0449896, 0.86503, 0.0360035], 
              [0.103404, 0.096663, 0.096663, 0.70327], 
              [0.042744, 0.788643, 0.0899235, 0.0786909], 
              [0.788643, 0.0360026, 0.0899235, 0.0854304]
            ]
          }, {
            "db": 0,
            "id": "RARA_MOUSE.H11MO.1.A",
            "len": 20,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RARA_MOUSE.H11MO.1.A",
            "pwm": [
              [0.260519, 0.124273, 0.551041, 0.0641656], 
              [0.210429, 0.112251, 0.551041, 0.126278], 
              [0.370717, 0.0561504, 0.464887, 0.108245], 
              [0.284562, 0.0922152, 0.432829, 0.190393], 
              [0.168354, 0.208425, 0.555048, 0.0681728], 
              [0.394761, 0.0942188, 0.356691, 0.154329], 
              [0.102234, 0.156331, 0.24449, 0.496945], 
              [0.110248, 0.506962, 0.260518, 0.12227], 
              [0.442848, 0.230465, 0.192396, 0.134293], 
              [0.428823, 0.068172, 0.354688, 0.148318], 
              [0.36671, 0.0501397, 0.549038, 0.0341117], 
              [0.811511, 0.00606048, 0.168353, 0.0140757], 
              [0.0421261, 4.96894e-05, 0.949759, 0.00806488], 
              [0.0200865, 0.0100677, 0.508966, 0.46088], 
              [0.0160793, 0.0461325, 0.0661684, 0.871619], 
              [0.00205409, 0.937738, 0.0401217, 0.0200865], 
              [0.983821, 4.96894e-05, 0.00405689, 0.0120721], 
              [0.563064, 0.108244, 0.256511, 0.07218], 
              [0.178372, 0.0521432, 0.699309, 0.0701764], 
              [0.112252, 0.0862044, 0.737377, 0.0641656]
            ]
          }, {
            "db": 0,
            "id": "RARA_MOUSE.H11MO.2.A",
            "len": 17,
            "nsites": 121,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RARA_MOUSE.H11MO.2.A",
            "pwm": [
              [0.559918, 0.0164773, 0.384966, 0.0386393], 
              [0.000208092, 0.00366693, 0.983452, 0.0126718], 
              [0.0491297, 0.0292878, 0.641035, 0.280547], 
              [0.0472952, 0.00712907, 0.0823639, 0.863212], 
              [0.00643994, 0.733304, 0.181593, 0.0786633], 
              [0.87706, 0.000204789, 0.110062, 0.0126718], 
              [0.227056, 0.305265, 0.215038, 0.252641], 
              [0.173494, 0.381192, 0.328324, 0.116991], 
              [0.277362, 0.190353, 0.398469, 0.133817], 
              [0.442996, 0.10106, 0.319807, 0.136137], 
              [0.246202, 0.250111, 0.431464, 0.0722236], 
              [0.592982, 0.131736, 0.180208, 0.0950747], 
              [0.0726732, 0.11214, 0.775058, 0.0401281], 
              [0.0999217, 0.0546658, 0.604301, 0.241112], 
              [0.139599, 0.10937, 0.145586, 0.605446], 
              [0.0984669, 0.695635, 0.133986, 0.0719118], 
              [0.724616, 0.0836458, 0.114563, 0.0771745]
            ]
          }, {
            "db": 0,
            "id": "RARA_MOUSE.H11MO.3.A",
            "len": 12,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RARA_MOUSE.H11MO.3.A",
            "pwm": [
              [0.102234, 0.436836, 0.30059, 0.160339], 
              [0.308606, 0.374724, 0.148317, 0.168354], 
              [0.376729, 0.232468, 0.378732, 0.0120721], 
              [0.743389, 0.00205329, 0.24449, 0.0100685], 
              [0.0281009, 4.96894e-05, 0.957774, 0.0140757], 
              [0.00806488, 0.00806408, 0.959777, 0.0240937], 
              [0.00806488, 0.0561504, 0.130285, 0.8055], 
              [0.00205409, 0.945752, 0.0361145, 0.0160793], 
              [0.985825, 4.96894e-05, 0.00806408, 0.00606129], 
              [0.12227, 0.274544, 0.555048, 0.0481369], 
              [0.252505, 0.174364, 0.468894, 0.104238], 
              [0.21644, 0.188389, 0.444851, 0.150321]
            ]
          }, {
            "db": 0,
            "id": "RARB_MOUSE.H11MO.0.D",
            "len": 11,
            "nsites": 21,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RARB_MOUSE.H11MO.0.D",
            "pwm": [
              [0.180179, 0.315753, 0.464907, 0.0391605], 
              [0.81747, 0.00117536, 0.18016, 0.00119431], 
              [0.00119431, 0.00117536, 0.996436, 0.00119431], 
              [0.00119431, 0.00117536, 0.947622, 0.0500079], 
              [0.00119431, 0.00117536, 0.00117536, 0.996455], 
              [0.00119431, 0.996436, 0.00117536, 0.00119431], 
              [0.996455, 0.00117536, 0.00117536, 0.00119431], 
              [0.223568, 0.201855, 0.394398, 0.180179], 
              [0.315772, 0.201855, 0.378127, 0.104246], 
              [0.32662, 0.250668, 0.421517, 0.00119431], 
              [0.252044, 0.327957, 0.319821, 0.100178]
            ]
          }, {
            "db": 0,
            "id": "RARG_MOUSE.H11MO.0.C",
            "len": 18,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RARG_MOUSE.H11MO.0.C",
            "pwm": [
              [0.575935, 0.018046, 0.387972, 0.0180468], 
              [0.176015, 0.00604839, 0.755898, 0.062038], 
              [0.140022, 0.00604839, 0.84588, 0.00804879], 
              [0.0640376, 0.0100476, 0.134023, 0.791892], 
              [0.0140476, 0.887872, 0.0360424, 0.062038], 
              [0.919866, 0.0120472, 0.0520392, 0.0160472], 
              [0.186013, 0.329984, 0.375974, 0.108029], 
              [0.429964, 0.291991, 0.242001, 0.0360432], 
              [0.297991, 0.186012, 0.439962, 0.0760352], 
              [0.206009, 0.126024, 0.108028, 0.559938], 
              [0.0940316, 0.166016, 0.685912, 0.0540396], 
              [0.407969, 0.220006, 0.230004, 0.142022], 
              [0.228005, 0.615926, 0.0960304, 0.0600384], 
              [0.295991, 0.591931, 0.0420412, 0.0700364], 
              [0.140022, 0.226004, 0.14602, 0.487953], 
              [0.178015, 0.164017, 0.455958, 0.20201], 
              [0.269996, 0.112027, 0.479954, 0.138023], 
              [0.311988, 0.234003, 0.339982, 0.114028]
            ]
          }, {
            "db": 0,
            "id": "RARG_MOUSE.H11MO.1.C",
            "len": 8,
            "nsites": 393,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RARG_MOUSE.H11MO.1.C",
            "pwm": [
              [0.282435, 0.333311, 0.348575, 0.035678], 
              [0.742878, 0.0102385, 0.241732, 0.00515181], 
              [0.00515181, 6.30883e-05, 0.992177, 0.00260846], 
              [0.00515181, 0.00260744, 0.956563, 0.035678], 
              [0.078924, 0.0102385, 0.183222, 0.727614], 
              [0.00515181, 0.969282, 0.0255016, 6.41058e-05], 
              [0.974371, 0.00769515, 0.0153262, 0.00260846], 
              [0.101819, 0.277347, 0.519015, 0.101819]
            ]
          }, {
            "db": 0,
            "id": "REL_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 178,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/REL_MOUSE.H11MO.0.A",
            "pwm": [
              [0.308957, 0.0843619, 0.258421, 0.348261], 
              [0.275268, 0.168584, 0.483014, 0.0731345], 
              [0.421253, 0.140509, 0.118051, 0.320187], 
              [0.483016, 0.0394432, 0.30334, 0.174201], 
              [0.140512, 0.00575409, 0.814289, 0.0394454], 
              [0.0113712, 0.000139248, 0.982733, 0.00575634], 
              [0.0843642, 0.000139248, 0.904125, 0.0113712], 
              [0.617773, 0.0169838, 0.348259, 0.016986], 
              [0.915357, 0.00575409, 0.0619025, 0.016986], 
              [0.701994, 0.0282135, 0.0955916, 0.174201], 
              [0.0843642, 0.134895, 0.162969, 0.617773], 
              [0.0113712, 0.213502, 0.331414, 0.443712], 
              [0.19666, 0.685147, 0.045058, 0.0731345], 
              [0.101209, 0.75814, 0.112436, 0.0282157], 
              [0.66269, 0.112436, 0.101206, 0.123668]
            ]
          }, {
            "db": 0,
            "id": "REST_MOUSE.H11MO.0.A",
            "len": 22,
            "nsites": 378,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/REST_MOUSE.H11MO.0.A",
            "pwm": [
              [0.145531, 0.103213, 0.275125, 0.476131], 
              [0.02916, 0.195781, 0.0873445, 0.687716], 
              [0.0529627, 0.833178, 0.0265136, 0.0873456], 
              [0.875496, 0.0185797, 0.0952784, 0.0106459], 
              [0.0185808, 0.0688304, 0.891364, 0.0212251], 
              [0.055608, 0.616305, 0.195781, 0.132307], 
              [0.983933, 0.00271089, 0.0106448, 0.00271195], 
              [6.6649e-05, 0.991866, 0.00271089, 0.00535625], 
              [0.00271195, 0.941616, 0.0132901, 0.0423835], 
              [0.579278, 0.0952784, 0.15082, 0.174623], 
              [0.153465, 0.288349, 0.0423824, 0.515803], 
              [0.00535625, 6.55911e-05, 0.994512, 6.6649e-05], 
              [0.00271195, 6.55911e-05, 0.997156, 6.6649e-05], 
              [0.944261, 0.0397381, 0.00535519, 0.0106459], 
              [0.00271195, 0.88343, 0.0979237, 0.0159355], 
              [0.989223, 0.00271089, 0.00535519, 0.00271195], 
              [0.0132912, 6.55911e-05, 0.986577, 6.6649e-05], 
              [0.121727, 0.732676, 0.0688304, 0.0767664], 
              [0.209006, 0.0185797, 0.47084, 0.301574], 
              [0.1614, 0.61366, 0.169333, 0.055608], 
              [0.105859, 0.777638, 0.0318032, 0.0847003], 
              [0.29364, 0.439102, 0.0952784, 0.171979]
            ]
          }, {
            "db": 0,
            "id": "RORA_MOUSE.H11MO.0.C",
            "len": 13,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RORA_MOUSE.H11MO.0.C",
            "pwm": [
              [0.533944, 0.228004, 0.14602, 0.092032], 
              [0.447961, 0.130024, 0.09803, 0.323986], 
              [0.160018, 0.393971, 0.273995, 0.172016], 
              [0.252, 0.0700356, 0.164017, 0.513948], 
              [0.54994, 0.0160464, 0.423965, 0.0100484], 
              [0.072036, 0.00404879, 0.881873, 0.042042], 
              [0.0200464, 0.00604839, 0.94786, 0.0260452], 
              [0.0740356, 0.172015, 0.242001, 0.511948], 
              [0.00204999, 0.94986, 0.0440408, 0.00404959], 
              [0.961858, 0.00804799, 0.0100476, 0.0200464], 
              [0.343982, 0.122025, 0.455958, 0.0780348], 
              [0.297991, 0.078034, 0.425964, 0.198011], 
              [0.20401, 0.10003, 0.609928, 0.0860332]
            ]
          }, {
            "db": 0,
            "id": "RORB_HUMAN.MA1150.1",
            "len": 11,
            "nsites": 1000,
            "url": "http://jaspar.genereg.net/matrix/MA1150.1",
            "pwm": [
              [0.784947, 0.0140234, 0.0290219, 0.172008], 
              [0.525448, 0.0259962, 0.0239984, 0.424558], 
              [0.233235, 0.162171, 0.201206, 0.403388], 
              [0.0530199, 0.165008, 0.235001, 0.546971], 
              [0.601965, 0.0140234, 0.357989, 0.0260226], 
              [0.0160236, 0.0250223, 0.906934, 0.05202], 
              [0.032022, 0.0130235, 0.927932, 0.0270225], 
              [0.0280224, 0.14601, 0.0500198, 0.775948], 
              [0.0470205, 0.780947, 0.0170231, 0.15501], 
              [0.895936, 0.0150233, 0.0630185, 0.0260226], 
              [0.205005, 0.325992, 0.14501, 0.323993]
            ]
          }, {
            "db": 0,
            "id": "RORG_MOUSE.H11MO.0.B",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RORG_MOUSE.H11MO.0.B",
            "pwm": [
              [0.242002, 0.188012, 0.429964, 0.140022], 
              [0.475955, 0.102029, 0.246, 0.176015], 
              [0.70391, 0.0960304, 0.108028, 0.092032], 
              [0.64992, 0.018046, 0.0500396, 0.281994], 
              [0.0840336, 0.39997, 0.455958, 0.0600384], 
              [0.0440416, 0.038042, 0.058038, 0.859878], 
              [0.487953, 0.00804799, 0.49995, 0.00404959], 
              [0.313988, 0.0100476, 0.635922, 0.0400424], 
              [0.0240456, 0.0220452, 0.935862, 0.0180468], 
              [0.0200464, 0.0900316, 0.122025, 0.767897], 
              [0.0100484, 0.94986, 0.018046, 0.022046], 
              [0.977855, 0.00204919, 0.0140468, 0.00604919]
            ]
          }, {
            "db": 0,
            "id": "RXRA_MOUSE.H11MO.0.A",
            "len": 21,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RXRA_MOUSE.H11MO.0.A",
            "pwm": [
              [0.396765, 0.0761864, 0.384743, 0.142307], 
              [0.240483, 0.110248, 0.448858, 0.200411], 
              [0.202415, 0.156331, 0.533009, 0.108245], 
              [0.310609, 0.136295, 0.380735, 0.172361], 
              [0.130285, 0.206421, 0.224454, 0.438841], 
              [0.178372, 0.422811, 0.234472, 0.164347], 
              [0.418805, 0.192396, 0.248497, 0.140303], 
              [0.308606, 0.142306, 0.358695, 0.190393], 
              [0.394761, 0.088208, 0.494941, 0.0220901], 
              [0.821529, 0.0220893, 0.146313, 0.0100685], 
              [0.0561512, 0.00806408, 0.90568, 0.0301045], 
              [0.0180829, 0.0481361, 0.390753, 0.543028], 
              [0.0301045, 0.058154, 0.0541468, 0.857594], 
              [0.0100685, 0.911691, 0.068172, 0.0100685], 
              [0.909688, 0.0240929, 0.0381181, 0.0281009], 
              [0.773443, 0.0501397, 0.126277, 0.0501405], 
              [0.106241, 0.0220893, 0.835553, 0.0361153], 
              [0.0601584, 0.0281001, 0.857593, 0.0541476], 
              [0.0801944, 0.264526, 0.130285, 0.524995], 
              [0.0341117, 0.741384, 0.102233, 0.12227], 
              [0.701313, 0.058154, 0.128281, 0.112252]
            ]
          }, {
            "db": 0,
            "id": "RXRA_MOUSE.H11MO.1.A",
            "len": 22,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RXRA_MOUSE.H11MO.1.A",
            "pwm": [
              [0.323986, 0.130024, 0.473955, 0.072036], 
              [0.192012, 0.120026, 0.551939, 0.136023], 
              [0.329984, 0.0560384, 0.485952, 0.128025], 
              [0.220006, 0.04804, 0.411967, 0.319986], 
              [0.116027, 0.273995, 0.54794, 0.062038], 
              [0.415967, 0.0620372, 0.39597, 0.126025], 
              [0.15202, 0.158018, 0.238002, 0.45196], 
              [0.15002, 0.469956, 0.251999, 0.128025], 
              [0.50195, 0.168016, 0.20001, 0.130024], 
              [0.461958, 0.112027, 0.301989, 0.124026], 
              [0.459958, 0.0560384, 0.44996, 0.0340436], 
              [0.789892, 0.00404879, 0.20001, 0.00604919], 
              [0.0340436, 4.95901e-05, 0.957858, 0.00804879], 
              [0.012048, 4.95901e-05, 0.543941, 0.443962], 
              [0.042042, 0.038042, 0.0540388, 0.865877], 
              [0.012048, 0.933863, 0.0320432, 0.022046], 
              [0.973856, 0.0100476, 0.00604839, 0.0100484], 
              [0.563938, 0.126024, 0.212007, 0.0980308], 
              [0.186013, 0.0940308, 0.657918, 0.062038], 
              [0.15002, 0.0760344, 0.665916, 0.108029], 
              [0.178015, 0.253999, 0.176014, 0.391972], 
              [0.138023, 0.54594, 0.168016, 0.148021]
            ]
          }, {
            "db": 0,
            "id": "RXRA_MOUSE.H11MO.2.A",
            "len": 10,
            "nsites": 365,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RXRA_MOUSE.H11MO.2.A",
            "pwm": [
              [0.334224, 0.0411527, 0.591687, 0.032937], 
              [0.630033, 0.00554543, 0.358874, 0.00554652], 
              [0.00554652, 0.00280718, 0.988838, 0.00280827], 
              [0.00554652, 6.79266e-05, 0.725896, 0.268488], 
              [6.90222e-05, 0.0192407, 0.00280718, 0.977883], 
              [0.0137643, 0.945014, 0.0411527, 6.90222e-05], 
              [0.994318, 0.00280718, 0.00280718, 6.90222e-05], 
              [0.550603, 0.0849767, 0.246575, 0.117845], 
              [0.241099, 0.0822374, 0.632772, 0.043893], 
              [0.202753, 0.153451, 0.599904, 0.043893]
            ]
          }, {
            "db": 0,
            "id": "RXRB_MOUSE.H11MO.0.C",
            "len": 10,
            "nsites": 26,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RXRB_MOUSE.H11MO.0.C",
            "pwm": [
              [0.143275, 0.0958233, 0.138516, 0.622385], 
              [0.11007, 0.375699, 0.513266, 0.000965517], 
              [0.845337, 0.0673618, 0.0863358, 0.000965517], 
              [0.0436583, 0.000950192, 0.86904, 0.0863511], 
              [0.000965517, 0.0602461, 0.84295, 0.0958386], 
              [0.0436583, 0.000950192, 0.043643, 0.911749], 
              [0.0175687, 0.871412, 0.0673618, 0.0436583], 
              [0.954441, 0.043643, 0.000950192, 0.000965517], 
              [0.0958386, 0.494291, 0.304545, 0.105326], 
              [0.397061, 0.124286, 0.316404, 0.16225]
            ]
          }, {
            "db": 0,
            "id": "RXRG_MOUSE.H11MO.0.B",
            "len": 22,
            "nsites": 281,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RXRG_MOUSE.H11MO.0.B",
            "pwm": [
              [0.231324, 0.138829, 0.530149, 0.0996982], 
              [0.473231, 0.0712369, 0.309587, 0.145945], 
              [0.224209, 0.113927, 0.469672, 0.192192], 
              [0.188635, 0.149501, 0.544379, 0.117486], 
              [0.366507, 0.117484, 0.384293, 0.131716], 
              [0.135273, 0.145943, 0.177961, 0.540822], 
              [0.089026, 0.537264, 0.238437, 0.135273], 
              [0.519478, 0.167289, 0.195749, 0.117486], 
              [0.274013, 0.135271, 0.43054, 0.160175], 
              [0.412754, 0.0641224, 0.501689, 0.0214341], 
              [0.843206, 8.82248e-05, 0.138829, 0.0178773], 
              [0.0178773, 8.82248e-05, 0.978388, 0.00364738], 
              [0.0178773, 0.0143182, 0.380736, 0.58707], 
              [0.0107618, 0.0498925, 0.0214326, 0.917912], 
              [0.0178773, 0.9606, 0.0143182, 0.00720412], 
              [0.971274, 8.82248e-05, 0.0214326, 0.00720412], 
              [0.811189, 0.0143182, 0.135271, 0.0392217], 
              [0.0676816, 0.0143182, 0.914354, 0.00364738], 
              [0.0463362, 0.0249904, 0.907238, 0.0214341], 
              [0.089026, 0.213535, 0.110369, 0.58707], 
              [0.0285495, 0.764941, 0.0783524, 0.128158], 
              [0.789845, 0.0392203, 0.0819101, 0.089026]
            ]
          }, {
            "db": 0,
            "id": "RXRG_MOUSE.H11MO.1.B",
            "len": 10,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/RXRG_MOUSE.H11MO.1.B",
            "pwm": [
              [0.390754, 0.0821972, 0.482919, 0.0441297], 
              [0.791475, 0.0100677, 0.1944, 0.00405769], 
              [0.0160793, 0.0240929, 0.931727, 0.0281009], 
              [0.0321081, 0.0381181, 0.474905, 0.454869], 
              [0.0240937, 0.0381181, 0.0962224, 0.841565], 
              [0.0260973, 0.865607, 0.088208, 0.0200865], 
              [0.867612, 0.0421253, 0.0401217, 0.0501405], 
              [0.65523, 0.0721792, 0.226457, 0.0461333], 
              [0.134293, 0.0501397, 0.765427, 0.0501405], 
              [0.0862052, 0.120266, 0.739381, 0.0541476]
            ]
          }, {
            "db": 0,
            "id": "SALL1_MOUSE.H11MO.0.D",
            "len": 17,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SALL1_MOUSE.H11MO.0.D",
            "pwm": [
              [0.232004, 0.0860324, 0.441961, 0.240002], 
              [0.228005, 0.0900316, 0.467956, 0.214008], 
              [0.110028, 0.265996, 0.541941, 0.082034], 
              [0.463958, 0.00604839, 0.371975, 0.158019], 
              [0.082034, 0.00204919, 0.893871, 0.022046], 
              [0.0380428, 0.0160464, 0.889872, 0.0560392], 
              [0.0280448, 0.321985, 0.639922, 0.0100484], 
              [0.383974, 0.0260444, 0.0300436, 0.559938], 
              [0.0160472, 0.0100476, 0.953859, 0.0200464], 
              [0.190012, 0.0260444, 0.575934, 0.208009], 
              [0.0980308, 0.0120472, 0.833883, 0.0560392], 
              [0.116027, 0.0820332, 0.783893, 0.0180468], 
              [0.132024, 0.367976, 0.333983, 0.166017], 
              [0.395971, 0.190012, 0.261997, 0.15202], 
              [0.244002, 0.114027, 0.485952, 0.156019], 
              [0.190012, 0.102029, 0.577934, 0.130024], 
              [0.170016, 0.246, 0.44596, 0.138023]
            ]
          }, {
            "db": 0,
            "id": "SALL4_MOUSE.H11MO.0.A",
            "len": 10,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SALL4_MOUSE.H11MO.0.A",
            "pwm": [
              [0.180014, 0.138022, 0.513947, 0.168017], 
              [0.134024, 0.257998, 0.477954, 0.130024], 
              [0.359978, 0.00604839, 0.343981, 0.289992], 
              [0.012048, 0.00204919, 0.971855, 0.0140476], 
              [0.00204999, 0.00404879, 0.981853, 0.012048], 
              [0.0200464, 0.162017, 0.803889, 0.0140476], 
              [0.373976, 0.0300436, 0.0100476, 0.585933], 
              [0.00604919, 0.00204919, 0.987852, 0.00404959], 
              [0.0980308, 0.0160464, 0.659918, 0.226005], 
              [0.118027, 0.0240448, 0.813887, 0.0440416]
            ]
          }, {
            "db": 0,
            "id": "SMAD3_MOUSE.H11MO.0.B",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SMAD3_MOUSE.H11MO.0.B",
            "pwm": [
              [0.164018, 0.363977, 0.313987, 0.158019], 
              [0.110028, 0.271995, 0.168016, 0.44996], 
              [0.0640376, 0.69591, 0.0600376, 0.180014], 
              [0.216007, 0.00404879, 0.0140468, 0.765897], 
              [0.0700364, 0.293991, 0.553939, 0.082034], 
              [0.212008, 0.311987, 0.106028, 0.369976], 
              [0.0380428, 0.869876, 0.00804799, 0.0840336], 
              [0.465957, 0.118026, 0.0220452, 0.393972], 
              [0.00804879, 0.565936, 0.331983, 0.0940316], 
              [0.032044, 0.911867, 0.0140468, 0.042042], 
              [0.35198, 0.0560384, 0.00404879, 0.587933], 
              [0.072036, 0.271995, 0.493951, 0.162018]
            ]
          }, {
            "db": 0,
            "id": "SNAI1_MOUSE.H11MO.0.C",
            "len": 8,
            "nsites": 5,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SNAI1_MOUSE.H11MO.0.C",
            "pwm": [
              [0.197519, 0.477552, 0.267468, 0.0574618], 
              [0.00494118, 0.985255, 0.00486275, 0.00494118], 
              [0.985333, 0.00486275, 0.00486275, 0.00494118], 
              [0.00494118, 0.00486275, 0.985255, 0.00494118], 
              [0.00494118, 0.00486275, 0.985255, 0.00494118], 
              [0.00494118, 0.00486275, 0.00486275, 0.985333], 
              [0.00494118, 0.00486275, 0.985255, 0.00494118], 
              [0.0574618, 0.19744, 0.477552, 0.267546]
            ]
          }, {
            "db": 0,
            "id": "SNAI2_MOUSE.H11MO.0.A",
            "len": 11,
            "nsites": 494,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SNAI2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.412922, 0.0668387, 0.423042, 0.0971973], 
              [0.477687, 5.01923e-05, 0.51614, 0.00612277], 
              [5.10018e-05, 0.997824, 5.01923e-05, 0.00207459], 
              [0.999849, 5.01923e-05, 5.01923e-05, 5.10018e-05], 
              [0.00207459, 5.01923e-05, 0.997824, 5.10018e-05], 
              [0.00207459, 5.01923e-05, 0.997824, 5.10018e-05], 
              [0.00207459, 5.01923e-05, 5.01923e-05, 0.997825], 
              [5.10018e-05, 5.01923e-05, 0.9958, 0.00409918], 
              [0.0263617, 0.605191, 0.153865, 0.214583], 
              [0.356254, 0.238868, 0.20851, 0.196367], 
              [0.113388, 0.216605, 0.305656, 0.364349]
            ]
          }, {
            "db": 0,
            "id": "SP1_MOUSE.H11MO.0.A",
            "len": 24,
            "nsites": 489,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SP1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.0593444, 0.141126, 0.713606, 0.085924], 
              [0.12477, 0.155438, 0.650225, 0.0695673], 
              [0.231088, 0.263801, 0.453946, 0.0511661], 
              [0.139082, 0.177928, 0.629779, 0.0532107], 
              [0.134993, 0.112502, 0.725873, 0.0266311], 
              [0.239267, 0.118635, 0.552085, 0.0900131], 
              [0.157483, 0.0491207, 0.738141, 0.0552552], 
              [0.157483, 0.243355, 0.570486, 0.0286757], 
              [0.398743, 0.239266, 0.224954, 0.137038], 
              [0.171795, 0.0879677, 0.717695, 0.0225419], 
              [0.130904, 0.0552544, 0.770854, 0.0429877], 
              [0.175885, 0.0532098, 0.736096, 0.0348094], 
              [0.114547, 0.0491207, 0.799478, 0.036854], 
              [0.0491215, 0.0164074, 0.926241, 0.00822985], 
              [0.310826, 0.611378, 0.0143628, 0.0634336], 
              [0.0654781, 0.0123182, 0.913974, 0.00822985], 
              [0.0409432, 0.0225411, 0.928286, 0.00822985], 
              [0.257668, 0.0286749, 0.695206, 0.0184528], 
              [0.0348094, 0.0184519, 0.93033, 0.0164082], 
              [0.24949, 0.580709, 0.116591, 0.0532107], 
              [0.179974, 0.38443, 0.347628, 0.0879685], 
              [0.116592, 0.0777448, 0.684983, 0.120681], 
              [0.118636, 0.128858, 0.71565, 0.036854], 
              [0.157483, 0.118635, 0.699295, 0.0245865]
            ]
          }, {
            "db": 0,
            "id": "SP1_MOUSE.H11MO.1.A",
            "len": 11,
            "nsites": 3489,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SP1_MOUSE.H11MO.1.A",
            "pwm": [
              [0.195677, 0.127028, 0.594963, 0.0823319], 
              [0.0859658, 0.0297433, 0.749241, 0.13505], 
              [0.169548, 0.0122268, 0.815532, 0.00269315], 
              [0.00203416, 0.0129887, 0.983993, 0.000984194], 
              [0.0261795, 0.00549695, 0.967015, 0.00130719], 
              [0.231955, 0.64406, 0.0175796, 0.106405], 
              [0.0345652, 0.0121708, 0.929322, 0.0239415], 
              [0.00394111, 0.0102858, 0.955192, 0.0305813], 
              [0.159984, 0.0258064, 0.772447, 0.041762], 
              [0.0756811, 0.073018, 0.801691, 0.0496088], 
              [0.148903, 0.53743, 0.187622, 0.126047]
            ]
          }, {
            "db": 0,
            "id": "SP2_MOUSE.H11MO.0.B",
            "len": 22,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SP2_MOUSE.H11MO.0.B",
            "pwm": [
              [0.128531, 0.25015, 0.56903, 0.05229], 
              [0.180004, 0.246121, 0.522889, 0.0509853], 
              [0.150765, 0.282172, 0.504601, 0.062461], 
              [0.154523, 0.318673, 0.420538, 0.106266], 
              [0.287965, 0.222104, 0.384326, 0.105605], 
              [0.175218, 0.100131, 0.656763, 0.0678879], 
              [0.140025, 0.0557865, 0.706023, 0.0981648], 
              [0.296016, 0.0549107, 0.630409, 0.0186638], 
              [0.0378359, 0.00428984, 0.918471, 0.0394036], 
              [0.0122191, 0.0208865, 0.956785, 0.0101095], 
              [0.0434628, 0.889612, 0.0128501, 0.0540747], 
              [0.032402, 0.0164184, 0.900168, 0.0510113], 
              [0.012597, 0.0201757, 0.934452, 0.0327759], 
              [0.0993416, 0.0869183, 0.785941, 0.0277989], 
              [0.220793, 0.177589, 0.581639, 0.0199785], 
              [0.103855, 0.604625, 0.218656, 0.0728649], 
              [0.0500975, 0.508072, 0.233441, 0.20839], 
              [0.201318, 0.190204, 0.392564, 0.215914], 
              [0.129687, 0.236979, 0.526475, 0.106859], 
              [0.182031, 0.257938, 0.465995, 0.0940357], 
              [0.150532, 0.185504, 0.589237, 0.0747275], 
              [0.122749, 0.32635, 0.494871, 0.0560303]
            ]
          }, {
            "db": 0,
            "id": "SP2_MOUSE.H11MO.1.C",
            "len": 12,
            "nsites": 498,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SP2_MOUSE.H11MO.1.C",
            "pwm": [
              [0.449759, 0.0823623, 0.345362, 0.122516], 
              [0.259035, 0.0321723, 0.668591, 0.0402035], 
              [0.150622, 0.00607258, 0.738857, 0.104448], 
              [0.357409, 4.97892e-05, 0.642491, 5.05922e-05], 
              [0.00406579, 0.00406498, 0.991819, 5.05922e-05], 
              [0.00205819, 0.00406498, 0.989811, 0.00406579], 
              [0.158654, 0.772987, 4.97892e-05, 0.0683099], 
              [0.0221342, 0.0120954, 0.943635, 0.0221342], 
              [0.00607338, 0.00205739, 0.969735, 0.0221342], 
              [0.0984248, 0.0201258, 0.823178, 0.0582719], 
              [0.228921, 0.0341799, 0.692682, 0.0442187], 
              [0.238959, 0.642491, 0.0783471, 0.0402035]
            ]
          }, {
            "db": 0,
            "id": "SP3_MOUSE.H11MO.0.B",
            "len": 20,
            "nsites": 415,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SP3_MOUSE.H11MO.0.B",
            "pwm": [
              [0.207616, 0.226436, 0.418558, 0.147389], 
              [0.17562, 0.21838, 0.474794, 0.131204], 
              [0.228018, 0.220037, 0.43896, 0.112985], 
              [0.276199, 0.219284, 0.389273, 0.115244], 
              [0.171856, 0.199711, 0.554595, 0.0738379], 
              [0.120815, 0.0750417, 0.638159, 0.165985], 
              [0.138581, 0.00246916, 0.854673, 0.00427669], 
              [0.00247013, 0.0102983, 0.977234, 0.00999831], 
              [0.00969739, 0.019633, 0.966092, 0.00457762], 
              [0.234492, 0.627469, 0.0506496, 0.0873887], 
              [0.044478, 0.0343885, 0.890056, 0.0310772], 
              [0.00728797, 0.0148152, 0.871537, 0.10636], 
              [0.189473, 0.0349913, 0.719163, 0.0563721], 
              [0.0952188, 0.133161, 0.734522, 0.0370998], 
              [0.11419, 0.553842, 0.239159, 0.0928094], 
              [0.112082, 0.36714, 0.315496, 0.205282], 
              [0.257529, 0.13301, 0.4498, 0.159661], 
              [0.200614, 0.167489, 0.515748, 0.116147], 
              [0.163876, 0.265056, 0.455522, 0.115545], 
              [0.182095, 0.241868, 0.4498, 0.126235]
            ]
          }, {
            "db": 0,
            "id": "SP4_MOUSE.H11MO.0.B",
            "len": 20,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SP4_MOUSE.H11MO.0.B",
            "pwm": [
              [0.222451, 0.248497, 0.454869, 0.0741836], 
              [0.26653, 0.148317, 0.462883, 0.12227], 
              [0.140303, 0.180375, 0.605138, 0.0741836], 
              [0.404779, 0.2505, 0.248497, 0.0962232], 
              [0.526999, 0.112251, 0.224454, 0.136296], 
              [0.346674, 0.0260965, 0.549038, 0.0781908], 
              [0.230465, 0.0180821, 0.637197, 0.114256], 
              [0.342667, 0.0200857, 0.615156, 0.0220901], 
              [0.0681728, 0.0120713, 0.901673, 0.0180829], 
              [0.0361153, 0.00405689, 0.935734, 0.0240937], 
              [0.124274, 0.769435, 0.0100677, 0.0962232], 
              [0.0561512, 0.0160785, 0.855589, 0.07218], 
              [0.0541476, 0.0180821, 0.8616, 0.0661692], 
              [0.352685, 0.0301037, 0.56707, 0.0501405], 
              [0.214437, 0.0100677, 0.747395, 0.0281009], 
              [0.198408, 0.597124, 0.142306, 0.062162], 
              [0.248498, 0.414797, 0.124273, 0.212433], 
              [0.326638, 0.07819, 0.364706, 0.230465], 
              [0.302595, 0.112251, 0.498948, 0.0862052], 
              [0.332649, 0.142306, 0.430825, 0.0942196]
            ]
          }, {
            "db": 0,
            "id": "SP4_MOUSE.H11MO.1.B",
            "len": 16,
            "nsites": 496,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SP4_MOUSE.H11MO.1.B",
            "pwm": [
              [0.199608, 0.0484272, 0.713616, 0.0383491], 
              [0.338693, 0.0907577, 0.505996, 0.0645538], 
              [0.487855, 0.0282703, 0.411257, 0.0726172], 
              [0.364896, 0.0242391, 0.580578, 0.0302867], 
              [0.223796, 0.0121446, 0.65516, 0.1089], 
              [0.217749, 0.00609677, 0.770056, 0.00609758], 
              [0.00811417, 0.00408118, 0.979691, 0.00811417], 
              [0.0181921, 0.010129, 0.967597, 0.00408198], 
              [0.338693, 0.606783, 4.99899e-05, 0.0544748], 
              [0.014161, 4.99899e-05, 0.959534, 0.0262555], 
              [0.014161, 0.0141601, 0.917204, 0.0544748], 
              [0.254032, 0.010129, 0.699506, 0.0363335], 
              [0.141151, 0.0222225, 0.810371, 0.0262555], 
              [0.258064, 0.548326, 0.123009, 0.0706016], 
              [0.145183, 0.358849, 0.221779, 0.27419], 
              [0.219764, 0.0887421, 0.441493, 0.25]
            ]
          }, {
            "db": 0,
            "id": "SP5_MOUSE.H11MO.0.C",
            "len": 24,
            "nsites": 499,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SP5_MOUSE.H11MO.0.C",
            "pwm": [
              [0.282559, 0.138299, 0.470897, 0.108245], 
              [0.326638, 0.10624, 0.394761, 0.172361], 
              [0.18839, 0.110248, 0.573081, 0.128282], 
              [0.23848, 0.0701756, 0.543027, 0.148318], 
              [0.352685, 0.0561504, 0.537016, 0.0541476], 
              [0.208426, 0.0701756, 0.63319, 0.0882088], 
              [0.208426, 0.142306, 0.59512, 0.0541476], 
              [0.370717, 0.178371, 0.326637, 0.124274], 
              [0.206422, 0.058154, 0.579092, 0.156332], 
              [0.184383, 0.116258, 0.605138, 0.0942196], 
              [0.28857, 0.098226, 0.522991, 0.0902124], 
              [0.164347, 0.0641648, 0.703316, 0.0681728], 
              [0.334652, 0.170357, 0.408786, 0.0862052], 
              [0.422812, 0.0761864, 0.302594, 0.198408], 
              [0.230465, 0.0621612, 0.609146, 0.0982268], 
              [0.234473, 0.0321073, 0.541023, 0.192397], 
              [0.262523, 0.00606048, 0.713334, 0.0180829], 
              [0.0301045, 0.0220893, 0.939741, 0.00806488], 
              [0.0260973, 0.0321073, 0.913695, 0.0281009], 
              [0.615157, 0.264526, 0.00806408, 0.112252], 
              [0.118263, 0.0160785, 0.817521, 0.0481369], 
              [0.00806488, 0.0240929, 0.937738, 0.0301045], 
              [0.500952, 4.96894e-05, 0.48893, 0.0100685], 
              [0.0561512, 0.0240929, 0.873622, 0.0461333]
            ]
          }, {
            "db": 0,
            "id": "SP5_MOUSE.H11MO.1.C",
            "len": 13,
            "nsites": 446,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SP5_MOUSE.H11MO.1.C",
            "pwm": [
              [0.136797, 0.103171, 0.598576, 0.161455], 
              [0.266813, 0.165937, 0.490977, 0.0762724], 
              [0.410279, 0.0852385, 0.372169, 0.132314], 
              [0.24888, 0.123346, 0.506668, 0.121105], 
              [0.230947, 0.0291971, 0.457352, 0.282504], 
              [0.284746, 5.55929e-05, 0.715142, 5.64896e-05], 
              [0.00678098, 0.00453859, 0.975173, 0.0135065], 
              [0.0852394, 0.0336801, 0.863091, 0.0179895], 
              [0.625477, 0.27802, 0.00229709, 0.0942054], 
              [0.121105, 0.00453859, 0.86085, 0.0135065], 
              [0.0493724, 0.0202301, 0.856366, 0.0740309], 
              [0.564952, 0.0179886, 0.374411, 0.0426479], 
              [0.0493724, 0.0336801, 0.883266, 0.033681]
            ]
          }, {
            "db": 0,
            "id": "SRBP2_MOUSE.H11MO.0.B",
            "len": 13,
            "nsites": 2342,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/SRBP2_MOUSE.H11MO.0.B",
            "pwm": [
              [0.260336, 0.246757, 0.375031, 0.117878], 
              [0.17324, 0.301952, 0.412013, 0.112795], 
              [0.211021, 0.165133, 0.568702, 0.0551444], 
              [0.149621, 0.0485525, 0.061294, 0.740531], 
              [0.0214638, 0.0332022, 0.908964, 0.0363712], 
              [0.0519535, 0.00571735, 0.939988, 0.00233966], 
              [0.175638, 0.220592, 0.490626, 0.113144], 
              [0.111024, 0.229677, 0.646734, 0.0125652], 
              [0.28947, 0.149968, 0.0110281, 0.549532], 
              [0.0250277, 0.0783682, 0.872113, 0.0244917], 
              [0.699188, 0.0200657, 0.22467, 0.0560774], 
              [0.157353, 0.18789, 0.369481, 0.285277], 
              [0.158461, 0.209564, 0.450713, 0.181263]
            ]
          }, {
            "db": 0,
            "id": "STF1_MOUSE.H11MO.0.B",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/STF1_MOUSE.H11MO.0.B",
            "pwm": [
              [0.134024, 0.246, 0.419966, 0.20001], 
              [0.0540396, 0.391971, 0.180014, 0.373976], 
              [0.0560392, 0.439962, 0.028044, 0.475955], 
              [0.00604919, 0.917866, 0.0560384, 0.0200464], 
              [0.839882, 0.116026, 0.028044, 0.0160472], 
              [0.917867, 0.00404879, 0.0720352, 0.00604919], 
              [0.0400424, 0.00204919, 0.94786, 0.0100484], 
              [0.0260452, 0.0400416, 0.913867, 0.0200464], 
              [0.10203, 0.44996, 0.038042, 0.409968], 
              [0.022046, 0.89987, 0.00804799, 0.0700364], 
              [0.755899, 0.0660364, 0.0740348, 0.10403]
            ]
          }, {
            "db": 0,
            "id": "TFDP1_MOUSE.H11MO.0.D",
            "len": 14,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/TFDP1_MOUSE.H11MO.0.D",
            "pwm": [
              [0.35198, 0.140022, 0.39797, 0.110028], 
              [0.267997, 0.128024, 0.517946, 0.0860332], 
              [0.329984, 0.110028, 0.415966, 0.144022], 
              [0.321986, 0.078034, 0.427964, 0.172016], 
              [0.0960312, 0.114027, 0.781893, 0.00804879], 
              [0.032044, 0.0100476, 0.943861, 0.0140476], 
              [0.0740356, 0.873875, 0.0140468, 0.0380428], 
              [0.0460412, 0.0160464, 0.903869, 0.0340436], 
              [0.00804879, 0.0460404, 0.937862, 0.00804879], 
              [0.0780348, 0.0320432, 0.877874, 0.012048], 
              [0.831884, 0.0200456, 0.130024, 0.0180468], 
              [0.631924, 0.188012, 0.158018, 0.022046], 
              [0.479954, 0.118026, 0.253999, 0.148021], 
              [0.309988, 0.180014, 0.281993, 0.228005]
            ]
          }, {
            "db": 0,
            "id": "TFE2_MOUSE.H11MO.0.A",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/TFE2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.222006, 0.493951, 0.251999, 0.032044], 
              [0.50195, 0.323985, 0.170016, 0.00404959], 
              [0.0140476, 0.979854, 0.00604839, 5.03899e-05], 
              [0.993852, 4.95901e-05, 4.95901e-05, 0.00604919], 
              [0.00404959, 0.325984, 0.653919, 0.0160472], 
              [0.00404959, 0.793891, 0.202009, 5.03899e-05], 
              [5.03899e-05, 0.00204919, 0.00204919, 0.995851], 
              [0.00804879, 0.00604839, 0.983853, 0.00204999], 
              [0.00604919, 0.7479, 0.15002, 0.0960312], 
              [0.505949, 0.160018, 0.0560384, 0.277995], 
              [0.126025, 0.232003, 0.409968, 0.232004]
            ]
          }, {
            "db": 0,
            "id": "TFE3_MOUSE.H11MO.0.A",
            "len": 10,
            "nsites": 467,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/TFE3_MOUSE.H11MO.0.A",
            "pwm": [
              [0.319044, 0.0428709, 0.483889, 0.154197], 
              [0.132788, 0.0107578, 0.847838, 0.00861712], 
              [0.0214624, 0.0278841, 0.0428709, 0.907783], 
              [0.0171813, 0.948458, 0.0278841, 0.00647657], 
              [0.961304, 0.0107578, 0.019321, 0.00861712], 
              [0.0150397, 0.933472, 0.0150389, 0.0364492], 
              [0.152055, 0.019321, 0.813583, 0.0150397], 
              [0.0171813, 0.0300257, 0.0364483, 0.916346], 
              [0.0128992, 0.00219364, 0.972008, 0.0128992], 
              [0.80288, 0.0450115, 0.122083, 0.0300265]
            ]
          }, {
            "db": 0,
            "id": "TFEB_MOUSE.H11MO.0.C",
            "len": 9,
            "nsites": 259,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/TFEB_MOUSE.H11MO.0.C",
            "pwm": [
              [0.365753, 0.0339736, 0.448175, 0.1521], 
              [0.282981, 9.57159e-05, 0.716826, 9.72597e-05], 
              [9.72597e-05, 9.57159e-05, 9.57159e-05, 0.999711], 
              [9.72597e-05, 0.99971, 9.57159e-05, 9.72597e-05], 
              [0.999711, 9.57159e-05, 9.57159e-05, 9.72597e-05], 
              [9.72597e-05, 0.99971, 9.57159e-05, 9.72597e-05], 
              [9.72597e-05, 9.57159e-05, 0.99971, 9.72597e-05], 
              [9.72597e-05, 9.57159e-05, 9.57159e-05, 0.999711], 
              [0.0088039, 0.00880235, 0.973591, 0.0088039]
            ]
          }, {
            "db": 0,
            "id": "TGIF1_MOUSE.H11MO.0.A",
            "len": 9,
            "nsites": 136,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/TGIF1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.0148804, 0.0148774, 0.00752982, 0.962712], 
              [0.000185158, 0.022225, 0.977405, 0.000185158], 
              [0.948017, 0.0442678, 0.000182219, 0.00753276], 
              [0.0148804, 0.970057, 0.00752982, 0.00753276], 
              [0.984755, 0.00752982, 0.00752982, 0.000185158], 
              [0.103051, 0.0295726, 0.859844, 0.00753276], 
              [0.0589659, 0.57329, 0.220608, 0.147136], 
              [0.205916, 0.139786, 0.147133, 0.507165], 
              [0.176526, 0.205913, 0.51451, 0.103051]
            ]
          }, {
            "db": 0,
            "id": "THA_MOUSE.H11MO.0.C",
            "len": 17,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/THA_MOUSE.H11MO.0.C",
            "pwm": [
              [0.369976, 0.14602, 0.393971, 0.0900324], 
              [0.54994, 0.0160464, 0.373975, 0.0600384], 
              [0.114028, 0.0140468, 0.839882, 0.032044], 
              [0.0540396, 0.0240448, 0.761897, 0.160018], 
              [0.0540396, 0.114027, 0.184013, 0.647921], 
              [0.0240456, 0.789892, 0.0800336, 0.106029], 
              [0.839882, 0.0620372, 0.0340428, 0.0640376], 
              [0.176015, 0.238002, 0.228004, 0.357979], 
              [0.190012, 0.375974, 0.182013, 0.252], 
              [0.05204, 0.283993, 0.0700356, 0.593932], 
              [0.285993, 0.188012, 0.441961, 0.0840336], 
              [0.721906, 0.00604839, 0.255998, 0.0160472], 
              [0.0200464, 0.00404879, 0.967856, 0.00804879], 
              [0.0140476, 0.018046, 0.927864, 0.0400424], 
              [0.39997, 0.14802, 0.0800336, 0.371976], 
              [0.05204, 0.807888, 0.0520392, 0.0880328], 
              [0.863878, 0.0300436, 0.0560384, 0.0500404]
            ]
          }, {
            "db": 0,
            "id": "THA_MOUSE.H11MO.1.C",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/THA_MOUSE.H11MO.1.C",
            "pwm": [
              [0.0580388, 0.244001, 0.068036, 0.629924], 
              [0.287993, 0.192011, 0.477954, 0.042042], 
              [0.761898, 4.95901e-05, 0.222005, 0.0160472], 
              [0.00804879, 4.95901e-05, 0.985852, 0.00604919], 
              [0.00204999, 0.0140468, 0.979854, 0.00404959], 
              [0.35198, 0.110028, 0.0100476, 0.527945], 
              [0.022046, 0.965856, 0.00804799, 0.00404959], 
              [0.963858, 0.0240448, 0.00604839, 0.00604919], 
              [0.142022, 0.34998, 0.341981, 0.166017]
            ]
          }, {
            "db": 0,
            "id": "THB_MOUSE.H11MO.0.D",
            "len": 17,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/THB_MOUSE.H11MO.0.D",
            "pwm": [
              [0.383974, 0.152019, 0.341981, 0.122026], 
              [0.425965, 0.0100476, 0.391971, 0.172016], 
              [0.126025, 0.0260444, 0.79789, 0.0500404], 
              [0.120026, 0.132023, 0.637922, 0.110028], 
              [0.214008, 0.144021, 0.202009, 0.439962], 
              [0.05204, 0.7479, 0.0960304, 0.10403], 
              [0.839882, 0.0420412, 0.0420412, 0.0760352], 
              [0.0860332, 0.351979, 0.351979, 0.210008], 
              [0.170016, 0.321985, 0.14602, 0.361978], 
              [0.0940316, 0.269996, 0.236002, 0.39997], 
              [0.25, 0.214007, 0.355978, 0.180014], 
              [0.597931, 0.018046, 0.343981, 0.0400424], 
              [0.120026, 0.00404879, 0.84988, 0.0260452], 
              [0.0840336, 0.0500396, 0.855878, 0.0100484], 
              [0.519946, 0.204009, 0.0900316, 0.186013], 
              [0.118027, 0.69991, 0.108028, 0.0740356], 
              [0.759898, 0.0640368, 0.0720352, 0.10403]
            ]
          }, {
            "db": 0,
            "id": "TWST1_MOUSE.H11MO.0.B",
            "len": 17,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/TWST1_MOUSE.H11MO.0.B",
            "pwm": [
              [0.447961, 0.281993, 0.182013, 0.0880328], 
              [0.0540396, 0.89587, 0.0320432, 0.0180468], 
              [0.90187, 0.0200456, 0.0460404, 0.032044], 
              [0.0180468, 0.0640368, 0.257998, 0.659918], 
              [0.214008, 0.679914, 0.09803, 0.00804879], 
              [0.00804879, 0.00204919, 4.95901e-05, 0.989852], 
              [5.03899e-05, 0.00204919, 0.983853, 0.0140476], 
              [0.0160472, 0.124025, 0.601929, 0.257999], 
              [0.275995, 0.0720352, 0.0900316, 0.561938], 
              [0.279994, 0.10003, 0.0800336, 0.539942], 
              [0.10203, 0.289992, 0.124025, 0.483954], 
              [0.0600384, 0.339982, 0.116026, 0.483954], 
              [0.371976, 0.287992, 0.214007, 0.126025], 
              [0.815887, 0.058038, 0.0640368, 0.062038], 
              [0.0300444, 0.0400416, 0.0760344, 0.85388], 
              [0.10403, 0.164017, 0.0340428, 0.697911], 
              [0.627925, 0.0460404, 0.0720352, 0.254]
            ]
          }, {
            "db": 0,
            "id": "TWST1_MOUSE.H11MO.1.B",
            "len": 11,
            "nsites": 467,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/TWST1_MOUSE.H11MO.1.B",
            "pwm": [
              [0.344734, 0.280507, 0.274084, 0.100674], 
              [0.516003, 0.235549, 0.199153, 0.0492944], 
              [0.0236039, 0.937753, 0.0150389, 0.0236039], 
              [0.871387, 0.0557162, 0.0300257, 0.0428718], 
              [0.0150397, 0.0557162, 0.171322, 0.757922], 
              [0.0685613, 0.839273, 0.0728425, 0.0193218], 
              [0.0107587, 0.00219364, 5.30936e-05, 0.986995], 
              [0.00219449, 0.0128983, 0.980571, 0.00433603], 
              [0.0300265, 0.197013, 0.565242, 0.207718], 
              [0.271945, 0.18845, 0.102815, 0.436791], 
              [0.254817, 0.199153, 0.139209, 0.406819]
            ]
          }, {
            "db": 0,
            "id": "TYY1_MOUSE.H11MO.0.A",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/TYY1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.178015, 0.569936, 0.132023, 0.120026], 
              [0.839882, 0.0160464, 0.132023, 0.012048], 
              [0.841882, 0.0360424, 0.0360424, 0.0860332], 
              [0.35198, 0.212007, 0.409968, 0.0260452], 
              [0.993852, 0.00404879, 4.95901e-05, 0.00204999], 
              [0.00404959, 0.00204919, 0.00404879, 0.989852], 
              [0.00604919, 4.95901e-05, 0.991851, 0.00204999], 
              [0.00404959, 0.00204919, 0.989852, 0.00404959], 
              [0.0400424, 0.919866, 0.00604839, 0.0340436], 
              [0.0300444, 0.164017, 0.679914, 0.126025], 
              [0.0800344, 0.106028, 0.751899, 0.062038], 
              [0.136023, 0.727904, 0.0620372, 0.0740356]
            ]
          }, {
            "db": 0,
            "id": "USF1_MOUSE.H11MO.0.A",
            "len": 13,
            "nsites": 460,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/USF1_MOUSE.H11MO.0.A",
            "pwm": [
              [0.134808, 0.25, 0.489078, 0.126114], 
              [0.23044, 0.18697, 0.449956, 0.132635], 
              [0.115247, 0.00222743, 0.882471, 5.47707e-05], 
              [0.0022283, 0.0152676, 0.00657448, 0.97593], 
              [5.47707e-05, 0.999837, 5.39013e-05, 5.47707e-05], 
              [0.999837, 5.39013e-05, 5.39013e-05, 5.47707e-05], 
              [5.47707e-05, 0.984623, 0.00440096, 0.0109224], 
              [0.11742, 0.0109215, 0.871603, 5.47707e-05], 
              [0.0022283, 0.00222743, 5.39013e-05, 0.99549], 
              [5.47707e-05, 5.39013e-05, 0.999837, 5.47707e-05], 
              [0.378234, 0.169582, 0.378233, 0.0739517], 
              [0.0500439, 0.502119, 0.239132, 0.208705], 
              [0.0674311, 0.554281, 0.286949, 0.0913389]
            ]
          }, {
            "db": 0,
            "id": "USF2_MOUSE.H11MO.0.A",
            "len": 19,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/USF2_MOUSE.H11MO.0.A",
            "pwm": [
              [0.216158, 0.207532, 0.447437, 0.128873], 
              [0.204307, 0.139069, 0.546073, 0.110551], 
              [0.115739, 0.0161524, 0.864818, 0.00329174], 
              [0.0147514, 0.047982, 0.0369142, 0.900352], 
              [0.00177804, 0.998122, 4.95901e-05, 5.03899e-05], 
              [0.992606, 4.95901e-05, 0.00355889, 0.00378564], 
              [5.03899e-05, 0.925504, 0.0216723, 0.0527728], 
              [0.101942, 4.95901e-05, 0.897958, 5.03899e-05], 
              [0.00340072, 0.00765407, 0.00394381, 0.985001], 
              [0.00184403, 4.95901e-05, 0.995654, 0.00245191], 
              [0.337631, 0.168271, 0.39559, 0.0985087], 
              [0.0584177, 0.448577, 0.266474, 0.226531], 
              [0.119042, 0.46554, 0.333881, 0.0815371], 
              [0.251693, 0.297915, 0.330362, 0.12003], 
              [0.128108, 0.370592, 0.365235, 0.136064], 
              [0.126049, 0.329707, 0.384666, 0.159578], 
              [0.16183, 0.325994, 0.388466, 0.123711], 
              [0.127134, 0.379006, 0.313195, 0.180665], 
              [0.122271, 0.274497, 0.385132, 0.2181]
            ]
          }, {
            "db": 0,
            "id": "VDR_MOUSE.H11MO.0.A",
            "len": 16,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/VDR_MOUSE.H11MO.0.A",
            "pwm": [
              [0.277995, 0.134023, 0.459958, 0.128025], 
              [0.465957, 0.028044, 0.491951, 0.0140476], 
              [0.118027, 0.00804799, 0.843881, 0.0300444], 
              [0.05204, 0.00804799, 0.761897, 0.178015], 
              [0.0100484, 0.124025, 0.186012, 0.679914], 
              [0.0500404, 0.689912, 0.158018, 0.10203], 
              [0.811888, 0.0140468, 0.108028, 0.0660372], 
              [0.136023, 0.337982, 0.34798, 0.178015], 
              [0.208009, 0.220006, 0.154019, 0.417967], 
              [0.144022, 0.0600376, 0.771895, 0.0240456], 
              [0.473956, 0.018046, 0.49595, 0.012048], 
              [0.00804879, 0.00404879, 0.975854, 0.012048], 
              [0.0160472, 0.00804799, 0.367976, 0.607929], 
              [0.0780348, 0.0800336, 0.19601, 0.645921], 
              [0.00804879, 0.767896, 0.0600376, 0.164018], 
              [0.655919, 0.0840328, 0.158018, 0.10203]
            ]
          }, {
            "db": 0,
            "id": "VDR_MOUSE.H11MO.1.A",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/VDR_MOUSE.H11MO.1.A",
            "pwm": [
              [0.234004, 0.20001, 0.158018, 0.407969], 
              [0.182014, 0.0340428, 0.741901, 0.042042], 
              [0.413968, 0.00204919, 0.581933, 0.00204999], 
              [5.03899e-05, 0.00604839, 0.993851, 5.03899e-05], 
              [0.00804879, 4.95901e-05, 0.471955, 0.519946], 
              [0.00604919, 0.0100476, 0.0860324, 0.897871], 
              [0.00404959, 0.977854, 0.00804799, 0.0100484], 
              [0.929864, 0.00404879, 0.0260444, 0.0400424], 
              [0.10203, 0.275994, 0.369976, 0.252]
            ]
          }, {
            "db": 0,
            "id": "WT1_MOUSE.H11MO.0.B",
            "len": 20,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/WT1_MOUSE.H11MO.0.B",
            "pwm": [
              [0.311988, 0.102029, 0.513947, 0.072036], 
              [0.210008, 0.160018, 0.559938, 0.0700364], 
              [0.0880328, 0.112027, 0.761897, 0.0380428], 
              [0.273996, 0.303989, 0.275994, 0.146021], 
              [0.0980308, 0.0840328, 0.803889, 0.0140476], 
              [0.289992, 0.0520392, 0.59593, 0.062038], 
              [0.252, 0.0260444, 0.713907, 0.00804879], 
              [0.00604919, 0.0260444, 0.955858, 0.012048], 
              [0.012048, 0.0160464, 0.971855, 5.03899e-05], 
              [0.825885, 0.14802, 0.00404879, 0.022046], 
              [0.012048, 0.00804799, 0.969856, 0.0100484], 
              [0.0360432, 0.0120472, 0.907868, 0.0440416], 
              [0.475955, 0.10003, 0.385972, 0.0380428], 
              [0.238003, 0.0360424, 0.713907, 0.012048], 
              [0.242002, 0.186012, 0.515946, 0.0560392], 
              [0.305989, 0.214007, 0.387972, 0.092032], 
              [0.120026, 0.068036, 0.751899, 0.0600384], 
              [0.194012, 0.0940308, 0.673915, 0.0380428], 
              [0.369976, 0.108028, 0.471955, 0.0500404], 
              [0.214008, 0.0800336, 0.679914, 0.0260452]
            ]
          }, {
            "db": 0,
            "id": "WT1_MOUSE.H11MO.1.A",
            "len": 11,
            "nsites": 115,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/WT1_MOUSE.H11MO.1.A",
            "pwm": [
              [0.130541, 0.191353, 0.57363, 0.104476], 
              [0.286927, 0.0436557, 0.200042, 0.469376], 
              [0.0523476, 0.0175914, 0.895089, 0.0349717], 
              [0.0262833, 0.000215465, 0.964594, 0.00890738], 
              [0.00021894, 0.000215465, 0.999347, 0.00021894], 
              [0.947221, 0.000215465, 0.000215465, 0.0523476], 
              [0.0436592, 0.000215465, 0.947218, 0.00890738], 
              [0.0784119, 0.0610326, 0.61707, 0.243485], 
              [0.582322, 0.104473, 0.147913, 0.165292], 
              [0.22611, 0.0784085, 0.478061, 0.217421], 
              [0.217421, 0.243482, 0.478061, 0.0610361]
            ]
          }, {
            "db": 0,
            "id": "XBP1_MOUSE.H11MO.0.C",
            "len": 12,
            "nsites": 1577,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/XBP1_MOUSE.H11MO.0.C",
            "pwm": [
              [1.59787e-05, 1.57251e-05, 0.975687, 0.0242814], 
              [0.999953, 1.57251e-05, 1.57251e-05, 1.59787e-05], 
              [1.59787e-05, 0.999952, 1.57251e-05, 1.59787e-05], 
              [1.59787e-05, 1.57251e-05, 0.999952, 1.59787e-05], 
              [1.59787e-05, 1.57251e-05, 1.57251e-05, 0.999953], 
              [0.000326959, 1.57251e-05, 0.998278, 0.00137989], 
              [1.59787e-05, 1.57251e-05, 0.435259, 0.564709], 
              [0.162455, 0.756371, 0.0212394, 0.0599342], 
              [0.450917, 0.30498, 0.117258, 0.126844], 
              [0.231273, 0.21953, 0.0803946, 0.468801], 
              [0.336487, 0.0311767, 0.0224763, 0.60986], 
              [0.38659, 0.111651, 0.152532, 0.349227]
            ]
          }, {
            "db": 0,
            "id": "ZBT17_MOUSE.H11MO.0.A",
            "len": 19,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZBT17_MOUSE.H11MO.0.A",
            "pwm": [
              [0.10003, 0.265996, 0.551939, 0.082034], 
              [0.162018, 0.218006, 0.54794, 0.072036], 
              [0.178015, 0.315986, 0.455958, 0.0500404], 
              [0.178015, 0.14602, 0.585932, 0.0900324], 
              [0.0840336, 0.152019, 0.673915, 0.0900324], 
              [0.29999, 0.220006, 0.158018, 0.321986], 
              [0.0440416, 0.0300436, 0.901869, 0.0240456], 
              [0.0780348, 0.0520392, 0.817886, 0.05204], 
              [0.162018, 0.028044, 0.775894, 0.0340436], 
              [0.0840336, 0.0140468, 0.883873, 0.0180468], 
              [0.0140476, 0.00404879, 0.979854, 0.00204999], 
              [0.635923, 0.291991, 0.0120472, 0.0600384], 
              [0.122026, 0.00604839, 0.843881, 0.0280448], 
              [0.0400424, 0.0160464, 0.931863, 0.012048], 
              [0.140022, 0.00404879, 0.821885, 0.0340436], 
              [0.0780348, 0.0440408, 0.869876, 0.00804879], 
              [0.357979, 0.441961, 0.128024, 0.072036], 
              [0.234004, 0.144021, 0.531943, 0.0900324], 
              [0.132024, 0.210008, 0.581933, 0.0760352]
            ]
          }, {
            "db": 0,
            "id": "ZBT18_MOUSE.H11MO.0.D",
            "len": 11,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZBT18_MOUSE.H11MO.0.D",
            "pwm": [
              [0.0740356, 0.144021, 0.279994, 0.50195], 
              [0.116027, 0.735902, 0.144021, 0.00404959], 
              [0.00804879, 0.983853, 0.00204919, 0.00604919], 
              [0.971856, 0.0120472, 0.00604839, 0.0100484], 
              [0.00404959, 0.0140468, 0.865876, 0.116027], 
              [0.447961, 0.367976, 0.0300436, 0.15402], 
              [0.00404959, 0.0100476, 0.108028, 0.877875], 
              [0.00204999, 0.0240448, 0.94786, 0.0260452], 
              [0.122026, 0.267996, 0.0120472, 0.597931], 
              [0.0600384, 0.0500396, 0.44996, 0.439962], 
              [0.0900324, 0.265996, 0.423965, 0.220006]
            ]
          }, {
            "db": 0,
            "id": "ZBT7A_MOUSE.H11MO.0.B",
            "len": 9,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZBT7A_MOUSE.H11MO.0.B",
            "pwm": [
              [0.240002, 0.226004, 0.427964, 0.106029], 
              [0.381974, 0.00604839, 0.605928, 0.00604919], 
              [0.0200464, 4.95901e-05, 0.935862, 0.0440416], 
              [0.00204999, 4.95901e-05, 0.99785, 5.03899e-05], 
              [0.00604919, 0.00204919, 0.989852, 0.00204999], 
              [0.012048, 4.95901e-05, 0.403969, 0.583934], 
              [0.00204999, 0.987852, 0.00204919, 0.00804879], 
              [0.0200464, 0.174015, 0.333983, 0.471956], 
              [0.0100484, 0.49795, 0.232003, 0.259998]
            ]
          }, {
            "db": 0,
            "id": "ZBTB6_MOUSE.H11MO.0.D",
            "len": 13,
            "nsites": 456,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZBTB6_MOUSE.H11MO.0.D",
            "pwm": [
              [0.0899475, 0.0395197, 0.74989, 0.120643], 
              [0.230268, 0.0636364, 0.686308, 0.0197879], 
              [0.324545, 0.206149, 0.0526748, 0.416631], 
              [0.0373281, 0.142567, 0.692884, 0.12722], 
              [0.392513, 0.559143, 0.0439048, 0.00444029], 
              [0.024173, 0.0899467, 0.015402, 0.870478], 
              [0.21492, 0.0132095, 0.72358, 0.0482907], 
              [5.5251e-05, 5.4374e-05, 0.997643, 0.00224777], 
              [0.988873, 0.00663193, 0.00224689, 0.00224777], 
              [0.00663281, 0.00443941, 0.98668, 0.00224777], 
              [0.122835, 0.727965, 0.100909, 0.0482907], 
              [0.10091, 0.642457, 0.0460973, 0.210535], 
              [0.296043, 0.149145, 0.368395, 0.186418]
            ]
          }, {
            "db": 0,
            "id": "ZFP42_MOUSE.H11MO.0.A",
            "len": 12,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZFP42_MOUSE.H11MO.0.A",
            "pwm": [
              [0.20001, 0.138022, 0.543941, 0.118027], 
              [0.122026, 0.0540388, 0.755898, 0.0680368], 
              [0.142022, 0.589932, 0.19601, 0.072036], 
              [0.495951, 0.327984, 0.0860324, 0.0900324], 
              [0.022046, 0.028044, 0.787892, 0.162018], 
              [0.0800344, 0.883873, 0.0200456, 0.0160472], 
              [5.03899e-05, 0.981853, 0.00804799, 0.0100484], 
              [0.989852, 0.00804799, 0.00204919, 5.03899e-05], 
              [0.00204999, 0.00804799, 0.0160464, 0.973856], 
              [0.042042, 0.253999, 0.0960304, 0.607929], 
              [0.0660372, 0.068036, 0.058038, 0.807889], 
              [0.0280448, 0.202009, 0.0200456, 0.7499]
            ]
          }, {
            "db": 0,
            "id": "ZFP57_MOUSE.H11MO.0.B",
            "len": 10,
            "nsites": 226,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZFP57_MOUSE.H11MO.0.B",
            "pwm": [
              [0.123951, 0.504312, 0.168177, 0.203561], 
              [0.0664541, 0.185868, 0.137217, 0.61046], 
              [0.00895754, 0.00453273, 0.97313, 0.0133796], 
              [0.0487629, 0.906789, 0.00895577, 0.0354938], 
              [0.0045345, 0.000109686, 0.955439, 0.0399168], 
              [0.000111455, 0.00453273, 0.990821, 0.0045345], 
              [0.0045345, 0.990821, 0.00453273, 0.000111455], 
              [0.911212, 0.0708744, 0.00453273, 0.0133796], 
              [0.49989, 0.137217, 0.261056, 0.101836], 
              [0.380474, 0.177022, 0.278747, 0.163756]
            ]
          }, {
            "db": 0,
            "id": "ZIC1_MOUSE.H11MO.0.B",
            "len": 9,
            "nsites": 33,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZIC1_MOUSE.H11MO.0.B",
            "pwm": [
              [0.0478496, 0.132273, 0.518724, 0.301154], 
              [0.0884436, 0.0592041, 0.851591, 0.000761329], 
              [0.000761329, 0.0299767, 0.939273, 0.0299888], 
              [0.000761329, 0.0592041, 0.939273, 0.000761329], 
              [0.29953, 0.0299767, 0.176114, 0.49438], 
              [0.117671, 0.000749245, 0.763909, 0.117671], 
              [0.0592162, 0.234569, 0.705454, 0.000761329], 
              [0.0332359, 0.0884315, 0.267043, 0.611289], 
              [0.215907, 0.443219, 0.27435, 0.0665231]
            ]
          }, {
            "db": 0,
            "id": "ZIC2_MOUSE.H11MO.0.C",
            "len": 15,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZIC2_MOUSE.H11MO.0.C",
            "pwm": [
              [0.192012, 0.126024, 0.381973, 0.29999], 
              [0.220006, 0.144021, 0.59593, 0.0400424], 
              [0.158019, 0.601929, 0.122025, 0.118027], 
              [0.0960312, 0.481953, 0.0540388, 0.367977], 
              [0.273996, 0.385972, 0.0660364, 0.273996], 
              [0.00404959, 0.987852, 0.00204919, 0.00604919], 
              [0.0560392, 0.919866, 0.00204919, 0.022046], 
              [0.0460412, 0.164017, 0.00204919, 0.787893], 
              [0.0640376, 0.0160464, 0.907868, 0.012048], 
              [0.00404959, 0.867876, 0.078034, 0.0500404], 
              [0.092032, 0.0200456, 0.068036, 0.819886], 
              [0.0100484, 4.95901e-05, 0.983853, 0.00604919], 
              [0.413968, 0.0860324, 0.206008, 0.293992], 
              [0.00804879, 0.068036, 0.793891, 0.130024], 
              [0.419966, 0.283993, 0.0760344, 0.220006]
            ]
          }, {
            "db": 0,
            "id": "ZIC3_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 169,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZIC3_MOUSE.H11MO.0.A",
            "pwm": [
              [0.165731, 0.153902, 0.455498, 0.224868], 
              [0.165731, 0.230779, 0.532376, 0.071113], 
              [0.218955, 0.496894, 0.159815, 0.124336], 
              [0.100682, 0.461412, 0.124333, 0.313573], 
              [0.218955, 0.378621, 0.0947657, 0.307659], 
              [0.000149024, 0.993642, 0.00606016, 0.000149024], 
              [0.08294, 0.904936, 0.000146659, 0.011976], 
              [0.059286, 0.130248, 0.000146659, 0.810321], 
              [0.047458, 0.0592837, 0.875369, 0.0178895], 
              [0.000149024, 0.916764, 0.0829377, 0.000149024], 
              [0.047458, 0.00606016, 0.0119737, 0.934507], 
              [0.011976, 0.0297152, 0.95816, 0.000149024], 
              [0.325401, 0.0297152, 0.201211, 0.443674], 
              [0.00606253, 0.0297152, 0.875369, 0.0888535], 
              [0.37271, 0.254434, 0.142075, 0.230782]
            ]
          }, {
            "db": 0,
            "id": "ZN148_MOUSE.H11MO.0.D",
            "len": 15,
            "nsites": 34,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZN148_MOUSE.H11MO.0.D",
            "pwm": [
              [0.156418, 0.116812, 0.473165, 0.253605], 
              [0.0835275, 0.216698, 0.58385, 0.115923], 
              [0.22391, 0.213099, 0.43267, 0.130322], 
              [0.0979262, 0.101514, 0.591049, 0.209511], 
              [0.162718, 0.169905, 0.252694, 0.414684], 
              [0.000739003, 0.101514, 0.864612, 0.0331347], 
              [0.0907273, 0.000727273, 0.907806, 0.000739003], 
              [0.000739003, 0.000727273, 0.997795, 0.000739003], 
              [0.0475324, 0.000727273, 0.897008, 0.0547322], 
              [0.000739003, 0.000727273, 0.997795, 0.000739003], 
              [0.479475, 0.216698, 0.115911, 0.187914], 
              [0.209511, 0.000727273, 0.771025, 0.0187371], 
              [0.0331347, 0.0295236, 0.936603, 0.000739003], 
              [0.205912, 0.000727273, 0.774624, 0.0187371], 
              [0.116824, 0.102414, 0.725131, 0.0556316]
            ]
          }, {
            "db": 0,
            "id": "ZN281_MOUSE.H11MO.0.A",
            "len": 15,
            "nsites": 500,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZN281_MOUSE.H11MO.0.A",
            "pwm": [
              [0.166017, 0.158018, 0.59593, 0.0800344], 
              [0.142022, 0.160018, 0.59993, 0.0980308], 
              [0.136023, 0.106028, 0.673915, 0.0840336], 
              [0.132024, 0.068036, 0.615926, 0.184014], 
              [0.108029, 0.028044, 0.236002, 0.627925], 
              [5.03899e-05, 4.95901e-05, 0.99985, 5.03899e-05], 
              [0.00804879, 4.95901e-05, 0.991851, 5.03899e-05], 
              [0.012048, 4.95901e-05, 0.987852, 5.03899e-05], 
              [5.03899e-05, 4.95901e-05, 0.99985, 5.03899e-05], 
              [5.03899e-05, 4.95901e-05, 0.99985, 5.03899e-05], 
              [0.791892, 0.038042, 0.00404879, 0.166017], 
              [0.0500404, 4.95901e-05, 0.865876, 0.0840336], 
              [0.00204999, 4.95901e-05, 0.99785, 5.03899e-05], 
              [0.00404959, 4.95901e-05, 0.985852, 0.0100484], 
              [0.0180468, 0.00604839, 0.957858, 0.0180468]
            ]
          }, {
            "db": 0,
            "id": "ZN423_MOUSE.H11MO.0.D",
            "len": 15,
            "nsites": 22,
            "evalue": "1.0e+000",
            "url": "http://hocomoco.autosome.ru/motif/ZN423_MOUSE.H11MO.0.D",
            "pwm": [
              [0.00114027, 0.00112217, 0.996597, 0.00114027], 
              [0.40838, 0.00112217, 0.589357, 0.00114027], 
              [0.00114027, 0.996597, 0.00112217, 0.00114027], 
              [0.996615, 0.00112217, 0.00112217, 0.00114027], 
              [0.00114027, 0.996597, 0.00112217, 0.00114027], 
              [0.00114027, 0.996597, 0.00112217, 0.00114027], 
              [0.00114027, 0.996597, 0.00112217, 0.00114027], 
              [0.544127, 0.00112217, 0.00112217, 0.453629], 
              [0.951366, 0.00112217, 0.00112217, 0.0463896], 
              [0.00114027, 0.00112217, 0.996597, 0.00114027], 
              [0.00114027, 0.00112217, 0.996597, 0.00114027], 
              [0.00114027, 0.00112217, 0.996597, 0.00114027], 
              [0.00114027, 0.00112217, 0.00112217, 0.996615], 
              [0.00114027, 0.00112217, 0.996597, 0.00114027], 
              [0.182136, 0.815602, 0.00112217, 0.00114027]
            ]
          }
        ],
        "all_matches": [
          {
            "idx": 4,
            "matches": [
              {
                "idx": 39,
                "rc": false,
                "off": 0,
                "pv": "3.01e-08",
                "ev": "1.61e-05",
                "qv": "3.05e-05"
              }, {
                "idx": 98,
                "rc": false,
                "off": 0,
                "pv": "3.58e-07",
                "ev": "1.92e-04",
                "qv": "1.18e-04"
              }, {
                "idx": 131,
                "rc": false,
                "off": 1,
                "pv": "4.57e-07",
                "ev": "2.45e-04",
                "qv": "1.18e-04"
              }, {
                "idx": 37,
                "rc": false,
                "off": 2,
                "pv": "4.64e-07",
                "ev": "2.49e-04",
                "qv": "1.18e-04"
              }, {
                "idx": 134,
                "rc": false,
                "off": 4,
                "pv": "1.55e-06",
                "ev": "8.29e-04",
                "qv": "3.13e-04"
              }, {
                "idx": 128,
                "rc": false,
                "off": 3,
                "pv": "4.15e-06",
                "ev": "2.22e-03",
                "qv": "7.00e-04"
              }, {
                "idx": 165,
                "rc": false,
                "off": 2,
                "pv": "7.79e-06",
                "ev": "4.17e-03",
                "qv": "1.13e-03"
              }, {
                "idx": 96,
                "rc": false,
                "off": 2,
                "pv": "1.66e-05",
                "ev": "8.92e-03",
                "qv": "2.11e-03"
              }, {
                "idx": 16,
                "rc": false,
                "off": 4,
                "pv": "2.23e-05",
                "ev": "1.20e-02",
                "qv": "2.51e-03"
              }, {
                "idx": 129,
                "rc": false,
                "off": 1,
                "pv": "3.29e-05",
                "ev": "1.77e-02",
                "qv": "3.34e-03"
              }, {
                "idx": 93,
                "rc": false,
                "off": 3,
                "pv": "4.64e-05",
                "ev": "2.49e-02",
                "qv": "4.27e-03"
              }, {
                "idx": 135,
                "rc": false,
                "off": 4,
                "pv": "5.26e-05",
                "ev": "2.82e-02",
                "qv": "4.27e-03"
              }, {
                "idx": 18,
                "rc": false,
                "off": 8,
                "pv": "5.58e-05",
                "ev": "2.99e-02",
                "qv": "4.27e-03"
              }, {
                "idx": 139,
                "rc": false,
                "off": 1,
                "pv": "5.90e-05",
                "ev": "3.16e-02",
                "qv": "4.27e-03"
              }, {
                "idx": 33,
                "rc": false,
                "off": 6,
                "pv": "1.09e-04",
                "ev": "5.84e-02",
                "qv": "7.36e-03"
              }, {
                "idx": 136,
                "rc": false,
                "off": 6,
                "pv": "1.43e-04",
                "ev": "7.64e-02",
                "qv": "9.02e-03"
              }, {
                "idx": 91,
                "rc": false,
                "off": 6,
                "pv": "1.60e-04",
                "ev": "8.56e-02",
                "qv": "9.52e-03"
              }, {
                "idx": 108,
                "rc": false,
                "off": 2,
                "pv": "1.75e-04",
                "ev": "9.39e-02",
                "qv": "9.86e-03"
              }, {
                "idx": 116,
                "rc": false,
                "off": 3,
                "pv": "1.97e-04",
                "ev": "1.06e-01",
                "qv": "1.03e-02"
              }, {
                "idx": 36,
                "rc": true,
                "off": 0,
                "pv": "2.02e-04",
                "ev": "1.08e-01",
                "qv": "1.03e-02"
              }, {
                "idx": 130,
                "rc": false,
                "off": 0,
                "pv": "2.30e-04",
                "ev": "1.23e-01",
                "qv": "1.06e-02"
              }, {
                "idx": 38,
                "rc": true,
                "off": 0,
                "pv": "2.30e-04",
                "ev": "1.24e-01",
                "qv": "1.06e-02"
              }, {
                "idx": 109,
                "rc": false,
                "off": 3,
                "pv": "2.43e-04",
                "ev": "1.30e-01",
                "qv": "1.07e-02"
              }, {
                "idx": 164,
                "rc": false,
                "off": 11,
                "pv": "2.76e-04",
                "ev": "1.48e-01",
                "qv": "1.16e-02"
              }, {
                "idx": 14,
                "rc": false,
                "off": 3,
                "pv": "3.09e-04",
                "ev": "1.66e-01",
                "qv": "1.25e-02"
              }, {
                "idx": 35,
                "rc": false,
                "off": 3,
                "pv": "4.23e-04",
                "ev": "2.27e-01",
                "qv": "1.59e-02"
              }, {
                "idx": 17,
                "rc": false,
                "off": 1,
                "pv": "4.23e-04",
                "ev": "2.27e-01",
                "qv": "1.59e-02"
              }, {
                "idx": 34,
                "rc": false,
                "off": 7,
                "pv": "5.06e-04",
                "ev": "2.71e-01",
                "qv": "1.79e-02"
              }, {
                "idx": 140,
                "rc": false,
                "off": 2,
                "pv": "5.21e-04",
                "ev": "2.79e-01",
                "qv": "1.79e-02"
              }, {
                "idx": 110,
                "rc": false,
                "off": 5,
                "pv": "8.32e-04",
                "ev": "4.46e-01",
                "qv": "2.67e-02"
              }, {
                "idx": 173,
                "rc": false,
                "off": 2,
                "pv": "8.42e-04",
                "ev": "4.51e-01",
                "qv": "2.67e-02"
              }, {
                "idx": 15,
                "rc": false,
                "off": 6,
                "pv": "8.71e-04",
                "ev": "4.67e-01",
                "qv": "2.68e-02"
              }, {
                "idx": 103,
                "rc": false,
                "off": 6,
                "pv": "9.89e-04",
                "ev": "5.30e-01",
                "qv": "2.86e-02"
              }, {
                "idx": 104,
                "rc": false,
                "off": 7,
                "pv": "9.89e-04",
                "ev": "5.30e-01",
                "qv": "2.86e-02"
              }, {
                "idx": 158,
                "rc": false,
                "off": 5,
                "pv": "1.11e-03",
                "ev": "5.94e-01",
                "qv": "2.94e-02"
              }, {
                "idx": 119,
                "rc": false,
                "off": 4,
                "pv": "1.13e-03",
                "ev": "6.05e-01",
                "qv": "2.94e-02"
              }, {
                "idx": 102,
                "rc": false,
                "off": 1,
                "pv": "1.13e-03",
                "ev": "6.05e-01",
                "qv": "2.94e-02"
              }, {
                "idx": 97,
                "rc": false,
                "off": 1,
                "pv": "1.13e-03",
                "ev": "6.07e-01",
                "qv": "2.94e-02"
              }, {
                "idx": 127,
                "rc": false,
                "off": 0,
                "pv": "1.20e-03",
                "ev": "6.41e-01",
                "qv": "3.02e-02"
              }, {
                "idx": 95,
                "rc": false,
                "off": 13,
                "pv": "1.39e-03",
                "ev": "7.44e-01",
                "qv": "3.35e-02"
              }, {
                "idx": 107,
                "rc": false,
                "off": 3,
                "pv": "1.44e-03",
                "ev": "7.74e-01",
                "qv": "3.36e-02"
              }, {
                "idx": 115,
                "rc": false,
                "off": 4,
                "pv": "1.46e-03",
                "ev": "7.81e-01",
                "qv": "3.36e-02"
              }, {
                "idx": 141,
                "rc": false,
                "off": 16,
                "pv": "1.52e-03",
                "ev": "8.13e-01",
                "qv": "3.41e-02"
              }, {
                "idx": 172,
                "rc": false,
                "off": 1,
                "pv": "1.62e-03",
                "ev": "8.71e-01",
                "qv": "3.58e-02"
              }, {
                "idx": 94,
                "rc": false,
                "off": 8,
                "pv": "1.79e-03",
                "ev": "9.59e-01",
                "qv": "3.82e-02"
              }, {
                "idx": 125,
                "rc": false,
                "off": 14,
                "pv": "1.81e-03",
                "ev": "9.69e-01",
                "qv": "3.82e-02"
              }, {
                "idx": 92,
                "rc": false,
                "off": 8,
                "pv": "1.86e-03",
                "ev": "9.98e-01",
                "qv": "3.85e-02"
              }, {
                "idx": 142,
                "rc": false,
                "off": 1,
                "pv": "2.09e-03",
                "ev": "1.12e+00",
                "qv": "4.23e-02"
              }, {
                "idx": 138,
                "rc": false,
                "off": 11,
                "pv": "2.25e-03",
                "ev": "1.21e+00",
                "qv": "4.47e-02"
              }, {
                "idx": 48,
                "rc": true,
                "off": -1,
                "pv": "2.40e-03",
                "ev": "1.29e+00",
                "qv": "4.68e-02"
              }, {
                "idx": 117,
                "rc": false,
                "off": 8,
                "pv": "2.54e-03",
                "ev": "1.36e+00",
                "qv": "4.85e-02"
              }, {
                "idx": 126,
                "rc": false,
                "off": 11,
                "pv": "2.64e-03",
                "ev": "1.41e+00",
                "qv": "4.95e-02"
              }, {
                "idx": 100,
                "rc": false,
                "off": 1,
                "pv": "2.83e-03",
                "ev": "1.52e+00",
                "qv": "5.22e-02"
              }, {
                "idx": 166,
                "rc": false,
                "off": 1,
                "pv": "3.34e-03",
                "ev": "1.79e+00",
                "qv": "6.03e-02"
              }, {
                "idx": 50,
                "rc": false,
                "off": 1,
                "pv": "3.58e-03",
                "ev": "1.92e+00",
                "qv": "6.36e-02"
              }, {
                "idx": 118,
                "rc": false,
                "off": 11,
                "pv": "3.64e-03",
                "ev": "1.95e+00",
                "qv": "6.36e-02"
              }, {
                "idx": 171,
                "rc": false,
                "off": 0,
                "pv": "4.22e-03",
                "ev": "2.26e+00",
                "qv": "7.11e-02"
              }, {
                "idx": 179,
                "rc": false,
                "off": 2,
                "pv": "4.23e-03",
                "ev": "2.27e+00",
                "qv": "7.11e-02"
              }, {
                "idx": 101,
                "rc": false,
                "off": 1,
                "pv": "4.28e-03",
                "ev": "2.29e+00",
                "qv": "7.11e-02"
              }, {
                "idx": 137,
                "rc": false,
                "off": 15,
                "pv": "4.40e-03",
                "ev": "2.36e+00",
                "qv": "7.18e-02"
              }, {
                "idx": 170,
                "rc": false,
                "off": 0,
                "pv": "5.27e-03",
                "ev": "2.82e+00",
                "qv": "8.47e-02"
              }, {
                "idx": 106,
                "rc": false,
                "off": 0,
                "pv": "7.06e-03",
                "ev": "3.79e+00",
                "qv": "1.10e-01"
              }, {
                "idx": 122,
                "rc": false,
                "off": 1,
                "pv": "7.21e-03",
                "ev": "3.87e+00",
                "qv": "1.11e-01"
              }, {
                "idx": 49,
                "rc": false,
                "off": 1,
                "pv": "7.46e-03",
                "ev": "4.00e+00",
                "qv": "1.13e-01"
              }, {
                "idx": 90,
                "rc": false,
                "off": 8,
                "pv": "7.58e-03",
                "ev": "4.06e+00",
                "qv": "1.13e-01"
              }, {
                "idx": 161,
                "rc": false,
                "off": -1,
                "pv": "9.48e-03",
                "ev": "5.08e+00",
                "qv": "1.39e-01"
              }, {
                "idx": 52,
                "rc": false,
                "off": 6,
                "pv": "1.10e-02",
                "ev": "5.88e+00",
                "qv": "1.59e-01"
              }, {
                "idx": 74,
                "rc": true,
                "off": -1,
                "pv": "1.27e-02",
                "ev": "6.83e+00",
                "qv": "1.82e-01"
              }, {
                "idx": 1,
                "rc": true,
                "off": 5,
                "pv": "1.59e-02",
                "ev": "8.51e+00",
                "qv": "2.22e-01"
              }, {
                "idx": 7,
                "rc": false,
                "off": 4,
                "pv": "1.60e-02",
                "ev": "8.59e+00",
                "qv": "2.22e-01"
              }, {
                "idx": 162,
                "rc": false,
                "off": -1,
                "pv": "1.63e-02",
                "ev": "8.72e+00",
                "qv": "2.23e-01"
              }, {
                "idx": 111,
                "rc": false,
                "off": 1,
                "pv": "1.66e-02",
                "ev": "8.92e+00",
                "qv": "2.25e-01"
              }, {
                "idx": 19,
                "rc": true,
                "off": 2,
                "pv": "1.72e-02",
                "ev": "9.23e+00",
                "qv": "2.29e-01"
              }, {
                "idx": 0,
                "rc": true,
                "off": 2,
                "pv": "1.83e-02",
                "ev": "9.83e+00",
                "qv": "2.40e-01"
              }, {
                "idx": 6,
                "rc": false,
                "off": 4,
                "pv": "1.85e-02",
                "ev": "9.91e+00",
                "qv": "2.40e-01"
              }, {
                "idx": 2,
                "rc": false,
                "off": 7,
                "pv": "2.07e-02",
                "ev": "1.11e+01",
                "qv": "2.65e-01"
              }, {
                "idx": 13,
                "rc": true,
                "off": -2,
                "pv": "2.30e-02",
                "ev": "1.23e+01",
                "qv": "2.87e-01"
              }, {
                "idx": 133,
                "rc": false,
                "off": 10,
                "pv": "2.50e-02",
                "ev": "1.34e+01",
                "qv": "3.08e-01"
              }, {
                "idx": 85,
                "rc": true,
                "off": 0,
                "pv": "2.55e-02",
                "ev": "1.37e+01",
                "qv": "3.08e-01"
              }, {
                "idx": 5,
                "rc": true,
                "off": 3,
                "pv": "2.57e-02",
                "ev": "1.38e+01",
                "qv": "3.08e-01"
              }, {
                "idx": 41,
                "rc": false,
                "off": 2,
                "pv": "2.61e-02",
                "ev": "1.40e+01",
                "qv": "3.08e-01"
              }, {
                "idx": 20,
                "rc": true,
                "off": 2,
                "pv": "2.62e-02",
                "ev": "1.40e+01",
                "qv": "3.08e-01"
              }, {
                "idx": 176,
                "rc": true,
                "off": 2,
                "pv": "2.79e-02",
                "ev": "1.50e+01",
                "qv": "3.25e-01"
              }, {
                "idx": 32,
                "rc": true,
                "off": -2,
                "pv": "3.00e-02",
                "ev": "1.61e+01",
                "qv": "3.45e-01"
              }, {
                "idx": 120,
                "rc": true,
                "off": 2,
                "pv": "3.17e-02",
                "ev": "1.70e+01",
                "qv": "3.58e-01"
              }, {
                "idx": 47,
                "rc": true,
                "off": 2,
                "pv": "3.21e-02",
                "ev": "1.72e+01",
                "qv": "3.58e-01"
              }, {
                "idx": 99,
                "rc": false,
                "off": 12,
                "pv": "3.21e-02",
                "ev": "1.72e+01",
                "qv": "3.58e-01"
              }, {
                "idx": 11,
                "rc": true,
                "off": -2,
                "pv": "3.64e-02",
                "ev": "1.95e+01",
                "qv": "3.98e-01"
              }, {
                "idx": 75,
                "rc": true,
                "off": 0,
                "pv": "3.65e-02",
                "ev": "1.96e+01",
                "qv": "3.98e-01"
              }, {
                "idx": 40,
                "rc": false,
                "off": 0,
                "pv": "4.09e-02",
                "ev": "2.19e+01",
                "qv": "4.41e-01"
              }, {
                "idx": 3,
                "rc": true,
                "off": 1,
                "pv": "4.55e-02",
                "ev": "2.44e+01",
                "qv": "4.85e-01"
              }, {
                "idx": 132,
                "rc": false,
                "off": 3,
                "pv": "4.67e-02",
                "ev": "2.51e+01",
                "qv": "4.88e-01"
              }, {
                "idx": 188,
                "rc": false,
                "off": -2,
                "pv": "4.67e-02",
                "ev": "2.51e+01",
                "qv": "4.88e-01"
              }, {
                "idx": 84,
                "rc": true,
                "off": 0,
                "pv": "4.72e-02",
                "ev": "2.53e+01",
                "qv": "4.88e-01"
              }, {
                "idx": 105,
                "rc": false,
                "off": 1,
                "pv": "4.85e-02",
                "ev": "2.60e+01",
                "qv": "4.96e-01"
              }
            ]
          }, {
            "idx": 1,
            "matches": [
              {
                "idx": 8,
                "rc": false,
                "off": 2,
                "pv": "3.13e-07",
                "ev": "1.68e-04",
                "qv": "3.22e-04"
              }, {
                "idx": 86,
                "rc": false,
                "off": 2,
                "pv": "1.82e-06",
                "ev": "9.73e-04",
                "qv": "9.32e-04"
              }, {
                "idx": 87,
                "rc": false,
                "off": 2,
                "pv": "2.94e-06",
                "ev": "1.58e-03",
                "qv": "9.68e-04"
              }, {
                "idx": 89,
                "rc": false,
                "off": 4,
                "pv": "3.77e-06",
                "ev": "2.02e-03",
                "qv": "9.68e-04"
              }, {
                "idx": 113,
                "rc": true,
                "off": 11,
                "pv": "2.09e-05",
                "ev": "1.12e-02",
                "qv": "4.30e-03"
              }, {
                "idx": 124,
                "rc": false,
                "off": 2,
                "pv": "3.02e-05",
                "ev": "1.62e-02",
                "qv": "5.16e-03"
              }, {
                "idx": 178,
                "rc": true,
                "off": 3,
                "pv": "3.66e-05",
                "ev": "1.96e-02",
                "qv": "5.36e-03"
              }, {
                "idx": 10,
                "rc": false,
                "off": 4,
                "pv": "5.02e-05",
                "ev": "2.69e-02",
                "qv": "6.44e-03"
              }, {
                "idx": 114,
                "rc": true,
                "off": 3,
                "pv": "6.66e-05",
                "ev": "3.57e-02",
                "qv": "7.60e-03"
              }, {
                "idx": 167,
                "rc": true,
                "off": 10,
                "pv": "8.04e-05",
                "ev": "4.31e-02",
                "qv": "8.25e-03"
              }, {
                "idx": 4,
                "rc": true,
                "off": 2,
                "pv": "9.77e-05",
                "ev": "5.24e-02",
                "qv": "9.11e-03"
              }, {
                "idx": 123,
                "rc": true,
                "off": 11,
                "pv": "1.34e-04",
                "ev": "7.16e-02",
                "qv": "1.14e-02"
              }, {
                "idx": 82,
                "rc": true,
                "off": 1,
                "pv": "1.59e-04",
                "ev": "8.53e-02",
                "qv": "1.22e-02"
              }, {
                "idx": 75,
                "rc": true,
                "off": 4,
                "pv": "1.95e-04",
                "ev": "1.04e-01",
                "qv": "1.22e-02"
              }, {
                "idx": 160,
                "rc": true,
                "off": 3,
                "pv": "2.13e-04",
                "ev": "1.14e-01",
                "qv": "1.22e-02"
              }, {
                "idx": 168,
                "rc": true,
                "off": 3,
                "pv": "2.13e-04",
                "ev": "1.14e-01",
                "qv": "1.22e-02"
              }, {
                "idx": 84,
                "rc": true,
                "off": 4,
                "pv": "2.56e-04",
                "ev": "1.37e-01",
                "qv": "1.38e-02"
              }, {
                "idx": 83,
                "rc": true,
                "off": 8,
                "pv": "3.83e-04",
                "ev": "2.05e-01",
                "qv": "1.70e-02"
              }, {
                "idx": 146,
                "rc": false,
                "off": 1,
                "pv": "3.85e-04",
                "ev": "2.07e-01",
                "qv": "1.70e-02"
              }, {
                "idx": 85,
                "rc": true,
                "off": 4,
                "pv": "3.90e-04",
                "ev": "2.09e-01",
                "qv": "1.70e-02"
              }, {
                "idx": 81,
                "rc": true,
                "off": 4,
                "pv": "4.32e-04",
                "ev": "2.32e-01",
                "qv": "1.77e-02"
              }, {
                "idx": 3,
                "rc": true,
                "off": 5,
                "pv": "4.86e-04",
                "ev": "2.61e-01",
                "qv": "1.92e-02"
              }, {
                "idx": 51,
                "rc": false,
                "off": 2,
                "pv": "7.41e-04",
                "ev": "3.97e-01",
                "qv": "2.53e-02"
              }, {
                "idx": 61,
                "rc": true,
                "off": 7,
                "pv": "1.70e-03",
                "ev": "9.13e-01",
                "qv": "4.60e-02"
              }, {
                "idx": 73,
                "rc": false,
                "off": 4,
                "pv": "2.39e-03",
                "ev": "1.28e+00",
                "qv": "5.98e-02"
              }, {
                "idx": 46,
                "rc": true,
                "off": 7,
                "pv": "2.73e-03",
                "ev": "1.46e+00",
                "qv": "6.51e-02"
              }, {
                "idx": 53,
                "rc": true,
                "off": 2,
                "pv": "3.48e-03",
                "ev": "1.86e+00",
                "qv": "7.76e-02"
              }, {
                "idx": 185,
                "rc": true,
                "off": 3,
                "pv": "3.82e-03",
                "ev": "2.05e+00",
                "qv": "8.17e-02"
              }, {
                "idx": 147,
                "rc": false,
                "off": 2,
                "pv": "4.82e-03",
                "ev": "2.58e+00",
                "qv": "9.70e-02"
              }, {
                "idx": 184,
                "rc": true,
                "off": 3,
                "pv": "5.13e-03",
                "ev": "2.75e+00",
                "qv": "1.01e-01"
              }, {
                "idx": 169,
                "rc": false,
                "off": 1,
                "pv": "7.02e-03",
                "ev": "3.76e+00",
                "qv": "1.36e-01"
              }, {
                "idx": 13,
                "rc": true,
                "off": 2,
                "pv": "7.81e-03",
                "ev": "4.19e+00",
                "qv": "1.47e-01"
              }, {
                "idx": 180,
                "rc": false,
                "off": 1,
                "pv": "1.13e-02",
                "ev": "6.07e+00",
                "qv": "2.00e-01"
              }, {
                "idx": 163,
                "rc": false,
                "off": 3,
                "pv": "1.15e-02",
                "ev": "6.16e+00",
                "qv": "2.00e-01"
              }, {
                "idx": 76,
                "rc": false,
                "off": 1,
                "pv": "1.26e-02",
                "ev": "6.75e+00",
                "qv": "2.15e-01"
              }, {
                "idx": 77,
                "rc": false,
                "off": 1,
                "pv": "1.38e-02",
                "ev": "7.38e+00",
                "qv": "2.28e-01"
              }, {
                "idx": 79,
                "rc": false,
                "off": 1,
                "pv": "1.56e-02",
                "ev": "8.36e+00",
                "qv": "2.54e-01"
              }, {
                "idx": 170,
                "rc": false,
                "off": 4,
                "pv": "1.78e-02",
                "ev": "9.52e+00",
                "qv": "2.76e-01"
              }, {
                "idx": 181,
                "rc": true,
                "off": 0,
                "pv": "1.86e-02",
                "ev": "9.97e+00",
                "qv": "2.85e-01"
              }, {
                "idx": 80,
                "rc": true,
                "off": 3,
                "pv": "1.98e-02",
                "ev": "1.06e+01",
                "qv": "2.99e-01"
              }, {
                "idx": 70,
                "rc": false,
                "off": 3,
                "pv": "2.02e-02",
                "ev": "1.08e+01",
                "qv": "3.01e-01"
              }, {
                "idx": 74,
                "rc": true,
                "off": 3,
                "pv": "2.39e-02",
                "ev": "1.28e+01",
                "qv": "3.50e-01"
              }, {
                "idx": 22,
                "rc": false,
                "off": 7,
                "pv": "2.65e-02",
                "ev": "1.42e+01",
                "qv": "3.78e-01"
              }, {
                "idx": 78,
                "rc": false,
                "off": 5,
                "pv": "2.85e-02",
                "ev": "1.53e+01",
                "qv": "4.00e-01"
              }, {
                "idx": 12,
                "rc": true,
                "off": 7,
                "pv": "3.20e-02",
                "ev": "1.72e+01",
                "qv": "4.38e-01"
              }, {
                "idx": 171,
                "rc": false,
                "off": 4,
                "pv": "3.38e-02",
                "ev": "1.81e+01",
                "qv": "4.56e-01"
              }
            ]
          }, {
            "idx": 2,
            "matches": [
              {
                "idx": 187,
                "rc": true,
                "off": 2,
                "pv": "9.08e-07",
                "ev": "4.87e-04",
                "qv": "9.50e-04"
              }, {
                "idx": 186,
                "rc": true,
                "off": 2,
                "pv": "2.14e-06",
                "ev": "1.15e-03",
                "qv": "1.12e-03"
              }, {
                "idx": 149,
                "rc": true,
                "off": 3,
                "pv": "1.80e-05",
                "ev": "9.67e-03",
                "qv": "6.29e-03"
              }, {
                "idx": 72,
                "rc": true,
                "off": 3,
                "pv": "2.98e-05",
                "ev": "1.60e-02",
                "qv": "7.80e-03"
              }, {
                "idx": 177,
                "rc": true,
                "off": 5,
                "pv": "6.36e-05",
                "ev": "3.41e-02",
                "qv": "1.33e-02"
              }, {
                "idx": 154,
                "rc": true,
                "off": 5,
                "pv": "9.64e-05",
                "ev": "5.17e-02",
                "qv": "1.53e-02"
              }, {
                "idx": 28,
                "rc": true,
                "off": 2,
                "pv": "1.02e-04",
                "ev": "5.48e-02",
                "qv": "1.53e-02"
              }, {
                "idx": 151,
                "rc": true,
                "off": 3,
                "pv": "1.33e-04",
                "ev": "7.10e-02",
                "qv": "1.72e-02"
              }, {
                "idx": 152,
                "rc": true,
                "off": 8,
                "pv": "1.48e-04",
                "ev": "7.95e-02",
                "qv": "1.72e-02"
              }, {
                "idx": 54,
                "rc": true,
                "off": 12,
                "pv": "2.18e-04",
                "ev": "1.17e-01",
                "qv": "2.28e-02"
              }, {
                "idx": 183,
                "rc": true,
                "off": 2,
                "pv": "2.68e-04",
                "ev": "1.44e-01",
                "qv": "2.55e-02"
              }, {
                "idx": 148,
                "rc": true,
                "off": 7,
                "pv": "3.61e-04",
                "ev": "1.94e-01",
                "qv": "2.95e-02"
              }, {
                "idx": 174,
                "rc": true,
                "off": 8,
                "pv": "3.67e-04",
                "ev": "1.97e-01",
                "qv": "2.95e-02"
              }, {
                "idx": 144,
                "rc": true,
                "off": 1,
                "pv": "4.48e-04",
                "ev": "2.40e-01",
                "qv": "3.18e-02"
              }, {
                "idx": 29,
                "rc": true,
                "off": 3,
                "pv": "4.56e-04",
                "ev": "2.44e-01",
                "qv": "3.18e-02"
              }, {
                "idx": 156,
                "rc": true,
                "off": 2,
                "pv": "5.56e-04",
                "ev": "2.98e-01",
                "qv": "3.32e-02"
              }, {
                "idx": 155,
                "rc": true,
                "off": 2,
                "pv": "5.61e-04",
                "ev": "3.01e-01",
                "qv": "3.32e-02"
              }, {
                "idx": 56,
                "rc": true,
                "off": 7,
                "pv": "5.72e-04",
                "ev": "3.07e-01",
                "qv": "3.32e-02"
              }, {
                "idx": 30,
                "rc": true,
                "off": 6,
                "pv": "6.25e-04",
                "ev": "3.35e-01",
                "qv": "3.44e-02"
              }, {
                "idx": 58,
                "rc": true,
                "off": 3,
                "pv": "9.79e-04",
                "ev": "5.25e-01",
                "qv": "5.12e-02"
              }, {
                "idx": 71,
                "rc": true,
                "off": 14,
                "pv": "1.06e-03",
                "ev": "5.71e-01",
                "qv": "5.24e-02"
              }, {
                "idx": 55,
                "rc": true,
                "off": 5,
                "pv": "1.10e-03",
                "ev": "5.91e-01",
                "qv": "5.24e-02"
              }, {
                "idx": 150,
                "rc": true,
                "off": 9,
                "pv": "1.36e-03",
                "ev": "7.28e-01",
                "qv": "6.17e-02"
              }, {
                "idx": 175,
                "rc": true,
                "off": 3,
                "pv": "1.71e-03",
                "ev": "9.19e-01",
                "qv": "7.47e-02"
              }, {
                "idx": 25,
                "rc": true,
                "off": 5,
                "pv": "1.87e-03",
                "ev": "1.00e+00",
                "qv": "7.81e-02"
              }, {
                "idx": 59,
                "rc": true,
                "off": 9,
                "pv": "2.22e-03",
                "ev": "1.19e+00",
                "qv": "8.95e-02"
              }, {
                "idx": 153,
                "rc": true,
                "off": 7,
                "pv": "2.39e-03",
                "ev": "1.28e+00",
                "qv": "9.27e-02"
              }, {
                "idx": 31,
                "rc": true,
                "off": 3,
                "pv": "3.00e-03",
                "ev": "1.61e+00",
                "qv": "1.12e-01"
              }, {
                "idx": 45,
                "rc": true,
                "off": 2,
                "pv": "3.44e-03",
                "ev": "1.84e+00",
                "qv": "1.20e-01"
              }, {
                "idx": 43,
                "rc": true,
                "off": 3,
                "pv": "3.44e-03",
                "ev": "1.84e+00",
                "qv": "1.20e-01"
              }, {
                "idx": 23,
                "rc": true,
                "off": 4,
                "pv": "3.81e-03",
                "ev": "2.04e+00",
                "qv": "1.28e-01"
              }, {
                "idx": 27,
                "rc": true,
                "off": 6,
                "pv": "7.01e-03",
                "ev": "3.76e+00",
                "qv": "2.29e-01"
              }, {
                "idx": 44,
                "rc": true,
                "off": 3,
                "pv": "7.38e-03",
                "ev": "3.96e+00",
                "qv": "2.34e-01"
              }, {
                "idx": 143,
                "rc": true,
                "off": 7,
                "pv": "7.74e-03",
                "ev": "4.15e+00",
                "qv": "2.35e-01"
              }, {
                "idx": 42,
                "rc": true,
                "off": 3,
                "pv": "7.87e-03",
                "ev": "4.22e+00",
                "qv": "2.35e-01"
              }, {
                "idx": 159,
                "rc": true,
                "off": 5,
                "pv": "8.47e-03",
                "ev": "4.54e+00",
                "qv": "2.46e-01"
              }, {
                "idx": 60,
                "rc": true,
                "off": -1,
                "pv": "1.04e-02",
                "ev": "5.59e+00",
                "qv": "2.95e-01"
              }, {
                "idx": 157,
                "rc": true,
                "off": 2,
                "pv": "1.10e-02",
                "ev": "5.88e+00",
                "qv": "3.02e-01"
              }, {
                "idx": 26,
                "rc": true,
                "off": 5,
                "pv": "1.15e-02",
                "ev": "6.17e+00",
                "qv": "3.09e-01"
              }, {
                "idx": 24,
                "rc": true,
                "off": 4,
                "pv": "1.32e-02",
                "ev": "7.08e+00",
                "qv": "3.46e-01"
              }, {
                "idx": 52,
                "rc": true,
                "off": -1,
                "pv": "1.57e-02",
                "ev": "8.40e+00",
                "qv": "3.91e-01"
              }, {
                "idx": 57,
                "rc": true,
                "off": 1,
                "pv": "1.57e-02",
                "ev": "8.42e+00",
                "qv": "3.91e-01"
              }, {
                "idx": 21,
                "rc": true,
                "off": 3,
                "pv": "1.71e-02",
                "ev": "9.16e+00",
                "qv": "4.16e-01"
              }
            ]
          }, {
            "idx": 3,
            "matches": [
              {
                "idx": 184,
                "rc": false,
                "off": 6,
                "pv": "5.30e-04",
                "ev": "2.84e-01",
                "qv": "1.27e-01"
              }, {
                "idx": 84,
                "rc": false,
                "off": 1,
                "pv": "1.08e-03",
                "ev": "5.78e-01",
                "qv": "1.27e-01"
              }, {
                "idx": 185,
                "rc": false,
                "off": 6,
                "pv": "1.11e-03",
                "ev": "5.97e-01",
                "qv": "1.27e-01"
              }, {
                "idx": 10,
                "rc": false,
                "off": 4,
                "pv": "1.18e-03",
                "ev": "6.34e-01",
                "qv": "1.27e-01"
              }, {
                "idx": 85,
                "rc": true,
                "off": 4,
                "pv": "1.19e-03",
                "ev": "6.39e-01",
                "qv": "1.27e-01"
              }, {
                "idx": 124,
                "rc": true,
                "off": 1,
                "pv": "1.23e-03",
                "ev": "6.60e-01",
                "qv": "1.27e-01"
              }, {
                "idx": 46,
                "rc": false,
                "off": 7,
                "pv": "2.03e-03",
                "ev": "1.09e+00",
                "qv": "1.34e-01"
              }, {
                "idx": 82,
                "rc": false,
                "off": 0,
                "pv": "2.06e-03",
                "ev": "1.11e+00",
                "qv": "1.34e-01"
              }, {
                "idx": 69,
                "rc": false,
                "off": 0,
                "pv": "3.66e-03",
                "ev": "1.96e+00",
                "qv": "2.06e-01"
              }, {
                "idx": 4,
                "rc": true,
                "off": 2,
                "pv": "3.66e-03",
                "ev": "1.96e+00",
                "qv": "2.06e-01"
              }, {
                "idx": 83,
                "rc": false,
                "off": 1,
                "pv": "5.08e-03",
                "ev": "2.72e+00",
                "qv": "2.40e-01"
              }, {
                "idx": 145,
                "rc": false,
                "off": 6,
                "pv": "6.83e-03",
                "ev": "3.66e+00",
                "qv": "2.80e-01"
              }, {
                "idx": 123,
                "rc": false,
                "off": 1,
                "pv": "7.16e-03",
                "ev": "3.84e+00",
                "qv": "2.80e-01"
              }, {
                "idx": 81,
                "rc": false,
                "off": 1,
                "pv": "8.06e-03",
                "ev": "4.32e+00",
                "qv": "2.80e-01"
              }, {
                "idx": 3,
                "rc": false,
                "off": 3,
                "pv": "8.07e-03",
                "ev": "4.33e+00",
                "qv": "2.80e-01"
              }, {
                "idx": 160,
                "rc": false,
                "off": 5,
                "pv": "9.41e-03",
                "ev": "5.05e+00",
                "qv": "2.90e-01"
              }, {
                "idx": 8,
                "rc": false,
                "off": 2,
                "pv": "9.48e-03",
                "ev": "5.08e+00",
                "qv": "2.90e-01"
              }, {
                "idx": 88,
                "rc": true,
                "off": 2,
                "pv": "1.02e-02",
                "ev": "5.47e+00",
                "qv": "3.03e-01"
              }, {
                "idx": 67,
                "rc": false,
                "off": 4,
                "pv": "1.05e-02",
                "ev": "5.63e+00",
                "qv": "3.03e-01"
              }, {
                "idx": 163,
                "rc": false,
                "off": 3,
                "pv": "1.19e-02",
                "ev": "6.40e+00",
                "qv": "3.18e-01"
              }, {
                "idx": 182,
                "rc": false,
                "off": 0,
                "pv": "1.46e-02",
                "ev": "7.82e+00",
                "qv": "3.61e-01"
              }, {
                "idx": 65,
                "rc": false,
                "off": 4,
                "pv": "1.58e-02",
                "ev": "8.47e+00",
                "qv": "3.82e-01"
              }, {
                "idx": 178,
                "rc": false,
                "off": 2,
                "pv": "1.72e-02",
                "ev": "9.24e+00",
                "qv": "3.98e-01"
              }, {
                "idx": 9,
                "rc": false,
                "off": -1,
                "pv": "2.02e-02",
                "ev": "1.08e+01",
                "qv": "4.47e-01"
              }, {
                "idx": 112,
                "rc": false,
                "off": 3,
                "pv": "2.31e-02",
                "ev": "1.24e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 66,
                "rc": false,
                "off": -1,
                "pv": "2.42e-02",
                "ev": "1.30e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 62,
                "rc": false,
                "off": 0,
                "pv": "2.42e-02",
                "ev": "1.30e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 87,
                "rc": false,
                "off": 2,
                "pv": "2.43e-02",
                "ev": "1.30e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 64,
                "rc": false,
                "off": -1,
                "pv": "2.61e-02",
                "ev": "1.40e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 51,
                "rc": false,
                "off": 2,
                "pv": "2.79e-02",
                "ev": "1.50e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 68,
                "rc": false,
                "off": 3,
                "pv": "2.86e-02",
                "ev": "1.53e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 121,
                "rc": false,
                "off": 13,
                "pv": "2.86e-02",
                "ev": "1.54e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 86,
                "rc": false,
                "off": 2,
                "pv": "2.99e-02",
                "ev": "1.60e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 63,
                "rc": false,
                "off": -1,
                "pv": "3.06e-02",
                "ev": "1.64e+01",
                "qv": "4.76e-01"
              }, {
                "idx": 61,
                "rc": false,
                "off": 1,
                "pv": "3.12e-02",
                "ev": "1.67e+01",
                "qv": "4.76e-01"
              }
            ]
          }
        ],
        "runtime": {
          "host": "n171",
          "when": "Tue Jul 28 11:46:37 2020",
          "cycles": 1370143,
          "seconds": 1.370
        }
      };
    </script>
    <script>
var site_url = "http://meme-suite.org/";
</script>
    <script>
/*
 * $
 *
 * Shorthand function for getElementById
 */
function $(el) {
  return document.getElementById(el);
}


/*
 * See http://stackoverflow.com/a/5450113/66387
 * Does string multiplication like the perl x operator.
 */
function string_mult(pattern, count) {
    if (count < 1) return '';
    var result = '';
    while (count > 1) {
        if (count & 1) result += pattern;
        count >>= 1, pattern += pattern;
    }
    return result + pattern;
}

/*
 * See http://stackoverflow.com/questions/814613/how-to-read-get-data-from-a-url-using-javascript
 * Slightly modified with information from
 * https://developer.mozilla.org/en/DOM/window.location
 */
function parse_params() {
  "use strict";
  var search, queryStart, queryEnd, query, params, nvPairs, i, nv, n, v;
  search = window.location.search;
  queryStart = search.indexOf("?") + 1;
  queryEnd   = search.indexOf("#") + 1 || search.length + 1;
  query      = search.slice(queryStart, queryEnd - 1);

  if (query === search || query === "") return {};

  params  = {};
  nvPairs = query.replace(/\+/g, " ").split("&");

  for (i = 0; i < nvPairs.length; i++) {
    nv = nvPairs[i].split("=");
    n  = decodeURIComponent(nv[0]);
    v  = decodeURIComponent(nv[1]);
    // allow a name to be used multiple times
    // storing each value in the array
    if (!(n in params)) {
      params[n] = [];
    }
    params[n].push(nv.length === 2 ? v : null);
  }
  return params;
}

/*
 * coords
 *
 * Calculates the x and y offset of an element.
 * From http://www.quirksmode.org/js/findpos.html
 * with alterations to take into account scrolling regions
 */
function coords(elem) {
  var myX = myY = 0;
  if (elem.getBoundingClientRect) {
    var rect;
    rect = elem.getBoundingClientRect();
    myX = rect.left + ((typeof window.pageXOffset !== "undefined") ?
        window.pageXOffset : document.body.scrollLeft);
    myY = rect.top + ((typeof window.pageYOffset !== "undefined") ?
        window.pageYOffset : document.body.scrollTop);
  } else {
    // this fall back doesn't properly handle absolutely positioned elements
    // inside a scrollable box
    var node;
    if (elem.offsetParent) {
      // subtract all scrolling
      node = elem;
      do {
        myX -= node.scrollLeft ? node.scrollLeft : 0;
        myY -= node.scrollTop ? node.scrollTop : 0;
      } while (node = node.parentNode);
      // this will include the page scrolling (which is unwanted) so add it back on
      myX += (typeof window.pageXOffset !== "undefined") ? window.pageXOffset : document.body.scrollLeft;
      myY += (typeof window.pageYOffset !== "undefined") ? window.pageYOffset : document.body.scrollTop;
      // sum up offsets
      node = elem;
      do {
        myX += node.offsetLeft;
        myY += node.offsetTop;
      } while (node = node.offsetParent);
    }
  }
  return [myX, myY];
}

/*
 * position_popup
 *
 * Positions a popup relative to an anchor element.
 *
 * The available positions are:
 * 0 - Centered below the anchor.
 */
function position_popup(anchor, popup, position) {
  "use strict";
  var a_x, a_y, a_w, a_h, p_x, p_y, p_w, p_h;
  var a_xy, spacer, margin, scrollbar, page_w;
  // define constants
  spacer = 5;
  margin = 15;
  scrollbar = 15;
  // define the positions and widths
  a_xy = coords(anchor);
  a_x = a_xy[0];
  a_y = a_xy[1];
  a_w = anchor.offsetWidth;
  a_h = anchor.offsetHeight;
  p_w = popup.offsetWidth;
  p_h = popup.offsetHeight;
  page_w = null;
  if (window.innerWidth) {
    page_w = window.innerWidth;
  } else if (document.body) {
    page_w = document.body.clientWidth;
  }
  // check the position type is defined
  if (typeof position !== "number") {
    position = 0;
  }
  // calculate the popup position
  switch (position) {
    case 1:
      p_x = a_x + a_w + spacer;
      p_y = a_y + (a_h / 2) - (p_h / 2);
      break;
    case 0:
    default:
      p_x = a_x + (a_w / 2) - (p_w / 2);
      p_y = a_y + a_h + spacer;
      break;
  }
  // constrain the popup position
  if (p_x < margin) {
    p_x = margin;
  } else if (page_w != null && (p_x + p_w) > (page_w - margin - scrollbar)) {
    p_x = page_w - margin - scrollbar - p_w;
  }
  if (p_y < margin) {
    p_y = margin;
  }
  // position the popup
  popup.style.left = p_x + "px";
  popup.style.top = p_y + "px";
}

function lookup_help_popup(popup_id) {
  var _body, pop, info;
  pop = document.getElementById(popup_id);
  if (pop == null) {
    _body = document.getElementsByTagName("body")[0];
    pop = document.createElement("div");
    pop.className = "pop_content";
    pop.id = popup_id;
    pop.style.backgroundColor = "#FFC";
    pop.style.borderColor = "black";
    info = document.createElement("p");
    info.style.fontWeight = "bold";
    info.appendChild(document.createTextNode("Error: No popup for topic \"" + popup_id + "\"."));
    pop.appendChild(info);
    // this might cause problems with the menu, but as this only happens
    // when something is already wrong I don't think that's too much of a problem
    _body.insertBefore(pop, _body.firstChild);
  }
  if (document.getElementsByTagName('body')[0].hasAttribute("data-autobtns")) {
    if (!/\bauto_buttons\b/.test(pop.className)) {
      pop.className += " auto_buttons";
      var back_btn_sec = document.createElement("div");
      back_btn_sec.className = "nested_only pop_back_sec";
      var back_btn = document.createElement("span");
      back_btn.className = "pop_back";
      back_btn.appendChild(document.createTextNode("<< back"));
      back_btn.addEventListener("click", function(e) {
        help_return();
      }, false);
      back_btn_sec.appendChild(back_btn);
      pop.insertBefore(back_btn_sec, pop.firstChild);
      var close_btn_sec = document.createElement("div");
      close_btn_sec.className = "pop_close_sec";
      var close_btn = document.createElement("span");
      close_btn.className = "pop_close";
      close_btn.appendChild(document.createTextNode("close"));
      close_btn.addEventListener("click", function(e) {
        help_popup();
      }, false);
      close_btn_sec.appendChild(close_btn);
      pop.appendChild(close_btn_sec);
    }
  }
  return pop;
}

/*
 * help_popup
 *
 * Moves around help pop-ups so they appear
 * below an activator.
 */
function help_popup(activator, popup_id) {
  "use strict";
  var pop;
  // set default values
  if (typeof help_popup.popup === "undefined") {
    help_popup.popup = [];
  }
  if (typeof help_popup.activator === "undefined") {
    help_popup.activator = null;
  }
  var last_pop = (help_popup.popup.length > 0 ? help_popup.popup[help_popup.popup.length - 1] : null);
  if (typeof(activator) == "undefined") { // no activator so hide
    if (last_pop != null) {
      last_pop.style.display = 'none';
      help_popup.popup = [];
    }
    return;
  }
  pop = lookup_help_popup(popup_id);
  if (pop == last_pop) {
    if (activator == help_popup.activator) {
      //hide popup (as we've already shown it for the current help button)
      last_pop.style.display = 'none';
      help_popup.popup = [];
      return; // toggling complete!
    }
  } else if (last_pop != null) {
    //activating different popup so hide current one
    last_pop.style.display = 'none';
  }
  help_popup.popup = [pop];
  help_popup.activator = activator;
  toggle_class(pop, "nested", false);
  //must make the popup visible to measure it or it has zero width
  pop.style.display = 'block';
  position_popup(activator, pop);
}

/*
 * help_refine
 * 
 * Intended for links within a help popup. Stores a stack of state so
 * you can go back.
 */
function help_refine(popup_id) {
  if (help_popup.popup == null || help_popup.popup.length == 0 || help_popup.activator == null) {
    //throw new Error("Cannot refine a help popup when one is not shown!");
    var pop = lookup_help_popup(popup_id);
    var act_id = popup_id + '_act';
    var activator = document.getElementById(act_id);
    help_popup(activator, popup_id);
  }
  var pop = lookup_help_popup(popup_id);
  var last_pop = help_popup.popup[help_popup.popup.length - 1];
  if (pop == last_pop) return; // slightly odd, but no real cause for alarm
  help_popup.popup.push(pop);
  toggle_class(pop, "nested", true);
  last_pop.style.display = "none";
  //must make the popup visible to measure it or it has zero width
  pop.style.display = "block";
  position_popup(help_popup.activator, pop);
}

/*
 * help_return
 * 
 * Intended for links within a help popup. Stores a stack of state so
 * you can go back.
 */
function help_return() {
  if (help_popup.popup == null || help_popup.popup.length == 0 || help_popup.activator == null) {
    throw new Error("Can not return to a earlier help popup when one is not shown!");
  }
  var last_pop = help_popup.popup.pop();
  last_pop.style.display = "none";
  var pop = (help_popup.popup.length > 0 ? help_popup.popup[help_popup.popup.length - 1] : null);
  if (pop != null) {
    toggle_class(pop, "nested", help_popup.popup.length > 1);
    pop.style.display = "block";
    position_popup(help_popup.activator, pop);
  } else {
    help_popup.activator = null;
  }
}

/*
 * update_scroll_pad
 *
 * Creates padding at the bottom of the page to allow
 * scrolling of anything into view.
 */
function update_scroll_pad() {
  var page, pad;
  page = (document.compatMode === "CSS1Compat") ? document.documentElement : document.body;
  pad = $("scrollpad");
  if (pad === null) {
    pad = document.createElement("div");
    pad.id = 'scrollpad';
    document.getElementsByTagName('body')[0].appendChild(pad);
  }
  pad.style.height = Math.abs(page.clientHeight - 100) + "px";
}

function substitute_classes(node, remove, add) {
  "use strict";
  var list, all, i, cls, classes;
  list = node.className.split(/\s+/);
  all = {};
  for (i = 0; i < list.length; i++) {
    if (list[i].length > 0) all[list[i]] = true;
  }
  for (i = 0; i < remove.length; i++) {
    if (all.hasOwnProperty(remove[i])) {
      delete all[remove[i]];
    }
  }
  for (i = 0; i < add.length; i++) {
    all[add[i]] = true;
  }
  classes = "";
  for (cls in all) {
    classes += cls + " ";
  }
  node.className = classes;
}

/*
 * toggle_class
 *
 * Adds or removes a class from the node. If the parameter 'enabled' is not 
 * passed then the existence of the class will be toggled, otherwise it will be
 * included if enabled is true.
 */
function toggle_class(node, cls, enabled) {
  var classes = node.className;
  var list = classes.replace(/^\s+/, '').replace(/\s+$/, '').split(/\s+/);
  var found = false;
  for (var i = 0; i < list.length; i++) {
    if (list[i] == cls) {
      list.splice(i, 1);
      i--;
      found = true;
    }
  }
  if (typeof enabled == "undefined") {
    if (!found) list.push(cls);
  } else {
    if (enabled) list.push(cls);
  }
  node.className = list.join(" ");
}

/*
 * find_child
 *
 * Searches child nodes in depth first order and returns the first it finds
 * with the className specified.
 * TODO replace with querySelector
 */
function find_child(node, className) {
  var pattern;
  if (node == null || typeof node !== "object") {
    return null;
  }
  if (typeof className === "string") {
    pattern = new RegExp("\\b" + className + "\\b");
  } else {
    pattern = className;
  }
  if (node.nodeType == Node.ELEMENT_NODE && 
      pattern.test(node.className)) {
    return node;
  } else {
    var result = null;
    for (var i = 0; i < node.childNodes.length; i++) {
      result = find_child(node.childNodes[i], pattern);
      if (result != null) break;
    }
    return result;
  }
}

/*
 * find_parent
 *
 * Searches parent nodes outwards from the node and returns the first it finds
 * with the className specified.
 */
function find_parent(node, className) {
  var pattern;
  pattern = new RegExp("\\b" + className + "\\b");
  do {
    if (node.nodeType == Node.ELEMENT_NODE && 
        pattern.test(node.className)) {
      return node;
    }
  } while (node = node.parentNode);
  return null;
}

/*
 * find_parent_tag
 *
 * Searches parent nodes outwards from the node and returns the first it finds
 * with the tag name specified. HTML tags should be specified in upper case.
 */
function find_parent_tag(node, tag_name) {
  do {
    if (node.nodeType == Node.ELEMENT_NODE && node.tagName == tag_name) {
      return node;
    }
  } while (node = node.parentNode);
  return null;
}

/*
 * __toggle_help
 *
 * Uses the 'topic' property of the this object to
 * toggle display of a help topic.
 *
 * This function is not intended to be called directly.
 */
function __toggle_help(e) {
  if (!e) e = window.event;
  if (e.type === "keydown") {
    if (e.keyCode !== 13 && e.keyCode !== 32) {
      return;
    }
    // stop a submit or something like that
    e.preventDefault();
  }

  help_popup(this, this.getAttribute("data-topic"));
}

function setup_help_button(button) {
  "use strict";
  var topic;
  if (button.hasAttribute("data-topic")) {
    topic = button.getAttribute("data-topic");
    if (document.getElementById(topic) != null) {
      button.tabIndex = "0"; // make keyboard selectable
      button.addEventListener("click", function() {
        help_popup(button, topic);
      }, false);
      button.addEventListener("keydown", function(e) {
        // toggle only on Enter or Spacebar, let other keys do their thing
        if (e.keyCode !== 13 && e.keyCode !== 32) return;
        // stop a submit or something like that
        e.preventDefault();
        help_popup(button, topic);
      }, false);
    } else {
      button.style.visibility = "hidden";
    }
  }
  button.className += " active";
}

/*
 * help_button
 *
 * Makes a help button for the passed topic.
 */
function help_button(topic) {
  var btn = document.createElement("div");
  btn.className = "help";
  btn.setAttribute("data-topic", topic);
  setup_help_button(btn);
  return btn;
}

/*
 * prepare_download
 *
 * Sets the attributes of a link to setup a file download using the given content.
 * If no link is provided then create one and click it.
 */
function prepare_download(content, mimetype, filename, link) {
  "use strict";
  // if no link is provided then create one and click it
  var click_link = false;
  if (!link) {
    link = document.createElement("a");
    click_link = true;
  }
  try {
    // Use a BLOB to convert the text into a data URL.
    // We could do this manually with a base 64 conversion.
    // This will only be supported on modern browsers,
    // hence the try block.
    var blob = new Blob([content], {type: mimetype});
    var reader = new FileReader();
    reader.onloadend = function() {
      // If we're lucky the browser will also support the download
      // attribute which will let us suggest a file name to save the link.
      // Otherwise it is likely that the filename will be unintelligible. 
      link.setAttribute("download", filename);
      link.href = reader.result;
      if (click_link) {
        // must add the link to click it
        document.body.appendChild(link);
        link.click();
        document.body.removeChild(link);
      }
    }
    reader.readAsDataURL(blob);
  } catch (error) {
    if (console && console.log) console.log(error);
    // probably an old browser
    link.href = "";
    link.visible = false;
  }
}

/*
 * add_cell
 *
 * Add a cell to the table row.
 */
function add_cell(row, node, cls, click_action) {
  var cell = row.insertCell(row.cells.length);
  if (node) cell.appendChild(node);
  if (cls && cls !== "") cell.className = cls;
  if (click_action) cell.addEventListener("click", click_action, false);
}

/*
 * add_header_cell
 *
 * Add a header cell to the table row.
 */
function add_header_cell(row, node, help_topic, cls, colspan) {
  var th = document.createElement("th");
  if (node) th.appendChild(node);
  if (help_topic && help_topic !== "") th.appendChild(help_button(help_topic));
  if (cls && cls !== "") th.className = cls;
  if (typeof colspan == "number" && colspan > 1) th.colSpan = colspan;
  row.appendChild(th);
}

/*
 * add_text_cell
 *
 * Add a text cell to the table row.
 */
function add_text_cell(row, text, cls, action) {
  var node = null;
  if (typeof(text) != 'undefined') node = document.createTextNode(text);
  add_cell(row, node, cls, action);
}

/*
 * add_text_header_cell
 *
 * Add a text header cell to the table row.
 */
function add_text_header_cell(row, text, help_topic, cls, action, colspan) {
  var node = null;
  if (typeof(text) != 'undefined') {
    var nbsp = (help_topic ? "\u00A0" : "");
    var str = "" + text;
    var parts = str.split(/\n/);
    if (parts.length === 1) {
      if (action) {
        node = document.createElement("span");
        node.appendChild(document.createTextNode(str + nbsp));
      } else {
        node = document.createTextNode(str + nbsp);
      }
    } else {
      node = document.createElement("span");
      for (var i = 0; i < parts.length; i++) {
        if (i !== 0) {
          node.appendChild(document.createElement("br"));
        }
        node.appendChild(document.createTextNode(parts[i]));
      }
    }
    if (action) {
      node.addEventListener("click", action, false);
      node.style.cursor = "pointer";
    }
  }
  add_header_cell(row, node, help_topic, cls, colspan);
}

function setup_help() {
  "use strict";
  var help_buttons, i;
  help_buttons = document.querySelectorAll(".help:not(.active)");
  for (i = 0; i < help_buttons.length; i++) {
    setup_help_button(help_buttons[i]);
  }
}

function setup_scrollpad() {
  "use strict";
  if (document.getElementsByTagName('body')[0].hasAttribute("data-scrollpad") && document.getElementById("scrollpad") == null) {
    window.addEventListener("resize", update_scroll_pad, false);
    update_scroll_pad();
  }
}

// anon function to avoid polluting global scope
(function() {
  "use strict";
  window.addEventListener("load", function load(evt) {
    window.removeEventListener("load", load, false);
    setup_help();
    setup_scrollpad();
  }, false);
})();

/*
 *  make_link
 *
 *  Creates a text node and if a URL is specified it surrounds it with a link.
 *  If the URL doesn't begin with "http://" it automatically adds it, as
 *  relative links don't make much sense in this context.
 */
function make_link(text, url) {
  var textNode = null;
  var link = null;
  if (typeof text !== "undefined" && text !== null) textNode = document.createTextNode(text);
  if (typeof url === "string") {
    if (url.indexOf("//") == -1) {
      url = "http://" + url;
    }
    link = document.createElement('a');
    link.href = url;
    if (textNode) link.appendChild(textNode);
    return link;
  }
  return textNode;
}

//
// Function to create an HTML paragraph describing the 
// MEME Suite background model source.
//
function make_background_source(title, source, text) {
  var paraNode = document.createElement("P");
  var titleNode = document.createElement("B");
  var textNode1 = document.createTextNode("\u00A0\u00A0\u00A0\u00A0" + title + ": ");
  titleNode.appendChild(textNode1);
  var source_text = ((source == "--motif--") ? "the (first) motif file" : (source == "--nrdb--") ? "an old version of the NCBI non-redundant database" : (source == "--uniform--") ? "the uniform model" : (source == "--query--") ? "the query file" : (source == "--sequences--") ? "built from the (primary) sequences" : ("the file '" + source + "'"));
  if (text) { return source_text; }
  var textNode2 = document.createTextNode(source_text);
  paraNode.appendChild(titleNode);
  paraNode.appendChild(textNode2);
  return paraNode;
}

// Function to create a help button
function make_help_button(container, help_topic) {
  container.appendChild(help_button(help_topic));
}
</script>
    <script>
//
// simple-shared-doc.js
//
// Function to replace the innerHTML of element "id" with the HTML indicated by "doc_type".
// Easier to read and update than the more flexible approach in shared-doc.js. 
//
function print_doc(id, doc_type) {
  var html;
  switch (doc_type) {
    case 'motif-consensus':
      html = `
	<p id="consensus_doc"> 
	   A <b>consensus sequence</b> is constructed from each column in a
	   motif's frequency matrix using the <b>"50% rule"</b>
	   as follows:
	</p>
	<ol>
	  <li>The letter frequencies in the column are sorted in decreasing order.</li>
	  <li>Letters with frequency less 50% of the maximum are discarded.</li>
	  <li>The letter used in this position in the consensus sequence is determined
	  by the first rule below that applies:</li>
	  <ul>
	    <li>If there is only one letter left, or if the remaining letters exactly match
	    an ambiguous symbol in the alphabet, the <b>letter</b> or <b>ambiguous symbol</b>,
	    respectively, is used.</li>
	    <li>Otherwise, if the remaining set contains at least 50% of the core
	    symbols in the alphabet, the alphabet's <b>wildcard</b>
	    (e.g., "N" for DNA or RNA, and "X" for protein) is used.</li>
	    <li>Otherwise, the letter with the <b>maximum frequency</b> is used.</li>
	  </ul>
	</ol>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'ame-results-header':
      html = `
	<p>
          AME outputs a tab-separated values (TSV) file ('ame.tsv') that contains one line for each motif
	  found to be significantly enriched.
	  The lines are sorted in order of decreasing statistical significance.
          The first line contains the (tab-separated) names of the fields.
	  Your command line is given at the end of the file in a comment line starting with the
	  character '#'.
	</p>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'ame-results-table':
      html = `
	<p>
	  The <a href="` + site_url + `/doc/ame-output-format.html#tsv_results">AME Results TSV Format</a> 
	  differs depending on the choice of method for measuring motif enrichment, as shown in the following table. 
	</p>
	<table style="width:100%" border=1>
	  <tr>
	    <th>Method</th>
	    <th colspan=19>Output Columns</th>
	  </tr>
	  <tr>
	    <th></th> 
	    <th>1</th>
	    <th>2</th>
	    <th>3</th>
	    <th>4</th>
	    <th>5</th>
	    <th>6</th>
	    <th>7</th>
	    <th>8</th>
	    <th>9</th>
	    <th>10</th>
	    <th>11</th>
	    <th>12</th>
	    <th>13 </th>
	    <th>14 </th>
	    <th>15 </th>
	    <th>16 </th>
	    <th>17 </th>
	    <th>18 </th>
	    <th>19 </th>
	  </tr>
	  <tr>
	    <td>fisher</td>
	    <td>rank </td>
	    <td>motif_DB </td>
	    <td>motif_ID </td>
	    <td>motif_alt_ID </td>
	    <td>consensus </td>
	    <td>p-value </td>
	    <td>adj_p-value </td>
	    <td>E-value</td>
	    <td>tests </td>
	    <td>FASTA_max </td>
	    <td>pos </td>
	    <td>neg </td>
	    <td>PWM_min</td>
	    <td>TP </td>
	    <td>%TP </td>
	    <td>FP </td>
	    <td>%FP </td>
	    </td> <td>
	    </td> <td>
	  </tr>
	  <tr>
	    <td>ranksum</td>
	    <td>rank </td>
	    <td>motif_DB </td>
	    <td>motif_ID </td>
	    <td>motif_alt_ID </td>
	    <td>consensus </td>
	    <td>p-value </td>
	    <td>adj_p-value </td>
	    <td>E-value</td>
	    <td>tests </td>
	    <td>FASTA_max </td>
	    <td>pos </td>
	    <td>neg</td>
	    <td>U </td>
	    <td>pleft </td>
	    <td>pright </td>
	    <td>pboth </td>
	    <td>adj_pleft </td>
	    <td>adj_pright </td>
	    <td>adj_both</td>
	  </tr>
	  <tr>
	    <td>3dmhg</td>
	    <td>rank </td>
	    <td>motif_DB </td>
	    <td>motif_ID </td>
	    <td>motif_alt_ID </td>
	    <td>consensus </td>
	    <td>p-value </td>
	    <td>adj_p-value </td>
	    <td>E-value</td>
	    <td>tests </td>
	    <td>FASTA_max </td>
	    <td>pos </td>
	    <td>neg</td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	  </tr>
	  <tr>
	    <td>4dmhg</td>
	    <td>rank </td>
	    <td>motif_DB </td>
	    <td>motif_ID </td>
	    <td>motif_alt_ID </td>
	    <td>consensus </td>
	    <td>p-value </td>
	    <td>adj_p-value </td>
	    <td>E-value</td>
	    <td>tests </td>
	    <td>FASTA_max </td>
	    <td>pos </td>
	    <td>neg</td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	  </tr>
	  <tr>
	    <td>pearson</td>
	    <td>rank </td>
	    <td>motif_DB </td>
	    <td>motif_ID </td>
	    <td>motif_alt_ID </td>
	    <td>consensus </td>
	    <td>p-value </td>
	    <td>adj_p-value </td>
	    <td>E-value</td>
	    <td>tests </td>
	    <td>Pearson_CC </td>
	    <td>mean_squared_error </td>
	    <td>slope </td>
	    <td>intercept</td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	  </tr>
	  <tr>
	    <td>spearman</td>
	    <td>rank </td>
	    <td>motif_DB </td>
	    <td>motif_ID </td>
	    <td>motif_alt_ID </td>
	    <td>consensus </td>
	    <td>p-value </td>
	    <td>adj_p-value </td>
	    <td>E-value</td>
	    <td>tests </td>
	    <td>Spearman_CC</td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	    </td> <td>
	  </tr>
        </table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'ame-results-description':
      html = `
        <p>
          The names and meanings of each of the fields in <a href="` + site_url + `/doc/ame-output-format.html#tsv_results">AME Results TSV Format</a>,
          which depend on the method of enrichment analysis you chose, are described below.
        </p>
        <table class="dark" style="width:100%" border=1>
	  <tr> <th>method</th> <th>field</th> <th>name</th> <th>contents</th> </tr>	
    	  <tr> <td>all</td> <td>1</td> <td>rank</td> <td>The rank of the significance of the motif in the sorted results.</td> </tr>
    	  <tr> <td>all</td> <td>2</td> <td>motif_DB</td> <td> ` + get_doc_text('motif-db', 'the motif.') + `</td> </tr>
    	  <tr> <td>all</td> <td>3</td> <td>motif_ID</td> <td> ` + get_doc_text('motif-id') + `</td> </tr>
    	  <tr> <td>all</td> <td>4</td> <td>motif_alt_ID</td> <td> ` + get_doc_text('motif-alt-id') + `</td> </tr>
    	  <tr> <td>all</td> <td>5</td> <td>consensus</td> <td> ` + get_doc_text('motif-cons') + `</td> </tr>
    	  <tr> <td>all</td> <td>6</td> <td>p-value</td> <td> ` + get_doc_text('ame-pvalue') + `</td> </tr>
    	  <tr> <td>all</td> <td>7</td> <td>adj_p-value</td> <td> ` + get_doc_text('ame-adj-pvalue') + `</td> </tr>
    	  <tr> <td>all</td> <td>8</td> <td>E-value</td> <td> ` + get_doc_text('ame-evalue') + `</td> </tr>
    	  <tr> <td>all</td> <td>9</td> <td>tests</td> <td>The number of tests performed; used in correcting the <i>p</i>-value</td> </tr>
	  <tr> <td colspan=4></td>
          <tr> <td>fisher, ranksum, 3dmhg, 4dmhg</td> <td>10</td> <td>FASTA_max</td> <td>The optimal threshold for <b>labeling</b> sequences as positive;
            sequences with FASTA score less than or equal to the threshold are labeled as positive;
            this field will be contain the number of primary sequences if you provided
            a control file (using option <code>--control</code>); this field will contain the size of the
            partition if you specified one (using option <code>--fix-partition</code>).</td> </tr>
          <tr> <td>fisher, ranksum, 3dmhg, 4dmhg</td> <td>11</td> <td>pos</td> <td>The number of sequences <b>labeled</b> as positive.</td> </tr>
          <tr> <td>fisher, ranksum, 3dmhg, 4dmhg</td> <td>12</td> <td>neg</td> <td>The number of sequences <b>labeled</b> as negative.</td> </tr>
	  <tr> <td colspan=4></td>
          <tr> <td>fisher</td> <td>13</td> <td>PWM_min</td> <td>The optimal threshold on PWM score for <b>classifying</b> sequences as positive;
                sequences with PWM score greater than or equal to the threshold are classified as positive.</td> </tr>
          <tr> <td>fisher</td> <td>14</td> <td>TP</td> <td>The number of true positive sequences: sequences both <b>labeled</b> and <b>classified</b> as positive</td> </tr>
          <tr> <td>fisher</td> <td>15</td> <td>%TP</td> <td>The percentage of true positive sequences: percentage of sequences <b>labeled</b> positive and <b>classified</b> as positive.</td> </tr>
          <tr> <td>fisher</td> <td>16</td> <td>FP</td> <td>The number of false positive sequences: sequences <b>labeled</b> negative but <b>classified</b> as positive.</td> </tr>
          <tr> <td>fisher</td> <td>17</td> <td>%TP</td> <td>The percentage of false positive sequences: sequences <b>labeled</b> negative but <b>classified</b> as positive.</td> </tr>
	  <tr> <td colspan=4></td>
          <tr> <td>ranksum</td> <td>13</td> <td>U</td> <td>The value of the Mann-Whitney <i>U</i> statistic.</td> </tr>
          <tr> <td>ranksum</td> <td>14</td> <td>pleft</td> <td>The left-tailed <i>p</i>-value of the rank-sum test.</td> </tr>
          <tr> <td>ranksum</td> <td>15</td> <td>pright</td> <td>The right-tailed <i>p</i>-value of the rank-sum test.</td> </tr>
          <tr> <td>ranksum</td> <td>16</td> <td>pboth</td> <td>The two-tailed <i>p</i>-value of the rank-sum test.</td> </tr>
          <tr> <td>ranksum</td> <td>17</td> <td>adj_pleft</td> <td>The left-tailed <i>p</i>-value of the rank-sum test, adjusted for multiple tests.</td> </tr>
          <tr> <td>ranksum</td> <td>18</td> <td>adj_pright</td> <td>The right-tailed <i>p</i>-value of the rank-sum test, adjusted for multiple tests.</td> </tr>
          <tr> <td>ranksum</td> <td>19</td> <td>adj_both</td> <td>The two-tailed <i>p</i>-value of the rank-sum test, adjusted for multiple tests.</td> </tr>
	  <tr> <td colspan=4></td>
	  <tr> <td>pearson</td> <td>10</td> <td>Pearson_CC</td> <td>The correlation coefficient of the PWM and FASTA scores of positive sequences.</td> </tr>
	  <tr> <td>pearson</td> <td>11</td> <td>mean_squared_error</td> <td>The mean-squared error of the regression line between PWM and FASTA scores.</td> </tr>
	  <tr> <td>pearson</td> <td>12</td> <td>slope</td> <td>The slope of the regression line.</td> </tr>
	  <tr> <td>pearson</td> <td>13</td> <td>intercept</td> <td>The y-intercept of the regression line.</td> </tr>
	  <tr> <td colspan=4></td>
	  <tr> <td>spearman</td> <td>10</td> <td>Spearman_CC</td> <td>The correlation coefficient of the PWM and FASTA ranks of positive sequences./td> </tr>
        </table>
	  </ul>
	</p>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'ame-sequences-tsv':
      html = `
        <p>AME outputs a tab-separated values (TSV) file ('sequences.tsv') containing one line for
	each sequence classified as 'positive' by AME for each significant motif.
        The first line contains the (tab-separated) names of the fields.
	The lines are grouped by motif, and groups are separated by a line
	starting with the character "#".
        </p>
        <p>
          The names and meanings of each of the fields in <a href="` + site_url + `/doc/ame-output-format.html#tsv_sequences">AME Significant Sequences TSV Format</a>,
          are described below.
        </p>
        <table class="dark" style="width:100%" border=1>
          <tr> <th>field</th> <th>name</th> <th>contents</th> </tr>
	  <tr> <td>1</td> <td>motif_DB</td> <td>` + get_doc_text('motif-db', 'the motif.') + `</td> </tr>
	  <tr> <td>2</td> <td>motif_ID</td> <td>the ID of the motif</td> </tr>
	  <tr> <td>3</td> <td>seq_ID</td> <td>the ID of the sequence</td> </tr>
	  <tr> <td>4</td> <td><i>label_score</i> (either FASTA_score or PWM_score)</td> <td>the value of the score used to label it as positive</td> </tr>
	  <tr> <td>5</td> <td><i>class_score</i> (either PWM_score or FASTA_score)</td> <td>the value of the score used to classify it as positive</td> </tr>
	  <tr> <td>6</td> <td>class</td> <td>whether the sequence is a true positive, 'tp', or a false positive, 'fp'</td> </tr>
        </table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'centrimo-results-tsv':
      html = `
	<p>
          CentriMo outputs a tab-separated values (TSV) file ('centrimo.tsv') that contains one line for each 
	  region found to be significantly enriched for a motif.
	  The lines are sorted in order of decreasing statistical significance.
          The first line contains the (tab-separated) names of the fields.
          Your command line is given at the end of the file in a comment line starting with the
          character '#'.
	</p>
	<p>
          The names and meanings of each of the fields in <a href="` + site_url + `/doc/centrimo-output-format.html#tsv_results">CentriMo Results TSV Format</a>,
          which depend on whether or not you provide control sequences to CentriMo, are described below.
	</p>
        <table class="dark" style="width:100%" border=1>
          <tr> <th>field</th> <th>name</th> <th>contents</th> </tr>
	  <tr> <td>1</td> <td>db_index</td> <td>The index of the motif file that contains the motif.  Motif
	      files are numbered in the order the appeared in the command line.</td> </tr>
	  <tr> <td>2</td> <td>motif_id</td> <td> ` + get_doc_text('motif-id') + `
	      If more than one motif has the same ID, CentriMo uses only the first such motif.
	      The name is single-quoted and preceded with '+' or '-' if you scanned separately with 
	      the reverse complement motif (using the <code>--sep</code> option).</td> </tr>
	  <tr> <td>3</td> <td>motif_alt_id</td> <td> ` + get_doc_text('motif-alt-id') + `</td> </tr>
	  <tr> <td>4</td> <td>consensus</td> <td> ` + get_doc_text('motif-cons') + `</td> </tr>
	  <tr> <td>5</td> <td>E-value</td> <td> ` + get_doc_text('centrimo-evalue') + `</td> </tr>
	  <tr> <td>6</td> <td>adj_p-value</td> <td> ` + get_doc_text('centrimo-adj-pvalue') + `
	      By default, a <i>p</i>-value is calculated by using the one-tailed binomial
	      test on the number of sequences with a match to the motif
	      that have their best match in the reported region;
              if you provided control sequences, the <i>p</i>-value of Fisher\'s exact test on the enrichment of 
              best matches in the positive sequences relative to the negative sequences is computed instead;
	      if you used the <code>--cd</code> option, the <i>p</i>-value is the probability that the average 
	      distance between the best site and the sequence center would be as low or lower than observed, 
	      computed using the cumulative Bates distribution, optimized over different score thresholds.
	      In all cases, the reported <i>p</i>-value has been adjusted for the number of regions
	      and/or score thresholds tested.</td> </tr>
	  <tr> <td>7</td> <td>log_adj_p-value</td> <td>Log of adjusted <i>p</i>-value.</td> </tr>
	  <tr> <td>8</td> <td>bin_location</td> <td>Location of the center of the most enriched region, or
		0 if you used the <code>--cd</code> option.
	  <tr> <td>9</td> <td>bin_width</td> <td> ` + get_doc_text('centrimo-bin-width') + `</td> </tr>
	  <tr> <td>10</td> <td>total_width</td> <td>The maximum number of regions possible for this motif
              <br>&nbsp;&nbsp;
	      round(sequence_length - motif_length + 1)/2,<br>
	      or the number of places the motif will fit if you used the <code>--cd</code> option.</td> </tr>
	  <tr> <td>11</td> <td>sites_in_bin</td> <td> ` + get_doc_text('centrimo-sites-in-bin') + `</td> </tr>
	  <tr> <td>12</td> <td>total_sites</td> <td>The number of sequences containing a match to the motif
	      above the score threshold.
	  <tr> <td>13</td> <td>p_success</td> <td>The probability of a random match falling into the enriched region:
	      <br>&nbsp;&nbsp;
	      bin_width / total_width</td> </tr>
	  <tr> <td>14</td> <td>p-value</td> <td>The uncorrected <i>p</i>-value before it gets adjusted for the
	      number of multiple tests to give the adjusted <i>p</i>-value.</td> </tr>
	  <tr> <td>15</td> <td>mult_tests</td> <td> ` + get_doc_text('centrimo-mult-tests') + `</td> </tr>
	  <tr> <th colspan=3>The following additional columns are present when you provide control sequences to CentriMo
	  (using the <code>--neg</code> option).</th> </tr>
	  <tr> <td>16</td> <td>neg_sites_in_bin</td> <td>The number of negative sequences where the best
	      match to the motif falls in the reported region.
	      This value is rounded but the underlying value may contain fractional counts.
	      Note: This number may be less than the number of negative have a best match in the region.
	      The reason for this is that a sequence may have many matches that score equally best.
	      If n matches have the best score in a sequence, 1/n is added to the
	      appropriate bin for each match.</td> </tr>
	  <tr> <td>17</td> <td>neg_sites</td> <td>The number of negative sequences containing a match to the
	      motif above the minimum score threshold.
	      When score optimization is enabled the score threshold may be raised
	      higher than the minimum.</td> </tr>
	  <tr> <td>18</td> <td>neg_adj_pvalue</td> <td>The probability that any tested region in the negative
	      sequences would be as enriched for best matches to this motif
	      according to the Binomial test.</td> </tr>
	  <tr> <td>19</td> <td>log_neg_adj_pvalue</td> <td>Log of negative adjusted <i>p</i>-value.</td> </tr>
	  <tr> <td>20</td> <td>fisher_adj_pvalue</td> <td>Fisher adjusted <i>p</i>-value before it gets adjusted for the
	      number of motifs in the input files(s).</td> </tr>
	  <tr> <td>21</td> <td>log_fisher_adj_pvalue</td> <td>Log of Fisher adjusted <i>p</i>-value.</td> </tr>
        </table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'centrimo-sites-txt':
      html = `
	<p>
          CentriMo outputs a text file ('site_counts.txt') that contains,
	  for each motif, pairs of values (bin_position, site_count),
	  or triples of values (bin_position, site_count, neg_site_count) if
	  you provided control sequences to CentriMo.
	  This data can be used to plot the density of motif best matches (sites)
	  along the input sequences.  Fractional counts are possible if multiple (n)
	  bins contain the best match for a given sequence, with each bin  
	  receiving an incremental count of 1/n. 
	</p>
	<p>
	  The data for each motif begins with a header line with the format:
	  <br>&nbsp&nbsp
		DB &lt;db_number&gt; MOTIF &lt;id&gt; &lt;alt&gt;
	  </br>
	  where &lt;id&gt; and &lt;alt&gt; are as described above.
	  The following lines (up to the next header line) 
	  each contain a single value-pair or value-triple for the motif
	  named in the header line.
	</p>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'meme-chip-results-tsv':
      html = `
	<p>
          MEME-ChIP outputs a tab-separated values (TSV) file ('summary.tsv') that 
	  contains one line for each motif found by MEME-ChIP.
	  The lines are sorted in order of decreasing statistical significance.
	  The first line contains the (tab-separated) names of the fields.
	  Your command line is given at the end of the file in a comment line starting with the
	  character '#'.
	</p>
	<p>
          The names and meanings of the fields in the 
	  <a href="` + site_url + `/doc/meme-chip-output-format.html">MEME-ChIP Results Summary TSV Format</a> 
	  are described below. 
	</p>
        <table class="dark" style="width:100%" border=1>
          <tr> <th>field</th> <th>name</th> <th>contents</th> </tr>
          <tr> <td>1</td> <td>MOTIF_INDEX</td> <td>The index of the motif in the "Motifs in MEME text format" file ('combined.meme') 
		output by MEME-ChIP.</td> </tr>
          <tr> <td>2</td> <td>MOTIF_SOURCE</td> <td>The name of the program that found the <i>de novo</i> motif, or the
                name of the motif file containing the known motif.</td> </tr>
          <tr> <td>3</td> <td>MOTIF_ID</td> <td> ` + get_doc_text('motif-id') + `</td> </tr>
          <tr> <td>4</td> <td>ALT_ID</td> <td> ` + get_doc_text('motif-alt-id') + `</td> </tr>
          <tr> <td>5</td> <td>CONSENSUS</td> <td>The ID of the <i>de novo</i> motif, or a consensus sequence
                computed from the letter frequencies in the known motif
                (as described <a href="#consensus_doc">below</a>).</td> </tr>
          <tr> <td>6</td> <td>WIDTH</td> <td>The width of the motif.</td> </tr>
          <tr> <td>7</td> <td>SITES</td> <td>The number of sites reported by the <i>de novo</i> program, or the number
                of "Total Matches" reported by CentriMo.</td> </tr>
          <tr> <td>8</td> <td>E-VALUE</td> <td>The statistical significance of the motif.</td> </tr>
          <tr> <td>9</td> <td>E-VALUE_SOURCE</td> <td>The program that reported the <i>E</i>-value.</td> </tr>
          <tr> <td>10</td> <td>MOST_SIMILAR_MOTIF</td> <td>The known motif most similar to this motif according to Tomtom.</td> </tr>
          <tr> <td>11</td> <td>URL</td> <td>A link to a description of the most similar motif, or to the known motif.</td> </tr>
        </table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'meme-chip-combined-motifs':
      html = `
        <p>
          MEME-ChIP outputs a text file ('combined.meme') containing all the significant motifs found by MEME-ChIP.
          The motifs are in <a href="` + site_url + `/doc/meme-format.html">Minimal MEME Motif format</a>, 
	  and their IDs correspond to the motif indices given in the "Summary in TSV Format" file ('summary.tsv').
        </p>
        </p>
          <b>Note:</b> The 'nsites=' and 'E=' fields in the motif headers are only
          relevant for the MEME and DREME motifs.  For known motifs, those values do
          not refer to the number of sites in the input sequences.
        </p>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'spamo-results-tsv':
      html = `
	<p>
          SpaMo outputs a tab-separated values (TSV) file ('spamo.tsv') that contains one line for each motif
	  found to be significantly enriched.
	  The lines are grouped by secondary motif and sorted in order of decreasing statistical significance.
          The first line contains the (tab-separated) names of the fields.
	  Your command line is given at the end of the file in a comment line starting with the character '#'.
	</p>
	<p>
	  The names and meanings of each of the fields in <a href="` + site_url + `/doc/spamo-output-format.html#results-tsv">SpaMo Results TSV Format</a> 
	  are described below. 
	</p>
	<table class="dark" style="width:100%" border=1>
	  <tr> <th>field</th> <th>name</th> <th>contents</th> </tr>
          <tr> <td>1</td> <td>prim_db</td> <td> ` + get_doc_text('motif-db', 'the primary motif.') + `</td> </tr>
          <tr> <td>2</td> <td>prim_id</td> <td> ` + get_doc_text('motif-id', 'primary') + `</td> </tr>
          <tr> <td>3</td> <td>prim_alt</td> <td> ` + get_doc_text('motif-alt-id', 'primary') + `</td> </tr>
          <tr> <td>4</td> <td>prim_cons</td> <td> ` + get_doc_text('motif-cons', 'primary') + `</td> </tr>
          <tr> <td>5</td> <td>sec_db</td> <td> ` + get_doc_text('motif-db', 'the secondary motif.') + `</td> </tr>
          <tr> <td>6</td> <td>sec_id</td> <td> ` + get_doc_text('motif-id', 'secondary') + `</td> </tr>
          <tr> <td>7</td> <td>sec_alt</td> <td> ` + get_doc_text('motif-alt-id', 'secondary') + `</td> </tr>
          <tr> <td>8</td> <td>sec_cons</td> <td> ` + get_doc_text('motif-cons', 'secondary') + `</td> </tr>
          <tr> <td>9</td> <td>trim_left</td> <td>Number of positions trimmed from left of secondary motif.</td> </tr>
          <tr> <td>10</td> <td>trim_right</td> <td>Number of positions trimmed from right of secondary motif.</td> </tr> 
          <tr> <th colspan=3>If the next three fields are not blank, the motif is redundant with a more significant ('parent') motif.</th> </tr>
          <tr> <td>11</td> <td>red_db</td> <td> ` + get_doc_text('motif-db', 'the parent motif.') + `</td> </tr>
          <tr> <td>12</td> <td>red_id</td> <td> ` + get_doc_text('motif-id', 'parent') + `</td> </tr>
          <tr> <td>13</td> <td>red_alt</td> <td> ` + get_doc_text('motif-alt-id', 'parent') + `</td> </tr>
          <tr> <td>14</td> <td>E-value</td> <td>The expected number motifs that would have least one spacing as enriched as the best spacing for this secondary. 
	    The <i>E</i>-value is the best spacing <i>p</i>-value multiplied by the number of motifs in the input database(s).</td> </tr>
          <tr> <td>15</td> <td>gap</td> <td>The distance between the edge of the primary and the (trimmed) secondary motif.</td> </tr>
          <tr> <td>16</td> <td>orient</td> <td>The (combination) of quadrants for which occurrences of this spacing are combined.</td> </tr>
          <tr> <td>17</td> <td>count</td> <td>The number of occurrences of the secondary motif with the given spacing and orientation to the primary motif.</td> </tr>
          <tr> <td>18</td> <td>total</td> <td>The total number of occurrences of the secondary motif within the margins around the best primary motif occurrence.</td> </tr>
          <tr> <td>19</td> <td>adj_p-value</td> <td>The <i>p</i>-value of the gap and orientation, adjusted for nine combinations of quadrants times the number of gaps tested (as controlled by the <code>-range</code> option).</td> </tr>
          <tr> <td>20</td> <td>p-value</td> <td>The <i>p</i>-value of the gap and orientation adjusted only for the number of gaps tested.</td> </tr>
        </table>
        <br>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'spamo-dumpseqs-tsv':
      html = `
	<p>
	  By specifying the options <code>--dumpseqs</code> or <code>--dumpsigs</code> 
	  you can have SpaMo create TSV (tab-separated values) files
	  describing the motif matches SpaMo used to make the histograms in its HTML output.
	  The files are named 
          '<code>seqs_&lt;primary_motif&gt;_&lt;secondary_db&gt;_&lt;secondary_motif&gt;.txt</code>'.
	  The rows in each file are sorted by sequence name.  
	  The first line contains the (tab-separated) names of the fields.
        </p>
	<p>
	  The names and meanings of each of the fields in <a href="` + site_url + `/doc/spamo-output-format.html#tsv_dumpseqs">SpaMo Dumpseqs TSV Format</a> 
	  are described below. 
        </p>
	<table class="dark" style="width:100%">
	  <tr><th>field</th><th>name</th><th>contents</th></tr>
	  <tr><td>1</td><td>matches</td><td>Trimmed lowercase sequence centered on primary match with matches in uppercase.</td></tr>
	  <tr><td>2</td><td>sec_pos</td><td>Position of the secondary match within the whole sequence.</td></tr>
	  <tr><td>3</td><td>pri_match</td><td>Sequence fragment that the primary matched.</td></tr>
	  <tr><td>4</td><td>pri_strand</td><td>Strand of the primary match (+/-).</td></tr>
	  <tr><td>5</td><td>sec_match</td><td>Sequence fragment that the secondary matched.</td></tr>
	  <tr><td>6</td><td>sec_strand</td><td>Strand of the secondary match (+/-).</td></tr>
	  <tr><td>7</td><td>same_opp</td><td>The primary match on the same (s) or opposite (o) strand as the secondary.</td></tr>
	  <tr><td>8</td><td>down_up</td><td>The secondary match is downstream (d) or upstream (u) of the primary.</td></tr>
	  <tr><td>9</td><td>gap</td><td>The gap between the primary and secondary matches.</td></tr>
	  <tr><td>10</td><td>seq_name</td><td>The name of the sequence.</td></tr>
	  <tr><td>11</td><td>adj_p-value</td><td>The <i>p</i>-value of the bin containing the match, adjusted for the number of bins.</td></tr>
	  <tr><th colspan="3">If the sequence names are in UCSC Genome Browser position
	  format (e.g., "chr5:36715616-36715623"), the following additional fields will be present:</th></tr>
	  <tr><td>12</td><td>pri_bed_chr</td><td>Position of primary match in BED coordinates.</td></tr>
	  <tr><td>13</td><td>pri_bed_start</td><td>"</td></tr>
	  <tr><td>14</td><td>pri_bed_end</td><td>"</td></tr>
	  <tr><td>15</td><td>pri_browser</td><td>Position of primary match in UCSC Genome Browser coordinates.</td></tr>
	  <tr><td>16</td><td>sec_bed_chr</td><td>Position of secondary match in BED coordinates.</td></tr>
	  <tr><td>16</td><td>sec_bed_start</td><td>"</td></tr>
	  <tr><td>16</td><td>sec_bed_end</td><td>"</td></tr>
	  <tr><td>19</td><td>sec_browser</td><td>Position of secondary match in UCSC Genome Browser coordinates.</td></tr>
	</table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'fimo-results-tsv':
      html = ` 
        <p>
          FIMO outputs a tab-separated values (TSV) file ('fimo.tsv') that contains one line for each
          significant match to a motif.
          The lines are sorted in order of decreasing statistical significance (increasing <i>p</i>-value).
          The first line contains the (tab-separated) names of the fields.
          Your command line is given at the end of the file in a comment line starting with the
          character '#'.
        </p>
	<p>
	  The names and meanings of each of the fields in <a href="` + site_url + `/doc/fimo-output-format.html#results-tsv">FIMO Results TSV Format</a> 
	  are described below. 
	</p>
	<table class="dark" style="width:100%" border=1>
	  <tr> <th>field</th> <th>name</th> <th>contents</th> </tr>
          <tr> <td>1</td> <td>motif_id</td> <td> ` + get_doc_text('motif-id') + `</td> </tr>
          <tr> <td>2</td> <td>motif_alt_id</td> <td> ` + get_doc_text('motif-alt-id') + `</td> </tr>
          <tr> <td>3</td> <td>sequence_name</td> <td> ` + get_doc_text('sequence-id') + ` --OR-- the `
	    + get_doc_text('sequence-name') + `</td> </tr>
          <tr> <td>4</td> <td>start</td> <td> ` + get_doc_text('match-start-seq', 'motif occurrence') + ` --OR-- `
            + get_doc_text('match-start-genomic', 'motif occurrence') 
            + get_doc_text('parse-genomic-coord', 'The latter case occurs when FIMO') + `</td> </tr>
          <tr> <td>5</td> <td>stop</td> <td> ` + get_doc_text('match-stop-seq', 'motif occurrence') + ` --OR-- `
            + get_doc_text('match-stop-genomic', 'motif occurrence') 
            + get_doc_text('parse-genomic-coord', 'The latter case occurs when FIMO') + `</td> </tr>
          <tr> <td>6</td> <td>strand</td> <td>The strand '<code>+</code>' indicates the motif matched the forward
	    strand, '<code>-</code>' the reverse strand, and '<code>.</code>'
	    indicates strand is not applicable (as for amino acid sequences).</td> </tr>
          <tr> <td>7</td> <td>score</td> <td>The score for the motif occurrence. `
            + get_doc_text('motif-match-score') + `</td> </tr>
          <tr> <td>8</td> <td>p-value</td> <td> The <i>p</i>-value of the motif occurrence. `
            + get_doc_text('motif-match-p-value') + `</td> </tr>
          <tr> <td>9</td> <td>q-value</td> <td>The q-value of the motif occurrence. `
            + get_doc_text('bh-q-value', 'FIMO') + ` <b>Note:</b> This column is empty if you used the <span class=popt>--text</span> switch.</td> </tr>
          <tr> <td>10</td> <td>sequence</td> <td>The region of the sequence matched to the motif.</td> </tr>
        </table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'fimo-results-gff3':
      html = `
        <p>
          FIMO outputs a GFF3</a> file ('fimo.gff') that contains one line for each
          significant match to a motif.
        </p>
        <p>
	  The GFF3 format is described <a href="http://gmod.org/wiki/GFF3">here</a>.
	  The 'score' reported in the FIMO GFF3 output</a> (in column 6) is<br/>
	  &nbsp;&nbsp;&nbsp;&nbsp;<code>min(1000, -10*(log10(pvalue)))</code>, <br/>
	  and the 'display name' ('Name=' tag in column 9) is composed of the contents of three 
	  fields as follows <br/>
	  &nbsp;&nbsp;&nbsp;&nbsp;<code>&lt;motif_id&gt;_&lt;sequence_name&gt;&lt;strand&gt;</code>.
        </p>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'gomo-results-tsv':
      html = `
        <p>
          GOMo outputs a tab-separated values (TSV) file ('gomo.tsv') that contains one line for each 
	  motif-GO-term pair found to be significantly enriched.
          The lines are grouped by motif and sorted in order of decreasing statistical significance.
          The first line contains the (tab-separated) names of the fields.
          Your command line is given at the end of the file in a comment line starting with the character '#'.
        </p>
        <p>
          The names and meanings of each of the fields in <a href="` + site_url + `/doc/gomo-output-format.html#results-tsv">GOMo Results TSV Format</a>
          are described below.
        </p>
        <table class="dark" style="width:100%" border=1>
          <tr> <th>field</th> <th>name</th> <th>contents</th> </tr>
          <tr> <td>1</td> <td>Motif_Identifier</td> <td> ` + get_doc_text('motif-id') + ` </td> </tr> 
          <tr> <td>2</td> <td>GO_Term_Identifier</td> <td> ` + get_doc_text('gomo-go-term') + ` </td> </tr>
          <tr> <td>3</td> <td>GOMo_Score</td> <td> ` + get_doc_text('gomo-score') + ` </td> </tr>
          <tr> <td>4</td> <td>p-value</td> <td> ` + get_doc_text('gomo-p-value') + ` </td> </tr>
          <tr> <td>5</td> <td>q-value</td> <td> ` + get_doc_text('bh-q-value', 'GOMo') + ` </td> </tr>
        </table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'gomo-results-xml':
      html = `
	<p>
	GOMo outputs an XML file ('gomo.xml') with the following format.
	</p>
	<table class="bordertable" border="1">
	  <tr>
	    <th>Tag</th><th>Child of</th><th>Description</th>
	  </tr>
	  <tr>
	    <td >&lt;gomo&gt;</td><td >Nothing</td>
	    <td>
	      Information about this run of GOMo.
	      <ul>
		<li>version - The version of GOMo that generated the XML file.</li>
		<li>release - The release date of the version that generated the XML.</li>
	      </ul>
	    </td>
	  </tr>
	  <tr>
	    <td >&lt;program&gt;</td>
	    <td >&lt;gomo&gt;</td>
	    <td>
	      Information about the state of the program when it ran.<br />
	      <ul>
		<li>name - name of the program.</li>
		<li>cmd - the command line passed to the program.</li>
		<li>gene_url - the url used to lookup further information on the gene ids. 
		The url has ampersands (&amp;) converted into <b>&amp;amp;</b> and the place where
		  the gene ID should be replaced by <b>!!GENEID!!</b> .</li>
		<li>outdir - the output directory that the program wrote to.</li>
		<li>clobber - true if GOMo was allowed to overwrite the output directory.</li>
		<li>text_only - true if GOMo wrote to stdout, in which case this file would
		  not exist so it must be false.</li>
		<li>use_e_values - true if GOMo used <i>E</i>-values (converted from <i>p</i>-values) as 
		  input scores, false if GOMo used gene scores.</li>
		<li>score_e_thresh - if GOMo used <i>E</i>-values then this is the threshold that 
		  GOMo assumed the worst <i>E</i>-value (<i>p</i>-value = 1.0) for the gene to smooth out noise.</li>
		<li>min_gene_count - the minimum number of genes that a GO term was annotated 
		  with before GOMo would calculate a score for it.</li>
		<li>motifs - if present then a space delimited list of the motifs that GOMo
		  calculated a score for, otherwise GOMo scored all motifs.</li>
		<li>shuffle_scores - the number of times GOMo generated a shuffled mapping of
		  gene id to gene id to be used to generate scores from the null model.</li>
		<li>q_threshold - GOMo filtered the results to only show those with a better
		(smaller) q-value.</li>
	      </ul>
	    </td>
	  </tr>
	  <tr>
	    <td>&lt;gomapfile&gt;</td>
	    <td>&lt;program&gt;</td>
	    <td>
	      Information about the GO mapping file.<br />
	      <ul>
		<li>path - the path to the mapping file.</li>
	      </ul>
	    </td>
	  </tr>
	  <tr>
	    <td>&lt;seqscorefile&gt;</td>
	    <td>&lt;program&gt;</td>
	    <td>
	      Information about the sequence scoring file.<br />
	      <ul>
		<li>path - the path to the sequence scoring file.</li>
	      </ul>
	    </td>
	  </tr>
	  <tr>
	    <td>&lt;motif&gt;</td>
	    <td>&lt;gomo&gt;</td>
	    <td>
	      Information about the motif.<br />
	      <ul>
		<li>id - the motif identifier.</li>
		<li>genecount - the number of scored sequences that were used to compute the result.</li>
	      </ul>
	    </td>
	  </tr>
	  <tr>
	    <td>&lt;goterm&gt;</td>
	    <td>&lt;motif&gt;</td>
	    <td>
	      Information about the GO term.<br />
	      <ul>
		<li>id - the GO identifier.</li>
		<li>score - the geometric mean across all species of the rank-sum test <i>p</i>-value.</li>
		<li>pvalue - the empirically calculated <i>p</i>-value.</li>
		<li>qvalue - the empirically calculated q-value.</li>
		<li>annotated - the number of genes annotated with the go term.</li>
		<li>group - the subgroup that the term belongs to. For the Gene Ontology 
		    b = biological process, c = cellular component and m = molecular function.</li>
		<li>nabove - the number of more general terms that link to this one.</li>
		<li>nbelow - the number of more specific terms that link from this one.</li>
		<li>implied - is the go term implied by other significant go terms? 
		  Allows values 'y', 'n' or 'u' (default) for yes, no or unknown.</li>
		<li>description - the GO term description.</li>
	      </ul>
	    </td>
	  </tr>
	  <tr>
	    <td>&lt;gene&gt;</td>
	    <td>&lt;goterm&gt;</td>
	    <td>
	      Information about the GO term's annotated genes for the primary species.<br />
	      <ul>
		<li>id - the gene identifier.</li>
		<li>rank - the rank of the scored gene.</li>
	      </ul>
	    </td>
	  </tr>
        </table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'mcast-results-tsv':
      html = ` 
        <p>
          MCAST outputs a tab-separated values (TSV) file ('mcast.tsv') that contains one line for each
          significant match of a cluster of motifs to a sequence region.
          The lines are sorted in order of decreasing statistical significance (increasing <i>p</i>-value).
          The first line contains the (tab-separated) names of the fields.
          Your command line is given at the end of the file in a comment line starting with the
          character '#'.
        </p>
	<p>
	  The names and meanings of each of the fields in 
          <a href="` + site_url + `/doc/mcast-output-format.html#results-tsv">MCAST Results TSV Format</a> 
	  are described below. 
	</p>
	<table class="dark" style="width:100%" border=1>
	  <tr> <th>field</th> <th>name</th> <th>contents</th> </tr>
          <tr> <td>1</td> <td>pattern_name</td> <td>A unique name that MCAST generates for the match. </td> </tr>
          <tr> <td>2</td> <td>sequence_name</td> <td> ` + get_doc_text('sequence-id') + ` --OR-- the `
	    + get_doc_text('sequence-name') + `</td> </tr>
          <tr> <td>3</td> <td>start</td> <td> ` + get_doc_text('match-start-seq', 'matched sequence region') + ` --OR-- `
            + get_doc_text('match-start-genomic', 'motif occurrence')
            + get_doc_text('parse-genomic-coord', 'The latter case occurs when MCAST') + `</td> </tr>
          <tr> <td>4</td> <td>stop</td> <td> ` + get_doc_text('match-stop-seq', 'matched sequence region') + ` --OR-- `
            + get_doc_text('match-stop-genomic', 'motif occurrence')
            + get_doc_text('parse-genomic-coord', 'The latter case occurs when MCAST') + `</td> </tr>
          <tr> <td>5</td> <td>score</td> <td> ` + get_doc_text('mcast-cluster-score') + ` </td> </tr>
          <tr> <td>6</td> <td>p-value</td> <td> ` + get_doc_text('mcast-cluster-p-value') + ` </td> </tr>
          <tr> <td>7</td> <td>E-value</td> <td> ` + get_doc_text('mcast-cluster-E-value') + ` </td> </tr>
          <tr> <td>8</td> <td>q-value</td> <td> ` + get_doc_text('bh-q-value', 'MCAST') + ` 
	    <b>Note:</b> This column is empty if you used the <span class=popt>--text</span> switch.</td> </tr>
          <tr> <td>9</td> <td>sequence</td> <td>The region of the sequence matched to the motif cluster.</td> </tr>
        </table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'mcast-results-gff3':
      html = `
        <p>
          MCAST outputs a GFF3</a> file ('mcast.gff') that contains one line for each
          significant match to a motif cluster.
        </p>
        <p>
	  The GFF3 format is described <a href="http://gmod.org/wiki/GFF3">here</a>.
	  The 'score' reported in the MCAST GFF3 output</a> (in column 6) is<br/>
	  &nbsp;&nbsp;&nbsp;&nbsp;<code>min(1000, -10*(log10(pvalue)))</code>, <br/>
	  and the 'unique identifier' ('ID=' tag in column 9) is the value of the
	  &lt;pattern_name&gt; field in the MCAST results TSV format.  Following the
	  unique identifier in column 9, the <i>p</i>-value, <i>E</i>-value and q-value
	  of the match are given.
        </p>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    case 'tomtom-results-tsv':
      html = `
	<p>
          Tomtom outputs a tab-separated values (TSV) file ('tomtom.tsv') that contains one line for each motif
	  found to be significantly enriched.
	  The lines are grouped by query motif and sorted in order of decreasing statistical significance.
          The first line contains the (tab-separated) names of the fields.
	  Your command line is given at the end of the file in a comment line starting with the character '#'.
	</p>
	<p>
	  The names and meanings of each of the fields in <a href="` + site_url + `/doc/tomtom-output-format.html#results-tsv">Tomtom Results TSV Format</a> 
	  are described below. 
	</p>
	<table class="dark" style="width:100%" border=1>
	  <tr> <th>field</th> <th>name</th> <th>contents</th> </tr>
          <tr> <td>1</td> <td>Query_ID</td> <td> ` + get_doc_text('motif-id', 'query') + `</td> </tr>
          <tr> <td>2</td> <td>Target_ID</td> <td> ` + get_doc_text('motif-id', 'target') + `</td> </tr>
          <tr> <td>3</td> <td>Optimal_offset</td> <td> ` + get_doc_text('tomtom-offset') + `</td> </tr>
          <tr> <td>4</td> <td>p-value</td> <td> ` + get_doc_text('tomtom-p-value') + `</td> </tr>
          <tr> <td>5</td> <td>E-value</td> <td> ` + get_doc_text('tomtom-E-value') + `</td> </tr>
          <tr> <td>6</td> <td>q-value</td> <td> ` + get_doc_text('bh-q-value', 'Tomtom') + `</td> </tr>
          <tr> <td>7</td> <td>Overlap</td> <td> ` + get_doc_text('tomtom-overlap') + `</td> </tr>
          <tr> <td>8</td> <td>Query_consensus</td> <td>A consensus sequence
                computed from the letter frequencies in the query motif
                (as described <a href="#consensus_doc">below</a>).</td> </tr>
          <tr> <td>9</td> <td>Target_consensus</td> <td>A consensus sequence
                computed from the letter frequencies in the target motif
                (as described <a href="#consensus_doc">below</a>).</td> </tr>
          <tr> <td>10</td> <td>Orientation</td> <td> ` + get_doc_text('tomtom-orientation', "<br>A value of '+' means that the target motif is as it appears in the database. A value of '-' means that the reverse complement of the target motif is shown.") + `</td> </tr>
        </table>
      `;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
      break;

    default:
      html = "Error--Unrecognized doc_type: " + doc_type;
      document.getElementById(id).insertAdjacentHTML('beforeend', html);
  }
} // print_doc

//
// Function to return the HTML text of a given type.
// This function can be used directly to document the output format (xx-output-format.html)
// and indirectly via print_doc_para for help pop-ups in the actual output HTML,
// to prevent duplication of documentation.
//
function get_doc_text(doc_type, extra) {
  var html;
  if (extra == undefined) {extra = ""};

  switch (doc_type) {

    // shared
    case 'motif-db':
      return(`
	The name of a file of motifs ("motif database file") that contains ` + extra + `
      `);
    case 'motif-id':
      return(`
	The name of the ` + extra + ` motif, which is unique in the motif database file.
      `);
    case 'motif-alt-id':
      return(`
	An alternate name for the ` + extra + ` motif, which may be provided in the motif database file.
      `);
    case 'motif-width':
      return(`
	The width of the motif. No gaps are allowed in motifs supplied to ` + extra + `
        as it only works for motifs of a fixed width.
      `);
    case 'motif-cons':
      return(`
	A consensus sequence computed from the ` + extra + ` motif (as described <a href="#consensus_doc">below</a>).
      `);
    case 'motif-match-score':
     return(`
	The score for the match of a position in a sequence to a motif is
	computed by summing the appropriate entry from each column of the
	position-dependent scoring matrix that represents the motif. ` + extra + `
     `);
    case 'motif-match-p-value':
      return(`
	The <i>p</i>-value of a motif match is the probability of a single random
	subsequence of the length of the motif
	<a href="javascript:help_refine('pop_motif_match_score')">scoring</a>
	at least as well as the observed match.
      `);
    case 'bh-q-value-method':
      return(`
        ` + extra + ` estimates q-values from all the match <i>p</i>-values 
	using the method proposed by Benjamini & Hochberg (<i>Journal of the Royal Statistical Society B</i>, 57:289-300, 1995).
	See also Storey JD, Tibshirani R. Statistical significance for
	genome-wide studies, <i>Proc. Natl. Acad. Sci. USA</i> (2003) <b>100</b>:9440&ndash;9445.
      `);
    case 'bh-q-value':
      return(`
	The minimum False Discovery Rate (FDR) required to consider this match significant.</br>` + get_doc_text('bh-q-value-method', extra) + `
      `);
    case 'sdb-name':
      return(`
	The name of the (FASTA) sequence database file.
      `);
    case 'sdb-psp':
      return(`
	The name of the position specific priors (PSP) file.
      `);
    case 'sdb-dist':
      return(`
	The name of the binned distribution of priors file.
      `);
    case 'sdb-count':
      return(`
	The number of sequences in the database.
      `);
    case 'sdb-letters':
      return(`
	The number of letters in the sequence database.
      `);
    case 'lastmod':
      return(`
	The date of the last modification to the ` + extra + ` database.
      `);
    case 'sequence-id':
      return(`
        The identifier of the sequence (from the FASTA sequence header line)` + extra + `
      `);
    case 'sequence-name':
      return(`
	` + extra + `name of the sequence extracted from the sequence identifier (in the FASTA sequence header line).<br>
	When you use the <code>--parse-genomic--coord</code> option, the sequence name ends at the
	first colon ':' (if any) present in the sequence\'s FASTA identifier.  Typically this is the
	chromosome or contig name.  With the <code>--parse-genomic--coord</code> option,
	the start and stop positions are in 0-based coordinates relative to the sequence start given 
	in the FASTA sequence identifier (just after the sequence name).</td> </tr>
      `);
    case 'sequence-desc':
      return(`
        The description appearing after the identifier of the sequence in the FASTA header line.
      `);
    case 'sequence-name':
    case 'alph-name':
      return(`
	The name of the alphabet symbol.
      `);
    case 'alph-bg':
      return(`
	The frequency of the alphabet symbol as defined by the background model.
      `);
    case 'match-start-seq':
      return(`
	The start position of the ` + extra + `; 1-based sequence coordinates.
      `);
    case 'match-stop-seq':
      return(`
	The end position of the ` + extra + `; 1-based sequence coordinates.
      `);
    case 'match-start-genomic':
      return(`
	The start position of the ` + extra + `; genomic coordinates.
      `);
    case 'match-stop-genomic':
      return(`
	The end position of the ` + extra + `; genomic coordinates.
      `);
    case 'parse-genomic-coord':
      return(`
	` + extra + ` was run with the <code>--parse-genomic-coord</code> option
	and has split the sequence identifier into sequence name, sequence start and sequence end 
	in genomic coordinates.
      `);

    // AME
    case 'ame-pvalue':
      return(`
	The optimal enrichment <i>p</i>-value of the motif according to the statistical test;
	not adjusted for multiple tests.
      `);
    case 'ame-adj-pvalue':
      return(`
	The optimal enrichment <i>p</i>-value of the motif according to the statistical test,
        adjusted for multiple tests using a Bonferroni correction. ` + extra + `
	If the best <i>p</i>-value is <i>p</i> before adjustment,
        and the number of multiple tests is <i>n</i>, then the adjusted
        <i>p</i>-value is 1 - (1-<i>p</i>)<i><sup>n</sup></i>.
      `);
    case 'ame-evalue':
      return(`
	The expected number of motifs that would be as enriched in the
        (primary) sequences as this one.  The <i>E</i>-value is the adjusted <i>p</i>-value
        multiplied by the number of motifs in the motif file(s).
      `);

    // CentriMo
    case 'centrimo-adj-pvalue':
      return(`
        The statistical significance of the enrichment of the motif, adjusted for multiple tests. ` + extra + `
      `);
    case 'centrimo-evalue':
      var evalue_html = `
        at least one region as enriched for best matches to the motif as the reported region
	(or would have optimal average distance to the sequence center as low as observed, 
	if you used the <code>--cd</code> option).
      `;
      return(`
	The expected number motifs that would have ` + (extra ? extra : evalue_html) + `
	The <i>E</i>-value is the adjusted <i>p</i>-value multiplied by the number of motifs in the
	input files(s).</td> </tr>
      `);
    case 'centrimo-bin-width':
      return(`
        The width (in sequence positions) of the most enriched region (default),
        <b>or</b> two times the average distance between the center of the best site
        and the sequence center if you used the option <code>--cd</code>.
        A best match to the motif is counted as being in the region if
        the center of the motif falls in the region.
      `);
    case 'centrimo-sites-in-bin':
      return(`
	The number of (positive) sequences whose best match to the motif `
	+ (extra ? extra : "falls in the reported region (default) or anywhere in the sequence (if you used the option <code>--cd</code>).") + `
	<br>Note: This number may be less than the number of
	(positive) sequences that have a best match in the region.
	The reason for this is that a sequence may have many matches that score
	equally best.  If <i>n</i> matches have the best score in a sequence, 1/<i>n</i> is added to the
	appropriate bin for each match.</td> </tr>
      `);
    case 'centrimo-mult-tests':
      return(`
	This is the number of multiple tests (<i>n</i>) done for this motif.
	It was used to adjust the <i>p</i>-value of a region for
	multiple tests using the formula:
	<br>&nbsp;&nbsp;
	  <i>p</i>' = 1 - (1-<i>p</i>)<sup><i>n</i></sup> where <i>p</i> is the unadjusted <i>p</i>-value.
	<br>
	The number of multiple tests is the number of regions
	considered times the number of score thresholds considered.
	It depends on the motif length, sequence length, and the type of
	optimizations being done (central enrichment, local enrichment, central distance or
	score optimization).</td> </tr>
      `);

    // GOMo
    case 'gomo-go-term':
      return(`
        The Gene Ontology Consortium term for a specific role or locality.
        Used for annotating genes with their functions.
      `);
    case 'gomo-score':
      return( `
	A score generated as the <a href="https://en.wikipedia.org/wiki/Geometric_mean">
	geometric mean</a> of <a href="https://en.wikipedia.org/wiki/Mann-Whitney_U_test">rank-sum test(s)</a> 
	for the particular Gene Ontology term. The two groups compared by the rank-sum test are scores of genes annotated 
	with the GO term and scores of genes not annotated with the GO term.</td> </tr>
      `);
    case 'gomo-p-value':
      return( `
	An empirically generated <i>p</i>-value for the enrichment of the GO term.<br>
	The null hypothesis is that by shuffling the labels on gene scores, 
	any possible association between the set of genes that a GO term annotates is destroyed. 
	A large number of scores are generated using the null hypothesis and the number of null 
	hypothesis scores that are better than each of the real scores is summed and then divided 
	by the total null hypothesis scores generated to calculate a <i>p</i>-value.</td> </tr>
      `);

    // MAST

    // MCAST
    case 'mcast-cluster-score':
      return( `
        The score that the hidden Markov model created by MCAST assigned to the motif cluster.<br>
        This is the sum of the scores of the individual motif matches in the cluster, plus a
        gap penalty, <i>g</i>, multiplied by the total size of the inter-motif gaps
        in the cluster.  Individual motif match scores are log2(<i>P(s)/p</i>), where <i>s</i> is the 
        <a href="javascript:help_refine('pop_motif_match_score')">log-odds score</a> 
        of the motif match, <i>P(s)</i> is the 
        <a href="javascript:help_refine('pop_motif_match_pvalue')"><i>p</i>-value</a> 
	of the motif match, and <i>p</i> is the user-specified <i>p</i>-value threshold (default: 0.0005).
        <div class="active" id="pop_motif_match_score_act"></div>
        <div class="active" id="pop_motif_match_pvalue_act"></div>
      `);
    case 'mcast-cluster-p-value':
      return( `
	The <i>p</i>-value of the motif cluster score.<br>
	MCAST estimates <i>p</i>-values by fitting an exponential distribution
	to the observed motif cluster scores.
      `);
    case 'mcast-cluster-E-value':
      return( `
        The <i>E</i>-value of the motif cluster score.<br>
	The <i>E</i>-value is an estimate of the <i>number</i> of false positive matches
	with <i>p</i>-values at least as good as this match\'s.  
        MCAST estimates this by multiplying the motif cluster score <i>p</i>-value
        times the (estimated) number of random matches found in the search.
      `);

    // Tomtom
    case 'tomtom-offset':
      return( `
        The offset of the query motif relative to the target motif in the optimal alignment.<br>
 	A positive value indicates the query is shifted right.
      `);
    case 'tomtom-p-value':
      return( `
        The probability that a random motif of the same width as the target would have an 
	optimal alignment with a match score as good or better than the target's.<br>
	Tomtom estimates the <i>p</i>-value using a null model consisting of sampling
	motif columns from all the columns in the set of target motifs.
      `);
    case 'tomtom-E-value':
      return( `
	The expected number of false positives in the matches up to this point.<br>
	Tomtom estimates the <i>E</i>-value by multiplying the <i>p</i>-value by
	the total number of target motifs in all the target databases.
      `);
    case 'tomtom-overlap':
      return( `
	The number of motif columns that overlap in the optimal alignment.
      `);
    case 'tomtom-orientation':
      return( `
	The orientation of the target motif that gave the optimal alignment. ` + extra + `
      `);
  }

} // get_doc_text

//
// Function to replace the innerHTML of element "id" with an HTML paragraph
// containing the text for 'doc_type', which is known to function get_doc_text.
// This function can be used in help pop-ups.
//
function print_doc_para(id, doc_type, extra) {
  html = `<p>` + get_doc_text(doc_type, extra) + `</p>`; 
  document.getElementById(id).insertAdjacentHTML('beforeend', html);
} // print_doc_para
</script>
    <script>
function make_alpha_bg_table(alph, freqs) {
  function colour_symbol(index) {
    var span = document.createElement("span");
    span.appendChild(document.createTextNode(alph.get_symbol(index)));
    span.style.color = alph.get_colour(index);
    span.className = "alpha_symbol";
    return span;
  }
  var table, thead, tbody, row, th, span, i;
  // create table
  table = document.createElement("table");
  table.className = "alpha_bg_table";
  // create header
  thead = document.createElement("thead");
  table.appendChild(thead);
  row = thead.insertRow(thead.rows.length);
  if (alph.has_complement()) {
    add_text_header_cell(row, "Name", "pop_alph_name");
    if (freqs != null) add_text_header_cell(row, "Freq.", "pop_alph_freq");
    if (alph.has_bg()) add_text_header_cell(row, "Bg.", "pop_alph_bg");
    add_text_header_cell(row, "");
    add_text_header_cell(row, "");
    add_text_header_cell(row, "");
    if (alph.has_bg()) add_text_header_cell(row, "Bg.", "pop_alph_bg");
    if (freqs != null) add_text_header_cell(row, "Freq.", "pop_alph_freq");
    add_text_header_cell(row, "Name", "pop_alph_name");
  } else {
    add_text_header_cell(row, "");
    add_text_header_cell(row, "Name", "pop_alph_name");
    if (freqs != null) add_text_header_cell(row, "Freq.", "pop_alph_freq");
    if (alph.has_bg()) add_text_header_cell(row, "Bg.", "pop_alph_bg");
  }
  // add alphabet entries
  tbody = document.createElement("tbody");
  table.appendChild(tbody);
  if (alph.has_complement()) {
    for (i = 0; i < alph.get_size_core(); i++) {
      var c = alph.get_complement(i);
      if (i > c) continue;
      row = tbody.insertRow(tbody.rows.length);
      add_text_cell(row, alph.get_name(i));
      if (freqs != null) add_text_cell(row, "" + freqs[i]);
      if (alph.has_bg()) add_text_cell(row, "" + alph.get_bg_freq(i));
      add_cell(row, colour_symbol(i)); 
      add_text_cell(row, "~");
      add_cell(row, colour_symbol(c)); 
      if (alph.has_bg()) add_text_cell(row, "" + alph.get_bg_freq(c));
      if (freqs != null) add_text_cell(row, "" + freqs[c]);
      add_text_cell(row, alph.get_name(c));
    }
  } else {
    for (i = 0; i < alph.get_size_core(); i++) {
      row = tbody.insertRow(tbody.rows.length);
      add_cell(row, colour_symbol(i)); 
      add_text_cell(row, alph.get_name(i));
      if (freqs != null) add_text_cell(row, "" + freqs[i]);
      if (alph.has_bg()) add_text_cell(row, "" + alph.get_bg_freq(i));
    }
  }
  return table;
}

</script>
    <script>
      // 
      // return true if any part of the passed element is visible in the viewport
      //
      function element_in_viewport(elem) {
        var rect;
        try {
          rect = elem.getBoundingClientRect();
        } catch (e) {
          return false;
        }
        return (
            rect.top < (window.innerHeight || document.body.clientHeight) &&
            rect.bottom > 0 &&
            rect.left < (window.innerWidth || document.body.clientWidth) &&
            rect.right > 0
            );
      }

      //
      // Functions to delay a drawing task until it is required or it would not lag the display to do so
      //

      // a list of items still to be drawn
      var drawable_list = [];
      // the delay between drawing objects that are not currently visible
      var draw_delay = 1;
      // the delay after a user interaction
      var user_delay = 300;
      // the delay after a user has stopped scrolling and is viewing the stuff drawn on the current page
      var stop_delay = 300;
      // the timer handle; allows resetting of the timer after user interactions
      var draw_timer = null;

      //
      // Drawable
      //
      // elem - a page element which defines the position on the page that drawing is to be done
      // task - an object with the method run which takes care of painting the object
      //
      var Drawable = function(elem, task) {
        this.elem = elem;
        this.task = task;
      }

      //
      // Drawable.is_visible
      //
      // Determines if the element is visible in the viewport
      //
      Drawable.prototype.is_visible = function() {
        return element_in_viewport(this.elem);
      }

      //
      // Drawable.run
      //
      // Run the task held by the drawable
      Drawable.prototype.run = function() {
        if (this.task) this.task.run();
        this.task = null;
      }

      //
      // Drawable.run
      //
      // Run the task iff visible
      // returns true if the task ran or has already run
      Drawable.prototype.run_visible = function() {
        if (this.task) {
          if (element_in_viewport(this.elem)) {
            this.task.run();
            this.task = null;
            return true;
          }
          return false;
        } else {
          return true;
        }
      }

      //
      // draw_on_screen
      //
      // Checks each drawable object and draws those on screen.
      //
      function draw_on_screen() {
        var found = false;
        for (var i = 0; i < drawable_list.length; i++) {
          if (drawable_list[i].run_visible()) {
            drawable_list.splice(i--, 1);
            found = true;
          }
        }
        return found;
      }

      //
      // process_draw_tasks
      //
      // Called on a delay to process the next available
      // draw task.
      //
      function process_draw_tasks() {
        var delay = draw_delay;
        draw_timer = null;
        if (drawable_list.length == 0) return; //no more tasks
        if (draw_on_screen()) {
          delay = stop_delay; //give the user a chance to scroll
        } else {
          //get next task
          var drawable = drawable_list.shift();
          drawable.task.run();
        }
        //allow UI updates between tasks
        draw_timer = window.setTimeout("process_draw_tasks()", delay);
      }

      //
      // delayed_process_draw_tasks
      //
      // Call process_draw_tasks after a short delay.
      // The delay serves to group multiple redundant events.       
      // Should be set as event handler for onscroll and onresize.
      //
      function delayed_process_draw_tasks() {
        //reset the timer
        if (drawable_list.length > 0) { 
          if (draw_timer != null) clearTimeout(draw_timer);
          draw_timer = window.setTimeout("process_draw_tasks()", user_delay);
        }
      }

      //
      // add_draw_task
      //
      // Add a drawing task to be called immediately if it is
      // visible, or to be called on a delay to reduce stuttering
      // effect on the web browser.
      function add_draw_task(elem, task) {
        drawable = new Drawable(elem, task);
        if (drawable.is_visible()) {
          task.run();
        } else {
          drawable_list.push(drawable);
          //reset timer
          if (draw_timer != null) clearTimeout(draw_timer);
          draw_timer = window.setTimeout("process_draw_tasks()", user_delay);
        }
      }

</script>
    <script>
//======================================================================
// start Alphabet object
//======================================================================
var Alphabet = function(alphabet, background) {
  "use strict";
  var i, j, sym, aliases, complement, comp_e_sym, ambigs, generate_background;
  generate_background = (background == null);
  if (generate_background) {
    background = [];
    for (i = 0; i < alphabet.ncore; i++) background[i] = 1.0 / alphabet.ncore;
  } else if (alphabet.ncore != background.length) {
    throw new Error("The background length does not match the alphabet length.");
  }
  this.name = alphabet.name;
  this.like = (alphabet.like != null ? alphabet.like.toUpperCase() : null);
  this.ncore = alphabet.ncore;
  this.symbols = alphabet.symbols;
  this.background = background;
  this.genbg = generate_background;
  this.encode = {};
  this.encode2core = {};
  this.complement = {};
  // check if all symbols are same case
  var seen_uc = false;
  var seen_lc = false;
  var check_case = function (syms) {
    var s, sym;
    if (typeof syms === "string") {
      for (s = 0; s < syms.length; s++) {
        sym = syms.charAt(s);
        if (sym >= 'a' && sym <= 'z') seen_lc = true;
        else if (sym >= 'A' && sym <= 'Z') seen_uc = true;
      }
    }
  };
  for (i = 0; i < this.symbols.length; i++) {
    check_case(this.symbols[i].symbol);
    check_case(this.symbols[i].aliases);
  }
  // now map symbols to indexes
  var update_array = function(array, syms, index) {
    var s, sym;
    if (typeof syms === "string") {
      for (s = 0; s < syms.length; s++) {
        sym = syms.charAt(s);
        array[sym] = index;
        // when only a single case is used, then encode as case insensitive
        if (seen_uc != seen_lc) {
          if (sym >= 'a' && sym <= 'z') {
            array[sym.toUpperCase()] = index;
          } else if (sym >= 'A' && sym <= 'Z') {
            array[sym.toLowerCase()] = index;
          }
        }
      }
    }
  }
  // map core symbols to index
  for (i = 0; i < this.ncore; i++) {
    update_array(this.encode2core, this.symbols[i].symbol, i);
    update_array(this.encode, this.symbols[i].symbol, i);
    update_array(this.encode2core, this.symbols[i].aliases, i);
    update_array(this.encode, this.symbols[i].aliases, i);
  }
  // map ambiguous symbols to index
  ambigs = {};
  for (i = this.ncore; i < this.symbols.length; i++) {
    update_array(this.encode, this.symbols[i].symbol, i);
    update_array(this.encode, this.symbols[i].aliases, i);
    ambigs[this.symbols[i].equals] = i;
  }
  // determine complements
  for (i = 0; i < this.ncore; i++) {
    complement = this.symbols[i].complement;
    if (typeof complement === "string") {
      this.complement[i] = this.encode2core[complement];
    }
  }
  next_symbol:
  for (i = this.ncore; i < this.symbols.length; i++) {
    complement = "";
    for (j = 0; j < this.symbols[i].equals.length; j++) {
      comp_e_sym = this.complement[this.encode2core[this.symbols[i].equals.charAt(j)]];
      if (typeof comp_e_sym !== "number") continue next_symbol;
      complement += this.symbols[comp_e_sym].symbol;
    }
    complement = complement.split("").sort().join("");
    if (typeof ambigs[complement] === "number") {
      this.complement[i] = ambigs[complement];
    }
  }
  // determine case insensitivity
  this.case_insensitive = true;
  if (seen_uc == seen_lc) {
    // when there is a mixture of cases it probably won't
    // be case insensitive but we still need to check
    loop:
    for (i = 0; i < this.symbols.length; i++) {
      sym = this.symbols[i].symbol;
      if (sym >= 'A' && sym <= 'Z') {
        if (this.encode[sym.toLowerCase()] != i) {
          this.case_insensitive = false;
          break loop;
        }
      } else if (sym >= 'a' && sym <= 'z') {
        if (this.encode[sym.toUpperCase()] != i) {
          this.case_insensitive = false;
          break loop;
        }
      }
      aliases = this.symbols[i].aliases;
      if (aliases != null) {
        for (j = 0; j < aliases.length; j++) {
          sym = aliases.charAt(j);
          if (sym >= 'A' && sym <= 'Z') {
            if (this.encode[sym.toLowerCase()] != i) {
              this.case_insensitive = false;
              break loop;
            }
          } else if (sym >= 'a' && sym <= 'z') {
            if (this.encode[sym.toUpperCase()] != i) {
              this.case_insensitive = false;
              break loop;
            }
          }
        }
      }
    }
  }
  // normalise aliases to remove the prime symbol and eliminate
  // the alternate cases when the alphabet is case insensitive
  var seen, out;
  for (i = 0; i < this.symbols.length; i++) {
    sym = this.symbols[i].symbol;
    aliases = this.symbols[i].aliases;
    if (typeof aliases != "string") aliases = "";
    seen = {};
    out = [];
    if (this.case_insensitive) {
      sym = sym.toUpperCase();
      aliases = aliases.toUpperCase();
    }
    seen[sym] = true;
    for (j = 0; j < aliases.length; j++) {
      if (!seen[aliases.charAt(j)]) {
        seen[aliases.charAt(j)] = true;
        out.push(aliases.charAt(j));
      }
    }
    this.symbols[i].aliases = out.sort().join("");
  }
};
// return the name of the alphabet
Alphabet.prototype.get_alphabet_name = function() {
  return this.name;
};
// return if the alphabet can be complemented
Alphabet.prototype.has_complement = function() {
  return (typeof this.symbols[0].complement === "string");
};
// return true if an uppercase letter has the same meaning as the lowercase form
Alphabet.prototype.is_case_insensitive = function() {
  return this.case_insensitive;
};
// return the information content of an alphabet letter
Alphabet.prototype.get_ic = function() {
  return Math.log(this.ncore) / Math.LN2;
};
// return the count of the core alphabet symbols
Alphabet.prototype.get_size_core = function() {
  return this.ncore;
};
// return the count of all alphabet symbols
Alphabet.prototype.get_size_full = function() {
  return this.symbols.length;
};
// return the symbol for the given alphabet index
Alphabet.prototype.get_symbol = function(alph_index) {
  "use strict";
  if (alph_index < 0 || alph_index >= this.symbols.length) {
    throw new Error("Alphabet index out of bounds");
  }
  return this.symbols[alph_index].symbol;
};
// return the aliases for the given alphabet index
Alphabet.prototype.get_aliases = function(alph_index) {
  "use strict";
  if (alph_index < 0 || alph_index >= this.symbols.length) {
    throw new Error("Alphabet index out of bounds");
  }
  var sym_obj = this.symbols[alph_index];
  return (sym_obj.aliases != null ? sym_obj.aliases : "");
};
// return the name for the given alphabet index
Alphabet.prototype.get_name = function(alph_index) {
  "use strict";
  var sym;
  if (alph_index < 0 || alph_index >= this.symbols.length) {
    throw new Error("Alphabet index out of bounds");
  }
  sym = this.symbols[alph_index];
  return (typeof sym.name === "string" ? sym.name : sym.symbol);
};
// return the alphabet it is like or null
Alphabet.prototype.get_like = function() {
  "use strict";
  return this.like;
};
// return the index of the complement for the given alphabet index
Alphabet.prototype.get_complement = function(alph_index) {
  var comp_e_sym = this.complement[alph_index];
  if (typeof comp_e_sym === "number") {
    return comp_e_sym;
  } else {
    return -1;
  }
};
// return a string containing the core symbols
Alphabet.prototype.get_symbols = function() {
  "use strict";
  var i, core_symbols;
  core_symbols = "";
  for (i = 0; i < this.ncore; i++) {
    core_symbols += this.symbols[i].symbol;
  }
  return core_symbols;
};
// return if the background was not a uniform generated background
Alphabet.prototype.has_bg = function() {
  "use strict";
  return !this.genbg;
};
// get the background frequency for the index
Alphabet.prototype.get_bg_freq = function(alph_index) {
  "use strict";
  var freq, i, symbols;
  if (alph_index >= 0) {
    if (alph_index < this.ncore) {
      return this.background[alph_index];
    } else if (alph_index < this.symbols.length) {
      freq = 0;
      symbols = this.symbols[alph_index].equals;
      for (i = 0; i < symbols.length; i++) {
        freq += this.background[this.encode2core[symbols.charAt(i)]];
      }
      return freq;
    } 
  }
  throw new Error("The alphabet index is out of range.");
};
// get the colour of the index
Alphabet.prototype.get_colour = function(alph_index) {
  "use strict";
  if (alph_index < 0 || alph_index >= this.symbols.length) {
    throw new Error("BAD_ALPHABET_INDEX");
  }
  if (typeof this.symbols[alph_index].colour != "string") {
    return "black";
  }
  return "#" + this.symbols[alph_index].colour;
};
// get the rgb components of the colour at the index
Alphabet.prototype.get_rgb = function(alph_index) {
  "use strict";
  if (alph_index < 0 || alph_index >= this.symbols.length) {
    throw new Error("BAD_ALPHABET_INDEX");
  }
  if (typeof this.symbols[alph_index].colour != "string") {
    return {"red": 0, "green": 0, "blue": 0};
  }
  var colour = this.symbols[alph_index].colour;
  var red = parseInt(colour.substr(0, 2), 16) / 255;
  var green = parseInt(colour.substr(2, 2), 16) / 255;
  var blue = parseInt(colour.substr(4, 2), 16) / 255;
  return {"red": red, "green": green, "blue": blue};
};
// convert a symbol into the index
Alphabet.prototype.get_index = function(letter) {
  "use strict";
  var alph_index;
  alph_index = this.encode[letter];
  if (typeof alph_index === "undefined") {
    return -1;
  }
  return alph_index;
};
// convert a symbol into the list of core indexes that it equals
Alphabet.prototype.get_indexes = function(letter) {
  "use strict";
  var alph_index, comprise_str, i, comprise_list;
  alph_index = this.encode[letter];
  if (typeof alph_index === "undefined") {
    throw new Error("Unknown letter");
  }
  comprise_str = this.symbols[alph_index].equals;
  comprise_list = [];
  if (typeof comprise_str == "string") {
    for (i = 0; i < comprise_str.length; i++) {
      comprise_list.push(this.encode2core[comprise_str.charAt(i)]);
    }
  } else {
    comprise_list.push(alph_index);
  }
  return comprise_list;
};
// check if a symbol is the primary way of representing the symbol in the alphabet
Alphabet.prototype.is_prime_symbol = function(letter) {
  var alph_index;
  alph_index = this.encode[letter];
  if (alph_index == null) return false;
  if (this.is_case_insensitive()) {
    return (this.symbols[alph_index].symbol.toUpperCase() == letter.toUpperCase());
  } else {
    return (this.symbols[alph_index].symbol == letter);
  }
};
// compare 2 alphabets
Alphabet.prototype.equals = function(other) {
  "use strict";
  var i, sym1, sym2;
  // first check that it's actually an alphabet object
  if (!(typeof other === "object" && other != null && other instanceof Alphabet)) {
    return false;
  }
  // second shortcircuit if it's the same object
  if (this === other) return true;
  // compare
  if (this.name !== other.name) return false;
  if (this.ncore !== other.ncore) return false;
  if (this.symbols.length !== other.symbols.length) return false;
  for (i = 0; i < this.symbols.length; i++) {
    sym1 = this.symbols[i];
    sym2 = other.symbols[i];
    if (sym1.symbol !== sym2.symbol) return false;
    if (sym1.aliases !== sym2.aliases) return false;
    if (sym1.name !== sym2.name) return false;
    if (typeof sym1.colour !== typeof sym2.colour || 
        (typeof sym1.colour === "string" && typeof sym2.colour === "string" &&
         parseInt(sym1.colour, 16) != parseInt(sym2.colour, 16))) {
      return false;
    }
    if (sym1.complement !== sym2.complement) return false;
    if (sym1.equals !== sym2.equals) return false;
  }
  return true;
};
Alphabet.prototype.check_core_subset = function(super_alph) {
  var complement_same = true;
  var seen_set = {};
  var sub_i, sub_symbol, super_i, super_symbol;
  for (sub_i = 0; sub_i < this.ncore; sub_i++) {
    sub_symbol = this.symbols[sub_i];
    super_i = super_alph.encode[sub_symbol.symbol]; 
    if (super_i == null) return 0;
    super_symbol = super_alph.symbols[super_i];
    if (seen_set[super_i]) return 0;
    seen_set[super_i] = true;
    // check complement
    if (sub_symbol.complement != null && super_symbol.complement != null) {
      if (super_alph.encode[sub_symbol.complement] != super_alph.encode[super_symbol.complement]) {
        complement_same = false;
      }
    } else if (sub_symbol.complement != null || super_symbol.complement != null) {
      complement_same = false;
    }
  }
  return (complement_same ? 1 : -1);
};
// convert a sequence to its reverse complement
Alphabet.prototype.invcomp_seq = function(seq) {
  "use strict";
  var syms, i, e_sym, comp_e_sym;
  if (!this.has_complement()) throw new Error("Alphabet must be complementable");
  syms = seq.split("");
  for (i = 0; i < syms.length; i++) {
    e_sym = this.encode[syms[i]];
    if (typeof e_sym === "undefined") {
      e_sym = this.ncore; // wildcard
    }
    comp_e_sym = this.complement[e_sym];
    if (typeof comp_e_sym === "undefined") {
      comp_e_sym = e_sym; // not complementable
    }
    syms[i] = this.symbols[comp_e_sym].symbol;
  }
  return syms.reverse().join("");
};
// convert the alphabet to the text version
Alphabet.prototype.as_text = function() {
  "use strict";
  function name_as_text(name) {
    var i, c, out;
    out = "\"";
    for (i = 0; i < name.length; i++) {
      c = name.charAt(i);
      if (c == "\"") {
        out += "\\\"";
      } else if (c == "/") {
        out += "\\/";
      } else if (c == "\\") {
        out += "\\\\";
      } else {
        out += c;
      }
    }
    out += "\"";
    return out;
  }
  function symbol_as_text(sym) {
    var out;
    out = sym.symbol;
    if (typeof sym.name === "string" && sym.name != sym.symbol) {
      out += " " + name_as_text(sym.name);
    }
    if (typeof sym.colour === "string") {
      out += " " + sym.colour;
    }
    return out;
  }
  var out, i, j, c, sym;
  out = "";
  // output core symbols with 2 way complements
  for (i = 0; i < this.ncore; i++) {
    c = this.complement[i];
    if (typeof c === "number" && i < c && this.complement[c] === i) {
      out += symbol_as_text(this.symbols[i]) + " ~ " + symbol_as_text(this.symbols[c]) + "\n";  
    }
  }
  // output core symbols with no complement
  for (i = 0; i < this.ncore; i++) {
    if (typeof this.complement[i] === "undefined") {
      out += symbol_as_text(this.symbols[i]) + "\n";
    }
  }
  // output ambiguous symbols that have comprising characters
  for (i = this.ncore; i < this.symbols.length; i++) {
    if (this.symbols[i].equals.length == 0) break;
    out += symbol_as_text(this.symbols[i]) + " = " + this.symbols[i].equals + "\n";
    if (typeof this.symbols[i].aliases === "string") {
      for (j = 0; j < this.symbols[i].aliases.length; j++) {
        if (this.symbols[i].aliases.charAt(j) == this.symbols[i].symbol) continue;
        out += this.symbols[i].aliases.charAt(j) + " = " + this.symbols[i].equals + "\n";
      }
    }
  }
  // output aliases of core symbols
  for (i = 0; i < this.ncore; i++) {
    if (typeof this.symbols[i].aliases === "string") {
      for (j = 0; j < this.symbols[i].aliases.length; j++) {
        if (this.symbols[i].aliases.charAt(j) == this.symbols[i].symbol) continue;
        out += this.symbols[i].aliases.charAt(j) + " = " + this.symbols[i].symbol + "\n";
      }
    }
  }
  // output gap symbols
  i = this.symbols.length - 1;
  if (this.symbols[i].equals.length == 0) {
    out += symbol_as_text(this.symbols[i]) + " =\n";
    if (typeof this.symbols[i].aliases === "string") {
      for (j = 0; j < this.symbols[i].aliases.length; j++) {
        if (this.symbols[i].aliases.charAt(j) == this.symbols[i].symbol) continue;
        out += this.symbols[i].aliases.charAt(j) + " =\n";
      }
    }
  }
  return out;
};
// output the alphabet as it appears in minimal MEME format
Alphabet.prototype.as_meme = function() {
  "use strict";
  function name_as_text(name) {
    var i, c, out;
    out = "\"";
    for (i = 0; i < name.length; i++) {
      c = name.charAt(i);
      if (c == "\"") {
        out += "\\\"";
      } else if (c == "/") {
        out += "\\/";
      } else if (c == "\\") {
        out += "\\\\";
      } else {
        out += c;
      }
    }
    out += "\"";
    return out;
  }
  if (this.equals(AlphStd.DNA)) {
    return "ALPHABET= ACGT\n";
  } else if (this.equals(AlphStd.PROTEIN)) {
    return "ALPHABET= ACDEFGHIKLMNPQRSTVWY\n";
  } else {
    return "ALPHABET" + 
      (this.name != null ? " " + name_as_text(this.name) : "") + 
      (this.like != null ? " " + this.like + "-LIKE" : "") + "\n" +
      this.as_text() + "END ALPHABET\n";
  }
};

// Returns a table showing all the letters in the alphabet
Alphabet.prototype.as_table = function() {
  "use strict";
  var i, j, row, th, td, aliases, equals, sym;
  var table = document.createElement("table");
  // create the core symbol header
  row = table.insertRow(table.rows.length);
  th = document.createElement("th");
  th.appendChild(document.createTextNode("Symbol(s)"));
  row.appendChild(th);
  th = document.createElement("th");
  th.appendChild(document.createTextNode("Name"));
  row.appendChild(th);
  th = document.createElement("th");
  if (this.has_complement()) {
    th.appendChild(document.createTextNode("Complement"));
  }
  row.appendChild(th);
  // list the core symbols
  for (i = 0; i < this.ncore; i++) {
    row = table.insertRow(table.rows.length);
    td = document.createElement("td");
    if (this.symbols[i].colour != null) {
      td.style.color = '#' + this.symbols[i].colour;
    }
    td.appendChild(document.createTextNode(this.symbols[i].symbol));
    aliases = this.get_aliases(i);
    if (aliases.length > 0) {
      td.appendChild(document.createTextNode(' ' + aliases.split('').join(' ')));
    }
    row.appendChild(td);
    td = document.createElement("td");
    if (this.symbols[i].name != null) {
      td.appendChild(document.createTextNode(this.symbols[i].name));
    }
    row.appendChild(td);
    td = document.createElement("td");
    if (this.symbols[i].complement != null) {
      td.style.color = this.get_colour(this.get_index(this.symbols[i].complement));
      td.appendChild(document.createTextNode(this.symbols[i].complement));
    }
    row.appendChild(td);
  }
  // create the ambiguous symbol header
  row = table.insertRow(table.rows.length);
  th = document.createElement("th");
  th.appendChild(document.createTextNode("Symbol(s)"));
  row.appendChild(th);
  th = document.createElement("th");
  th.appendChild(document.createTextNode("Name"));
  row.appendChild(th);
  th = document.createElement("th");
  th.appendChild(document.createTextNode("Matches"));
  row.appendChild(th);
  // list the ambiguous symbols
  for (i = this.ncore; i < this.symbols.length; i++) {
    row = table.insertRow(table.rows.length);
    td = document.createElement("td");
    if (this.symbols[i].colour != null) {
      td.style.color = '#' + this.symbols[i].colour;
    }
    td.appendChild(document.createTextNode(this.symbols[i].symbol));
    aliases = this.get_aliases(i);
    if (aliases.length > 0) {
      td.appendChild(document.createTextNode(' ' + aliases.split('').join(' ')));
    }
    row.appendChild(td);
    td = document.createElement("td");
    if (this.symbols[i].name != null) {
      td.appendChild(document.createTextNode(this.symbols[i].name));
    }
    row.appendChild(td);
    td = document.createElement("td");
    equals = this.symbols[i].equals.split('');
    for (j = 0; j < equals.length; j++) {
      if (j != 0) td.appendChild(document.createTextNode(' '));
      sym = document.createElement("span");
      sym.style.color = this.get_colour(this.get_index(equals[j]));
      sym.appendChild(document.createTextNode(equals[j]));
      td.appendChild(sym);
    }
    row.appendChild(td);
  }
  return table;
};

// returns a dictionary of the colours for EPS
Alphabet.prototype._as_eps_dict = function() {
  "use strict";
  var i, sym, rgb;
  var out = "/fullColourDict <<\n";
  for (i = 0; i < this.ncore; i++) {
    sym = this.get_symbol(i);
    sym = sym.replace(/\\/g, "\\\\");
    sym = sym.replace(/\(/g, "\\(");
    sym = sym.replace(/\)/g, "\\)");
    rgb = this.get_rgb(i);
    out += " (" + sym + ") [" + rgb.red.toFixed(4) + " " + rgb.green.toFixed(4) + " " + rgb.blue.toFixed(4) + "]\n";
  }
  out += ">> def\n";
  out += "/mutedColourDict <<\n";
  for (i = 0; i < this.ncore; i++) {
    sym = this.get_symbol(i);
    sym = sym.replace(/\\/g, "\\\\");
    sym = sym.replace(/\(/g, "\\(");
    sym = sym.replace(/\)/g, "\\)");
    rgb = Alphabet.lighten_colour(this.get_rgb(i));
    out += " (" + sym + ") [" + rgb.red.toFixed(4) + " " + rgb.green.toFixed(4) + " " + rgb.blue.toFixed(4) + "]\n";
  }
  out += ">> def\n";
  return out;
};

// return the alphabet name or a list of primary symbols
Alphabet.prototype.toString = function() {
  "use strict";
  if (this.name != null) {
    return this.name;
  } else {
    return this.get_symbols();
  }
};

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Helper functions
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

// Convert a colour specified in RGB colourspace values into LAB colourspace
Alphabet.rgb2lab = function(rgb) {
  "use strict";
  var xyzHelper, labHelper;
  // XYZ helper
  xyzHelper = function(value) {
    if (value > 0.0445) {
      value = (value + 0.055) / 1.055;
      value = Math.pow(value, 2.4);
    } else {
      value /= 12.92;
    }
    value *= 100;
    return value;
  };
  // lab helper
  labHelper = function(value) {
    if (value > 0.008856) {
      value = Math.pow(value, 1.0 / 3.0);
    } else {
      value = (7.787 * value) + (16.0 / 116.0);
    }
    return value;
  };
  // convert into XYZ colourspace
  var c1, c2, c3;
  if (typeof rgb == "number") {
    c1 = xyzHelper(((rgb >> 16) & 0xFF) / 255.0);
    c2 = xyzHelper(((rgb >> 8) & 0xFF) / 255.0);
    c3 = xyzHelper((rgb & 0xFF) / 255.0);
  } else {
    c1 = xyzHelper(rgb.red);
    c2 = xyzHelper(rgb.green);
    c3 = xyzHelper(rgb.blue);
  }
  var x = (c1 * 0.4124) + (c2 * 0.3576) + (c3 * 0.1805);
  var y = (c1 * 0.2126) + (c2 * 0.7152) + (c3 * 0.0722);
  var z = (c1 * 0.0193) + (c2 * 0.1192) + (c3 * 0.9505);
  // convert into Lab colourspace
  c1 = labHelper(x / 95.047);
  c2 = labHelper(y / 100.0);
  c3 = labHelper(z / 108.883);
  var l = (116.0 * c2) - 16;
  var a = 500.0 * (c1 - c2);
  var b = 200.0 * (c2 - c3);
  return {"l": l, "a": a, "b": b};
};

// Convert a colour specified in HSV colourspace into RGB colourspace
Alphabet.hsv2rgb = function(hue, sat, value, output_object) {
  // achromatic (grey)
  var r = value;
  var g = value;
  var b = value;
  if (sat != 0) {
    var h = hue / 60.0;
    var i = Math.floor(h);
    var f = h - i;
    var p = value * (1.0 - sat);
    var q = value * (1.0 - (sat * f));
    var t = value * (1.0 - (sat * (1.0 - f)));
    if (i == 0) {
      r = value;
      g = t;
      b = p;
    } else if (i == 1) {
      r = q;
      g = value;
      b = p;
    } else if (i == 2) {
      r = p;
      g = value;
      b = t;
    } else if (i == 3) {
      r = p;
      g = q;
      b = value;
    } else if (i == 4) {
      r = t;
      g = p;
      b = value;
    } else {
      r = value;
      g = p;
      b = q;
    }
  }
  if (output_object) {
    return {"red": r, "green": g, "blue": b};
  } else {
    return (Math.floor(r * 255) << 15) | (Math.floor(g * 255) << 8) | (Math.floor(b * 255));
  }
};

// Calculate a distance score between two colours in LAB colourspace
Alphabet.lab_dist = function(lab1, lab2) {
  var c1 = Math.sqrt((lab1.l * lab1.l) + (lab1.a * lab1.a));
  var c2 = Math.sqrt((lab2.l * lab2.l) + (lab2.a * lab2.a));
  var dc = c1 - c2;
  var dl = lab1.l - lab2.l;
  var da = lab1.a - lab2.a;
  var db = lab1.b - lab2.b;
  // we don't want NaN due to rounding errors so fudge things a bit...
  var dh = 0;
  var dh_squared = (da * da) + (db * db) - (dc * dc);
  if (dh_squared > 0) {
    dh = Math.sqrt(dh_squared);
  }
  var first = dl;
  var second = dc / (1.0 + (0.045 * c1));
  var third = dh / (1.0 + (0.015 * c1));
  return Math.sqrt((first * first) + (second * second) + (third * third));
};

// convert an RGB value into a HSL value
Alphabet.rgb2hsl = function(rgb) {
  "use strict";
  var min, max, delta, h, s, l, r, g, b;
  if (typeof rgb == "number") {
    r = ((rgb >> 16) & 0xFF) / 255.0;
    g = ((rgb >> 8) & 0xFF) / 255.0;
    b = (rgb & 0xFF) / 255.0;
  } else {
    r = rgb.red;
    g = rgb.green;
    b = rgb.blue;
  }
  min = Math.min(r, g, b);
  max = Math.max(r, g, b);
  delta = max - min;
  l = min + (delta / 2);
  if (max == min) {
    h = 0; // achromatic (grayscale)
    s = 0;
  } else {
    if (l > 0.5) {
      s = delta / (2 - max - min);
    } else {
      s = delta / (max + min);
    }
    if (max == r) {
      h = (g - b) / delta;
      if (g < b) h += 6;
    } else if (max == g) {
      h = ((b - r) / delta) + 2;
    } else {
      h = ((r - g) / delta) + 4;
    }
    h /= 6;
  }
  return {"h": h, "s": s, "l": l};
};

// convert a HSL value into an RGB value
Alphabet.hsl2rgb = function(hsl, output_object) {
  "use strict";
  function _hue(p, q, t) {
    "use strict";
    if (t < 0) t += 1;
    else if (t > 1) t -= 1;
    if (t < (1.0 / 6.0)) {
      return p + ((q - p) * 6.0 * t);
    } else if (t < 0.5) {
      return q;
    } else if (t < (2.0 / 3.0)) {
      return p + ((q - p) * ((2.0 / 3.0) - t) * 6.0);
    } else {
      return p;
    }
  }
  var r, g, b, p, q;
  if (hsl.s == 0) {
    // achromatic (grayscale)
    r = hsl.l;
    g = hsl.l;
    b = hsl.l;
  } else {
    if (hsl.l < 0.5) {
      q = hsl.l * (1 + hsl.s);
    } else {
      q = hsl.l + hsl.s - (hsl.l * hsl.s);
    }
    p = (2 * hsl.l) - q;
    r = _hue(p, q, hsl.h + (1.0 / 3.0));
    g = _hue(p, q, hsl.h);
    b = _hue(p, q, hsl.h - (1.0 / 3.0));
  }
  if (output_object) {
    return {"red": r, "green": g, "blue": b};
  } else {
    return (Math.floor(r * 255) << 15) | (Math.floor(g * 255) << 8) | (Math.floor(b * 255));
  }
};

Alphabet.lighten_colour = function(rgb) {
  "use strict";
  var hsl = Alphabet.rgb2hsl(rgb);
  hsl.l += (1.0 - hsl.l) * 2 / 3;
  return Alphabet.hsl2rgb(hsl, typeof rgb != "number");
};

//======================================================================
// end Alphabet object
//======================================================================

//======================================================================
// start StandardAlphabet object
//======================================================================

// an extension of the alphabet object to support some additional fields 
// only present in standard alphabets.
var StandardAlphabet = function(enum_code, enum_name, alphabet_data) {
  Alphabet.apply(this, [alphabet_data]);
  this.enum_code = enum_code;
  this.enum_name = enum_name;
};
StandardAlphabet.prototype = Alphabet.prototype;
StandardAlphabet.prototype.constructor = StandardAlphabet;

// A unique code for this standard alphabet.
// This code will be a power of 2 to enable creation of bitsets for
// a selection of standard alphabets.
StandardAlphabet.prototype.get_code = function() {
  return this.enum_code;
};

// A unique name for this standard alphabet.
// this name will be all upper case and the same as the property that
// refers to this alphabet in the AlphStd collection.
StandardAlphabet.prototype.get_enum = function() {
  return this.enum_name;
};

//======================================================================
// end StandardAlphabet object
//======================================================================

// A collection of standard alphabets.
var AlphStd = {
  RNA: new StandardAlphabet(1, "RNA", {
    "name": "RNA",
    "like": "RNA",
    "ncore": 4,
    "symbols": [
      {"symbol": "A", "name": "Adenine", "colour": "CC0000"},
      {"symbol": "C", "name": "Cytosine", "colour": "0000CC"},
      {"symbol": "G", "name": "Guanine", "colour": "FFB300"},
      {"symbol": "U", "name": "Uracil", "colour": "008000",
        "aliases": "T"},
      {"symbol": "N", "name": "Any base", "equals": "ACGU", "aliases": "X."},
      {"symbol": "V", "name": "Not U", "equals": "ACG"},
      {"symbol": "H", "name": "Not G", "equals": "ACU"},
      {"symbol": "D", "name": "Not C", "equals": "AGU"},
      {"symbol": "B", "name": "Not A", "equals": "CGU"},
      {"symbol": "M", "name": "Amino", "equals": "AC"},
      {"symbol": "R", "name": "Purine", "equals": "AG"},
      {"symbol": "W", "name": "Weak", "equals": "AU"}, 
      {"symbol": "S", "name": "Strong", "equals": "CG"},
      {"symbol": "Y", "name": "Pyrimidine", "equals": "CU"},
      {"symbol": "K", "name": "Keto", "equals": "GU"}
    ]
  }), 
  DNA: new StandardAlphabet(2, "DNA", {
    "name": "DNA",
    "like": "DNA",
    "ncore": 4,
    "symbols": [
      {"symbol": "A", "name": "Adenine", "colour": "CC0000", "complement": "T"},
      {"symbol": "C", "name": "Cytosine", "colour": "0000CC", "complement": "G"},
      {"symbol": "G", "name": "Guanine", "colour": "FFB300", "complement": "C"},
      {"symbol": "T", "name": "Thymine", "colour": "008000", "complement": "A",
        "aliases": "U"},
      {"symbol": "N", "name": "Any base", "equals": "ACGT", "aliases": "X."},
      {"symbol": "V", "name": "Not T", "equals": "ACG"},
      {"symbol": "H", "name": "Not G", "equals": "ACT"},
      {"symbol": "D", "name": "Not C", "equals": "AGT"},
      {"symbol": "B", "name": "Not A", "equals": "CGT"},
      {"symbol": "M", "name": "Amino", "equals": "AC"},
      {"symbol": "R", "name": "Purine", "equals": "AG"},
      {"symbol": "W", "name": "Weak", "equals": "AT"}, 
      {"symbol": "S", "name": "Strong", "equals": "CG"},
      {"symbol": "Y", "name": "Pyrimidine", "equals": "CT"},
      {"symbol": "K", "name": "Keto", "equals": "GT"}
    ]
  }), 
  PROTEIN: new StandardAlphabet(4, "PROTEIN", {
    "name": "Protein",
    "like": "PROTEIN",
    "ncore": 20,
    "symbols": [
      {"symbol": "A", "name": "Alanine", "colour": "0000CC"},
      {"symbol": "C", "name": "Cysteine", "colour": "0000CC"},
      {"symbol": "D", "name": "Aspartic acid", "colour": "FF00FF"},
      {"symbol": "E", "name": "Glutamic acid", "colour": "FF00FF"},
      {"symbol": "F", "name": "Phenylalanine", "colour": "0000CC"},
      {"symbol": "G", "name": "Glycine", "colour": "FFB300"},
      {"symbol": "H", "name": "Histidine", "colour": "FFCCCC"},
      {"symbol": "I", "name": "Isoleucine", "colour": "0000CC"},
      {"symbol": "K", "name": "Lysine", "colour": "CC0000"},
      {"symbol": "L", "name": "Leucine", "colour": "0000CC"},
      {"symbol": "M", "name": "Methionine", "colour": "0000CC"},
      {"symbol": "N", "name": "Asparagine", "colour": "008000"},
      {"symbol": "P", "name": "Proline", "colour": "FFFF00"},
      {"symbol": "Q", "name": "Glutamine", "colour": "008000"},
      {"symbol": "R", "name": "Arginine", "colour": "CC0000"},
      {"symbol": "S", "name": "Serine", "colour": "008000"},
      {"symbol": "T", "name": "Threonine", "colour": "008000"},
      {"symbol": "V", "name": "Valine", "colour": "0000CC"},
      {"symbol": "W", "name": "Tryptophan", "colour": "0000CC"},
      {"symbol": "Y", "name": "Tyrosine", "colour": "33E6CC"},
      {"symbol": "X", "name": "Any amino acid", "equals": "ACDEFGHIKLMNPQRSTVWY", "aliases": "*."},
      {"symbol": "B", "name": "Asparagine or Aspartic acid", "equals": "DN"}, 
      {"symbol": "Z", "name": "Glutamine or Glutamic acid", "equals": "EQ"}, 
      {"symbol": "J", "name": "Leucine or Isoleucine", "equals": "IL"}
    ]
  })
};

//======================================================================
// start Symbol object
//======================================================================
var Symbol = function(alph_index, scale, alphabet) {
  "use strict";
  //variable prototype
  this.symbol = alphabet.get_symbol(alph_index);
  this.scale = scale;
  this.colour = alphabet.get_colour(alph_index);
};

Symbol.prototype.get_symbol = function() {
  "use strict";
  return this.symbol;
};

Symbol.prototype.get_scale = function() {
  "use strict";
  return this.scale;
};

Symbol.prototype.get_colour = function() {
  "use strict";
  return this.colour;
};

Symbol.prototype.toString = function() {
  "use strict";
  return this.symbol + " " + (Math.round(this.scale*1000)/10) + "%";
};

function compare_symbol(sym1, sym2) {
  "use strict";
  if (sym1.get_scale() < sym2.get_scale()) {
    return -1;
  } else if (sym1.get_scale() > sym2.get_scale()) {
    return 1;
  } else {
    return 0;
  }
}
//======================================================================
// end Symbol object
//======================================================================

//======================================================================
// start Pspm object
//======================================================================
var Pspm = function(matrix, name, ltrim, rtrim, nsites, evalue, pssm, alt) {
  "use strict";
  var row, col, data, row_sum, delta, evalue_re;
  if (typeof name !== "string") {
    name = "";
  }
  this.name = name;
  //construct
  if (matrix instanceof Pspm) {
    // copy constructor
    this.alph_length = matrix.alph_length;
    this.motif_length = matrix.motif_length;
    this.name = matrix.name;
    this.alt = matrix.alt;
    this.nsites = matrix.nsites;
    this.evalue = matrix.evalue;
    this.ltrim = matrix.ltrim;
    this.rtrim = matrix.rtrim;
    this.pspm = [];
    for (row = 0; row < matrix.motif_length; row++) {
      this.pspm[row] = [];
      for (col = 0; col < matrix.alph_length; col++) {
        this.pspm[row][col] = matrix.pspm[row][col];
      }
    }
    if (matrix.pssm != null) {
      this.pssm = [];
      for (row = 0; row < matrix.motif_length; row++) {
        this.pspm[row] = [];
        for (col = 0; col < matrix.alph_length; col++) {
          this.pssm[row][col] = matrix.pssm[row][col];
        }
      }
    }
  } else {
    // check parameters
    if (ltrim == null) {
      ltrim = 0;
    } else if (typeof ltrim !== "number" || ltrim % 1 !== 0 || ltrim < 0) {
      throw new Error("ltrim must be a non-negative integer, got: " + ltrim);
    }
    if (rtrim == null) {
      rtrim = 0;
    } else if (typeof rtrim !== "number" || rtrim % 1 !== 0 || rtrim < 0) {
      throw new Error("rtrim must be a non-negative integer, got: " + rtrim);
    }
    if (nsites != null) {
      if (typeof nsites !== "number" || nsites < 0) {
        throw new Error("nsites must be a positive number, got: " + nsites);
      } else if (nsites == 0) {
        nsites = null;
      }
    }
    if (evalue != null) {
      if (typeof evalue === "number") {
        if (evalue < 0) {
          throw new Error("evalue must be a non-negative number, got: " + evalue);
        }
      } else if (typeof evalue === "string") {
        evalue_re = /^((?:[+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|inf)$/;
        if (!evalue_re.test(evalue)) {
          throw new Error("evalue must be a non-negative number, got: " + evalue);
        }
      } else {
        throw new Error("evalue must be a non-negative number, got: " + evalue);
      }
    }
    // set properties
    this.name = name;
    this.alt = alt;
    this.nsites = nsites;
    this.evalue = evalue;
    this.ltrim = ltrim;
    this.rtrim = rtrim;
    if (typeof matrix === "string") {
      // string constructor
      data = parse_pspm_string(matrix);
      this.alph_length = data["alph_length"];
      this.motif_length = data["motif_length"];
      this.pspm = data["pspm"];
      if (this.evalue == null) {
        if (data["evalue"] != null) {
          this.evalue = data["evalue"];
        } else {
          this.evalue = 0;
        }
      }
      if (this.nsites == null) {
        if (typeof data["nsites"] === "number") {
          this.nsites = data["nsites"];
        } else {
          this.nsites = 20;
        }
      }
    } else {
      // assume pspm is a nested array
      this.motif_length = matrix.length;
      this.alph_length = (matrix.length > 0 ? matrix[0].length : 0);
      if (this.nsites == null) {
        this.nsites = 20;
      }
      if (this.evalue == null) {
        this.evalue = 0;
      }
      this.pspm = [];
      // copy pspm and check
      for (row = 0; row < this.motif_length; row++) {
        if (this.alph_length != matrix[row].length) {
          throw new Error("COLUMN_MISMATCH");
        }
        this.pspm[row] = [];
        row_sum = 0;
        for (col = 0; col < this.alph_length; col++) {
          this.pspm[row][col] = matrix[row][col];
          row_sum += this.pspm[row][col];
        }
        delta = 0.1;
        if (isNaN(row_sum) || (row_sum > 1 && (row_sum - 1) > delta) || 
            (row_sum < 1 && (1 - row_sum) > delta)) {
          throw new Error("INVALID_SUM");
        }
      }
      // copy pssm
      if (pssm != null) {
        this.pssm = [];
        for (row = 0; row < this.motif_length; row++) {
          this.pssm[row] = [];
          for (col = 0; col < this.alph_length; col++) {
            this.pssm[row][col] = pssm[row][col];
          }
        }
      }
    }
  }
};

Pspm.prototype.copy = function() {
  "use strict";
  return new Pspm(this);
};

Pspm.prototype.reverse = function() {
  "use strict";
  var x, y, temp, temp_trim;
  //reverse
  x = 0;
  y = this.motif_length-1;
  while (x < y) {
    temp = this.pspm[x];
    this.pspm[x] = this.pspm[y];
    this.pspm[y] = temp;
    x++;
    y--;
  }
  // reverse pssm (if defined)
  if (typeof this.pssm !== "undefined") {
    //reverse
    x = 0;
    y = this.motif_length-1;
    while (x < y) {
      temp = this.pssm[x];
      this.pspm[x] = this.pssm[y];
      this.pssm[y] = temp;
      x++;
      y--;
    }
  }
  //swap triming
  temp_trim = this.ltrim;
  this.ltrim = this.rtrim;
  this.rtrim = temp_trim;
  return this; //allow function chaining...
};

Pspm.prototype.reverse_complement = function(alphabet) {
  "use strict";
  var x, y, temp, i, row, c, temp_trim;
  if (this.alph_length != alphabet.get_size_core()) {
    throw new Error("The alphabet size does not match the size of the pspm.");
  }
  if (!alphabet.has_complement()) {
    throw new Error("The specified alphabet can not be complemented.");
  }
  // reverse motif
  this.reverse();
  //complement
  for (x = 0; x < this.motif_length; x++) {
    row = this.pspm[x];
    for (i = 0; i < row.length; i++) {
      c = alphabet.get_complement(i);
      if (c < i) continue;
      temp = row[i];
      row[i] = row[c];
      row[c] = temp;
    }
  }
  // complement pssm (if defined)
  if (typeof this.pssm !== "undefined") {
    //complement
    for (x = 0; x < this.motif_length; x++) {
      row = this.pssm[x];
      for (i = 0; i < row.length; i++) {
        c = alphabet.get_complement(i);
        if (c < i) continue;
        temp = row[i];
        row[i] = row[c];
        row[c] = temp;
      }
    }
  }
  return this; //allow function chaining...
};

Pspm.prototype.get_stack = function(position, alphabet, ssc) {
  "use strict";
  var row, stack_ic, alphabet_ic, stack, i, sym;
  if (this.alph_length != alphabet.get_size_core()) {
    throw new Error("The alphabet size does not match the size of the pspm.");
  }
  row = this.pspm[position];
  stack_ic = this.get_stack_ic(position, alphabet);
  if (ssc) stack_ic -= this.get_error(alphabet);
  alphabet_ic = alphabet.get_ic();
  stack = [];
  for (i = 0; i < this.alph_length; i++) {
    sym = new Symbol(i, row[i]*stack_ic/alphabet_ic, alphabet);
    if (sym.get_scale() <= 0) {
      continue;
    }
    stack.push(sym);
  }
  stack.sort(compare_symbol);
  return stack;
};

Pspm.prototype.get_stack_ic = function(position, alphabet) {
  "use strict";
  var row, H, i;
  if (this.alph_length != alphabet.get_size_core()) {
    throw new Error("The alphabet size does not match the size fo the pspm.");
  }
  row = this.pspm[position];
  H = 0;
  for (i = 0; i < this.alph_length; i++) {
    if (row[i] === 0) {
      continue;
    }
    H -= (row[i] * (Math.log(row[i]) / Math.LN2));
  }
  return alphabet.get_ic() - H;
};

Pspm.prototype.get_error = function(alphabet) {
  "use strict";
  if (this.nsites === 0) {
    return 0;
  }
  return (alphabet.get_size_core()-1) / (2 * Math.LN2 * this.nsites);
};

Pspm.prototype.get_motif_length = function() {
  "use strict";
  return this.motif_length;
};

Pspm.prototype.get_alph_length = function() {
  "use strict";
  return this.alph_length;
};

Pspm.prototype.get_left_trim = function() {
  "use strict";
  return this.ltrim;
};

Pspm.prototype.get_right_trim = function() {
  "use strict";
  return this.rtrim;
};

Pspm.prototype.as_best_match = function(alphabet) {
  "use strict";
  var match, odds, best_odds, best_index;
  var i, j;
  match = "";
  for (i = 0; i < this.motif_length; i++) {
    best_index = 0;
    best_odds = this.pspm[i][0] / alphabet.get_bg_freq(0);
    for (j = 1; j < this.alph_length; j++) {
      odds = this.pspm[i][j] / alphabet.get_bg_freq(j);
      if (odds > best_odds) {
        best_odds = odds;
        best_index = j;
      }
    }
    match += alphabet.get_symbol(best_index);
  }
  return match;
};

Pspm.prototype.as_count_matrix = function() {
  "use strict";
  var count, count_text, text;
  var i, j;
  text = "";
  for (i = 0; i < this.motif_length; i++) {
    if (i !== 0) {
      text += "\n";
    }
    for (j = 0; j < this.alph_length; j++) {
      if (j !== 0) {
        text += " ";
      }
      count = Math.round(this.nsites * this.pspm[i][j]);
      count_text = "" + count;
      // pad up to length of 4
      if (count_text.length < 4) {
        text += (new Array(5 - count_text.length)).join(" ") + count_text;
      } else {
        text += count_text;
      }
    }
  }
  return text; 
};

Pspm.prototype.as_probability_matrix = function() {
  "use strict";
  var text;
  var i, j;
  text = "";
  for (i = 0; i < this.motif_length; i++) {
    if (i !== 0) {
      text += "\n";
    }
    for (j = 0; j < this.alph_length; j++) {
      if (j !== 0) {
        text += " ";
      }
      text += this.pspm[i][j].toFixed(6);
    }
  }
  return text; 
};

Pspm.prototype.as_score_matrix = function(alphabet, pseudo) {
  "use strict";
  var me, score, out, row, col, score_text;
  me = this;
  if (typeof this.pssm === "undefined") {
    if (!(typeof alphabet === "object" && alphabet != null && alphabet instanceof Alphabet)) {
      throw new Error("The alphabet is required to generate the pssm.");
    }
    if (typeof pseudo === "undefined") {
      pseudo = 0.01;
    } else if (typeof pseudo !== "number" || pseudo < 0) {
      throw new Error("Expected positive number for pseudocount");
    }
    score = function(row, col) {
      "use strict";
      var p, bg, p2;
      p = me.pspm[row][col];
      bg = alphabet.get_bg_freq(col);
      p2 = (p * me.nsites + bg * pseudo) / (me.nsites + pseudo);
      return (p2 > 0 ? Math.round((Math.log(p2 / bg) / Math.LN2) * 100) : -10000);
    };
  } else {
    score = function(row, col) {
      "use strict";
      return me.pssm[row][col];
    };
  }
  out = "";
  for (row = 0; row < this.motif_length; row++) {
    for (col = 0; col < this.alph_length; col++) {
      if (col !== 0) {
        out += " ";
      }
      score_text = "" + score(row, col);
      // pad out to 6 characters
      if (score_text.length < 6) {
        out += (new Array(7 - score_text.length)).join(" ") + score_text;
      } else {
        out += score_text;
      }
    }
    out += "\n";
  }
  return out;
}

Pspm.prototype.as_pspm = function() {
  "use strict";
  return "letter-probability matrix: alength= " + this.alph_length + 
      " w= " + this.motif_length + " nsites= " + this.nsites + 
      " E= " + (typeof this.evalue === "number" ? 
          this.evalue.toExponential() : this.evalue) + "\n" +
      this.as_probability_matrix();
};

Pspm.prototype.as_pssm = function(alphabet, pseudo) {
  "use strict";
  return "log-odds matrix: alength= " + this.alph_length + 
      " w= " + this.motif_length + 
      " E= " + (typeof this.evalue == "number" ?
          this.evalue.toExponential() : this.evalue) + "\n" +
      this.as_score_matrix(alphabet, pseudo);
};

Pspm.prototype.as_meme = function(options) {
  var with_header, with_pspm, with_pssm, version, alphabet, bg_source, pseudocount, strands;
  var out, alen, i;
  // get the options
  if (typeof options !== "object" || options === null) {
    options = {};
  }
  with_header = (typeof options["with_header"] === "boolean" ? options["with_header"] : false);
  with_pspm = (typeof options["with_pspm"] === "boolean" ? options["with_pspm"] : false);
  with_pssm = (typeof options["with_pssm"] === "boolean" ? options["with_pssm"] : false);
  if (!with_pspm && !with_pssm) with_pspm = true;
  if (with_header) {
    if (typeof options["version"] === "string" && /^\d+(?:\.\d+){0,2}$/.test(options["version"])) {
      version = options["version"];
    } else if (typeof options["version"] === "number") {
      version = options["version"].toFixed(0);
    } else {
      version = "4";
    }
    if (typeof options["strands"] === "number" && options["strands"] === 1) {
      strands = 1;
    } else {
      strands = 2;
    }
    if (typeof options["bg_source"] === "string") {
      bg_source = options["bg_source"];
    } else {
      bg_source = "unknown source";
    }
    if (typeof options["alphabet"] === "object" && options["alphabet"] != null
        && options["alphabet"] instanceof Alphabet) {
      alphabet = options["alphabet"];
    } else {
      throw new Error("The alphabet is required to generate the header.");
    }
  }
  // now create the output
  out = "";
  if (with_header) {
    out = "MEME version " + version + "\n\n";
    out += alphabet.as_meme() + "\n";
    if (alphabet.has_complement()) { // assume DNA has both strands unless otherwise specified
      out += "strands: " + (strands === 1 ? "+" : "+ -") + "\n\n";
    }
    out += "Background letter frequencies (from " + bg_source + "):\n";
    alen = alphabet.get_size_core();
    for (i = 0; i < alen; i++) {
      if (i !== 0) {
        if (i % 9 === 0) { // maximum of nine entries per line
          out += "\n";
        } else {
          out += " ";
        }
      }
      out += alphabet.get_symbol(i) + " " + alphabet.get_bg_freq(i).toFixed(3);
    }
  }
  out += "\n\n";
  out += "MOTIF " + this.name + (this.alt == null ? "" : " " + this.alt);
  if (with_pssm) {
    out += "\n\n";
    out += this.as_pssm(options["alphabet"], options["pseudocount"]);
  }
  if (with_pspm) {
    out += "\n\n";
    out += this.as_pspm();
  }
  return out;
}

Pspm.prototype.toString = function() {
  "use strict";
  var str, i, row;
  str = "";
  for (i = 0; i < this.pspm.length; i++) {
    row = this.pspm[i];
    str += row.join("\t") + "\n";
  }
  return str;
};

function parse_pspm_properties(str) {
  "use strict";
  var parts, i, eqpos, before, after, properties, prop, num, num_re;
  num_re = /^((?:[+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|inf)$/;
  parts = trim(str).split(/\s+/);
  // split up words containing =
  for (i = 0; i < parts.length;) {
    eqpos = parts[i].indexOf("=");
    if (eqpos != -1) {
      before = parts[i].substr(0, eqpos);
      after = parts[i].substr(eqpos+1);
      if (before.length > 0 && after.length > 0) {
        parts.splice(i, 1, before, "=", after);
        i += 3;
      } else if (before.length > 0) {
        parts.splice(i, 1, before, "=");
        i += 2;
      } else if (after.length > 0) {
        parts.splice(i, 1, "=", after);
        i += 2;
      } else {
        parts.splice(i, 1, "=");
        i++;
      }
    } else {
      i++;
    }
  }
  properties = {};
  for (i = 0; i < parts.length; i += 3) {
    if (parts.length - i < 3) {
      throw new Error("Expected PSPM property was incomplete. "+
          "Remaing parts are: " + parts.slice(i).join(" "));
    }
    if (parts[i+1] !== "=") {
      throw new Error("Expected '=' in PSPM property between key and " +
          "value but got " + parts[i+1]); 
    }
    prop = parts[i].toLowerCase();
    num = parts[i+2];
    if (!num_re.test(num)) {
      throw new Error("Expected numeric value for PSPM property '" + 
          prop + "' but got '" + num + "'");
    }
    properties[prop] = num;
  }
  return properties;
}

function parse_pspm_string(pspm_string) {
  "use strict";
  var header_re, lines, first_line, line_num, col_num, alph_length, 
      motif_length, nsites, evalue, pspm, i, line, match, props, parts,
      j, prob;
  header_re = /^letter-probability\s+matrix:(.*)$/i;
  lines = pspm_string.split(/\n/);
  first_line = true;
  line_num = 0;
  col_num = 0;
  alph_length;
  motif_length;
  nsites;
  evalue;
  pspm = [];
  for (i = 0; i < lines.length; i++) {
    line = trim(lines[i]);
    if (line.length === 0) { 
      continue;
    }
    // check the first line for a header though allow matrices without it
    if (first_line) {
      first_line = false;
      match = header_re.exec(line);
      if (match !== null) {
        props = parse_pspm_properties(match[1]);
        if (props.hasOwnProperty("alength")) {
          alph_length = parseFloat(props["alength"]);
          if (alph_length != 4 && alph_length != 20) {
            throw new Error("PSPM property alength should be 4 or 20" +
                " but got " + alph_length);
          }
        }
        if (props.hasOwnProperty("w")) {
          motif_length = parseFloat(props["w"]);
          if (motif_length % 1 !== 0 || motif_length < 1) {
            throw new Error("PSPM property w should be an integer larger " +
                "than zero but got " + motif_length);
          }
        }
        if (props.hasOwnProperty("nsites")) {
          nsites = parseFloat(props["nsites"]);
          if (nsites <= 0) {
            throw new Error("PSPM property nsites should be larger than " +
                "zero but got " + nsites);
          }
        }
        if (props.hasOwnProperty("e")) {
          evalue = props["e"];
          if (evalue < 0) {
            throw new Error("PSPM property evalue should be " +
                "non-negative but got " + evalue);
          }
        }
        continue;
      }
    }
    pspm[line_num] = [];
    col_num = 0;
    parts = line.split(/\s+/);
    for (j = 0; j < parts.length; j++) {
      prob = parseFloat(parts[j]);
      if (prob != parts[j] || prob < 0 || prob > 1) {
        throw new Error("Expected probability but got '" + parts[j] + "'"); 
      }
      pspm[line_num][col_num] = prob;
      col_num++;
    }
    line_num++;
  }
  if (typeof motif_length === "number") {
    if (pspm.length != motif_length) {
      throw new Error("Expected PSPM to have a motif length of " + 
          motif_length + " but it was actually " + pspm.length);
    }
  } else {
    motif_length = pspm.length;
  }
  if (typeof alph_length !== "number") {
    alph_length = pspm[0].length;
    if (alph_length != 4 && alph_length != 20) {
      throw new Error("Expected length of first row in the PSPM to be " +
          "either 4 or 20 but got " + alph_length);
    }
  }
  for (i = 0; i < pspm.length; i++) {
    if (pspm[i].length != alph_length) {
      throw new Error("Expected PSPM row " + i + " to have a length of " + 
          alph_length + " but the length was " + pspm[i].length);
    }
  }
  return {"pspm": pspm, "motif_length": motif_length, 
    "alph_length": alph_length, "nsites": nsites, "evalue": evalue};
}
//======================================================================
// end Pspm object
//======================================================================

//======================================================================
// start Logo object
//======================================================================

var Logo = function(alphabet, options) {
  "use strict";
  this.alphabet = alphabet;
  this.fine_text = "";
  this.x_axis = 1;
  this.y_axis = true;
  this.xlate_nsyms = 1;
  this.xlate_start = null;
  this.xlate_end = null;
  this.pspm_list = [];
  this.pspm_column = [];
  this.rows = 0;
  this.columns = 0;
  if (typeof options === "string") {
    // the old method signature had fine_text here so we support that
    this.fine_text = options;
  } else if (typeof options === "object" && options != null) {
    this.fine_text = (typeof options.fine_text === "string" ? options.fine_text : "");
    this.x_axis = (typeof options.x_axis === "boolean" ? (options.x_axis ? 1 : 0) : 1);
    if (options.x_axis_hidden != null && options.x_axis_hidden) this.x_axis = -1;
    this.y_axis = (typeof options.y_axis === "boolean" ? options.y_axis : true);
    this.xlate_nsyms = (typeof options.xlate_nsyms === "number" ? options.xlate_nsyms : this.xlate_nsyms);
    this.xlate_start = (typeof options.xlate_start === "number" ? options.xlate_start : this.xlate_start);
    this.xlate_end = (typeof options.xlate_end === "number" ? options.xlate_end : this.xlate_end);
  }
};

Logo.prototype.add_pspm = function(pspm, column) {
  "use strict";
  var col;
  if (typeof column === "undefined") {
    column = 0;
  } else if (column < 0) {
    throw new Error("Column index out of bounds.");
  }
  this.pspm_list[this.rows] = pspm;
  this.pspm_column[this.rows] = column;
  this.rows++;
  col = column + pspm.get_motif_length();
  if (col > this.columns) {
    this.columns = col;
  }
};

Logo.prototype.get_columns = function() {
  "use strict";
  return this.columns;
};

Logo.prototype.get_xlate_nsyms = function() {
  "use strict";
  return this.xlate_nsyms;
};

Logo.prototype.get_xlate_start = function() {
  "use strict";
  return (this.xlate_start != null ? this.xlate_start : 0);
};

Logo.prototype.get_xlate_end = function() {
  "use strict";
  return (this.xlate_end != null ? this.xlate_end : this.columns * this.xlate_nsyms);
};

Logo.prototype.get_xlate_columns = function() {
  "use strict";
  return this.get_xlate_end() - this.get_xlate_start();
};

Logo.prototype.get_rows = function() {
  "use strict";
  return this.rows;
};

Logo.prototype.get_pspm = function(row_index) {
  "use strict";
  if (row_index < 0 || row_index >= this.rows) {
    throw new Error("INDEX_OUT_OF_BOUNDS");
  }
  return this.pspm_list[row_index];
};

Logo.prototype.get_offset = function(row_index) {
  "use strict";
  if (row_index < 0 || row_index >= this.rows) {
    throw new Error("INDEX_OUT_OF_BOUNDS");
  }
  return this.pspm_column[row_index];
};

Logo.prototype._as_eps_data = function(ssc, errbars) {
  var i, j, pos, stack_pos, pspm, stack, sym, out;
  out = "";
  for (i = 0; i < this.rows; i++) {
    out += "\nStartLine\n";
    // Indent
    for (j = 0; j < this.pspm_column[i]; j++) {
      out += "() startstack\nendstack\n\n";
    }
    pspm = this.pspm_list[i];
    if (pspm.get_left_trim() > 0) {
      out += "MuteColour\nDrawTrimEdge\n" + pspm.get_left_trim() + " DrawTrimBg\n";
    }
    for (pos = 0; pos < pspm.get_motif_length(); pos++) {
      if (pos != 0 && pos == pspm.get_left_trim()) { // enable full colour
        out += "DrawTrimEdge\nRestoreColour\n";
      } else if (pos == (pspm.get_motif_length() - pspm.get_right_trim())) {
        out += "MuteColour\n" + pspm.get_right_trim() + " DrawTrimBg\n";
      }
      out += "(" + (pos + 1) + ") startstack\n";
      stack = pspm.get_stack(pos, this.alphabet, ssc);
      for (stack_pos = 0; stack_pos < stack.length; stack_pos++) {
        sym = stack[stack_pos];
        out += " " + (sym.get_scale() * this.alphabet.get_ic()) + " (" + sym.get_symbol() + ") numchar\n";
      }
      if (errbars) {
        out += " " + pspm.get_error(this.alphabet) + " Ibeam\n";
      }
      out += "endstack\n\n";
    }
    if (pspm.get_right_trim() > 0 || pspm.get_left_trim() == pspm.get_motif_length()) {
      out += "RestoreColour\n";
    }
    out += "EndLine\n";
  }
  return out;
};

Logo.prototype.as_eps = function(options) {
  "use strict";
  if (this.xlate_nsyms != 1) throw new Error("Unsupported setting xlate_nsyms for EPS");
  if (this.xlate_start != null) throw new Error("Unsupported setting xlate_start for EPS");
  if (this.xlate_end != null) throw new Error("Unsupported setting xlate_end for EPS");

  var LOGOHEIGHT = 7.5; // default height of line in cm
  var cm2pts, height, width, now, ssc, errbars;
  if (typeof options === "undefined") {
    options = {};
  }
  cm2pts = 72 / 2.54;
  if (typeof options.logo_height == "number") {
    height = options.logo_height;
  } else {
    height = LOGOHEIGHT * this.rows;
  }
  if (typeof options.logo_width == "number") {
    width = options.logo_width;
  } else {
    width = this.columns + 2;
  }
  now = new Date();
  ssc = (typeof options.ssc == "boolean" ? options.ssc : false);
  errbars = (typeof options.show_error_bar == "boolean" ? options.show_error_bar : ssc);
  var values = {
    "LOGOHEIGHT": height,
    "LOGOWIDTH": width,
    "BOUNDINGHEIGHT": Math.round(height * cm2pts),
    "BOUNDINGWIDTH": Math.round(width * cm2pts),
    "LOGOLINEHEIGHT": (height / this.rows),
    "CHARSPERLINE": this.columns,
    "BARBITS": this.alphabet.get_ic(),
    "LOGOTYPE": (this.alphabet.has_complement() ? "NA" : "AA"),
    "CREATIONDATE": now.getDate() + "." + (now.getMonth() + 1) + "." + now.getFullYear() + " " + now.getHours() + ":" + now.getMinutes() + ":" + now.getSeconds(),
    "ERRORBARFRACTION": (typeof options.error_bar_fraction == "number" ? options.error_bar_fraction : 1.0),
    "TICBITS": (typeof options.ticbits == "number" ? options.ticbits : 1.0),
    "TITLE": (typeof options.title == "string" ? options.title : ""),
    "FINEPRINT": (typeof options.fineprint == "string" ? options.fineprint : this.fine_text),
    "XAXISLABEL": (typeof options.xaxislabel == "string" ? options.xaxislabel : ""),
    "YAXISLABEL": (typeof options.yaxislabel == "string" ? options.yaxislabel : "bits"),
    "SSC": ssc,
    "YAXIS": (typeof options.show_y_axis == "boolean" ? options.show_y_axis : this.y_axis),
    "SHOWENDS": (typeof options.show_ends == "boolean" ? options.show_ends : false),
    "ERRBAR": errbars,
    "OUTLINE": (typeof options.show_outline == "boolean" ? options.show_outline : false),
    "NUMBERING": (typeof options.show_numbering == "boolean" ? options.show_numbering : this.x_axis != 0),
    "SHOWINGBOX": (typeof options.show_box == "boolean" ? options.show_box : false),
    "CREATOR": (typeof options.creator == "string" ? options.creator : "motif_logo.js"),
    "FONTSIZE": (typeof options.label_font_size == "number" ? options.label_font_size : 12),
    "TITLEFONTSIZE": (typeof options.title_font_size == "number" ? options.title_font_size : 12),
    "SMALLFONTSIZE": (typeof options.small_font_size == "number" ? options.small_font_size : 6),
    "TOPMARGIN" : (typeof options.top_margin == "number" ? options.top_margin : 0.9),
    "BOTTOMMARGIN": (typeof options.bottom_margin == "number" ? options.bottom_margin : 0.9),
    "COLORDICT": this.alphabet._as_eps_dict(),
    "DATA": this._as_eps_data(ssc, errbars)
  };
  // now this requires that the script containing the template has been imported!
  return motif_logo_template(values);
};

//======================================================================
// end Logo object
//======================================================================

// calculate the exact size (in pixels) of an object drawn on the
// canvas assuming that the background of the canvas is transparent.
function canvas_bounds(ctx, cwidth, cheight) {
  "use strict";
  var data, r, c, top_line, bottom_line, left_line, right_line, 
      txt_width, txt_height;

  // extract the image data
  data = ctx.getImageData(0, 0, cwidth, cheight).data;

  // set initial values
  top_line = -1; bottom_line = -1; left_line = -1; right_line = -1;
  txt_width = 0; txt_height = 0;

  // Find the top-most line with a non-transparent pixel
  for (r = 0; r < cheight; r++) {
    for (c = 0; c < cwidth; c++) {
      if (data[r * cwidth * 4 + c * 4 + 3]) {
        top_line = r;
        break;
      }
    }
    if (top_line != -1) {
      break;
    }
  }
  
  // Only bother looking if we found at least one set pixel... 
  if (top_line != -1) {

    //find the last line with a non-transparent pixel
    for (r = cheight-1; r >= top_line; r--) {
      for(c = 0; c < cwidth; c++) {
        if(data[r * cwidth * 4 + c * 4 + 3]) {
          bottom_line = r;
          break;
        }
      }
      if (bottom_line != -1) {
        break;
      }
    }
    // calculate height
    txt_height = bottom_line - top_line + 1;

    // Find the left-most line with a non-transparent pixel
    for (c = 0; c < cwidth; c++) {
      for (r = top_line; r <= bottom_line; r++) {
        if (data[r * cwidth * 4 + c * 4 + 3]) {
          left_line = c;
          break;
        }
      }
      if (left_line != -1) {
        break;
      }
    }

    //find the right most line with a non-transparent pixel
    for (c = cwidth-1; c >= left_line; c--) {
      for(r = top_line; r <= bottom_line; r++) {
        if(data[r * cwidth * 4 + c * 4 + 3]) {
          right_line = c;
          break;
        }
      }
      if (right_line != -1) {
        break;
      }
    }
    txt_width = right_line - left_line + 1;
  }

  //return the bounds
  return {bound_top: top_line, bound_bottom: bottom_line, 
    bound_left: left_line, bound_right: right_line, width: txt_width, 
    height: txt_height};
}

//======================================================================
// start RasterizedAlphabet
//======================================================================

// Rasterize Alphabet
// 1) Measure width of text at default font for all symbols in alphabet
// 2) sort in width ascending
// 3) Drop the top and bottom 10% (designed to ignore outliers like 'W' and 'I')
// 4) Calculate the average as the maximum scaling factor (designed to stop I becoming a rectangular blob).
// 5) Assume scale of zero would result in width of zero, interpolate scale required to make perfect width font
// 6) Draw text onto temp canvas at calculated scale
// 7) Find bounds of drawn text
// 8) Paint on to another canvas at the desired height (but only scaling width to fit if larger).
var RasterizedAlphabet = function(alphabet, logo_scale, font, width) {
  "use strict";
  var default_size, safety_pad, canvas, ctx, middle, baseline, widths, sizes,
      i, sym, size, tenpercent, avg_width, scale, 
      target_width, target_height;
  //variable prototypes
  this.alphabet = alphabet;
  this.scale = logo_scale;
  this.sym_cache = {};
  this.stack_num_cache = [];
  this.scale_num_cache = [];
  // size of canvas
  default_size = 60; // size of measuring canvas
  safety_pad = 20; // pixels to pad around so we don't miss the edges
  // create a canvas to do our measuring
  canvas = document.createElement("canvas");
  if (!canvas.getContext) throw new Error("No canvas support");
  canvas.width = default_size + 2 * safety_pad;
  canvas.height = default_size + 2 * safety_pad;
  middle = Math.round(canvas.width / 2);
  baseline = Math.round(canvas.height - safety_pad);
  ctx = canvas.getContext('2d');
  if (!supports_text(ctx)) throw new Error("Canvas does not support text");
  ctx.font = font;
  ctx.textAlign = "center";
  ctx.translate(middle, baseline);
  // list of widths
  widths = [];
  sizes = [];
  //now measure each letter in the alphabet
  for (i = 0; i < alphabet.get_size_core(); ++i) {
    // reset the canvas
    ctx.clearRect(0, 0, canvas.width, canvas.height);
    ctx.fillStyle = alphabet.get_colour(i);
    // draw the test text
    ctx.fillText(alphabet.get_symbol(i), 0, 0);
    //measure
    size = canvas_bounds(ctx, canvas.width, canvas.height);
    if (size.width === 0) throw new Error("Invisible symbol!");
    widths.push(size.width);
    sizes[i] = size;
  }
  //sort the widths
  widths.sort(function(a,b) {return a - b;});
  //drop 10% of the items off each end
  tenpercent = Math.floor(widths.length / 10);
  for (i = 0; i < tenpercent; ++i) {
    widths.pop();
    widths.shift();
  }
  //calculate average width
  avg_width = 0;
  for (i = 0; i < widths.length; ++i) {
    avg_width += widths[i];
  }
  avg_width /= widths.length;
  // calculate the target width
  target_width = width * this.scale * 2;
  // calculate scales
  for (i = 0; i < alphabet.get_size_core(); ++i) {
    sym = alphabet.get_symbol(i);
    size = sizes[i];
    // calculate scale
    scale = target_width / Math.max(avg_width, size.width);
    // estimate scaled height
    target_height = size.height * scale;
    // create an appropriately sized canvas
    canvas = document.createElement("canvas");
    canvas.width = target_width;
    canvas.height = target_height + safety_pad * 2;
    // calculate the middle
    middle = Math.round(canvas.width / 2);
    // calculate the baseline
    baseline = Math.round(canvas.height - safety_pad);
    // get the context and prepare to draw the rasterized text
    ctx = canvas.getContext('2d');
    ctx.font = font;
    ctx.fillStyle = alphabet.get_colour(i);
    ctx.textAlign = "center";
    ctx.translate(middle, baseline);
    ctx.save();
    ctx.scale(scale, scale);
    // draw the text
    ctx.fillText(sym, 0, 0);
    ctx.restore();
    this.sym_cache[sym] = {"image": canvas, "size": canvas_bounds(ctx, canvas.width, canvas.height)};
  }
};

RasterizedAlphabet.prototype.get_alphabet = function() {
  return this.alphabet;
};

RasterizedAlphabet.prototype.get_scale = function() {
  return this.scale;
};

RasterizedAlphabet.prototype.draw_stack_sym = function(ctx, letter, dx, dy, dWidth, dHeight) {
  "use strict";
  var entry, image, size;
  entry = this.sym_cache[letter];
  image = entry.image;
  size = entry.size;
  ctx.drawImage(image, 0, size.bound_top -1, image.width, size.height+1, dx, dy, dWidth, dHeight);
};

RasterizedAlphabet.prototype.draw_stack_num = function(ctx, font, stack_width, index) {
  var image, image_ctx, text_length;
  if (index >= this.stack_num_cache.length) {
    image = document.createElement("canvas");
    // measure the text
    image_ctx = image.getContext('2d');
    image_ctx.save();
    image_ctx.font = font;
    text_length = image_ctx.measureText("" + (index + 1)).width;
    image_ctx.restore();
    // resize the canvas to fit
    image.width = Math.ceil(stack_width);
    image.height = Math.ceil(text_length);
    // draw the text
    image_ctx = image.getContext('2d');
    image_ctx.translate(Math.round(stack_width / 2), 0);
    image_ctx.font = font;
    image_ctx.textBaseline = "middle";
    image_ctx.textAlign = "right";
    image_ctx.rotate(-(Math.PI / 2));
    image_ctx.fillText("" + (index + 1), 0, 0);
    this.stack_num_cache[index] = image;
  } else {
    image = this.stack_num_cache[index];
  }
  ctx.drawImage(image, 0, 0);
}

RasterizedAlphabet.prototype.draw_scale_num = function(ctx, font, num) {
  var image, image_ctx, text_size, m_length;
  if (num >= this.scale_num_cache.length) {
    image = document.createElement("canvas");
    // measure the text
    image_ctx = image.getContext('2d');
    image_ctx.font = font;
    text_size = image_ctx.measureText("" + num);
    if (text_size.actualBoundingBoxAscent && text_size.actualBoundingBoxDesent) {
      // resize the canvas to fit
      image.width = Math.ceil(text_size.width);
      image.height = Math.ceil(text_size.actualBoundingBoxAscent + text_size.actualBoundingBoxDesent);
      // draw the text
      image_ctx = image.getContext('2d');
      image_ctx.font = font;
      image_ctx.textAlign = "right";
      image_ctx.fillText("" + num, image.width, text_size.actualBoundingBoxAscent);
    } else {
      // measure width of 'm' to approximate height, we double it later anyway
      m_length = image_ctx.measureText("m").width;
      // resize the canvas to fit
      image.width = Math.ceil(text_size.width);
      image.height = Math.ceil(2 * m_length);
      // draw the text
      image_ctx = image.getContext('2d');
      image_ctx.font = font;
      image_ctx.textAlign = "right";
      image_ctx.textBaseline = "middle";
      image_ctx.fillText("" + num, image.width, m_length);
    }
    this.scale_num_cache[num] = image;
  } else {
    image = this.scale_num_cache[num];
  }
  ctx.drawImage(image, -image.width, -Math.round(image.height / 2))
}

//======================================================================
// end RasterizedAlphabet
//======================================================================

//======================================================================
// start LogoMetrics object
//======================================================================

var LogoMetrics = function(ctx, logo_columns, logo_rows, has_names, has_finetext, x_axis, y_axis) {
  "use strict";
  var i, row_height;
  //variable prototypes
  this.pad_top = (has_names ? 5 : 0);
  this.pad_left = (y_axis ? 10 : 0);
  this.pad_right = (has_finetext ? 15 : 0);
  this.pad_bottom = 0;
  this.pad_middle = 20;
  this.name_height = 14;
  this.name_font = "bold " + this.name_height + "px Times, sans-serif";
  this.name_spacer = 0;
  this.y_axis = y_axis;
  this.y_label = "bits";
  this.y_label_height = 12;
  this.y_label_font = "bold " + this.y_label_height + "px Helvetica, sans-serif";
  this.y_label_spacer = 3;
  this.y_num_height = 12;
  this.y_num_width = 0;
  this.y_num_font = "bold " + this.y_num_height + "px Helvetica, sans-serif";
  this.y_tic_width = 5;
  this.stack_pad_left = 0;
  this.stack_font = "bold 25px Helvetica, sans-serif";
  this.stack_height = 90;
  this.stack_width = 26;
  this.stacks_pad_right = 5;
  this.x_axis = x_axis;
  this.x_num_above = 2;
  this.x_num_height = 12;
  this.x_num_width = 0;
  this.x_num_font = "bold " + this.x_num_height + "px Helvetica, sans-serif";
  this.fine_txt_height = 6;
  this.fine_txt_above = 2;
  this.fine_txt_font = "normal " + this.fine_txt_height + "px Helvetica, sans-serif";
  this.letter_metrics = new Array();
  this.summed_width = 0;
  this.summed_height = 0;
  //calculate the width of the y axis numbers
  ctx.font = this.y_num_font;
  for (i = 0; i <= 2; i++) {
    this.y_num_width = Math.max(this.y_num_width, ctx.measureText("" + i).width);
  }
  //calculate the width of the x axis numbers (but they are rotated so it becomes height)
  if (x_axis == 1) {
    ctx.font = this.x_num_font;
    for (i = 1; i <= logo_columns; i++) {
      this.x_num_width = Math.max(this.x_num_width, ctx.measureText("" + i).width);
    }
  } else if (x_axis == 0) {
    this.x_num_height = 4;
    this.x_num_width = 4;
  } else {
    this.x_num_height = 0;
    this.x_num_width = 0;
  }
  
  //calculate how much vertical space we want to draw this
  //first we add the padding at the top and bottom since that's always there
  this.summed_height += this.pad_top + this.pad_bottom;
  //all except the last row have the same amount of space allocated to them
  if (logo_rows > 1) {
    row_height = this.stack_height + this.pad_middle;
    if (has_names) {
      row_height += this.name_height;
      //the label is allowed to overlap into the spacer
      row_height += Math.max(this.y_num_height/2, this.name_spacer); 
      //the label is allowed to overlap the space used by the other label
      row_height += Math.max(this.y_num_height/2, this.x_num_height + this.x_num_above); 
    } else {
      row_height += this.y_num_height/2; 
      //the label is allowed to overlap the space used by the other label
      row_height += Math.max(this.y_num_height/2, this.x_num_height + this.x_num_above); 
    }
    this.summed_height += row_height * (logo_rows - 1);
  }
  //the last row has the name and fine text below it but no padding
  this.summed_height += this.stack_height + (this.y_axis ? this.y_num_height/2 : 0);

  var fine_txt_total = (has_finetext ? this.fine_txt_height + this.fine_txt_above : 0);
  if (has_names) {
    this.summed_height += fine_txt_total + this.name_height;
    this.summed_height += Math.max((this.y_axis ? this.y_num_height/2 : 0), 
        this.x_num_height + this.x_num_above + this.name_spacer);
  } else {
    this.summed_height += Math.max((this.y_axis ? this.y_num_height/2 : 0), 
        this.x_num_height + this.x_num_above + fine_txt_total);
  }

  //calculate how much horizontal space we want to draw this
  //first add the padding at the left and right since that's always there
  this.summed_width += this.pad_left + this.pad_right;
  if (this.y_axis) {
    //add on the space for the y-axis label
    this.summed_width += this.y_label_height + this.y_label_spacer;
    //add on the space for the y-axis
    this.summed_width += this.y_num_width + this.y_tic_width;
  }
  //add on the space for the stacks
  this.summed_width += (this.stack_pad_left + this.stack_width) * logo_columns;
  //add on the padding after the stacks (an offset from the fine text)
  this.summed_width += this.stacks_pad_right;

};

//======================================================================
// end LogoMetrics object
//======================================================================

//found this trick at http://talideon.com/weblog/2005/02/detecting-broken-images-js.cfm
function image_ok(img) {
  "use strict";
  // During the onload event, IE correctly identifies any images that
  // weren't downloaded as not complete. Others should too. Gecko-based
  // browsers act like NS4 in that they report this incorrectly.
  if (!img.complete) {
    return false;
  }
  // However, they do have two very useful properties: naturalWidth and
  // naturalHeight. These give the true size of the image. If it failed
  // to load, either of these should be zero.
  if (typeof img.naturalWidth !== "undefined" && img.naturalWidth === 0) {
    return false;
  }
  // No other way of checking: assume it's ok.
  return true;
}
  
function supports_text(ctx) {
  "use strict";
  if (!ctx.fillText) {
    return false;
  }
  if (!ctx.measureText) {
    return false;
  }
  return true;
}

//draws the scale, returns the width
function draw_scale(ctx, metrics, alphabet_ic, raster) {
  "use strict";
  var tic_height, i;
  tic_height = metrics.stack_height / alphabet_ic;
  ctx.save();
  ctx.translate(metrics.y_label_height, metrics.y_num_height/2);
  //draw the axis label
  ctx.save();
  ctx.font = metrics.y_label_font;
  ctx.translate(0, metrics.stack_height/2);
  ctx.rotate(-(Math.PI / 2));
  ctx.textAlign = "center";
  ctx.fillText("bits", 0, 0);
  ctx.restore();

  ctx.translate(metrics.y_label_spacer + metrics.y_num_width, 0);

  //draw the axis tics
  ctx.save();
  ctx.translate(0, metrics.stack_height);
  for (i = 0; i <= alphabet_ic; i++) {
    //draw the number
    ctx.save();
    ctx.translate(-1, 0);
    raster.draw_scale_num(ctx, metrics.y_num_font, i);
    ctx.restore();
    //draw the tic
    ctx.fillRect(0, -1, metrics.y_tic_width, 2);
    //prepare for next tic
    ctx.translate(0, -tic_height);
  }
  ctx.restore();

  ctx.fillRect(metrics.y_tic_width - 2, 0, 2, metrics.stack_height)

  ctx.restore();
}

function draw_stack_num(ctx, metrics, row_index, raster) {
  "use strict";
  ctx.save();
  ctx.translate(0, Math.round(metrics.stack_height + metrics.x_num_above));
  if (metrics.x_axis == 1) {
    raster.draw_stack_num(ctx, metrics.x_num_font, metrics.stack_width, row_index);
  } else if (metrics.x_axis == 0) {
    // draw dots instead of the numbers (good for small logos)
    ctx.beginPath();
    var radius = Math.round(metrics.x_num_height / 2);
    ctx.arc(Math.round(metrics.stack_width / 2), radius, radius, 0, 2 * Math.PI, false);
    ctx.fill();
  }
  ctx.restore();
}

function draw_stack(ctx, metrics, symbols, raster) {
  "use strict";
  var preferred_pad, sym_min, i, sym, sym_height, pad;
  preferred_pad = 0;
  sym_min = 5;

  ctx.save();//1
  ctx.translate(0, metrics.stack_height);
  for (i = 0; i < symbols.length; i++) {
    sym = symbols[i];
    sym_height = metrics.stack_height * sym.get_scale();
    
    pad = preferred_pad;
    if (sym_height - pad < sym_min) {
      pad = Math.min(pad, Math.max(0, sym_height - sym_min));
    }
    sym_height -= pad;

    //translate to the correct position
    ctx.translate(0, -(pad/2 + sym_height));

    //draw
    raster.draw_stack_sym(ctx, sym.get_symbol(), 0, 0, metrics.stack_width, sym_height);
    //translate past the padding
    ctx.translate(0, -(pad/2));
  }
  ctx.restore();//1
}

function draw_dashed_line(ctx, pattern, start, x1, y1, x2, y2) {
  "use strict";
  var x, y, len, i, dx, dy, tlen, theta, mulx, muly, lx, ly;
  dx = x2 - x1;
  dy = y2 - y1;
  tlen = Math.pow(dx*dx + dy*dy, 0.5);
  theta = Math.atan2(dy,dx);
  mulx = Math.cos(theta);
  muly = Math.sin(theta);
  lx = [];
  ly = [];
  for (i = 0; i < pattern; ++i) {
    lx.push(pattern[i] * mulx);
    ly.push(pattern[i] * muly);
  }
  i = start;
  x = x1;
  y = y1;
  len = 0;
  ctx.beginPath();
  while (len + pattern[i] < tlen) {
    ctx.moveTo(x, y);
    x += lx[i];
    y += ly[i];
    ctx.lineTo(x, y);
    len += pattern[i];
    i = (i + 1) % pattern.length;
    x += lx[i];
    y += ly[i];
    len += pattern[i];
    i = (i + 1) % pattern.length;
  }
  if (len < tlen) {
    ctx.moveTo(x, y);
    x += mulx * (tlen - len);
    y += muly * (tlen - len);
    ctx.lineTo(x, y);
  }
  ctx.stroke();
}

function draw_trim_background(ctx, metrics, left_start, left_end, left_divider, right_start, right_end, right_divider) {
  "use strict";
  var left_size = left_end - left_start;
  var right_size = right_end - right_start;
  var line_x;

  ctx.save();//s8
  ctx.fillStyle = "rgb(240, 240, 240)";
  if (left_size > 0) {
    ctx.fillRect(left_start * metrics.stack_width, 0, left_size * metrics.stack_width, metrics.stack_height);
  }
  if (right_size > 0) {
    ctx.fillRect(right_start * metrics.stack_width, 0, right_size * metrics.stack_width, metrics.stack_height);
  }
  ctx.fillStyle = "rgb(51, 51, 51)";
  if (left_size > 0 && left_divider) {
    line_x = (left_end * metrics.stack_width) - 0.5;
    draw_dashed_line(ctx, [3], 0, line_x, 0, line_x, metrics.stack_height);
  }
  if (right_size > 0 && right_divider) {
    line_x = (right_start * metrics.stack_width) + 0.5;
    draw_dashed_line(ctx, [3], 0, line_x, 0, line_x, metrics.stack_height);
  }
  ctx.restore();//s8
}

function size_logo_on_canvas(logo, canvas, show_names, scale) {
  "use strict";
  var draw_name, draw_finetext, metrics;
  draw_name = (typeof show_names === "boolean" ? show_names : (logo.get_rows() > 1));
  draw_finetext = (logo.fine_text.length > 0);
  if (canvas.width !== 0 && canvas.height !== 0) {
    return;
  }
  metrics = new LogoMetrics(canvas.getContext('2d'), 
      logo.get_xlate_columns(), logo.get_rows(), draw_name, draw_finetext, logo.x_axis, logo.y_axis);
  if (typeof scale == "number") {
    //resize the canvas to fit the scaled logo
    canvas.width = metrics.summed_width * scale;
    canvas.height = metrics.summed_height * scale;
  } else {
    if (canvas.width === 0 && canvas.height === 0) {
      canvas.width = metrics.summed_width;
      canvas.height = metrics.summed_height;
    } else if (canvas.width === 0) {
      canvas.width = metrics.summed_width * (canvas.height / metrics.summed_height);
    } else if (canvas.height === 0) {
      canvas.height = metrics.summed_height * (canvas.width / metrics.summed_width);
    }
  }
}

function draw_logo_on_canvas(logo, canvas, show_names, scale) {
  "use strict";
  var i, draw_name, draw_finetext, ctx, metrics, raster, pspm_i, pspm, 
      offset, col_index, motif_position, ssc;
  ssc = false;
  draw_name = (typeof show_names === "boolean" ? show_names : (logo.get_rows() > 1));
  draw_finetext = (logo.fine_text.length > 0);
  ctx = canvas.getContext('2d');
  //assume that the user wants the canvas scaled equally so calculate what the best width for this image should be
  metrics = new LogoMetrics(ctx, logo.get_xlate_columns(), logo.get_rows(), draw_name, draw_finetext, logo.x_axis, logo.y_axis);
  if (typeof scale == "number") {
    //resize the canvas to fit the scaled logo
    canvas.width = metrics.summed_width * scale;
    canvas.height = metrics.summed_height * scale;
  } else {
    if (canvas.width === 0 && canvas.height === 0) {
      scale = 1;
      canvas.width = metrics.summed_width;
      canvas.height = metrics.summed_height;
    } else if (canvas.width === 0) {
      scale = canvas.height / metrics.summed_height;
      canvas.width = metrics.summed_width * scale;
    } else if (canvas.height === 0) {
      scale = canvas.width / metrics.summed_width;
      canvas.height = metrics.summed_height * scale;
    } else {
      scale = Math.min(canvas.width / metrics.summed_width, canvas.height / metrics.summed_height);
    }
  }
  // cache the raster based on the assumption that we will be drawing a lot
  // of logos the same size and alphabet
  if (typeof draw_logo_on_canvas.raster_cache === "undefined") {
    draw_logo_on_canvas.raster_cache = [];
  }
  for (i = 0; i < draw_logo_on_canvas.raster_cache.length; i++) {
    raster = draw_logo_on_canvas.raster_cache[i];
    if (raster.get_alphabet().equals(logo.alphabet) &&
        Math.abs(raster.get_scale() - scale) < 0.1) break;
    raster = null;
  }
  if (raster == null) {
    raster = new RasterizedAlphabet(logo.alphabet, scale, metrics.stack_font, metrics.stack_width);
    draw_logo_on_canvas.raster_cache.push(raster);
  }
  ctx = canvas.getContext('2d');
  ctx.save();//s1
  ctx.scale(scale, scale);
  ctx.save();//s2
  ctx.save();//s7
  //create margin
  ctx.translate(Math.round(metrics.pad_left), Math.round(metrics.pad_top));
  for (pspm_i = 0; pspm_i < logo.get_rows(); ++pspm_i) {
    pspm = logo.get_pspm(pspm_i);
    offset = logo.get_offset(pspm_i);
    //optionally draw name if this isn't the last row or is the only row 
    if (draw_name && (logo.get_rows() == 1 || pspm_i != (logo.get_rows()-1))) {
      ctx.save();//s4
      ctx.translate(Math.round(metrics.summed_width/2), Math.round(metrics.name_height));
      ctx.font = metrics.name_font;
      ctx.textAlign = "center";
      ctx.fillText(pspm.name, 0, 0);
      ctx.restore();//s4
      ctx.translate(0, Math.round(metrics.name_height + 
          Math.min(0, metrics.name_spacer - metrics.y_num_height/2)));
    }
    //draw scale
    if (logo.y_axis) draw_scale(ctx, metrics, logo.alphabet.get_ic(), raster);
    ctx.save();//s5
    //translate across past the scale
    if (logo.y_axis) {
      ctx.translate(Math.round(metrics.y_label_height + metrics.y_label_spacer + 
        metrics.y_num_width + metrics.y_tic_width), Math.round(metrics.y_num_height / 2));
    }
    //draw the trimming background
    if (pspm.get_left_trim() > 0 || pspm.get_right_trim() > 0) {
      var left_start = offset * logo.get_xlate_nsyms();
      var left_end = (offset + pspm.get_left_trim()) * logo.get_xlate_nsyms();
      var left_divider = true;
      if (left_end < logo.get_xlate_start() || left_start > logo.get_xlate_end()) {
        // no overlap
        left_start = 0;
        left_end = 0;
        left_divider = false;
      } else {
        if (left_start < logo.get_xlate_start()) {
          left_start = logo.get_xlate_start();
        }
        if (left_end > logo.get_xlate_end()) {
          left_end = logo.get_xlate_end();
          left_divider = false;
        }
        left_start -= logo.get_xlate_start();
        left_end -= logo.get_xlate_start();
        if (left_end < left_start) {
          left_start = 0;
          left_end = 0;
          left_divider = false;
        }
      }
      var right_end = (offset + pspm.get_motif_length()) * logo.get_xlate_nsyms();
      //var right_start = right_end - (pspm.get_left_trim() * logo.get_xlate_nsyms());
      var right_start = right_end - (pspm.get_right_trim() * logo.get_xlate_nsyms());
      var right_divider = true;
      if (right_end < logo.get_xlate_start() || right_start > logo.get_xlate_end()) {
        // no overlap
        right_start = 0;
        right_end = 0;
        right_divider = false;
      } else {
        if (right_start < logo.get_xlate_start()) {
          right_start = logo.get_xlate_start();
          right_divider = false;
        }
        if (right_end > logo.get_xlate_end()) {
          right_end = logo.get_xlate_end();
        }
        right_start -= logo.get_xlate_start();
        right_end -= logo.get_xlate_start();
        if (right_end < right_start) {
          right_start = 0;
          right_end = 0;
          right_divider = false;
        }
      }
      draw_trim_background(ctx, metrics, left_start, left_end, left_divider, right_start, right_end, right_divider);
    }
    //draw letters
    var xlate_col;
    for (xlate_col = logo.get_xlate_start(); xlate_col < logo.get_xlate_end(); xlate_col++) {
      ctx.translate(metrics.stack_pad_left,0);
      col_index = Math.floor(xlate_col / logo.get_xlate_nsyms());
      if (xlate_col % logo.get_xlate_nsyms() == 0) {
        if (col_index >= offset && col_index < (offset + pspm.get_motif_length())) {
          motif_position = col_index - offset;
          draw_stack_num(ctx, metrics, motif_position, raster);
          draw_stack(ctx, metrics, pspm.get_stack(motif_position, logo.alphabet, ssc), raster);
        }
      } else {
        if (col_index >= offset && col_index < (offset + pspm.get_motif_length())) {
          ctx.save();// s5.1
          ctx.translate(0, Math.round(metrics.stack_height));
          // TODO draw a dot or dash or something to indicate continuity of the motif
          ctx.restore(); //s5.1
        }
      }
      ctx.translate(Math.round(metrics.stack_width), 0);
    }
    ctx.restore();//s5
    ////optionally draw name if this is the last row but isn't the only row 
    if (draw_name && (logo.get_rows() != 1 && pspm_i == (logo.get_rows()-1))) {
      //translate vertically past the stack and axis's        
      ctx.translate(0, metrics.y_num_height/2 + metrics.stack_height + 
          Math.max(metrics.y_num_height/2, metrics.x_num_above + metrics.x_num_width + metrics.name_spacer));

      ctx.save();//s6
      ctx.translate(metrics.summed_width/2, metrics.name_height);
      ctx.font = metrics.name_font;
      ctx.textAlign = "center";
      ctx.fillText(pspm.name, 0, 0);
      ctx.restore();//s6
      ctx.translate(0, metrics.name_height);
    } else {
      //translate vertically past the stack and axis's        
      ctx.translate(0, metrics.y_num_height/2 + metrics.stack_height + 
          Math.max(metrics.y_num_height/2, metrics.x_num_above + metrics.x_num_width));
    }
    //if not the last row then add middle padding
    if (pspm_i != (logo.get_rows() -1)) {
      ctx.translate(0, metrics.pad_middle);
    }
  }
  ctx.restore();//s7
  if (logo.fine_text.length > 0) {
    ctx.translate(metrics.summed_width - metrics.pad_right, metrics.summed_height - metrics.pad_bottom);
    ctx.font = metrics.fine_txt_font;
    ctx.textAlign = "right";
    ctx.fillText(logo.fine_text, 0,0);
  }
  ctx.restore();//s2
  ctx.restore();//s1
}

function create_canvas(c_width, c_height, c_id, c_title, c_display) {
  "use strict";
  var canvas = document.createElement("canvas");
  //check for canvas support before attempting anything
  if (!canvas.getContext) {
    return null;
  }
  var ctx = canvas.getContext('2d');
  //check for html5 text drawing support
  if (!supports_text(ctx)) {
    return null;
  }
  //size the canvas
  canvas.width = c_width;
  canvas.height = c_height;
  canvas.id = c_id;
  canvas.title = c_title;
  canvas.style.display = c_display;
  return canvas;
}

function logo_1(alphabet, fine_text, pspm) {
  "use strict";
  var logo = new Logo(alphabet, fine_text);
  logo.add_pspm(pspm);
  return logo;
}

function logo_2(alphabet, fine_text, target, query, query_offset) {
  "use strict";
  var logo = new Logo(alphabet, fine_text);
  if (query_offset < 0) {
    logo.add_pspm(target, -query_offset);
    logo.add_pspm(query);
  } else {
    logo.add_pspm(target);
    logo.add_pspm(query, query_offset);
  }      
  return logo;
}

/*
 * Specifies an alternate source for an image.
 * If the image with the image_id specified has
 * not loaded then a generated logo will be used 
 * to replace it.
 *
 * Note that the image must either have dimensions
 * or a scale must be set.
 */
function alternate_logo(logo, image_id, scale) {
  "use strict";
  var image = document.getElementById(image_id);
  if (!image) {
    alert("Can't find specified image id (" +  image_id + ")");
    return;
  }
  //if the image has loaded then there is no reason to use the canvas
  if (image_ok(image)) {
    return;
  }
  //the image has failed to load so replace it with a canvas if we can.
  var canvas = create_canvas(image.width, image.height, image_id, image.title, image.style.display);
  if (canvas === null) {
    return;
  }
  //draw the logo on the canvas
  draw_logo_on_canvas(logo, canvas, null, scale);
  //replace the image with the canvas
  image.parentNode.replaceChild(canvas, image);
}

/*
 * Specifies that the element with the specified id
 * should be replaced with a generated logo.
 */
function replace_logo(logo, replace_id, scale, title_txt, display_style) {
  "use strict";
  var element = document.getElementById(replace_id);
  if (!replace_id) {
    alert("Can't find specified id (" + replace_id + ")");
    return;
  }
  //found the element!
  var canvas = create_canvas(50, 120, replace_id, title_txt, display_style);
  if (canvas === null) {
    return;
  }
  //draw the logo on the canvas
  draw_logo_on_canvas(logo, canvas, null, scale);
  //replace the element with the canvas
  element.parentNode.replaceChild(canvas, element);
}

/*
 * Fast string trimming implementation found at
 * http://blog.stevenlevithan.com/archives/faster-trim-javascript
 *
 * Note that regex is good at removing leading space but
 * bad at removing trailing space as it has to first go through
 * the whole string.
 */
function trim (str) {
  "use strict";
  var ws, i;
  str = str.replace(/^\s\s*/, '');
  ws = /\s/; i = str.length;
  while (ws.test(str.charAt(--i)));
  return str.slice(0, i + 1);
}
</script>
    <script>
var tomtom_alphabet = new Alphabet(data.alphabet, data.background);

var DelayLogoTask = function(logo, canvas) {
  this.logo = logo;
  this.canvas = canvas;
};

DelayLogoTask.prototype.run = function () {
  draw_logo_on_canvas(this.logo, this.canvas);
};

function make_logo(alphabet, pspm, rc, offset, className) {
  if (rc) pspm = pspm.copy().reverse_complement(alphabet);
  var logo = new Logo(alphabet, "");
  logo.add_pspm(pspm, offset);
  var canvas = document.createElement('canvas');
  canvas.height = 50;
  canvas.width = 0;
  canvas.className = className;
  size_logo_on_canvas(logo, canvas);
  add_draw_task(canvas, new DelayLogoTask(logo, canvas));
  return canvas;
}

function make_name(motif, should_link) {
  var name, link;
  name = motif.id + (typeof motif.alt === "string" ? " (" + motif.alt + ")" : "");
  if (should_link && typeof motif.url === "string") {
    link = document.createElement("a");
    link.href = motif.url;
    link.appendChild(document.createTextNode(name));
    return link;
  } else {
    return document.createTextNode(name);
  }
}

function make_logo_form() {
  $("logo_form").action = site_url + "/utilities/generate_logo";
  $("download_submit").addEventListener("click", function() {
    toggle_class(document.getElementById("download"), "hidden", true);
  }, false);
  $("download_cancel").addEventListener("click", function() {
    toggle_class(document.getElementById("download"), "hidden", true);
  }, false);
}

function make_alignment(query, target, rc, offset) {
  var logo, query_pspm, target_pspm;
  logo = new Logo(tomtom_alphabet, "");
  query_pspm = new Pspm(query.pwm, query.id, 0, 0, query.nsites);
  target_pspm = new Pspm(target.pwm, target.id, 0, 0, target.nsites);
  if (rc) target_pspm.reverse_complement(tomtom_alphabet);
  logo.add_pspm(target_pspm, (offset < 0 ? -offset : 0));
  logo.add_pspm(query_pspm, (offset < 0 ? 0 : offset));
  var canvas = document.createElement('canvas');
  canvas.height = 300;
  canvas.width = 0;
  canvas.title = "Click to show download options";
  size_logo_on_canvas(logo, canvas);
  add_draw_task(canvas, new DelayLogoTask(logo, canvas));
  return canvas;
}

function make_preview() {
  var i, j, qidx, tidx, query, target, match, matches, pview_table, pview_tbody, pview_row;
  var row, row_mlist, mlink;
  // scan the matches make a lookup from query index to matches index
  var lookup = {};
  for (i = 0; i < data.all_matches.length; i++) {
    lookup[data.all_matches[i].idx] = i;
  }

  pview_table = $("preview");
  pview_row = pview_table.querySelector(".pview_row");
  pview_tbody = pview_row.parentNode;
  pview_tbody.removeChild(pview_row);
  for (qidx = 0; qidx < data.queries.length; qidx++) {
    query = data.queries[qidx];
    matches = (lookup[qidx] != null ? data.all_matches[lookup[qidx]].matches : []);
    row = pview_row.cloneNode(true);
    row.querySelector(".pview_db").appendChild(document.createTextNode(data.query_dbs[query.db].name));
    row.querySelector(".pview_name").appendChild(document.createTextNode(query.id));
    if (typeof query.alt === "string") row.querySelector(".pview_alt").appendChild(document.createTextNode(query.alt));
    row.querySelector(".pview_logo").appendChild(make_logo(tomtom_alphabet, new Pspm(query.pwm)));
    row.querySelector(".pview_matches").appendChild(document.createTextNode(matches.length));
    row_mlist = row.querySelector(".pview_list");
    for (j = 0; j < matches.length; j++) {
      if (j > 0) row_mlist.appendChild(document.createTextNode(",\u2003 "));// EM Space
      match = matches[j];
      tidx = match.idx;
      target = data.targets[tidx];
      mlink = document.createElement("a");
      mlink.className = (qidx % 2 == 0 ? "ml1" : "ml2");
      mlink.appendChild(document.createTextNode(target.id));
      if (typeof target.alt === "string") mlink.appendChild(document.createTextNode("\u00A0(" + target.alt + ")"));
      mlink.href = "#match_" + qidx + "_" + tidx;
      row_mlist.appendChild(mlink);
    }
    pview_tbody.appendChild(row);
  }
}

function make_target_dbs() {
  var i, tdb_table, tdb_row, tdb_tbody, db;
  var row, match_count;
  tdb_table = $("tdbs");
  tdb_row = tdb_table.querySelector(".db_row");
  tdb_tbody = tdb_row.parentNode;
  tdb_tbody.removeChild(tdb_row);
  match_count = [];
  for (i = 0; i < data.target_dbs.length; i++) match_count[i] = 0;
  for (i = 0; i < data.targets.length; i++) {
    match_count[data.targets[i].db]++;
  }
  for (i = 0; i < data.target_dbs.length; i++) {
    db = data.target_dbs[i];
    row = tdb_row.cloneNode(true);
    row.querySelector(".db_name").appendChild(document.createTextNode(db.name));
    row.querySelector(".db_used").appendChild(document.createTextNode(db.loaded - db.excluded));
    row.querySelector(".db_matched").appendChild(document.createTextNode(match_count[i]));
    tdb_tbody.appendChild(row);
  }
  $("link_after_target_db").href = (data.all_matches.length > 0 ? "#query_" + data.all_matches[0].idx : "#settings");
}

function custom_logo(elem, qidx, tidx, rc, offset) {
  "use strict";
  function helper(qidx, tidx, rc, offset) {
    "use strict";
    return function() {
      if ($("dl_flip").value == "1") {
        $("dl_rc1").value = (rc ? "0" : "1");
        $("dl_rc2").value = "1";
        $("dl_shift").value = -(data.targets[tidx].len - (data.queries[qidx].len + offset));
      } else {
        $("dl_rc1").value = (rc ? "1" : "0");
        $("dl_rc2").value = "0";
        $("dl_shift").value = -offset;
      }
    };
  }
  var download_prompt, qidx, tidx, rc, offset, query, target, qmotif, tmotif;
  var flip_handler;
  // get the download prompt
  download_prompt = document.getElementById("download");
  // hide previous showing of the download prompt
  toggle_class(download_prompt, "hidden", true);
  if (typeof custom_logo.flip_handler !== "undefined") {
    $("dl_flip").removeEventListener("change", custom_logo.flip_handler, false);
  }
  // reset defaults on prompt
  $("dl_flip").value = "0";
  $("dl_width").value = "";
  $("dl_height").value = "";
  // configure download prompt to the selected logo
  query = data.queries[qidx];
  target = data.targets[tidx];
  tmotif = new Pspm(target.pwm, "1", 0, 0, target.nsites, target.evalue);
  qmotif = new Pspm(query.pwm, "2", 0, 0, query.nsites, query.evalue);
  $("dl_motifs").value = tmotif.as_meme({"with_header": true, "alphabet": tomtom_alphabet}) + qmotif.as_meme();
  $("dl_label1").value = target.id;
  $("dl_label2").value = query.id;
  flip_handler = helper(qidx, tidx, rc, offset);
  $("dl_flip").addEventListener("change", flip_handler, false);
  custom_logo.flip_handler = flip_handler;
  flip_handler();
  // position and display the download prompt
  position_popup(elem, download_prompt, 1);
  toggle_class(download_prompt, "hidden", false);
  // focus the download button
  $("download_submit").focus();
}

function make_custom_logo_handler(elem, qidx, tidx, rc, offset) {
  return function(evt) {
    custom_logo(elem, qidx, tidx, rc, offset);
    evt.preventDefault();
  };
}

function make_matches() {
  var i, j, matches_box, match_box, match_entry, box, links, entries, entry;
  var qidx, query, tidx, target, matches, overlap, rc, logo_container;
  var prev_query_link, next_query_link;
  matches_box = $("matches");
  match_box = matches_box.querySelector(".match_box");
  matches_box.removeChild(match_box);
  for (i = 0; i < data.all_matches.length; i++) {
    matches = data.all_matches[i].matches;
    qidx = data.all_matches[i].idx;
    query = data.queries[qidx];
    box = match_box.cloneNode(true);
    box.id = "query_" + qidx;
    box.querySelector(".query_name").appendChild(make_name(query, false));
    links = box.querySelector(".links");
    prev_query_link = (i == 0 ? "#target_dbs" : "#query_" + data.all_matches[i-1].idx);
    next_query_link = ((i + 1) >= data.all_matches.length ? "#settings" : "#query_" + data.all_matches[i+1].idx);
    links.querySelector(".prev").href = prev_query_link;
    links.querySelector(".next").href = next_query_link;
    match_entry = box.querySelector(".match_entry");
    entries = match_entry.parentNode;
    entries.removeChild(match_entry);
    for (j = 0; j < matches.length; j++) {
      tidx = matches[j].idx;
      target = data.targets[tidx];
      entry = match_entry.cloneNode(true);
      entry.id = "match_" + qidx + "_" + tidx;
      entry.querySelector(".match_name").appendChild(make_name(target, true));
      entry.querySelector(".match_db").appendChild(document.createTextNode(data.target_dbs[target.db].name));
      entry.querySelector(".match_pvalue").appendChild(document.createTextNode(matches[j].pv));
      entry.querySelector(".match_evalue").appendChild(document.createTextNode(matches[j].ev));
      entry.querySelector(".match_qvalue").appendChild(document.createTextNode(matches[j].qv));
      if (matches[j].off < 0) {
        overlap = Math.min(query.pwm.length + matches[j].off, target.pwm.length);
      } else if (matches[j].off == 0) {
        overlap = Math.min(query.pwm.length, target.pwm.length);
      } else {
        overlap = Math.min(query.pwm.length, target.pwm.length - matches[j].off);
      }
      entry.querySelector(".match_overlap").appendChild(document.createTextNode(overlap));
      entry.querySelector(".match_offset").appendChild(document.createTextNode(matches[j].off));
      rc = (typeof matches[j].rc === "boolean" && matches[j].rc);
      entry.querySelector(".match_orientation").appendChild(document.createTextNode(rc ? "Reverse Complement" : "Normal"));
      logo_container = entry.querySelector(".logo_container");
      logo_container.appendChild(make_alignment(query, target, rc, matches[j].off));
      entries.appendChild(entry);
      var custom_logo_handler = make_custom_logo_handler(logo_container.querySelector("canvas"), qidx, tidx, rc, matches[j].off);
      entry.querySelector(".download_btn").addEventListener("click", custom_logo_handler, false);
      entry.querySelector(".download_text").addEventListener("click", custom_logo_handler, false);
      entry.querySelector("canvas").addEventListener("click", custom_logo_handler, false);
      if (i != 0) entry.querySelector(".prev_query").href = prev_query_link;
      if ((i + 1) < data.all_matches.length) entry.querySelector(".next_query").href = next_query_link;
      if (j != 0) {
        entry.querySelector(".prev_target").href = "#match_" + qidx + "_" + matches[j-1].idx;
      } else if (i != 0) {
        var prev_query =  data.all_matches[i-1];
        var prev_qidx = prev_query.idx;
        var prev_matches = prev_query.matches;
        var prev_tidx = prev_matches[prev_matches.length - 1].idx;
        entry.querySelector(".prev_target").href = "#match_" + prev_qidx + "_" + prev_tidx;
      }
      if ((j + 1) < matches.length) {
        entry.querySelector(".next_target").href = "#match_" + qidx + "_" + matches[j+1].idx;
      } else if ((i + 1) < data.all_matches.length) {
        var next_query = data.all_matches[i+1];
        var next_qidx = next_query.idx;
        var next_matches = next_query.matches;
        var next_tidx = next_matches[0].idx;
        entry.querySelector(".next_target").href = "#match_" + next_qidx + "_" + next_tidx;
      }
    }

    matches_box.appendChild(box);
  }

}

function make_program() {
  $("link_before_program").href = (data.all_matches.length > 0 ? "#query_" + data.all_matches[data.all_matches.length - 1].idx : "#target_dbs");
  $("version").appendChild(document.createTextNode(data.version));
  $("release").appendChild(document.createTextNode(data.release));
  $("cmd").value = data.cmd.join(" ");
  $("runtime").appendChild(document.createTextNode(data.runtime.seconds));
}
</script>
    <style>
/* The following is the content of meme.css */
body { background-color:white; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif;}

div.help {
  display: inline-block;
  margin: 0px;
  padding: 0px;
  width: 12px;
  height: 13px;
  cursor: pointer;
  background-image: url(data:image/gif;base64,R0lGODlhDAANAIABANR0AP///yH5BAEAAAEALAAAAAAMAA0AAAIdhI8Xy22MIFgv1DttrrJ7mlGNNo4c+aFg6SQuUAAAOw==);
}

div.help:hover {
  background-image: url(data:image/gif;base64,R0lGODlhDAANAKEAANR0AP///9R0ANR0ACH+EUNyZWF0ZWQgd2l0aCBHSU1QACH5BAEAAAIALAAAAAAMAA0AAAIdDGynCe3PgoxONntvwqz2/z2K2ImjR0KhmSIZUgAAOw==);
}

p.spaced { line-height: 1.8em;}

span.citation { font-family: "Book Antiqua", "Palatino Linotype", serif; color: #004a4d;}

p.pad { padding-left: 30px; padding-top: 5px; padding-bottom: 10px;}

td.jump { font-size: 13px; color: #ffffff; background-color: #00666a;
  font-family: Georgia, "Times New Roman", Times, serif;}

a.jump { margin: 15px 0 0; font-style: normal; font-variant: small-caps;
  font-weight: bolder; font-family: Georgia, "Times New Roman", Times, serif;}

h2.mainh {font-size: 1.5em; font-style: normal; margin: 15px 0 0;
  font-variant: small-caps; font-family: Georgia, "Times New Roman", Times, serif;}

h2.line {border-bottom: 1px solid #CCCCCC; font-size: 1.5em; font-style: normal;
  margin: 15px 0 0; padding-bottom: 3px; font-variant: small-caps;
  font-family: Georgia, "Times New Roman", Times, serif;}

h4 {border-bottom: 1px solid #CCCCCC; font-size: 1.2em; font-style: normal;
  margin: 10px 0 0; padding-bottom: 3px; font-family: Georgia, "Times New Roman", Times, serif;}

h5 {margin: 0px}

a.help { font-size: 9px; font-style: normal; text-transform: uppercase;
  font-family: Georgia, "Times New Roman", Times, serif;}

div.pad { padding-left: 30px; padding-top: 5px; padding-bottom: 10px;}

div.pad1 { margin: 10px 5px;}

div.pad2 { margin: 25px 5px 5px;}
h2.pad2 { padding: 25px 5px 5px;}

div.pad3 { padding: 5px 0px 10px 30px;}

div.box { border: 2px solid #CCCCCC; padding:10px; overflow: hidden;}

div.bar { border-left: 7px solid #00666a; padding:5px; margin-top:25px; }

div.subsection {margin:25px 0px;}

img {border:0px none;}

th.majorth {text-align:left;}
th.minorth {font-weight:normal; text-align:left; width:8em; padding: 3px 0px;}
th.actionth {font-weight:normal; text-align:left;}

.explain h5 {font-size:1em; margin-left: 1em;}

div.doc {margin-left: 2em; margin-bottom: 3em;}

th.trainingset {
  border-bottom: thin dashed black; 
  font-weight:normal; 
  padding:0px 10px;
}
div.pop_content {
  position:absolute;
  z-index:50;
  width:300px;
  padding: 5px;
  background: #E4ECEC;
  font-size: 12px;
  font-family: Arial;
  border-style: double;
  border-width: 3px;
  border-color: #AA2244;
  display:none;
}

div.pop_content > *:first-child {
  margin-top: 0px;
}

div.pop_content h1, div.pop_content h2, div.pop_content h3, div.pop_content h4, 
div.pop_content h5, div.pop_content h6, div.pop_content p {
  margin: 0px;
}

div.pop_content p + h1, div.pop_content p + h2, div.pop_content p + h3, 
div.pop_content p + h4, div.pop_content p + h5, div.pop_content p + h6 {
  margin-top: 5px;
}

div.pop_content p + p {
  margin-top: 5px;
}

div.pop_content > *:last-child {
  margin-bottom: 0px;
}

div.pop_content div.pop_close {
  /* old definition */
  float:right;
  bottom: 0;
}

div.pop_content span.pop_close, div.pop_content span.pop_back {
  display: inline-block;
  border: 2px outset #661429;
  background-color: #CCC;
  padding-left: 1px;
  padding-right: 1px;
  padding-top: 0px;
  padding-bottom: 0px;
  cursor: pointer;
  color: #AA2244; /*#661429;*/
  font-weight: bold;
}

div.pop_content span.pop_close:active, div.pop_content span.pop_back:active {
  border-style: inset;
}

div.pop_content span.pop_close {
  float:right;
  /*border: 2px outset #AA002B;*/
  /*color: #AA2244;*/
}

div.pop_content:not(.nested) .nested_only {
  display: none;
}

div.pop_back_sec {
  margin-bottom: 5px;
}

div.pop_close_sec {
  margin-top: 5px;
}

table.hide_advanced tr.advanced {
  display: none;
}
span.show_more {
  display: none;
}
table.hide_advanced span.show_more {
  display: inline;
}
table.hide_advanced span.show_less {
  display: none;
}


/*****************************************************************************
 * Program logo styling
 ****************************************************************************/
div.prog_logo {
  border-bottom: 0.25em solid #0f5f60;
  height: 4.5em;
  width: 24em;
  display:inline-block;
}
div.prog_logo img {
  float:left;
  width: 4em;
  border-style: none;
  margin-right: 0.2em;
}
div.prog_logo h1, div.prog_logo h1:hover, div.prog_logo h1:active, div.prog_logo h1:visited {
  margin:0;
  padding:0;
  font-family: Arial, Helvetica,  sans-serif;
  font-size: 3.2em;
  line-height: 1em;
  vertical-align: top;
  display: block;
  color: #026666;
  letter-spacing: -0.06em;
  text-shadow: 0.04em 0.06em 0.05em #666;
}
div.prog_logo h2, div.prog_logo h2:hover, div.prog_logo h2:active, div.prog_logo h2:visited {
  display: block;
  margin:0;
  padding:0;
  font-family: Helvetica, sans-serif;
  font-size: 0.9em;
  line-height: 1em;
  letter-spacing: -0.06em;
  color: black;
}

div.big.prog_logo {
  font-size: 18px;
}

</style>
    <style>
div.header {
  position: relative;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 5px;
  margin-right: 3px;
  margin-left: 3px;
}
div.header > h2 {
  font-size: 1.5em;
  font-style: normal;
  margin: 0;
  font-variant: small-caps; 
  font-family: Georgia, "Times New Roman", Times, serif;
}
div.header > span {
  position: absolute;
  right: 0;
  bottom: 0;
}

table.th_ul th {
  white-space: nowrap;
  font-size: 1.2em;
  font-style: normal;
  font-family: Georgia, "Times New Roman", Times, serif;
}

table.th_ul th > span {
  display: block;
  border-bottom: 1px solid #CCCCCC;
  margin-right: 3px;
  padding-bottom: 1px; 
}

table.targets td {
  padding: 0 10px;
}
table.preview td {
  padding: 0 10px;
}
table.preview tbody td {
  padding-bottom: 10px;
}
.ac {
  text-align: center;
}
.downloadTd {
  padding-left:20px;
}
div.logo_container {
}
table.match_summary tbody tr:first-child td, table.match_summary tbody tr:first-child th {
  padding-top: 20px;
}

/* motif list link, first style */
a.ml1 {
}
a.ml2 {
}
div.ml {
  line-height: 1.8em;
  height: 3.6em;
  overflow-y: auto;
}
td.ml div {

}

table.match_summary {
  width: 100%;
}

table.match_summary th {
  min-width: 10em;
}

table.match_summary div.help, table.dl_opts div.help {
  opacity: 0.0;
    -moz-transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

table.match_summary tr:hover div.help, table.dl_opts tr:hover div.help {
  opacity: 1.0;
}

#download {
  position:absolute;
  display: inline-block;
  z-index:9;
  padding: 5px;
  background-color: #FFF;
  border-style: double;
  border-width: 5px;
  border-color: #00666a;
}

#download.hidden {
  visibility: hidden;
}

div.custom_logo {
  text-align: center;
  margin-top: 20px;
}

div.logo_container {
  position: relative;
}

div.logo_container canvas {
  cursor: pointer;
}

a.download_text {
  display: block;
  margin-top: 5px;
  margin-bottom: 20px;
  color: #00c;
  text-align: center;
}
a.download_text:hover { 
  color: #00c;
}
a.download_text:active {
  color: #c00;
}

a.prev_query, a.prev_target, a.next_target, a.next_query, a.download_btn {
  font-family: arial;
  font-size: xx-large;
  text-decoration: none;
  color: #000;
}
a.prev_query:hover, a.prev_target:hover, a.next_target:hover, a.next_query:hover, a.download_btn:hover {
  background: #000;
  color: #FFF;
}

a.prev_query {
  position: absolute;
  display: inline-block;
  right:0;
  top:0;
}
a.prev_target {
  position: absolute;
  display: inline-block;
  right:0;
  top: 30%;
  transform: translateY(-50%);
}
a.download_btn {
  position: absolute;
  display: inline-block;
  right:0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
a.next_target {
  position: absolute;
  display: inline-block;
  right:0;
  top: 70%;
  transform: translateY(-50%);
}
a.next_query {
  position: absolute;
  display: inline-block;
  right:0;
  bottom:0;
}

a.prev_target:not([href]), a.next_target:not([href]), a.prev_query:not([href]), a.next_query:not([href]) {
  color: #BBB;
  cursor: pointer;
}
a.prev_target:hover:not([href]), a.next_target:hover:not([href]), a.prev_query:hover:not([href]), a.next_query:hover:not([href]) {
  color: #FFF;
  background: #BBB;
}

table.inputs, table.alpha_bg_table {
  margin-top: 20px;
  border-collapse:collapse;
}
table.inputs * td, table.inputs * th, table.alpha_bg_table * td, table.alpha_bg_table * th {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 1px;
  padding-bottom: 1px;
}

span.strand_none, span.strand_given, span.strand_both, span.dist_allr,
    span.dist_ed, span.dist_kullback, span.dist_pearson, span.dist_sandelin,
    span.dist_blic1, span.dist_blic5, span.dist_llr1, span.dist_llr5,
    span.ttype_evalue, span.ttype_qvalue {
  display: none;
}

td.none span.strand_none, td.given span.strand_given, td.both span.strand_both,
    td.allr span.dist_allr, td.ed span.dist_ed, td.kullback span.dist_kullback, 
    td.pearson span.dist_pearson, td.sandelin span.dist_sandelin,
    td.blic1 span.dist_blic1, td.blic5 span.dist_blic5, td.llr1 span.dist_llr1,
    td.llr5 span.dist_llr5, td.evalue span.ttype_evalue, td.qvalue span.ttype_qvalue {
  display: inline;
}
</style>
  </head>
  <body data-scrollpad="true">
    <div id="grey_out_page" class="grey_background" style="display:none;"></div>
    <!-- {{{ help topics -->
    <div class="pop_content" id="pop_results_tsv">
      <script>print_doc("pop_results_tsv", "tomtom-results-tsv");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <div class="pop_content" id="pop_query_db">
      <script>print_doc_para("pop_query_db", "motif-db", "the query motif(s). Tomtom removes the '.meme' file name extension, if present.");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <div class="pop_content" id="pop_query_name">
      <script>print_doc_para("pop_query_name", "motif-id", "query");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_query_alt">
      <script>print_doc_para("pop_query_alt", "motif-alt-id", "query");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_query_web">
      <p>A link to more information about the query motif.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <div class="pop_content" id="pop_motif_consensus">
      <script>print_doc("pop_motif_consensus", "motif-consensus");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <div class="pop_content" id="pop_query_preview">
      <p>The motif preview. On supporting browsers this will display as a motif
      logo, otherwise the <a href="javascript:help_refine('pop_motif_consensus')">consensus</a> sequence will be displayed.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <div class="pop_content" id="pop_query_matches">
      <p>The number motifs in the target database with a significant match to the query motif.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <div class="pop_content" id="pop_query_list">
      <p>Links to the (up to) twenty target motifs with the most significant matches to the query motif.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <div class="pop_content" id="pop_db_name">
      <script>print_doc_para("pop_db_name", "motif-db", "target motifs. Tomtom removes the '.meme' file name extension, if present.");</script>
    <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_db_used">
      <p>The number of motifs read from the motif database minus the number that
      had to be discarded due to conflicting IDs.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_db_matched">
      <p>The number of motifs in this database that have a significant match to at least one of the query motifs.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_summary">
      <p>The summary gives information about the target motif. Mouse over each
      row to show further help buttons for each specific title.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_name">
      <p>The ID of the target motif with the optional alternate ID shown in parentheses.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_db">
      <script>print_doc_para("pop_match_db", "motif-db", "the matched motif. Tomtom removes the '.meme' file name extension, if present.");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_pvalue">
      <script>print_doc_para("pop_match_pvalue", "tomtom-p-value");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_evalue">
      <script>print_doc_para("pop_match_evalue", "tomtom-E-value");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_qvalue">
      <script>print_doc_para("pop_match_qvalue", "tomtom-q-value");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_overlap">
      <script>print_doc_para("pop_match_overlap", "tomtom-overlap");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_offset">
      <script>print_doc_para("pop_match_offset", "tomtom-offset");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_orientation">
      <script>print_doc_para("pop_match_orientation", "tomtom-orientation", "<br>A value of 'Normal' means that the target motif is as it appears in the database. A value of 'Reverse Complement' means that the reverse complement of the target motif is shown.");</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_alignment">
      <p>The image shows the optimal alignment of the two motifs. The sequence logo
      of the target motif is shown aligned above the logo for the query motif.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_match_download">
      <p>By clicking the link "Create custom LOGO &#8615;" a form to make custom logos 
      will be displayed. The download button can then be clicked to generate a motif
      matching the selected specifications.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_dl_type">
      <p>Two image formats, png and eps, are available. The pixel based portable
      network graphic (png) format is commonly used on the Internet and the
      Encapsulated PostScript (eps) format is more suitable for publications
      that might require scaling.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_dl_err">
      <p>Toggle error bars indicating the confidence of a motif based on the
      number of sites used in its creation.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_dl_ssc">
      <p>Toggle adding pseudocounts for <b>S</b>mall <b>S</b>ample 
      <b>C</b>orrection.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_dl_flip">
      <p>Toggle a full reverse complement of the alignment.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    
    <div class="pop_content" id="pop_dl_width">
      <p>Specify the width of the generated logo.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <div class="pop_content" id="pop_dl_height">
      <p>Specify the height of the generated logo.</p>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <div class="pop_content" id="pop_alph_name">
      <script>print_doc_para('pop_alph_name', 'alph-name', 'The ');</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>
    <div class="pop_content" id="pop_alph_bg">
      <script>print_doc_para('pop_alph_bg', 'alph-bg', 'The ');</script>
      <div class="pop_close">[<a href="javascript:help_popup()">close</a> ]</div>
    </div>

    <!-- }}} -->
    <div id="download" class="hidden">
      <form id="logo_form" method="post" action="">
        <input type="hidden" name="program" value="Tomtom"/>
        <input type="hidden" name="motifs" id="dl_motifs" value=""/>
        <input type="hidden" name="id1" value="1"/>
        <input type="hidden" name="rc1" id="dl_rc1" value="0"/>
        <input type="hidden" name="label1" id="dl_label1" value=""/>
        <input type="hidden" name="id2" value="2"/>
        <input type="hidden" name="rc2" id="dl_rc2" value="0"/>
        <input type="hidden" name="label2" id="dl_label2" value=""/>
        <input type="hidden" name="shift" id="dl_shift" value="0"/>
        <table class="dl_opts">
          <tr>
            <th>Image Type <div class="help" data-topic="pop_dl_type"></div></th>
            <td>
              <select name="png">
                <option value="1" selected>PNG</option>
                <option value="0">EPS</option>
              </select>
            </td>
          </tr>
          <tr>
            <th>Error bars <div class="help" data-topic="pop_dl_err"></div></th>
            <td>
              <select name="errbars">
                <option value="1" selected>yes</option>
                <option value="0">no</option>
              </select>
            </td>
          </tr>
          <tr>
            <th>SSC <div class="help" data-topic="pop_dl_ssc"></div></th>
            <td>
              <select name="ssc">
                <option value="1">yes</option>
                <option value="0" selected>no</option>
              </select>
            </td>
          </tr>
          <tr>
            <th>Flip <div class="help" data-topic="pop_dl_flip"></div></th>
            <td>
              <select id="dl_flip">
                <option value="1">yes</option>
                <option value="0" selected>no</option>
              </select>
            </td>
          </tr>
          <tr>
            <th>Width <div class="help" data-topic="pop_dl_width"></div></th>
            <td>
              <input name="width" id="dl_width" type="text" size="3" placeholder="auto"/>
            </td>
          </tr>
          <tr>
            <th>Height <div class="help" data-topic="pop_dl_height"></div></th>
            <td>
              <input name="height" id="dl_height" type="text" size="3" placeholder="auto"/>
            </td>
          </tr>
        </table>
        <input type="submit" id="download_submit" value="download"/>&nbsp;&nbsp;<input type="button" id="download_cancel" value="cancel"/>
      </form>
      <script>make_logo_form()</script>
    </div>

    <div class="pad1">
    <div class="prog_logo big">
    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXPacAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wLHAI4Nh+WUs4AAAA8dEVYdENvbW1lbnQAIEltYWdlIGdlbmVyYXRlZCBieSBHTlUgR2hvc3RzY3JpcHQgKGRldmljZT1wbm1yYXcpCszMtoUAACAASURBVHja7L13nF5llQf+Pee5963Te2bSew9JSCC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AwY8aM4uJi13Vx+K723HgZY7TWGzZsqKysrK6uBsBsyAaqcFw8PfCHo8ecPmHoiadkZ2f16Jnn6ABYHWiE7wk7llNCpPyMTBV0SbEpLHBE/MsumxqKRGbdcluvXr0ADmaK61qOuwHI96i5iaE1EdjIgcZoJOJFo+Ha2up5C+5b+syjgAv4pAwIYkDkBAJUUTHwjTfeEBH7tQ/XJGjnna9dTGOx2KpVq35+yZTGAyGttFLM4sVb3ZZIotyiwqLikm6lpd1//KNRpV17DBv2o4zcIDNiUYCQmYlgEBBT2ElrBdcFCL4PFrAgI9j670bD2LJl2zub3/ryy10rVz7f3BTaU7tr//7dsMYPkvKPZSMi/OCDD06ePNlyLA7X6t8hA5DEiJhZK33dtTc99ufFX1Z/ZtH/5F4FRFqDWQlLelRZMFDcf8DA3NxcIuO4ynW16yqAFQwn4VIxWmvDMH40EgnV1NRu374jHG5IA0hcAiRuWiZo0TuTH/yg/6JFiwYNGuh5nta6o3vu37TB276XBeJ93xMxzU0NS5+pys3JTsJHWjlAAAjGnRhtDBvFX9PK01cYYVOL6kVkw3W15e4n76dSpBQlTC/sR+uqqqfD4QizsVdS8XIYr/YfAPurEq+S/IlLliw555xzkuxax9EdO7XTxBTdunWbOXNmOBxq86v+fxuANidELBZj5lgsFolE7r///o5GfZMLS+fOnRcvXszMnud5nidH3tXh8FPKtY1S/lUAtm7d+uabb7700ktr166tq6trcbJt+d+RkuhIq7el/6tSyiSocX369LnoootGjRp1wgknWICh1V8/cq7vGv9LGIjFlym7B//000+XLl26du3aLVu22Fni+34SLfgakNJuYLTWwWAwEAj07du3srJy4sSJubm5duY5KYXNEXodBgC2VdRrOgzg+35dXV19fX1zc3N1dfUnn3xSW1u7Z8+eurq6aDSaRG/y8/PLyspKSkqKioqOPfbYoqKigoKCwsJCS2BJvg0dTyw89Ot/AHy3hsLr1jX2AAAAAElFTkSuQmCC" alt="Tomtom Logo">
    <h1>Tomtom</h1>
    <h2>Motif Comparison Tool</h2>
    </div>
    <p>
      For further information on how to interpret these results please access
      <a href="http://meme-suite.org//doc/tomtom-output-format.html">http://meme-suite.org//doc/tomtom-output-format.html</a>.<br />
      To get a copy of the MEME software please access 
      <a href="http://meme-suite.org">http://meme-suite.org</a>.
    </p>
    <p>If you use TOMTOM in your research, please cite the following paper:<br>
      <span class="citation">
        Shobhit Gupta, JA Stamatoyannopolous, Timothy Bailey and William Stafford Noble,
        "Quantifying similarity between motifs",
        <i>Genome Biology</i>, <b>8</b>(2):R24, 2007.
        <a href="http://genomebiology.com/2007/8/2/R24">[full text]</a>
      </span>
    </p>
    </div>

    <div class="pad2">
      <a class="jump" href="#query_motifs">Query Motifs</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
        class="jump" href="#target_dbs">Target Databases</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
        class="jump" href="#matches">Matches</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
        class="jump" href="#settings">Settings</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
        class="jump" href="#program">Program information</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
        class="jump" href="tomtom.tsv">Results in TSV Format</a>&nbsp;<span id="results_tsv"></span>&nbsp;<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAMAAAAyEe/dAAAACVBMVEX//wAAAAD////s2cV/AAAAdUlEQVQYlXVRBxLAIAhL+P+jC2HZhXcBZEWEldDsZcLIcAhHWWnK8SDcWQhMFUHdAQ1CqQ5+CWPmlHojl+nCJNRtzu4qRc3IUzmTVpXYK0nox0z0PI1stgchdK7lEv7ekhvalw8WW547Gyzedt/2/gLx8WXjXF/1AYFriNAWAAAAAElFTkSuQmCC" alt="NEW" id="new_1">
          &nbsp;&nbsp;|&nbsp;&nbsp;<a
        class="jump" href="tomtom.xml">Results in XML Format</a>
      <script>
        make_help_button($("results_tsv"), "pop_results_tsv");
      </script>
    </div>

    <div id="query_motifs" class="header">
      <h2>Query Motifs</h2>
      <span><a href="#target_dbs">Next</a>&nbsp;<a href="#">Top</a></span>
    </div>
    <div class="box">
      <table id="preview" class="preview th_ul">
        <thead>
          <tr>
          <th><span>Database <div class="help" data-topic="pop_query_db"></div></span></th>
          <th><span>ID <div class="help" data-topic="pop_query_name"></div></span></th>
          <th><span>Alt. ID <div class="help" data-topic="pop_query_alt"></div></span></th>
          <th><span>Preview <div class="help" data-topic="pop_query_preview"></div></span></th>
          <th><span>Matches <div class="help" data-topic="pop_query_matches"></div></span></th>
          <th><span>List <div class="help" data-topic="pop_query_list"></div></span></th>
          </tr>
        </thead>
        <tbody>
          <tr class="pview_row">
          <td class="pview_db"></td>
          <td class="pview_name"></td>
          <td class="pview_alt"></td>
          <td class="pview_logo"></td>
          <td class="pview_matches"></td>
          <td><div class="ml pview_list"></div></td>
          </tr>
        </tbody>
      </table>
      <script>make_preview();</script>
    </div>

    <div id="target_dbs" class="header">
      <h2>Target Databases</h2>
      <span><a href="#query_motifs">Previous</a>&nbsp;<a id="link_after_target_db" href="#">Next</a>&nbsp;<a href="#">Top</a></span>
    </div>
    <div class="box">
      <table id="tdbs" class="targets th_ul">
      <thead>
        <tr>
          <th><span>Database <div class="help" data-topic="pop_db_name"></div></span></th>
          <th><span>Used <div class="help" data-topic="pop_db_used"></div></span></th>
          <th><span>Matched <div class="help" data-topic="pop_db_matched"></div></span></th>
        </tr>
      </thead>
      <tbody>
        <tr class="db_row">
          <td class="db_name"></td>
          <td class="db_used ac"></td>
          <td class="db_matched ac"></td>
        </tr>
      </tbody>
      </table>
      <script>make_target_dbs();</script>
    </div>

    <div id="matches">
      <div class="match_box">
        <div class="header">
          <h2>Matches to <span class="query_name"></span></h2>
          <span class="links"><a class="prev" href="#">Previous</a>&nbsp;<a class="next" href="#">Next</a>&nbsp;<a href="#">Top</a></span>
        </div>
        <div class="box">
          <table class="th_ul" style="width:100%">
            <col style="width: 5em;">
            <col>
            <tbody class="match_entry">
              <tr>
                <th style="text-align:left;"><span>Summary <div class="help" data-topic="pop_match_summary"></div></span></th>
                <th style="text-align:left;"><span>Optimal Alignment <div class="help" data-topic="pop_match_alignment"></div></span></th>
              </tr>
              <tr>
                <td style="vertical-align:top">
                  <table class="match_summary">
                    <tbody>
                      <tr>
                        <th>Name <div class="help" data-topic="pop_match_name"></div></th>
                        <td class="match_name"></td>
                      </tr>
                      <tr>
                        <th>Database <div class="help" data-topic="pop_match_db"></div></th>
                        <td class="match_db"></td>
                      </tr>
                    </tbody>
                    <tbody>
                      <tr>
                        <th><i>p</i>-value <div class="help" data-topic="pop_match_pvalue"></div></th>
                        <td class="match_pvalue"></td>
                      </tr>
                      <tr>
                        <th><i>E</i>-value <div class="help" data-topic="pop_match_evalue"></div></th>
                        <td class="match_evalue"></td>
                      </tr>
                      <tr>
                        <th><i>q</i>-value <div class="help" data-topic="pop_match_qvalue"></div></th>
                        <td class="match_qvalue"></td>
                      </tr>
                    </tbody>
                    <tbody>
                      <tr>
                        <th>Overlap <div class="help" data-topic="pop_match_overlap"></div></th>
                        <td class="match_overlap"></td>
                      </tr>
                      <tr>
                        <th>Offset <div class="help" data-topic="pop_match_offset"></div></th>
                        <td class="match_offset"></td>
                      </tr>
                      <tr>
                        <th>Orientation <div class="help" data-topic="pop_match_orientation"></div></th>
                        <td class="match_orientation"></td>
                      </tr>
                    </tbody>
                  </table>
                  <a class="download_text" href="#">Show logo download options</a>
                </td>
                <td>
                  <div class="logo_container">
                    <a title="Previous query" class="prev_query">&#x2912;</a>
                    <a title="Previous match" class="prev_target">&#x21A5;</a>
                    <a title="Show logo download options" class="download_btn">&#x21D8;</a>
                    <a title="Next match" class="next_target">&#x21A7;</a>
                    <a title="Next query" class="next_query">&#x2913;</a>
                  </div>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
    <script>make_matches();</script>

    <div id="settings" class="header">
      <h2>Settings</h2>
      <span><a id="link_before_program" href="#">Previous</a>&nbsp;<a href="#program">Next</a>&nbsp;<a href="#">Top</a></span>
    </div>
    <div class="box">
      <h4>Alphabet</h4>
      <span id="bg_source"></span>
      <span id="alpha_bg"></span>
      <script>
      {
        $("bg_source").appendChild(make_background_source("Source", data.options.background_source));
        $("alpha_bg").appendChild(make_alpha_bg_table(tomtom_alphabet));
      }
      </script>
      <h4>Other Settings</h4>
      <table id="tbl_settings" class="inputs hide_advanced">
        <tr>
          <th>Strand Handling</th>
          <td id="opt_strand">
            <span class="strand_none">Reverse complements are not possible so motifs are compared as they are provided.</span>
            <span class="strand_given">Motifs are compared as they are provided.</span>
            <span class="strand_both">Motifs may be reverse complemented before comparison to find a better match.</span>
          </td>
        </tr>
        <tr>
          <th>Distance Measure</th>
          <td id="opt_dist">
            <span class="dist_allr">Average log-likelihood ratio</span>
            <span class="dist_ed">Euclidean distance</span>
            <span class="dist_kullback">Kullback-Leibler divergence</span>
            <span class="dist_pearson">Pearson correlation coefficient</span>
            <span class="dist_sandelin">Sandelin-Wasserman function</span>
            <span class="dist_blic1">Bayesian Likelihood 2-Components score (from 1-component Dirichlet prior)</span>
            <span class="dist_blic5">Bayesian Likelihood 2-Components score (from 5-component Dirichlet prior)</span>
            <span class="dist_llr1">Log likelihood Ratio score (from 1-component Dirichlet prior)</span>
            <span class="dist_llr5">Log likelihood Ratio score (from 5-component Dirichlet prior)</span>
          </td>
        </tr>
        <tr>
          <th>Match Threshold</th>
          <td id="opt_ttype">
            Matches must have a <span class="ttype_evalue"><i>E</i>-value</span><span class="ttype_qvalue">q-value</span> of <span id="opt_thresh"></span> or smaller.
          </td>
        </tr>
      </table>
      <script>
      {
        $("opt_strand").className = (tomtom_alphabet.has_complement() ? (data.options.strands == "both" ? "both" : "given") : "none");
        $("opt_dist").className = data.options.distance_measure;
        $("opt_ttype").className = data.options.threshold_type;
        $("opt_thresh").textContent = data.options.threshold_value;
      }
      </script>
    </div>

    <div id="program" class="bar">
      <div style="text-align:right;"><a href="#settings">Previous</a> <a href="#">Top</a></div>
      <div class="subsection">
        <h5>TOMTOM version</h5>
        <span id="version"></span> (Release date: <span id="release"></span>)
      </div>
      <div class="subsection">
        <h5>Reference</h5>
        <span class="citation">
          Shobhit Gupta, JA Stamatoyannopolous, Timothy Bailey and William Stafford Noble,
          "Quantifying similarity between motifs",
          <i>Genome Biology</i>, <b>8</b>(2):R24, 2007.
        </span>
      </div>
      <div class="subsection">
        <h5>Command line</h5>
        <textarea id="cmd" rows="1" style="width:100%;" readonly></textarea><br>
        <br>Result calculation took <span id="runtime"></span> seconds<br>
      </div>
    </div>
    <script>make_program();</script>
  </body>
</html>