Team:Freiburg/Project/modeling/crRNA/js

From 2013.igem.org

(Difference between revisions)
Line 24: Line 24:
     if (document.getElementById('form1').rad[Count].checked){
     if (document.getElementById('form1').rad[Count].checked){
-
alert('Working.');
+
 
         break;}
         break;}
   }
   }
Line 38: Line 38:
   var k = 0;
   var k = 0;
-
 
+
while (m = pattern.exec(TestVar)){
-
}
+
-
   
+
-
}
+
-
} );
+
-
</script>
+
-
 
+
-
 
+
-
<SCRIPT LANGUAGE="JavaScript">
+
-
 
+
-
 
+
-
 
+
-
function CrispR (form) {
+
-
var TestVar = form.Sequenz.value;
+
-
  var length = TestVar.length;
+
-
  TestVar = TestVar.trim();
+
-
  TestVar = TestVar.toUpperCase();
+
-
if(length<32){alert("too short");return;}
+
-
var nonNuc = TestVar.search(/[^T|^A|^G|^C]/);
+
-
if (nonNuc != -1){alert("There are non nucleotide signs in your sequence. Plese check your sequence!");return;}
+
-
+
-
for (Count = 0; Count < 2; Count++) {
+
-
    if (form.rad[Count].checked)
+
-
        break;
+
-
  }
+
-
+
-
  if(Count != 0 && Count != 1){ alert("please check which strand you have inserted");return; }
+
-
 
+
-
  else if (Count==0) {
+
-
 
+
-
  var pattern = /.GG/g;
+
-
  var m;
+
-
  var oligo4 = [];
+
-
  var index1 = [];
+
-
  var k = 0;
+
-
 
+
-
  while (m = pattern.exec(TestVar)){
+
   oligo4.push(m);
   oligo4.push(m);
   index1.push(m.index);
   index1.push(m.index);
Line 130: Line 94:
   j = j+25;
   j = j+25;
   }
   }
-
  } else {
+
 
 +
 
 +
 
 +
 
 +
}else {
    
    
  var pattern = /CC./g;
  var pattern = /CC./g;
Line 183: Line 151:
   }
   }
   }
   }
 +
 +
 +
TestVar = TestVar.replace(/</g,"\n <");
 +
 
 +
  var w = window.open("blank.html", "blank", "height=50,width=300");
 +
 +
alert('Working.');   
 +
}
 +
} );
 +
</script>
 +
 +
 +
<SCRIPT LANGUAGE="JavaScript">
 +
 +
 +
 +
function CrispR (form) {
 +
  
  
  
  

Revision as of 21:46, 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.