changeset 6:f6caa75cb8e0 draft

planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/freebayes commit 3f4a67a48ec54e9e61e4c44b8d5af3f79b0b3e12
author sanbi-uwc
date Tue, 08 May 2018 06:44:14 -0400
parents 55b17de30a36
children 9d88d9f45a7f
files freebayes.xml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/freebayes.xml	Sun Apr 22 17:33:17 2018 -0400
+++ b/freebayes.xml	Tue May 08 06:44:14 2018 -0400
@@ -44,7 +44,7 @@
     #else
         ##divide up the regions in the bam file for efficient processing
         #for $bam_count, $input_bam in enumerate( $input_bamfiles ):
-            samtools view -H b_${bam_count}.bam |
+            samtools sort - | samtools view -H b_${bam_count}.bam |
             grep '^@SQ' |
             cut -f 2- |
             awk '{ gsub("^SN:","",$1); gsub("^LN:","",$2); print $1"\t0\t"$2; }' >> regions_all.bed &&