Skip to content
Snippets Groups Projects
Commit 8e447c31 authored by Holly Ruess's avatar Holly Ruess
Browse files

fix input error

parent 6e63a569
Branches
Tags
1 merge request!25Resolve "Blacklist of regions"
Pipeline #7067 canceled with stages
in 6 hours, 54 minutes, and 18 seconds
......@@ -182,12 +182,13 @@ def blacklist_peaks(experiment, blacklist):
logger.info("Removing blacklist regions from replicated peaks")
narrowpead_input = "%s.replicated.narrowPeak" % (experiment)
# Assign output
blpo_filename = "%s.replicated_noblacklist.narrowPeak" % (experiment)
# Remove
steps = [
"bedtools intersect -v -a %s -b %s" % (experiment, blacklist),
"bedtools intersect -v -a %s -b %s" % (narrowpead_input, blacklist),
r"""awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}'""",
]
out, err = utils.run_pipe(steps, blpo_filename)
......
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