# HG changeset patch # User iuc # Date 1403513900 14400 # Node ID 38ea74bd4054601361c2f8089ee83baa371653f6 # Parent f627c4b93c551b69f564a99847789f9ac3b9fc97 Uploaded diff -r f627c4b93c55 -r 38ea74bd4054 samtools_sort.xml --- a/samtools_sort.xml Fri Jun 20 14:37:57 2014 -0400 +++ b/samtools_sort.xml Mon Jun 23 04:58:20 2014 -0400 @@ -1,4 +1,4 @@ - + samtools @@ -6,14 +6,16 @@ samtools sort $sort_mode - "${input1}" "${output1}" + "${input1}" foo 2>&1 || echo "Error running samtools sort." >&2 + ; + mv foo.bam "${output1}" - - + + @@ -22,7 +24,7 @@ - + diff -r f627c4b93c55 -r 38ea74bd4054 test-data/1_sort.bam Binary file test-data/1_sort.bam has changed