diff --git a/tool_collections/samtools/macros.xml b/tool_collections/samtools/macros.xml
index 75344d32a1d..d56d915d22d 100644
--- a/tool_collections/samtools/macros.xml
+++ b/tool_collections/samtools/macros.xml
@@ -6,13 +6,13 @@
1.22
- 1
+ 2
24.0
diff --git a/tool_collections/samtools/samtools_fastx/samtools_fastx.xml b/tool_collections/samtools/samtools_fastx/samtools_fastx.xml
index 65e1b67dad8..56e9ba1366b 100644
--- a/tool_collections/samtools/samtools_fastx/samtools_fastx.xml
+++ b/tool_collections/samtools/samtools_fastx/samtools_fastx.xml
@@ -8,9 +8,10 @@
input &&
+ samtools sort -@ \$addthreads -m \$addmemory"M" -n '$input' -T "\${TMPDIR:-.}" > input &&
#else:
ln -s '$input' input &&
#end if
diff --git a/tool_collections/samtools/samtools_fixmate/samtools_fixmate.xml b/tool_collections/samtools/samtools_fixmate/samtools_fixmate.xml
index f9495de19a3..89e8ffa55b9 100644
--- a/tool_collections/samtools/samtools_fixmate/samtools_fixmate.xml
+++ b/tool_collections/samtools/samtools_fixmate/samtools_fixmate.xml
@@ -1,4 +1,4 @@
-
+
fill mate coordinates, ISIZE and mate related flags
macros.xml
@@ -8,10 +8,11 @@
+
marks duplicate alignments
macros.xml
@@ -8,10 +8,11 @@
+
BAM by genomic regions
macros.xml
@@ -9,16 +9,18 @@
diff --git a/tool_collections/samtools/samtools_sort/samtools_sort.xml b/tool_collections/samtools/samtools_sort/samtools_sort.xml
index d249e5b969e..042229f6bc7 100644
--- a/tool_collections/samtools/samtools_sort/samtools_sort.xml
+++ b/tool_collections/samtools/samtools_sort/samtools_sort.xml
@@ -8,7 +8,7 @@