changeset 7:c9943f867413 draft

planemo upload commit 6b011549498a096af60a494bc39c1a2078580a5a-dirty
author proteore
date Tue, 20 Mar 2018 10:46:46 -0400
parents 71214d6034e7
children 2df5166efebb
files add_expression_HPA.R expression_rnaseq_abbased.xml
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/add_expression_HPA.R	Mon Mar 19 10:09:01 2018 -0400
+++ b/add_expression_HPA.R	Tue Mar 20 10:46:46 2018 -0400
@@ -65,7 +65,7 @@
 
   inputtype = args$inputtype
   if (inputtype == "copypaste") {
-    input = strsplit(args$input, " ")[[1]]
+    input = strsplit(args$input, "[ \t\n]+")[[1]]
   }
   else if (inputtype == "tabfile") {
     filename = args$input
--- a/expression_rnaseq_abbased.xml	Mon Mar 19 10:09:01 2018 -0400
+++ b/expression_rnaseq_abbased.xml	Tue Mar 20 10:46:46 2018 -0400
@@ -30,7 +30,16 @@
       <option value="copy_paste">Copy/paste your list of IDs</option> 
     </param>
     <when value="copy_paste">
-      <param name="genelist" type="text" label="Enter a list of identifiers"/>
+      <param name="genelist" type="text" label="Enter a list of identifiers">
+        <sanitizer>
+            <valid initial="string.printable">
+                <remove value="&apos;"/>
+            </valid>
+            <mapping initial="none">
+                <add source="&apos;" target="__sq__"/>
+            </mapping>
+        </sanitizer>
+      </param>
     </when>
     <when value="file_all">
       <param name="genelist" type="data" format="txt,tabular" label="Choose your file" help="This file must imperatively have 1 column filled with Ensembl Gene IDs (ENSG). Please use the ID_Converter tool if this is not the case."/>