Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
atacseq_analysis
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
BICF
Astrocyte
atacseq_analysis
Commits
8e447c31
Commit
8e447c31
authored
4 years ago
by
Holly Ruess
Browse files
Options
Downloads
Patches
Plain Diff
fix input error
parent
6e63a569
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!25
Resolve "Blacklist of regions"
Pipeline
#7067
canceled with stages
in 6 hours, 54 minutes, and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/scripts/overlap_peaks.py
+2
-1
2 additions, 1 deletion
workflow/scripts/overlap_peaks.py
with
2 additions
and
1 deletion
workflow/scripts/overlap_peaks.py
+
2
−
1
View file @
8e447c31
...
...
@@ -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
"
%
(
experimen
t
,
blacklist
),
"
bedtools intersect -v -a %s -b %s
"
%
(
narrowpead_inpu
t
,
blacklist
),
r
"""
awk
'
BEGIN{OFS=
"
\t
"
} {if ($5>1000) $5=1000; print $0}
'"""
,
]
out
,
err
=
utils
.
run_pipe
(
steps
,
blpo_filename
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment