changeset 13:e63b61738581 draft

Uploaded
author bornea
date Fri, 20 Nov 2015 11:00:42 -0500
parents 7b797749e8c4
children fcfcbdcde66f
files Bubblebeam_For_SAINT_wrapper.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)