comparison saint_wrapper.py @ 24:7cd627b3d184 draft

Uploaded
author bornea
date Tue, 17 Nov 2015 13:35:02 -0500
parents cb85ef8dc169
children
comparison
equal deleted inserted replaced
23:da65f6d41a9e 24:7cd627b3d184
49 cmd = str(ins_path) + r"/SAINTexpress_v3.6.1__2015-05-03/bin/SAINTexpress-spc "+ r"-R" + str(num_of_rep1) + " " + r"-L" + str(vc_num1) + " " + str(inter_file1) + " " + str(prey_file1) + " " + str(bait_file1) + " " + str(go_file1) 49 cmd = str(ins_path) + r"/SAINTexpress_v3.6.1__2015-05-03/bin/SAINTexpress-spc "+ r"-R" + str(num_of_rep1) + " " + r"-L" + str(vc_num1) + " " + str(inter_file1) + " " + str(prey_file1) + " " + str(bait_file1) + " " + str(go_file1)
50 os.system(cmd) 50 os.system(cmd)
51 open('list.txt') 51 open('list.txt')
52 os.rename('list.txt', str(output_file1)) 52 os.rename('list.txt', str(output_file1))
53 53
54 first_run_check()
54 if (vc_bool == "true"): 55 if (vc_bool == "true"):
55 if (go_bool == "false"): 56 if (go_bool == "false"):
56 with_L(inter_file, prey_file, bait_file, output_file, vc_num, num_of_rep) 57 with_L(inter_file, prey_file, bait_file, output_file, vc_num, num_of_rep)
57 elif (go_bool == "true"): 58 elif (go_bool == "true"):
58 external_data_with_L(inter_file, prey_file, bait_file, output_file, go_file, num_of_rep, vc_num) 59 external_data_with_L(inter_file, prey_file, bait_file, output_file, go_file, num_of_rep, vc_num)