diff sbml2sbol.xml @ 1:83108f3c65aa draft

"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
author tduigou
date Wed, 09 Feb 2022 14:42:01 +0000
parents f0a06f526c7f
children 9b3279f37e41
line wrap: on
line diff
--- a/sbml2sbol.xml	Thu Dec 09 14:21:48 2021 +0000
+++ b/sbml2sbol.xml	Wed Feb 09 14:42:01 2022 +0000
@@ -1,7 +1,10 @@
-<tool id="sbml2sbol" name="SbmlToSbol" version="0.1.12">
+<tool id="sbml2sbol" name="SbmlToSbol" version="@TOOL_VERSION@" profile="19.09">
     <description>Convert sbml to sbol format</description>
+    <macros>
+        <token name="@TOOL_VERSION@">0.1.13</token>
+    </macros>
     <requirements>
-        <requirement type="package" version="0.1.12">sbml2sbol</requirement>
+        <requirement type="package" version="@TOOL_VERSION@">sbml2sbol</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
         python -m sbml2sbol
@@ -14,7 +17,7 @@
         #end if
         --max_prot_per_react '$adv.max_prot_per_react'
         #if $adv.tirs 
-            --tirs $adv.tirs
+            --tirs '$adv.tirs'
         #end if
         --pathway_id '$adv.pathway_id'
         --uniprotID_key '$adv.uniprotID_key'
@@ -23,10 +26,14 @@
         <param name="sbml_single_input" type="data" format="xml" label="Pathway (SBML)" />
         <section name="adv" title="Advanced Options" expanded="false">
             <param name="rbs" type="boolean" label="Calculate the RBS strength?" checked="true" />
-            <param name="max_prot_per_react" type="integer" value="3" label="The maximum number of proteins per reaction" />
+            <param name="max_prot_per_react" type="integer" value="3" min="1" max="20" label="The maximum number of proteins per reaction" />
             <param name="tirs" type="text" optional="true" label="Space separated RBS strength values" />
-            <param name="pathway_id" type="text" value="rp_pathway" label="Group ID of the heterologous pathway" />
-            <param name="uniprotID_key" type="text" value="selenzy" label="Uniprot ID" />
+            <param name="pathway_id" type="text" value="rp_pathway" label="Group ID of the heterologous pathway" >
+                <validator type="empty_field" message="Pathway ID is required"/>
+            </param>
+            <param name="uniprotID_key" type="text" value="selenzy" label="Uniprot ID" >
+                <validator type="empty_field" message="Uniprot ID is required"/>
+            </param>
         </section>
     </inputs>
     <outputs>
@@ -72,7 +79,7 @@
 
 Version
 ----------
-0.1.12
+0.1.13
 
 License
 -------