Team:Amsterdam/maarten/
From 2012.igem.org
(Difference between revisions)
Line 34: | Line 34: | ||
while ((match = pattern.exec(plasmid)) != null){ | while ((match = pattern.exec(plasmid)) != null){ | ||
matches.push((match.index)+':'+(match.index+target.length)) | matches.push((match.index)+':'+(match.index+target.length)) | ||
- | |||
} | } | ||
return matches | return matches | ||
Line 58: | Line 57: | ||
$('div#plasmid').remove() | $('div#plasmid').remove() | ||
$('div#main-content').append('<div id="plasmid">'+plasmid.dna+'</div>') | $('div#main-content').append('<div id="plasmid">'+plasmid.dna+'</div>') | ||
- | + | occurrences = checkOccurrence(mtase.target,plasmid.dna) | |
+ | alert(occurrences) | ||
} | } |
Revision as of 01:34, 24 July 2012