Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
A
atacseq_analysis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BICF
Astrocyte
atacseq_analysis
Commits
c34d2612
Commit
c34d2612
authored
Jun 17, 2020
by
Venkat Malladi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move logic ahead of redo for blacklist.
parent
f5c0ad5c
Pipeline
#7235
passed with stages
in 494 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
workflow/scripts/overlap_peaks.py
workflow/scripts/overlap_peaks.py
+4
-3
No files found.
workflow/scripts/overlap_peaks.py
View file @
c34d2612
...
...
@@ -242,14 +242,15 @@ def main():
for
experiment
,
df_experiment
in
design_peaks_df
.
groupby
(
'experiment_id'
):
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
]
# 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
:
design_diff
.
loc
[
design_diff
.
experiment_id
==
experiment
,
"peak"
]
=
replicated_peak
design_anno
.
loc
[
experiment
]
=
[
experiment
,
chr_peak
]
# Write out file
design_diff
.
columns
=
[
'SampleID'
,
...
...
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