# HG changeset patch
# User yating-l
# Date 1496182700 14400
# Node ID 2e812b4f91ceee260a96a24e3a6cf37a975095bf
# Parent 61f39c77b13d7824ae6bc2d17af3ca1e02216f75
planemo upload commit 250051c3d660df43da92c76913552767ce142a45-dirty
diff -r 61f39c77b13d -r 2e812b4f91ce bam_to_bigwig.xml
--- a/bam_to_bigwig.xml Wed Apr 12 17:52:09 2017 -0400
+++ b/bam_to_bigwig.xml Tue May 30 18:18:20 2017 -0400
@@ -9,7 +9,9 @@
chrom.sizes;
- bedtools genomecov -bg -split -ibam $input_bam -g chrom.sizes > temp.bg;
+ bedtools genomecov -bg -split -ibam $input_bam -g chrom.sizes
+ | LC_COLLATE=C sort -k1,1 -k2,2n
+ > temp.bg &&
bedGraphToBigWig temp.bg chrom.sizes $output_bigwig;
]]>