changeset 5:bb13650e8115 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2 commit 55eb503f50c54695ec36c3d4671c2b3e64d05f40"
author iuc
date Fri, 05 Feb 2021 18:28:51 +0000
parents 019864881779
children cda49fede0c2
files humann2.xml humann2_macros.xml
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/humann2.xml	Mon Feb 01 18:17:35 2021 +0000
+++ b/humann2.xml	Fri Feb 05 18:28:51 2021 +0000
@@ -1,12 +1,10 @@
-<tool id="humann2" name="HUMAnN2" version="@WRAPPER_VERSION@.1">
+<tool id="humann2" name="HUMAnN2" version="@WRAPPER_VERSION@.2">
     <description>to profile presence/absence and abundance of microbial pathways and gene families</description>
     <macros>
         <import>humann2_macros.xml</import>
     </macros>
-    <stdio>
-        <regex match="Failed to allocate sufficient memory." source="stderr" level="fatal_oom" description="Out of memory error occurred" />
-    </stdio>
-    <expand macro="requirements">        
+    <expand macro="stdio"/>
+    <expand macro="requirements">
         <requirement type="package" version="2.3.0">bowtie2</requirement>
         <requirement type="package" version="2.6.0">metaphlan2</requirement>
         <requirement type="package" version="0.8.24">diamond</requirement>
--- a/humann2_macros.xml	Mon Feb 01 18:17:35 2021 +0000
+++ b/humann2_macros.xml	Fri Feb 05 18:28:51 2021 +0000
@@ -7,6 +7,13 @@
             <yield/>
         </requirements>
     </xml>
+    
+    <xml name="stdio">
+        <stdio>
+            <regex match="Failed to allocate sufficient memory." source="stderr" level="fatal_oom" description="Out of memory error occurred" />
+            <regex match="MemoryError" source="stderr" level="fatal_oom" description="Out of memory error occurred" />
+        </stdio>
+    </xml>
     <xml name="version">
         <version_command>humann2 --version</version_command>
     </xml>