diff macros.xml @ 1:7a353d79225d draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_idxstats commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
author devteam
date Fri, 18 Dec 2015 19:44:48 -0500
parents a5f8ee692d38
children e726bb429392
line wrap: on
line diff
--- a/macros.xml	Mon Nov 09 12:24:23 2015 -0500
+++ b/macros.xml	Fri Dec 18 19:44:48 2015 -0500
@@ -41,7 +41,7 @@
         </citations>
     </xml>
     <xml name="version_command">
-        <version_command>samtools --version | head -n 1 | awk '{ print $2 }'</version_command>
+        <version_command>echo $(samtools --version | head -n 1)", "$(samtools --version | grep -o -E "htslib.*?")</version_command>
     </xml>
     <xml name="stdio">
         <stdio>