changeset 3:ec2f378ac827 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 8c1eac566cbcc93ceb3d753170bce144d386722c"
author iuc
date Sat, 27 Nov 2021 09:45:44 +0000
parents 3e5c80594237
children e383d4bc8682
files dreme.xml macros.xml
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dreme.xml	Wed Dec 11 18:04:55 2019 -0500
+++ b/dreme.xml	Sat Nov 27 09:45:44 2021 +0000
@@ -1,4 +1,4 @@
-<tool id="meme_dreme" name="DREME" version="@WRAPPER_VERSION@.0">
+<tool id="meme_dreme" name="DREME" version="@TOOL_VERSION@.0">
     <description>- Discriminative Regular Expression Motif Elicitation</description>
     <macros>
         <import>macros.xml</import>
@@ -7,6 +7,7 @@
         <requirement type="package" version="2.7">python</requirement>
     </expand>
     <command detect_errors="exit_code"><![CDATA[
+@CHECK_NON_COMMERCIAL_USE@
 dreme
     -o ./dreme_out
     -p '$pos_fasta_file'
--- a/macros.xml	Wed Dec 11 18:04:55 2019 -0500
+++ b/macros.xml	Sat Nov 27 09:45:44 2021 +0000
@@ -1,11 +1,17 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <macros>
-    <token name="@WRAPPER_VERSION@">5.0.5</token>
+    <token name="@TOOL_VERSION@">5.0.5</token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="5.0.5">meme</requirement>
             <yield/>
         </requirements>
     </xml>
+    <token name="@CHECK_NON_COMMERCIAL_USE@"><![CDATA[
+        #if not $non_commercial_use
+            >&2 echo "this tool is only available for non commercial use";
+            exit 1
+        #end if
+    ]]></token>
 </macros>