changeset 4:97df51029d0e draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit 0bb79ebbaf73fe6e902f6ef20cc9c9741063bf34
author galaxyp
date Tue, 17 May 2022 14:51:16 +0000
parents 011aeeedc53e
children
files encyclopedia_library_to_blib.xml macros.xml
diffstat 2 files changed, 19 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/encyclopedia_library_to_blib.xml	Wed Apr 20 11:43:44 2022 +0000
+++ b/encyclopedia_library_to_blib.xml	Tue May 17 14:51:16 2022 +0000
@@ -4,7 +4,7 @@
         <import>macros.xml</import>
     </macros>
     <expand macro="requirements" />
-    <command detect_errors="aggressive"><![CDATA[
+    <command detect_errors="exit_code"><![CDATA[
         EncyclopeDIA -convert -libtoblib
             -Djava.awt.headless=true -Duser.language=en-US -Duser.region=US
             -Xmx\$[ \${GALAXY_MEMORY_MB:-20480} / 1024 ]g
--- a/macros.xml	Wed Apr 20 11:43:44 2022 +0000
+++ b/macros.xml	Tue May 17 14:51:16 2022 +0000
@@ -293,16 +293,21 @@
             </param>
             <when value="no"/>
             <when value="yes">
-                <param argument="-percolatorVersionNumber" type="integer" value="3" min="2" max="3" label="percolatorVersionNumber"/>
-                <param argument="-percolatorProteinThreshold" type="float" value="0.01" label="percolatorProteinThreshold"/>
-                <param argument="-percolatorThreshold" type="float" value="0.01" label="percolatorThreshold"/>
+                <param argument="-percolatorVersion" type="text" value="3.01" optional="true" label="percolatorVersion">
+                     <option value="2.10">2.10</option>
+                     <option value="3.01">3.01</option>
+                     <option value="3.05">3.05</option>
+                     <validator type="regex" message="Not percolator version format">^\d([.]\d+)?$</validator>
+                </param>
+                <param argument="-percolatorProteinThreshold" type="float" value="0.01" optional="true" label="percolatorProteinThreshold"/>
+                <param argument="-percolatorThreshold" type="float" value="0.01" optional="true" label="percolatorThreshold"/>
             </when>
         </conditional>
     </xml>
     <token name="@PERCOLATOR_OPTIONS@">
     #if $options.percolator.set_percolator == 'yes'
-        #if str($options.percolator.percolatorVersionNumber)
-            -percolatorVersionNumber $options.percolator.percolatorVersionNumber
+        #if str($options.percolator.percolatorVersion)
+            -percolatorVersion $options.percolator.percolatorVersion
         #end if
         #if str($options.percolator.percolatorProteinThreshold)
             -percolatorProteinThreshold $options.percolator.percolatorProteinThreshold
@@ -310,6 +315,8 @@
         #if str($options.percolator.percolatorThreshold)
             -percolatorThreshold $options.percolator.percolatorThreshold
         #end if
+    #else 
+        -percolatorVersion "3.01"
     #end if
     </token>
 
@@ -525,6 +532,12 @@
         @FASTA_INPUT@
         @TARGET_FASTA@
         @LIB_INPUT@
+        @MASS_LIBRARY_TOLERANCE@
+        @PERCOLATOR_OPTIONS@
+        @PEAK_OPTIONS@
+        @WINDOW_OPTIONS@
+        @MODIFICATION_OPTIONS@
+        @SEARCH_OPTIONS@
         -a $a
         -o chromatogram_library.elib
         && ls -l ./*.* inputs/*