Team:Freiburg/Project/modeling/crRNA/js

From 2013.igem.org

(Difference between revisions)
 
Line 151: Line 151:
   }
   }
   }
   }
 +
 +
var oligo2rev = oligo1.slice();
 +
for( var k=0; k<oligo1.length; k++ ) {
 +
  oligo2rev[k] = oligo2[k].split("").reverse().join("");
 +
}
Line 165: Line 170:
    
    
w.document.writeln("<h3> Oligo number: " + (parseInt(i, 10) + parseInt(1, 10)) + " was found at position " + (parseInt(index[i], 10) + parseInt(1, 10))  + "</h3>");
w.document.writeln("<h3> Oligo number: " + (parseInt(i, 10) + parseInt(1, 10)) + " was found at position " + (parseInt(index[i], 10) + parseInt(1, 10))  + "</h3>");
-
     w.document.writeln("<p>Oligo1: " + oligo1[i] + "</p><p>Oligo2: " + oligo2[i] + "</p>");
+
     w.document.writeln("<p>Oligo1: " + oligo1[i] + "</p><p>Oligo2: " + oligo2[i] + "</p>");
-
     w.document.writeln("<pre>Oligo1: " + oligo1[i] + "<br>           ||||||||||||||||||||||||||||||||<br>Oligo2:   " +  
+
     w.document.writeln("<pre>Oligo1: " + oligo1[i] + "<br>           ||||||||||||||||||||||||||||||||<br>Oligo2:     " +  
-
oligo2[i].split('').reverse().join('') + "</pre>");
+
oligo2rev[i] + "</pre>");
    
    
     }
     }
-
alert('Working.');   
+
w.document.writeln("</td>");
-
}
+
-
} );
+
-
</script>
+
-
 
+
-
 
+
-
<SCRIPT LANGUAGE="JavaScript">
+
-
 
+
-
 
+
-
 
+
-
function CrispR (form) {
+
-
+
-
 
+
-
 
+
-
  TestVar = TestVar.replace(/</g,"\n <");
+
-
 
+
-
  var w = window.open("blank.html", "blank", "height=50,width=300");
+
-
 
+
-
  w.document.writeln("<h2> The inserted sequence is: </h2>");
+
-
+
-
  w.document.writeln(TestVar);
+
-
    w.document.writeln("<h1>possible crRNAs are:</h1><div>");
+
-
  w.document.writeln("<table>");
+
-
    w.document.writeln("<tr><td>");
+
-
 
+
-
    for (i=0; i<oligo2.length; i++ ) {
+
-
   
+
-
    w.document.writeln("<h3> Oligo number: " + (parseInt(i, 10) + parseInt(1, 10)) + " was found at position " +
+
-
 
+
-
(parseInt(index[i], 10) + parseInt(1, 10))  + "</h3>");
+
-
    w.document.writeln("<p>Oligo1: " + oligo1[i] + "</p><p>Oligo2: " + oligo2[i] + "</p>");
+
-
    w.document.writeln("<pre>Oligo1: " + oligo1[i] + "<br>
+
-
 
+
-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;||||||||||||||||||||||||||||||||<br>Oligo2: &nbsp;&nbsp;&nbsp;&nbsp;" +
+
-
 
+
-
oligo2[i].split("").reverse().join("") + "</pre>");
+
-
   
+
-
    }
+
-
   
+
-
  w.document.writeln("</td>");
+
   w.document.writeln("<td>");
   w.document.writeln("<td>");
    
    
Line 217: Line 183:
   w.document.writeln("</div>");
   w.document.writeln("</div>");
  
  
-
   w.document.close();
+
   w.document.close();  
-
 
+
}
}
-
</SCRIPT>
+
} );
 +
</script>
 +
 
 +
 
<style type="text/css">
<style type="text/css">
body {  
body {  

Latest revision as of 22:22, 26 September 2013

CrispR

button

crRNA-Design

Enter Target Sequence

Choose Program

Which strand should be targeted?

non coding strand coding strand

This tool helps you to design a crRNA-insert for pX334a. The oligos contain overhangs which fit to the BbsI-overhangs by pX334a.

For repression of gene transcription by targeting the coding sequence it´s crucial to target the non template (= coding) DNA strand.
Therefore the oligos must be designed as follows:

  1. Search at your desired target sequence for a CCN (reverse complement of the PAM sequence) at the coding strand.
  2. Extract the following (3') 30 nucleotides.
  3. Extract the reverse complement.
  4. Add AAAC at the 5' end and GT at the 3' end. This will be your fist oligo.
  5. Take the sequence from step 2 and add TAAAAC at the 5' end. This will be your second oligo.