diff macros.xml @ 5:7b6dcfbdc6a9 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_flagstat commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
author devteam
date Fri, 18 Dec 2015 19:44:33 -0500
parents 10b658bef71a
children 28eb6a47be96
line wrap: on
line diff
--- a/macros.xml	Tue Oct 13 12:54:34 2015 -0400
+++ b/macros.xml	Fri Dec 18 19:44:33 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>