Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chipseq_analysis
Manage
Activity
Members
Labels
Plan
Issues
19
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
chipseq_analysis
Commits
eb004add
There was a problem fetching the pipeline stages.
Commit
eb004add
authored
6 years ago
by
Venkat Malladi
Browse files
Options
Downloads
Patches
Plain Diff
Fix cutoff ratio as int.
parent
d1037a81
No related merge requests found
Pipeline
#2041
canceled with stages
in 1 hour, 50 minutes, and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/scripts/pool_and_psuedoreplicate.py
+2
-1
2 additions, 1 deletion
workflow/scripts/pool_and_psuedoreplicate.py
with
2 additions
and
1 deletion
workflow/scripts/pool_and_psuedoreplicate.py
+
2
−
1
View file @
eb004add
...
...
@@ -40,6 +40,7 @@ def get_args():
parser
.
add_argument
(
'
-c
'
,
'
--cutoff
'
,
help
=
"
Cutoff ratio used for choosing controls.
"
,
type
=
int
,
default
=
1.2
)
args
=
parser
.
parse_args
()
...
...
@@ -247,7 +248,7 @@ def main():
path_to_pool_control
=
cwd
+
'
/
'
+
pool_control
if
control_df
.
values
.
max
()
>
1.2
:
logger
.
info
(
"
Number of reads in controls differ by
"
+
"
> factor of %f. Using pooled controls.
"
%
(
str
(
cutoff_ratio
))
)
"
> factor of %f. Using pooled controls.
"
%
(
cutoff_ratio
))
design_new_df
[
'
control_tag_align
'
]
=
path_to_pool_control
else
:
for
index
,
row
in
design_new_df
.
iterrows
():
...
...
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