Team:Harvard/ZF Binding Site Finder

From 2011.igem.org

(Difference between revisions)
Line 84: Line 84:
var bottomzf = $("#bottom").val().toUpperCase();
var bottomzf = $("#bottom").val().toUpperCase();
var topzf = $("#top").val().toUpperCase();
var topzf = $("#top").val().toUpperCase();
 +
 +
var ntpCheck = /[GCTAN]{9}/;
 +
if (!(bottomzf.match(ntpCheck)&&
 +
  topzf.match(ntpCheck)&&
 +
  (bottomzf.length=="9")&&
 +
  (topzf.length=="9"))){
 +
alert("You must enter a valid sequence of nine nucleotides containing G,T,C,A, or N.");
 +
return;
 +
}
alert(bottomzf);
alert(bottomzf);

Revision as of 18:55, 8 July 2011

iGEM 2011 Zinc Finger Binding Site Finder

iGEM 2011 Zinc Finger Binding Site Finder

Justin Chew

Bottom Zinc Finger Array:

Top Zinc Finger Array:

Nucleotide Gap: