Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chipseq_analysis
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
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
Astrocyte
Workflows
BICF
chipseq_analysis
Commits
3631108c
Commit
3631108c
authored
6 years ago
by
Venkat Malladi
Browse files
Options
Downloads
Patches
Plain Diff
Fix paired-end tests.
parent
6fddf146
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
workflow/tests/test_annotate_peaks.py
+4
-4
4 additions, 4 deletions
workflow/tests/test_annotate_peaks.py
workflow/tests/test_call_peaks_macs.py
+1
-1
1 addition, 1 deletion
workflow/tests/test_call_peaks_macs.py
workflow/tests/test_diff_peaks.py
+3
-3
3 additions, 3 deletions
workflow/tests/test_diff_peaks.py
with
8 additions
and
8 deletions
workflow/tests/test_annotate_peaks.py
+
4
−
4
View file @
3631108c
...
...
@@ -21,8 +21,8 @@ def test_annotate_peaks_singleend():
@pytest.mark.pairedend
def
test_annotate_peaks_pairedend
():
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
ENCSR217L
RF
.chipseeker_pie.pdf
'
))
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
ENCSR217L
RF
.chipseeker_upsetplot.pdf
'
))
annotation_file
=
test_output_path
+
'
ENCSR217L
RF
.chipseeker_annotation.csv
'
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
ENCSR217L
GA
.chipseeker_pie.pdf
'
))
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
ENCSR217L
GA
.chipseeker_upsetplot.pdf
'
))
annotation_file
=
test_output_path
+
'
ENCSR217L
GA
.chipseeker_annotation.csv
'
assert
os
.
path
.
exists
(
annotation_file
)
assert
utils
.
count_lines
(
annotation_file
)
==
2539
0
assert
utils
.
count_lines
(
annotation_file
)
==
2539
1
This diff is collapsed.
Click to expand it.
workflow/tests/test_call_peaks_macs.py
+
1
−
1
View file @
3631108c
...
...
@@ -21,4 +21,4 @@ def test_call_peaks_macs_pairedend():
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
ENCLB568IYX.fc_signal.bw
'
))
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
ENCLB568IYX.pvalue_signal.bw
'
))
peak_file
=
test_output_path
+
'
ENCLB568IYX_peaks.narrowPeak
'
assert
utils
.
count_lines
(
peak_file
)
==
1
12652
assert
utils
.
count_lines
(
peak_file
)
==
1
38827
This diff is collapsed.
Click to expand it.
workflow/tests/test_diff_peaks.py
+
3
−
3
View file @
3631108c
...
...
@@ -33,7 +33,7 @@ def test_annotate_peaks_pairedend_single_rep():
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
heatmap.pdf
'
))
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
pca.pdf
'
))
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
normcount_peaksets.txt
'
))
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
ENCSR7
29LGA
_vs_ENCSR7
57EMK
_diffbind.bed
'
))
diffbind_file
=
test_output_path
+
'
ENCSR7
29LGA
_vs_ENCSR7
57EMK
_diffbind.csv
'
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
ENCSR7
57EMK
_vs_ENCSR7
29LGA
_diffbind.bed
'
))
diffbind_file
=
test_output_path
+
'
ENCSR7
57EMK
_vs_ENCSR7
29LGA
_diffbind.csv
'
assert
os
.
path
.
exists
(
diffbind_file
)
assert
utils
.
count_lines
(
diffbind_file
)
==
112652
assert
utils
.
count_lines
(
diffbind_file
)
==
66201
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