Commit 43f598b5 authored by Christian Arnold's avatar Christian Arnold

improved macOS compatibility

parent 61ae0b39
......@@ -389,7 +389,7 @@ rule intersectPeaksAndTFBS:
-sorted \
-filenames \
| gzip -f > {output.TFBSinPeaks_bed} &&
zcat {output.TFBSinPeaks_bed} | cut -f4,5,6,7,8,9,12 | uniq | awk '{{OFS="\\t"}};{{ print $4, $5-{params.extension}, $6+{params.extension},$1,$2,$7,$3}}' | gzip -f > {output.TFBSinPeaksMod_bed}
gunzip -c {output.TFBSinPeaks_bed} | cut -f4,5,6,7,8,9,12 | uniq | awk '{{OFS="\\t"}};{{ print $4, $5-{params.extension}, $6+{params.extension},$1,$2,$7,$3}}' | gzip -f > {output.TFBSinPeaksMod_bed}
"""
rule intersectTFBSAndBAM:
......
Markdown is supported
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