diff macros.xml @ 2:b02596e3d7a3 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_stats commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
author devteam
date Fri, 18 Dec 2015 19:47:08 -0500
parents cc56fc603e53
children 45c568e7f1f9
line wrap: on
line diff
--- a/macros.xml	Tue Oct 13 12:56:27 2015 -0400
+++ b/macros.xml	Fri Dec 18 19:47:08 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>