changeset 27:df170f4d2eea draft

planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/novo_align commit 018e4e2f405e9e55f3b7c3ba92b29f957e468f2b
author sanbi-uwc
date Mon, 07 May 2018 09:42:08 -0400
parents 709eb84d9927
children 395aac51afa6
files novo_align.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/novo_align.py	Mon May 07 06:44:07 2018 -0400
+++ b/novo_align.py	Mon May 07 09:42:08 2018 -0400
@@ -10,7 +10,7 @@
 
 def novo_align(output_filename, index_filename, fwd_file, rev_file ):
     param = r'@RG\tID:RG\tSM:$i\tPL:ILLUMINA'
-    cmdline_str = "novoalign -c 8 -k -d {} -f {} {} -i PE 250, 100 -o SAM '{}' | samtools view -bS - > {}".format(
+    cmdline_str = "novoalign -c 8 -k -d {} -f {} {} -i PE 250, 100 -o SAM '{}' | samtools sort - | samtools view -b - > {}".format(
         index_filename,
         fwd_file,
         rev_file,