Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNA-seq
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
GUDMAP_RBK
RNA-seq
Commits
b8434976
Commit
b8434976
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Change consistency test to be +/- 1%
parent
bef168da
Branches
Branches containing commit
Tags
0.1.0
2 merge requests
!58
Develop
,
!57
Prep of 1.0.0 release
Pipeline
#8924
canceled with stages
in 36 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
workflow/tests/test_consistency.py
+11
-2
11 additions, 2 deletions
workflow/tests/test_consistency.py
with
12 additions
and
2 deletions
CHANGELOG.md
+
1
−
0
View file @
b8434976
...
...
@@ -3,6 +3,7 @@
*
Add link to reference builder script
**Background**
*
Change consistency test to check if +/- 1% of standard
*Known Bugs*
*
Override params (inputBag, fastq, species) aren't checked for integrity
...
...
This diff is collapsed.
Click to expand it.
workflow/tests/test_consistency.py
+
11
−
2
View file @
b8434976
...
...
@@ -19,7 +19,12 @@ def test_consistencySE():
test_output_path
,
'
SE_multiqc_data.json
'
))
as
f
:
assigned_reads_json
=
json
.
load
(
f
)
assigned_reads
=
assigned_reads_json
[
'
report_general_stats_data
'
][
4
][
'
16-1ZX4_sorted
'
][
'
Assigned
'
]
assert
assigned_reads
==
7746121
baseline
=
7746121
baseline_hi
=
baseline
+
(
baseline
*
0.01
)
baseline_lo
=
baseline
-
(
baseline
*
0.01
)
assert
assigned_reads
<=
baseline_hi
assert
assigned_reads
>=
baseline_lo
@pytest.mark.consistencyPE
...
...
@@ -31,4 +36,8 @@ def test_consistencyPE():
test_output_path
,
'
PE_multiqc_data.json
'
))
as
f
:
assigned_reads_json
=
json
.
load
(
f
)
assigned_reads
=
assigned_reads_json
[
'
report_general_stats_data
'
][
4
][
'
Q-Y5JA_sorted
'
][
'
Assigned
'
]
assert
assigned_reads
==
2596053
baseline
=
2596053
baseline_hi
=
baseline
+
(
baseline
*
0.01
)
baseline_lo
=
baseline
-
(
baseline
*
0.01
)
assert
assigned_reads
<=
baseline_hi
assert
assigned_reads
>=
baseline_lo
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