Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
BICF
Astrocyte
atacseq_analysis
Commits
f5c0ad5c
Commit
f5c0ad5c
authored
Jun 16, 2020
by
Venkat Malladi
Browse files
move up code to be generalizable.
parent
5ac6df6f
Pipeline
#7229
failed with stages
in 382 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
workflow/scripts/overlap_peaks.py
View file @
f5c0ad5c
...
...
@@ -241,13 +241,13 @@ def main():
# Find consenus overlap peaks for each experiment
for
experiment
,
df_experiment
in
design_peaks_df
.
groupby
(
'experiment_id'
):
replicated_peak
,
chr_peak
=
overlap
(
experiment
,
df_experiment
)
# Remove blacklist regions; if blacklist = True
if
blacklist
and
os
.
path
.
exists
(
blacklist
):
bl_peaks
,
bl_chr_peak
=
blacklist_peaks
(
experiment
,
blacklist
)
design_diff
.
loc
[
design_diff
.
experiment_id
==
experiment
,
"peak"
]
=
bl_peaks
design_anno
.
loc
[
design_anno
.
Condition
==
experiment
,
"Peaks"
]
=
bl_chr_peak
else
:
replicated_peak
,
chr_peak
=
overlap
(
experiment
,
df_experiment
)
design_diff
.
loc
[
design_diff
.
experiment_id
==
experiment
,
"peak"
]
=
replicated_peak
design_anno
.
loc
[
experiment
]
=
[
experiment
,
chr_peak
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment