changeset 2:5be253dd3e08 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 374a2824a264468316f04281ed211079015503b5"
author iuc
date Tue, 07 Dec 2021 10:17:22 +0000
parents 2f8d3924bb3b
children d326b943f5e2
files blast2rma.xml macros.xml
diffstat 2 files changed, 21 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/blast2rma.xml	Fri Dec 03 23:09:53 2021 +0000
+++ b/blast2rma.xml	Tue Dec 07 10:17:22 2021 +0000
@@ -128,7 +128,7 @@
         </param>
         <section name="advanced_options" title="Advanced options" expanded="false">
             <expand macro="long_reads_param"/>
-            <param argument="--maxMatchesPerRead" type="integer" value="100" label="Maximum matches per read"/>
+            <expand macro="max_matches_per_read_param"/>
             <expand macro="classify_param"/>
             <expand macro="blast_params"/>
             <expand macro="min_max_params"/>
--- a/macros.xml	Fri Dec 03 23:09:53 2021 +0000
+++ b/macros.xml	Tue Dec 07 10:17:22 2021 +0000
@@ -38,9 +38,28 @@
             </when>
         </conditional>
     </macro>
+    <macro name="input_daa_param">
+        <param argument="--in" type="data" format="daa" label="Input DAA file"/>
+    </macro>
     <macro name="long_reads_param">
         <param argument="--longReads" type="boolean" truevalue="--longReads" falsevalue="" checked="false" label="Parse and analyse input reads as long reads?"/>
     </macro>
+    <macro name="max_matches_per_read_param">
+        <param argument="--maxMatchesPerRead" type="integer" value="100" label="Maximum matches per read"/>
+    </macro>
+    <macro name="only_named_classifications_param">
+        <param argument="--only" type="text" value="" label="Names of classifications to use" help="Leave blank to use all classifications">
+            <sanitizer>
+                <valid initial="@VALIDINITIAL@">
+                    <remove value="&apos;" />
+                    <add value="|" />
+                </valid>
+                <mapping initial="none">
+                    <add source="&apos;" target="&apos;&quot;&apos;&quot;&apos;" />
+                </mapping>
+            </sanitizer>
+        </param>
+    </macro>
     <macro name="classification_options">
         <option value="EC" selected="true">EC</option>
         <option value="EGGNOG">EGGNOG</option>
@@ -102,7 +121,7 @@
             <mapping initial="none">
                 <add source="&apos;" target="&apos;&quot;&apos;&quot;&apos;" />
             </mapping>
-       </sanitizer>
+        </sanitizer>
     </xml>
     <xml name="citations">
         <citations>