# HG changeset patch
# User yating-l
# Date 1496181705 14400
# Node ID f7f035d9d48af4e74de0cfaab12a0b8108418e54
# Parent 87341e6002ebd7d9adb1ac128a295e1ff77f92bf
planemo upload commit 250051c3d660df43da92c76913552767ce142a45-dirty
diff -r 87341e6002eb -r f7f035d9d48a bam_to_bigwig.xml
--- a/bam_to_bigwig.xml Tue Feb 07 17:09:08 2017 -0500
+++ b/bam_to_bigwig.xml Tue May 30 18:01:45 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;
]]>