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

Changed to bedSort.

parent 45277ef8
Branches
Tags
No related merge requests found
...@@ -175,8 +175,7 @@ def call_peaks_macs(experiment, xcor, control, prefix, genome_size, chrom_sizes) ...@@ -175,8 +175,7 @@ def call_peaks_macs(experiment, xcor, control, prefix, genome_size, chrom_sizes)
# Sort file # Sort file
out, err = utils.run_pipe([ out, err = utils.run_pipe([
'sort -k1,1 -k2,2n %s' % (fc_bedgraph_fn)], 'bedSort %s %s' % (fc_bedgraph_fn, fc_bedgraph_sorted_fn)])
fc_bedgraph_sorted_fn)
# Convert bedgraph to bigwig # Convert bedgraph to bigwig
command = 'bedGraphToBigWig ' + \ command = 'bedGraphToBigWig ' + \
...@@ -223,8 +222,7 @@ def call_peaks_macs(experiment, xcor, control, prefix, genome_size, chrom_sizes) ...@@ -223,8 +222,7 @@ def call_peaks_macs(experiment, xcor, control, prefix, genome_size, chrom_sizes)
# Sort file # Sort file
out, err = utils.run_pipe([ out, err = utils.run_pipe([
'sort -k1,1 -k2,2n %s' % (fc_bedgraph_fn)], 'bedSort %s %s' % (fc_bedgraph_fn, pvalue_bedgraph_sorted_fn)])
pvalue_bedgraph_sorted_fn)
# Convert bedgraph to bigwig # Convert bedgraph to bigwig
command = 'bedGraphToBigWig ' + \ 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