from django.shortcuts import render from django.http import HttpResponse import json import uuid import logging import StringIO from pyVEP import VEP from MutationInfo import MutationInfo print 'Initializing MutationInfo..' mi = MutationInfo() print 'Done' root_logger = logging.getLogger() root_logger.setLevel(logging.DEBUG) # Create your views here. def do_MutationInfo(request): ''' test_ret = {'chrom': '12', 'source': 'NC_transcript', 'genome': 'GRCh37.p13', 'offset': 21355487, 'alt': 'G', 'ref': 'T'} ''' print request.method if request.method == u'GET':