diff macros.xml @ 0:fd5c0b39569a draft

"planemo upload for repository https://github.com/computational-metabolomics/metfrag-galaxy commit e20ce56f23d9fe30df64542ece2295d654ca142d"
author computational-metabolomics
date Wed, 05 Feb 2020 12:30:06 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Wed Feb 05 12:30:06 2020 -0500
@@ -0,0 +1,20 @@
+<macros>
+    <xml name="text-alphanumeric-regex-validator">
+        <validator type="regex" message="Value may include alphanumeric characters">[A-Za-z0-9]+</validator>
+    </xml>
+    <xml name="text-alphanumeric-comma-regex-validator">
+        <validator type="regex" message="Value may include alphanumeric characters and commas">[A-Za-z0-9,]+</validator>
+    </xml>
+    <xml name="metfrag_scoring" token_fragmenterscore='True' token_offlinemetfusionscore='True'
+         token_suspectlistscore="True" token_weights="0.4,0.6,1.0">
+        <param argument="--MetFragScoreTypes" type="select" multiple="true" label="MetFrag Score Types"
+                       help="The type of scores MetFrag is calculating" >
+           <option value="FragmenterScore" selected="@FRAGMENTERSCORE@">FragmenterScore</option>
+           <option value="OfflineMetFusionScore" selected="@OFFLINEMETFUSIONSCORE@">OfflineMetFusionScore</option>
+           <option value="SuspectListScore" selected="@SUSPECTLISTSCORE@">SuspectListScore</option>
+        </param>
+        <param name="MetFragScoreWeights" type="text" value="@WEIGHTS@" label="MetFrag Score Weights"
+                       help="The weights of the different score types, separated with a comma and without
+                       whitespaces. 1.0 means 100 percent." />
+    </xml>
+</macros>
\ No newline at end of file