diff Get_ms-ms_observations.xml @ 9:7e476e78b349 draft

planemo upload commit d391522f72e9dc392df43d11cb43d2d8d8ff8abd-dirty
author proteore
date Tue, 26 Feb 2019 08:51:03 -0500
parents 0f440846ad3e
children 8f70d5636325
line wrap: on
line diff
--- a/Get_ms-ms_observations.xml	Fri Feb 01 11:03:45 2019 -0500
+++ b/Get_ms-ms_observations.xml	Tue Feb 26 08:51:03 2019 -0500
@@ -1,4 +1,4 @@
-<tool id="retr_pepatlas1" name="Get MS/MS observations in tissue/fluid" version="2019.02.01">
+<tool id="retr_pepatlas1" name="Get MS/MS observations in tissue/fluid" version="2019.02.26">
     <description>[Peptide Atlas]</description>
     <requirements>
         <requirement type="package" version="3.4.1">R</requirement>
@@ -16,7 +16,7 @@
             --column_number="$input.ncol"
             --header="$input.header"
         #end if
-        --atlas=${",".join([$__tool_directory__/+str(ref) for ref in str($atlas).split(",")])}
+        --atlas=${",".join([$__tool_directory__+"/"+str(ref) for ref in str($atlas).split(",")])}
         --output="$output"
     </command>
 
@@ -41,7 +41,9 @@
             <when value="file" >
                 <param name="file" type="data" format="txt,tabular" label="Select your file" help="" />
                 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does file contain header?" />
-                <param name="ncol" type="text" value="c1" label="Column of IDs" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on' />                
+                <param name="ncol" type="text" value="c1" label="Column of IDs" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on'>
+                    <validator type="regex" message="Please enter a column number, for example: 'c1' for the first column">[c]{0,1}[0-9]+</validator>
+                </param>
             </when>
         </conditional>
         <!-- Peptide Atlas options -->