comparison Bubblebeam_For_SAINT_wrapper.py @ 18:e992232032ae draft

Uploaded
author bornea
date Fri, 20 Nov 2015 11:14:37 -0500
parents b11a6884496e
children 7ce59d092bae
comparison
equal deleted inserted replaced
17:b11a6884496e 18:e992232032ae
28 if label == "false": 28 if label == "false":
29 label = "FALSE" 29 label = "FALSE"
30 elif label == "true": 30 elif label == "true":
31 label = "TRUE" 31 label = "TRUE"
32 32
33 cmd = r"Rscript "+ str(ins_path) + r"/bubbles_v9_NSAF_natural_log.R " + str(list_file) + r" " + str(prey_file) + r" " + str(crapome) + r" " + str(color) + r" " + str(label) + r" " + str(cutoff) + r" " + str(mq_sc) + r" " + str(inc_file) + r" " + str(exc_file) 33 cmd = str(ins_path) +r"/Rscript "+ str(ins_path) + r"/bubbles_v9_NSAF_natural_log.R " + str(list_file) + r" " + str(prey_file) + r" " + str(crapome) + r" " + str(color) + r" " + str(label) + r" " + str(cutoff) + r" " + str(mq_sc) + r" " + str(inc_file) + r" " + str(exc_file)
34 os.system(cmd) 34 os.system(cmd)
35 time.sleep(3) 35 time.sleep(3)
36 36
37 open('./output.txt') 37 open('./output.txt')
38 os.rename('output.txt', str(output_file_name)) 38 os.rename('output.txt', str(output_file_name))