Team:Amsterdam/maarten/

From 2012.igem.org

(Difference between revisions)
Line 20: Line 20:
tempArray[j] = sensorArray[sensor]
tempArray[j] = sensorArray[sensor]
j++
j++
-
if (j%5 === 0){
+
if (j%5 === 0 && j !== 0){
-
configuratePlasmid(tempArray,number)
+
    if (j !== 0){
-
number++
+
configuratePlasmid(tempArray,number)
-
tempArray = new Array()
+
number++
-
j = 0
+
tempArray = new Array()
-
for (item in memoryPlasmid.memoryObjects){
+
j = 0
-
site = new Object()
+
for (item in memoryPlasmid.memoryObjects){
-
site.zincFingerDescription = memoryPlasmid.memoryObjects[item].zincFinger.featureObject.description
+
site = new Object()
-
site.zincFinger = memoryPlasmid.memoryObjects[item].zincFinger.featureObject.target
+
site.zincFingerDescription = memoryPlasmid.memoryObjects[item].zincFinger.featureObject.description
-
site.zincFingerLength = site.zincFinger.length
+
site.zincFinger = memoryPlasmid.memoryObjects[item].zincFinger.featureObject.target
-
site.methyltransferaseDescription = memoryPlasmid.memoryObjects[item].methyltransferase.featureObject.description
+
site.zincFingerLength = site.zincFinger.length
-
site.methyltransferase = memoryPlasmid.memoryObjects[item].methyltransferase.featureObject.target
+
site.methyltransferaseDescription = memoryPlasmid.memoryObjects[item].methyltransferase.featureObject.description
-
site.methyltransferaseLength = site.methyltransferase.length
+
site.methyltransferase = memoryPlasmid.memoryObjects[item].methyltransferase.featureObject.target
-
site.sensor = memoryPlasmid.memoryObjects[item].sensor.description
+
site.methyltransferaseLength = site.methyltransferase.length
-
targetSites.push(site)
+
site.sensor = memoryPlasmid.memoryObjects[item].sensor.description
 +
targetSites.push(site)
 +
}
}
}
 +
}
}
}
}

Revision as of 19:29, 3 September 2012

Enter your plasmid in fasta or genbank format


Enter your sensors in fasta or genbank format