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
8718d577
Commit
8718d577
authored
Jun 03, 2020
by
Holly Ruess
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix optional blacklist argument
parent
8e447c31
Pipeline
#7070
failed with stages
in 298 minutes and 24 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 @
8718d577
...
...
@@ -40,7 +40,8 @@ def get_args():
parser
.
add_argument
(
'-b'
,
'--blacklist'
,
help
=
"Bed file of blacklisted regions to remove"
,
required
=
False
)
required
=
False
,
default
=
"None"
)
args
=
parser
.
parse_args
()
return
args
...
...
@@ -198,7 +199,7 @@ def main():
args
=
get_args
()
design
=
args
.
design
files
=
args
.
files
blacklist
=
args
.
files
blacklist
=
args
.
blacklist
# Create a file handler
handler
=
logging
.
FileHandler
(
'consensus_peaks.log'
)
...
...
@@ -230,7 +231,7 @@ def main():
design_diff
.
to_csv
(
"design_exQC.tsv"
,
header
=
True
,
sep
=
'
\t
'
,
index
=
False
)
# Remove blacklist regions; if blacklist = True
if
blacklist
:
if
os
.
path
.
exists
(
blacklist
)
:
for
experiment
,
df_experiment
in
design_peaks_df
.
groupby
(
'experiment_id'
):
bl_peaks
=
blacklist_peaks
(
experiment
,
blacklist
)
...
...
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