diff macros.xml @ 0:7d9ee8cd14b8 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blobtoolkit commit 7c0db48ffd4dbee68fb2320fc5a064bc9c3219d9
author bgruening
date Mon, 30 Jan 2023 12:39:40 +0000
parents
children 840822c1e84a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Mon Jan 30 12:39:40 2023 +0000
@@ -0,0 +1,47 @@
+<macros>
+    <token name="@TOOL_VERSION@">3.4.0</token>
+    <token name="@VERSION_SUFFIX@">0</token>
+    
+    <xml name="requirements">
+        <requirements>
+            <container type="docker">genomehubs/blobtoolkit:@TOOL_VERSION@</container>
+        </requirements>
+    </xml>
+    <xml name="citations">
+        <citations>
+            <citation type="doi">10.1534/g3.119.400908</citation>
+        </citations>
+    </xml>
+    <xml name="macro_text_input" >
+        <conditional name="text_input">
+            <param name="selector" type="select" label="Genetic text file" help="Include a genetic text file as input">
+                <option value="enabled">Enabled</option>
+                <option value="disabled" selected="true">Disabled</option>
+            </param>
+            <when value="enabled">
+                <param argument="--text" type="data" format="txt" label="Generic text file"/>
+                <param argument="--text-cols" type="text" value="" label="Column specification" help="Example: 1=identifiers,2,3=score,total=total_score">
+                    <sanitizer invalid_char="">
+                        <valid initial="string.letters,string.digits">
+                            <add value="_" />
+                            <add value="," />
+                            <add value="=" />
+                            <add value="-" />
+                            <add value="#" />
+                        </valid>
+                    </sanitizer>
+                    <validator type="regex">[0-9a-zA-Z=,_#-]+</validator>
+                </param>
+                <param argument="--text-header" type="boolean" truevalue="--text-header" falsevalue="" checked="false" label="Text has header row" help="Set the flag if a text file contains a header row" />
+                <param argument="--text-delimiter" type="select" label="Text delimiter" help="Character used as delimiter in the text file">
+                    <option value=",">Comma</option>
+                    <option value="\t">Tabulation</option>
+                    <option value="whitespace">Whitespace</option>
+                </param>
+                <yield/>
+            </when>
+            <when value="disabled"/>
+        </conditional>
+
+    </xml>
+</macros>
\ No newline at end of file