#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 19 14:33:51 2020 @author: tanu """ #%% load packages import os homedir = os.path.expanduser('~') os.chdir (homedir + '/git/LSHTM_analysis/dynamut') from submit_dynamut import * ######################################################################## # variables my_host = 'http://biosig.unimelb.edu.au' my_prediction_url = f"{my_host}/dynamut/prediction_list" print(my_prediction_url) # TODO: add cmd line args #gene = 'gid' drug = 'streptomycin' datadir = homedir + '/git/Data' indir = datadir + '/' + drug + '/input' outdir = datadir + '/' + drug + '/output' my_chain = 'A' my_email = 'tanushree.tunstall@lshtm.ac.uk' my_pdb_file = indir + '/gid_complex.pdb' #============================================================================== # batch 8: 07.txt, # RAN: 22 Feb 09:26 #my_mutation_list = outdir + '/snp_batches/50/snp_batch_07.txt' #my_suffix = 'gid_b8' # batch 9: 08.txt, # RAN: 22 Feb 09:26 #my_mutation_list = outdir + '/snp_batches/50/snp_batch_08.txt' #my_suffix = 'gid_b9' # batch 10: 09.txt, # RAN:22 Feb 09:26 my_mutation_list = outdir + '/snp_batches/50/snp_batch_09.txt' my_suffix = 'gid_b10' #============================================================================== #========================== # CALL: submit_dynamut() # Data: gid+streptomycin #========================== submit_dynamut(host_url = my_host , pdb_file = my_pdb_file , mutation_list = my_mutation_list , chain = my_chain , email_address = my_email , prediction_url = my_prediction_url , output_dir = outdir , outfile_suffix = my_suffix) #%%#####################################################################