diff protein_features.R @ 5:867d47ff782c draft

planemo upload commit 08f1831e097df5d74bf60ff5955e7e9c8e524cc8-dirty
author proteore
date Wed, 14 Mar 2018 12:04:32 -0400
parents bfc679370c64
children fc0118aa432a
line wrap: on
line diff
--- a/protein_features.R	Thu Mar 08 10:47:00 2018 -0500
+++ b/protein_features.R	Wed Mar 14 12:04:32 2018 -0400
@@ -70,8 +70,12 @@
       input = c(input, strsplit(row, ";")[[1]][1])
     }
   }
+
+  # Read reference file
   nextprot_file = args$nextprot
-  nextprot = human_id_map = read.table(nextprot_file, header = TRUE, sep = "\t", stringsAsFactors = FALSE, fill = TRUE, na.strings = "")
+  nextprot = read.table(nextprot_file, header = TRUE, sep = "\t", stringsAsFactors = FALSE, fill = TRUE, na.strings = "", quote = "")
+  
+  # Parse arguments
   typeid = args$type
   P1_args = strsplit(args$argsP1, ",")[[1]]
   P2_args = strsplit(args$argsP2, ",")[[1]]
@@ -130,4 +134,4 @@
   } 
 
 }
-protein_features()
\ No newline at end of file
+protein_features()