Esempio n. 1
0
def selfprime(request):
	try:
		o = Oligo(data = request.POST)
	except Exception as e:
		print e
	image, warnings = o.selfPrime()
	return HttpResponse(
		json.dumps({
			'warnings':warnings,
			'image':image
		}), mimetype="application/json")
Esempio n. 2
0
def selfprime(request):
    try:
        o = Oligo(data=request.POST)
    except Exception as e:
        print e
    image, warnings = o.selfPrime()
    return HttpResponse(json.dumps({
        'warnings': warnings,
        'image': image
    }),
                        mimetype="application/json")
Esempio n. 3
0
def go(request):
    try:
        o = Oligo(data=request.POST)
    except Exception as e:
        print e
    return HttpResponse(json.dumps({
        'TmT': o.topTm(),
        'TmB': o.bottomTm(),
        'TmF': o.fullTm(),
        'SeqT': o.topPrimer(),
        'SeqB': o.bottomPrimer()
    }),
                        mimetype="application/json")
Esempio n. 4
0
def go(request):
	try:
		o = Oligo(data = request.POST)
	except Exception as e:
		print e
	return HttpResponse(
		json.dumps({
			'TmT':o.topTm(),
			'TmB':o.bottomTm(),
			'TmF':o.fullTm(),
			'SeqT':o.topPrimer(),
			'SeqB':o.bottomPrimer()
		}),mimetype="application/json")