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
375b9e56
Commit
375b9e56
authored
4 years ago
by
Spencer Barnes
Browse files
Options
Downloads
Patches
Plain Diff
add test to ensure symbol column of peak annotation is not empty
parent
b5c9ff2e
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!73
Release 1.1.3
,
!72
Issue3087 annotation fix
Pipeline
#7801
failed with stages
in 9 hours, 22 minutes, and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/tests/test_annotate_peaks.py
+4
-0
4 additions, 0 deletions
workflow/tests/test_annotate_peaks.py
with
4 additions
and
0 deletions
workflow/tests/test_annotate_peaks.py
+
4
−
0
View file @
375b9e56
...
...
@@ -25,6 +25,8 @@ def test_annotation_singleend():
annotation_file
=
test_output_path
+
'
ENCSR238SGC.chipseeker_annotation.tsv
'
assert
os
.
path
.
exists
(
annotation_file
)
assert
utils
.
count_lines
(
annotation_file
)
>=
149284
df
=
pd
.
read_csv
(
annotation_file
,
sep
=
"
\t
"
)
assert
df
[
'
symbol
'
].
notna
().
all
()
@pytest.mark.pairedend
...
...
@@ -42,3 +44,5 @@ def test_annotation_pairedend():
annotation_file
=
test_output_path
+
'
ENCSR729LGA.chipseeker_annotation.tsv
'
assert
os
.
path
.
exists
(
annotation_file
)
assert
utils
.
count_lines
(
annotation_file
)
>=
25367
df
=
pd
.
read_csv
(
annotation_file
,
sep
=
"
\t
"
)
assert
df
[
'
symbol
'
].
notna
().
all
()
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