changeset 3:9ade210d19be draft

Uploaded
author jfb
date Sat, 27 Apr 2019 15:34:05 -0400
parents 3de8a42a39f8
children 1d532e5664dd
files scoring function/KinatestFisherScoring.R scoring function/output.csv
diffstat 2 files changed, 15 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/scoring function/KinatestFisherScoring.R	Sat Apr 27 15:17:30 2019 -0400
+++ b/scoring function/KinatestFisherScoring.R	Sat Apr 27 15:34:05 2019 -0400
@@ -1,6 +1,7 @@
 # system.time({
 
-args = commandArgs(trailingOnly=TRUE)
+#args = commandArgs(trailingOnly=TRUE)
+#args = c("ABL","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC")
 TodaysKinase<-as.character(args[1])
 
 CharTable<-read.csv("Fisher-Char.csv", header = FALSE,stringsAsFactors = FALSE)
@@ -12,19 +13,19 @@
 
 
 
-M6<-args[2]
-M5<-args[3]
-M4<-args[4]
-M3<-args[5]
-M2<-args[6]
-M1<-args[7]
-D0<-args[8]
-P1<-args[9]
-P2<-args[10]
-P3<-args[11]
-P4<-args[12]
-P5<-args[13]
-P6<-args[14]
+M6<-as.character(args[2])
+M5<-as.character(args[3])
+M4<-as.character(args[4])
+M3<-as.character(args[5])
+M2<-as.character(args[6])
+M1<-as.character(args[7])
+D0<-as.character(args[8])
+P1<-as.character(args[9])
+P2<-as.character(args[10])
+P3<-as.character(args[11])
+P4<-as.character(args[12])
+P5<-as.character(args[13])
+P6<-as.character(args[14])
 
 
 A=1
--- a/scoring function/output.csv	Sat Apr 27 15:17:30 2019 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-"FullMotifs","1","2","3","4","5","6","7","8","9","10","11","12","13","Scores","ThresholdValues","AllActive","AblActive","ArgActive","BtkActive","CskActive","FynActive","HckActive","JAk2Active","LckActive","LynActive","Pyk2Active","SrcActive","SykActive","YesActive"
-"DCEQRVYPYEHIC","D","C","E","Q","R","V","Y","P","Y","E","H","I","C",0.0022522858511427,0.000325810539493378,6,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"SCEQRVYPYEHIC","S","C","E","Q","R","V","Y","P","Y","E","H","I","C",0.0022522858511427,0.000325810539493378,6,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"ACEQRVYPYEHIC","A","C","E","Q","R","V","Y","P","Y","E","H","I","C",0.00147666026341047,0.000213634279015669,6,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"CCEQRVYPYEHIC","C","C","E","Q","R","V","Y","P","Y","E","H","I","C",0.000777510340864064,0.000112496874207213,6,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"FCEQRVYPYEHIC","F","C","E","Q","R","V","Y","P","Y","E","H","I","C",0.00069919257144469,0.000101166333036066,6,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"DCEQRVYPYRHIC","D","C","E","Q","R","V","Y","P","Y","R","H","I","C",0.00586734160095303,0.000848312646043264,7,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"SCEQRVYPYRHIC","S","C","E","Q","R","V","Y","P","Y","R","H","I","C",0.00586734160095303,0.000848312646043264,7,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"ACEQRVYPYRHIC","A","C","E","Q","R","V","Y","P","Y","R","H","I","C",0.00384678978007467,0.000556339521071752,7,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"DCEQRVYPYEGIC","D","C","E","Q","R","V","Y","P","Y","E","G","I","C",0.00327622611135562,0.000473861215800341,7,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"SCEQRVYPYEGIC","S","C","E","Q","R","V","Y","P","Y","E","G","I","C",0.00327622611135562,0.000473861215800341,7,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"ACEQRVYPYEGIC","A","C","E","Q","R","V","Y","P","Y","E","G","I","C",0.00214798352976917,0.000310727091624341,7,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"CCEQRVYPYRHIC","C","C","E","Q","R","V","Y","P","Y","R","H","I","C",0.0020254617173963,0.000293008291262032,7,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"FCEQRVYPYRHIC","F","C","E","Q","R","V","Y","P","Y","R","H","I","C",0.00182143916565182,0.000263501662455362,7,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"CCEQRVYPYEGIC","C","C","E","Q","R","V","Y","P","Y","E","G","I","C",0.00113098418626369,0.000163632137429536,7,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"FCEQRVYPYEGIC","F","C","E","Q","R","V","Y","P","Y","E","G","I","C",0.00101706138156077,0.000147152075960544,7,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE
-"DCEQRVYPYRGIC","D","C","E","Q","R","V","Y","P","Y","R","G","I","C",0.00853476824335272,0.00123349911217382,9,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE
-"SCEQRVYPYRGIC","S","C","E","Q","R","V","Y","P","Y","R","G","I","C",0.00853476824335272,0.00123349911217382,9,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE
-"ACEQRVYPYRGIC","A","C","E","Q","R","V","Y","P","Y","R","G","I","C",0.00559562771127938,0.000809059461632694,9,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE
-"CCEQRVYPYRGIC","C","C","E","Q","R","V","Y","P","Y","R","G","I","C",0.00294628257897116,0.000426159741877843,9,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE
-"FCEQRVYPYRGIC","F","C","E","Q","R","V","Y","P","Y","R","G","I","C",0.00264950674521472,0.000383249587048582,9,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE