Difference between revisions of "Template:Heidelberg/pages/rfc 110 plasmid.js"

(Created page with "{{Heidelberg/js/plasmid.js}} <html> <head> <script> $(function() { // You could also load your data via AJAX var inserts = [ { size: 3, // Size in angles...")
 
 
(6 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
     var inserts = [
 
     var inserts = [
 
     {
 
     {
         size: 3, // Size in angles! (there are 360 of them available)
+
         size: 3,
         color: "yellow", // You can use any valid css format
+
         color: "yellow",
         label: "BioBrick Cloning sites (EcoRI,NotI,XbaI)", // The label to display in the legend
+
         label: "BioBrick Cloning sites (EcoRI,NotI,XbaI)",  
         description: "The standard RFC 10 Cloning sites for traditional BioBrick assembly. They are not used for RFC 110 cloning. ", // The description to put in the infobox
+
         description: "The standard RFC 10 Cloning sites for traditional BioBrick assembly. They are not used for RFC 110 cloning. ",
         gap: false, // If not given this defaults to true
+
         gap: false,
         promoter: false // This is a promoter, defaults to false
+
         promoter: false
 
     },
 
     },
 
     {
 
     {
Line 25: Line 25:
 
     {
 
     {
 
         size: 20,
 
         size: 20,
         color: "green",
+
         color: "#20ff00",
 
         label: "T7 Promoter",
 
         label: "T7 Promoter",
         description: "Responsible for the easy transcription of the RNA fragment. Constitutive Promoter"
+
         description: "Responsible for the easy transcription of the RNA fragment. Constitutive Promoter",
promoter: false
+
promoter: true,
gap: false
+
gap: false
 
},
 
},
 
     {
 
     {
Line 36: Line 36:
 
         label: "HDV ribozyme",
 
         label: "HDV ribozyme",
 
         description: "Hepatitis Delta Virus ribozyme. Cleaves itself of during or after transcription. Leaving a defined 3' terminus of the transcribed RNA",
 
         description: "Hepatitis Delta Virus ribozyme. Cleaves itself of during or after transcription. Leaving a defined 3' terminus of the transcribed RNA",
         promoter: true
+
         promoter: true,
gap: false
+
gap: false
 
     },
 
     },
 
{
 
{
Line 47: Line 47:
 
     },
 
     },
 
     {
 
     {
         size: 3, // Size in angles! (there are 360 of them available)
+
         size: 3,
         color: "yellow", // You can use any valid css format
+
         color: "yellow",  
         label: "BioBrick Cloning sites (SpeI,NotI,PstI)", // The label to display in the legend
+
         label: "BioBrick Cloning sites (SpeI,NotI,PstI)",
         description: "The standard RFC 10 Cloning sites for traditional BioBrick assembly. They are not used for RFC 110 cloning. ", // The description to put in the infobox
+
         description: "The standard RFC 10 Cloning sites for traditional BioBrick assembly. They are not used for RFC 110 cloning. ",
         gap: false, // If not given this defaults to true
+
         gap: true,  
         promoter: false // This is a promoter, defaults to false
+
         promoter: false
     }
+
     },
 
    {
 
    {
         size: 60, // Size in angles! (there are 360 of them available)
+
         size: 60,
         color: "brown", // You can use any valid css format
+
         color: "brown",
         label: "Ori", // The label to display in the legend
+
         label: "Ori",
         description: "pSB1C3 origin of replication. High copy Plasmid ori", // The description to put in the infobox
+
         description: "pSB1C3 origin of replication. High copy Plasmid ori",
         gap: true,// If not given this defaults to true
+
         gap: true,
         promoter: false // This is a promoter, defaults to false
+
         promoter: false  
     }
+
     },
 
    {
 
    {
         size: 70, // Size in angles! (there are 360 of them available)
+
         size: 70,
         color: "purple", // You can use any valid css format
+
         color: "purple",
         label: "Chloramphenicol Resistance" // The label to display in the legend
+
         label: "Chloramphenicol Resistance",
         description: "pSB1C3 selection marker", // The description to put in the infobox
+
         description: "pSB1C3 selection marker",
         gap: true, // If not given this defaults to true
+
         gap: true,
         promoter: false // This is a promoter, defaults to false
+
         promoter: false
 
     }
 
     }
 
 
 
];
 
];
  
    // Required parameters are: id of the canvas, id of the infobox,
 
    // the inserts and the diameter of the plasmid. Note, that there
 
    // is spacing and a legend added (default: width + 575, height + 50)
 
    // These values can be changed easily, see below.
 
 
     var plasmid = new Plasmid('canvas', 'info', inserts, 500);
 
     var plasmid = new Plasmid('canvas', 'info', inserts, 500);
 
     plasmid.draw();
 
     plasmid.draw();

Latest revision as of 20:11, 14 September 2015

RFC 110 Plasmid