# HG changeset patch # User bornea # Date 1448035242 18000 # Node ID e63b61738581df1c04d4b015569f5442d983016a # Parent 7b797749e8c4add9acf3fe7e3a63b0db327dad39 Uploaded diff -r 7b797749e8c4 -r e63b61738581 Bubblebeam_For_SAINT_wrapper.py --- a/Bubblebeam_For_SAINT_wrapper.py Thu Nov 19 13:30:04 2015 -0500 +++ b/Bubblebeam_For_SAINT_wrapper.py Fri Nov 20 11:00:42 2015 -0500 @@ -18,6 +18,8 @@ bub_SAINT = sys.argv[13] bub_NSAF = sys.argv[14] ins_path =sys.argv[15] +r_path = sys.argv[16] +r_path = str(r_path) + r"bin/" if crapome == "None": crapome = "FALSE" @@ -28,7 +30,7 @@ elif label == "true": label = "TRUE" -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) +cmd = str(r_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) os.system(cmd) time.sleep(3)