diff macros.xml @ 3:b5e69833722f draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_reheader commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
author devteam
date Fri, 18 Dec 2015 19:45:43 -0500
parents 77a6694ebf7a
children 0b97d4e945ab
line wrap: on
line diff
--- a/macros.xml	Tue Oct 13 12:55:18 2015 -0400
+++ b/macros.xml	Fri Dec 18 19:45:43 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>