def execute(self,ops): reagents=None for iteration in range(2): print "Iteration ",iteration+1 # Need to clear here trp=TRP() if iteration==0: trp.addTemplates(["IN"],200) # Add a template with stock concentration 200nM else: reagents=Sample.getAllOnPlate(Experiment.REAGENTPLATE) for r in reagents: if r.volume<0: r.initvolume=-r.volume+10 Sample.clearall() ops(self) trp.finish()
from Experiment.sample import Sample from Experiment.experiment import Experiment import math from TRPLib.trp import TRP reagents = None input = "BT409" srcprefix = "B" prodprefix = "A" for iteration in range(2): print "Iteration ", iteration + 1 trp = TRP() if iteration == 0: trp.addTemplates([input], 200) # Add a template with stock concentration 200nM else: reagents = Sample.getAllOnPlate(Experiment.REAGENTPLATE) for r in reagents: if r.volume < 0: r.initvolume = -r.volume + 20 Sample.clearall() # Round 1 (Keep uncleaved +theo) t71 = trp.runT7(theo=[False, True], src=[input, input], tgt=[], vol=[16, 18], srcdil=4) sv1t7 = trp.saveSamps(src=t71, tgt=[], vol=10, dil=[4, 4]) rt1 = trp.runRT(pos=[True, True], src=t71, tgt=[], vol=[15, 22], srcdil=2)