changeset 4:e24560178fad 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:44:44 +0000
parents ff2f53a32d0e
children 164067a66a5c
files macros.xml meme_psp_gen.xml
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Wed Dec 11 18:04:34 2019 -0500
+++ b/macros.xml	Sat Nov 27 09:44: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>
 
--- a/meme_psp_gen.xml	Wed Dec 11 18:04:34 2019 -0500
+++ b/meme_psp_gen.xml	Sat Nov 27 09:44:44 2021 +0000
@@ -1,10 +1,11 @@
-<tool id="meme_psp_gen" name="MEME psp-gen" version="@WRAPPER_VERSION@.0">
+<tool id="meme_psp_gen" name="MEME psp-gen" version="@TOOL_VERSION@.0">
     <description>- perform discriminative motif discovery</description>
     <macros>
         <import>macros.xml</import>
     </macros>
     <expand macro="requirements" />
     <command detect_errors="exit_code"><![CDATA[
+@CHECK_NON_COMMERCIAL_USE@
 ln -s '${primary_sequence}' meme_psp_input_pos.fa && 
 ln -s '${control_sequence}' meme_psp_input_neg.fa &&
 psp-gen