changeset 16:3c2ac7c3f0b8 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:12 +0000
parents 9dd5373f6a5a
children e7242484929c
files macros.xml meme.xml
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Wed Nov 18 19:41:27 2020 +0000
+++ b/macros.xml	Sat Nov 27 09:45:12 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>
 
--- a/meme.xml	Wed Nov 18 19:41:27 2020 +0000
+++ b/meme.xml	Sat Nov 27 09:45:12 2021 +0000
@@ -1,10 +1,14 @@
-<tool id="meme_meme" name="MEME" version="@WRAPPER_VERSION@.0">
+<tool id="meme_meme" name="MEME" version="@TOOL_VERSION@.0">
     <description>- Multiple EM for Motif Elicitation</description>
+    <xrefs>
+        <xref type="bio.tools">meme_meme</xref>
+    </xrefs>
     <macros>
         <import>macros.xml</import>
     </macros>
     <expand macro="requirements" />
     <command detect_errors="exit_code"><![CDATA[
+@CHECK_NON_COMMERCIAL_USE@
 export TMPDIR=\${TMPDIR:-.};
 
 meme '$input1'