Repository 'megan_blast2rma'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/megan_blast2rma

Changeset 2:5be253dd3e08 (2021-12-07)
Previous changeset 1:2f8d3924bb3b (2021-12-03) Next changeset 3:d326b943f5e2 (2021-12-11)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/megan commit 374a2824a264468316f04281ed211079015503b5"
modified:
blast2rma.xml
macros.xml
b
diff -r 2f8d3924bb3b -r 5be253dd3e08 blast2rma.xml
--- a/blast2rma.xml Fri Dec 03 23:09:53 2021 +0000
+++ b/blast2rma.xml Tue Dec 07 10:17:22 2021 +0000
b
@@ -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"/>
b
diff -r 2f8d3924bb3b -r 5be253dd3e08 macros.xml
--- a/macros.xml Fri Dec 03 23:09:53 2021 +0000
+++ b/macros.xml Tue Dec 07 10:17:22 2021 +0000
b
@@ -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>