Skip to content
Snippets Groups Projects
Commit bbeb4524 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Changed to bedSort.

parent 45277ef8
1 merge request!13Resolve "Add in Macs2 support"
......@@ -175,8 +175,7 @@ def call_peaks_macs(experiment, xcor, control, prefix, genome_size, chrom_sizes)
# Sort file
out, err = utils.run_pipe([
'sort -k1,1 -k2,2n %s' % (fc_bedgraph_fn)],
fc_bedgraph_sorted_fn)
'bedSort %s %s' % (fc_bedgraph_fn, fc_bedgraph_sorted_fn)])
# Convert bedgraph to bigwig
command = 'bedGraphToBigWig ' + \
......@@ -223,8 +222,7 @@ def call_peaks_macs(experiment, xcor, control, prefix, genome_size, chrom_sizes)
# Sort file
out, err = utils.run_pipe([
'sort -k1,1 -k2,2n %s' % (fc_bedgraph_fn)],
pvalue_bedgraph_sorted_fn)
'bedSort %s %s' % (fc_bedgraph_fn, pvalue_bedgraph_sorted_fn)])
# Convert bedgraph to bigwig
command = 'bedGraphToBigWig ' + \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment