E. coli genotypes/Exhibit: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
Line 98: Line 98:
     ]
     ]
};
};
       var SimileAjax_urlPrefix = "http://static.simile.mit.edu/ajax/api/";
       var SimileAjax_urlPrefix = "http://static.simile.mit.edu/ajax/api-2.0/";
       var Exhibit_urlPrefix = "http://static.simile.mit.edu/exhibit/api-2.0/";
       var Exhibit_urlPrefix = "http://static.simile.mit.edu/exhibit/api-2.0/";
       var SimileAjax_onLoad = null;
       var SimileAjax_onLoad = null;

Revision as of 07:17, 31 August 2007

<html>

  <table width="100%">
      <tr valign="top">
          <td>
              <div ex:role="viewPanel"></div>
          </td>
          <td width="25%">
           <div ex:role="facet" ex:expression=".purpose" ex:facetLabel="Purpose"></div>
           <div ex:role="facet" ex:expression=".resistance" ex:facetLabel="Antibiotic resistance"></div>
           <div ex:role="facet" ex:expression=".requires" ex:facetLabel="Requires"></div>
           <div ex:role="facet" ex:expression=".genotype" ex:facetLabel="Genotype"></div>
           <div ex:role="facet" ex:facetClass="TextSearch"></div>
          </td>
      </tr>
  </table>

<script type="text/javascript"> var data = {

   items : [
       {
           label : "AG1",
           purpose : "cloning",
           resistance : "nalidixic acid",
           requires : "thiamine",
           genotype : ["endA1", "recA1", "gyrA96", "thi-1", "relA1", "glnV44", "hsdR17(rK- mK+)"]
       },
       {
           label : "BL21(DE3)",
           purpose : "protein expression",
           inducible : "T7 RNA polymerase",
           lambda : "prophage",
           parent : "B834",
           genotype : ["F-", "ompT", "gal", "dcm", "lon", "hsdSB(rB- mB-)", "lacIq", "lambda", "lacUV5-T7 gene 1", "ind1", "sam7", "nin5"]
       },
       {
           label : "BL21(DE3) pLysS",
           description : "The pLysS plasmid (with chloramphenicol resistance) encodes T7 phage lysozyme, an inhibitor for T7 polymerase which reduces and almost eliminates expression from transformed T7 promoter containing plasmids when not induced.",
           purpose : "protein expression",
           resistance : "chloramphenicol",
           inducible : "T7 RNA polymerase",
           lambda : "prophage",
           parent : "BL21(DE3)",
           genotype : ["F-", "ompT", "gal", "dcm", "lon", "hsdSB(rB- mB-)", "lacIq", "lambda", "lacUV5-T7 gene 1", "ind1", "sam7", "nin5", "pLysS(cmR)"]
       },
       {
           label : "BNN93",
           lambda : "no",
           requires : ["thiamine", "threonine", "leucine"],
           genotype : ["F-", "tonA21", "thi-1", "thr-1", "leuB6", "lacY1", "glnV44", "rfbC1", "fhuA1", "mcrB", "e14-(mcrA-)", "hsdR(rKmK)", "lambda-"]
       },
       {
           label : "BW26434 CGSC Strain #7658",
           lambda : "no",
           resistance : "kanamycin",
           genotype : ["D(araD-araB)567", "D(lacA-lacZ)514(::kan)", "lacIp-4000(lacIq)", "lambda-", "rpoS396(Am)?", "rph-1", "D(rhaD-rhaB)568", "hsdR514"]
       },
       {
           label : "C600",
           purpose : "general purpose",
           lambda : "no",
           requires : ["thiamine", "threonine", "leucine"],
           genotype : ["F-", "tonA21", "thi-1", "thr-1", "leuB6", "lacY1", "glnV44", "rfbC1", "fhuA1", "lambda-"]
       },
       {
           label : "C600 hflA150 (Y1073, BNN102)",
           parent : "C600",
           purpose : "cDNA libraries",
           lambda : "no",
           resistance : "tetracycline",
           requires : ["thiamine", "threonine", "leucine"],
           genotype : ["F-", "thi-1", "thr-1", "leuB6", "lacY1", "tonA21", "glnV44", "lambda-", "hflA150(chr::Tn10)"]
       },
       {
           label : "D1210",
           parent : "HB101",
           genotype : ["lacIq", "lacY+"]
       },
       {
           label : "DB3.1",
           purpose : "propagating plasmids with ccdB",
           resistance : "streptomycin",
           parent : "HB101",
           genotype : ["F-", "gyrA462", "endA1", "glnV44", "D(sr1-recA)", "mcrB", "mrr", "hsdS20(rB-, mB-)", "ara14", "galK2", "lacY1", "proA2", "rpsL20(Smr)", "xyl5", "D(leu)", "mtl1"]
       },
       {
           label : "DH1",
           purpose : "cloning",
           resistance : "nalidixic acid",
           parent : "Hoffman-Berling 1100 strain derivative",
           genotype : ["endA1", "recA1", "gyrA96", "thi-1", "glnV44", "relA1", "hsdR17(rK- mK+)", "lambda-"]
       },
       {
           label : "DH5a",
           purpose : "cloning",
           resistance : "nalidixic acid",
           parent : "DH1",
           genotype : ["F-", "endA1", "glnV44", "thi-1", "recA1", "relA1", "gyrA96", "deoR", "nupG", "phi80dlacZD(M15)", "D(lacZYA-argF)U169", "hsdR17(rK- mK+)", "lambda-"]
       },
   ]

};

      var SimileAjax_urlPrefix = "http://static.simile.mit.edu/ajax/api-2.0/";
      var Exhibit_urlPrefix = "http://static.simile.mit.edu/exhibit/api-2.0/";
      var SimileAjax_onLoad = null;
      
      /* 
       *  You can optionally specify parameters:
       */
      var Exhibit_parameters = [

/*

          {   name:  "views",
              value: "timeline"
          }
  • /
      ];
      
      window.setTimeout(function() {
          var head = document.getElementsByTagName("head")[0];
          
          var includeScript = function(url) {
              var script = document.createElement("script");
              script.type = "text/javascript";
              script.language = "JavaScript";
              script.src = url;
              head.appendChild(script);
          }
          var includeCSS = function(url) {
              var link = document.createElement("link");
              link.setAttribute("rel", "stylesheet");
              link.setAttribute("type", "text/css");
              link.setAttribute("href", url);
              head.appendChild(link);
          }
          
          Exhibit_onLoad = function() {
              /*
               *  Include your own styles here.
               */
              // includeCSS("my-styles.css");
              SimileAjax.History.enabled = false;
              Exhibit.create(data,
                  null // the type of item to show, if there are several types in your data
              );
              /*
               *  Code that you normally put in the onLoad handler for 
               *  instantiating the exhibit and loading data.
               */
          };
          
          SimileAjax_onLoad = function() {
              SimileAjax_onLoad = Exhibit_onLoad;
              includeScript(Exhibit_urlPrefix + "exhibit-api.js?bundle=false");
          };
          includeScript(SimileAjax_urlPrefix + "simile-ajax-api.js");
      }, 100);
  </script>   

</html>