Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
577ce843
Commit
577ce843
authored
Aug 23, 2019
by
Mathieu Giraud
Browse files
tests: update
parent
269d3dce
Pipeline
#90633
failed with stage
in 6 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tools/tests/should-get-tests/fuse-with-distribution.should-get
View file @
577ce843
...
...
@@ -25,5 +25,5 @@ $ should have two time 'distributions' (console log + into vidjil file)
2:distributions
$ Axes title should be present 78 times (2*39)
78:rearrangement
\ No newline at end of file
$ Axis title should be present 58 times (2*29)
58:lenCDR3
\ No newline at end of file
tools/tests/should-get-tests/fuse-with-distribution_only.should-get
View file @
577ce843
###################################
### Part with unsegmented clones ##
###################################
!LAUNCH: python3 ../../fuse.py -
D
../../../algo/tests/data/results-two-clones-1-2.vidjil ../../../algo/tests/data/results-two-clones-1-3.vidjil; cat fused.
json
!LAUNCH: python3 ../../fuse.py -
d --no-clones
../../../algo/tests/data/results-two-clones-1-2.vidjil ../../../algo/tests/data/results-two-clones-1-3.vidjil; cat fused.
vidjil
$ Get correct keys for distributions json content
...
...
@@ -14,42 +14,40 @@ $ Get correct files names
r:/some/file_[12]
# For the moment, 39 call by repertoire
$ Have correct number of entrie for seg5
78:"seg5"
$ Have correct number of entrie for germline
78:germline
$ Correct number of entries for some keys (29 by repertoire)
58:"seg5"
58:"lenCDR3"
############################
### Part with real clones ##
############################
!LAUNCH: rm fused.
json
!LAUNCH: python3 ../../fuse.py -
D
../../../algo/tests/data/results_five_segmented_clones.vidjil ../../../algo/tests/data/results-two-clones-1-2.vidjil ../../../algo/tests/data/results-two-clones-1-3.vidjil; cat fused.
json
!LAUNCH: rm fused.
vidjil
!LAUNCH: python3 ../../fuse.py -
d --no-clones
../../../algo/tests/data/results_five_segmented_clones.vidjil ../../../algo/tests/data/results-two-clones-1-2.vidjil ../../../algo/tests/data/results-two-clones-1-3.vidjil; cat fused.
vidjil
$ Get correct keys for distributions json content
1:"repertoires"
1:"keys"
1:"filters"
$ No clones
0:"id"
# For the moment, 31 call by repertoire
$ Have correct number of entrie for seg5 (increase of 39 by the new repertoire)
117:"seg5"
$ Correct number of entries for some keys (29 by repertoire)
87:"seg5"
$ Get correct files names
:sequence_file
$
EAch f
ilename
should appear 1 times (1 for
repname)
1
:"sequence_file"
1
:"/some/file_1"
1
:"/some/file_2"
$
F
ilename
s (original_files and
repname)
2
:"sequence_file"
2
:"/some/file_1"
2
:"/some/file_2"
$ Case of an entire result (axes: germline, seg5)
lr1:{ "axes": \[ "germline", "seg5" \], "values": { "IGK": { "IGKV1-33\*01": \[ 1, 2597 \], "IGKV1-39\*01": \[ 1, 5653 \], "IGKV3-15\*01": \[ 1, 2502 \], "IGKV3-20\*01": \[ 1, 3898 \], "IGKV4-1\*01": \[ 1, 2520 \] } } },
lr1:{ "axes": \[ "germline", "seg5" \], "values": { "IGK": { "IGKV1-39\*01": \[ 1, 5653 \], "IGKV3-20\*01": \[ 1, 3898 \], "IGKV1-33\*01": \[ 1, 2597 \], "IGKV4-1\*01": \[ 1, 2520 \], "IGKV3-15\*01": \[ 1, 2502 \] } }
$ Case for the two other files (axes: germline, seg5)
...
...
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