Commit ee2c24c3 authored by Thonier Florian's avatar Thonier Florian

tools/test; update test for fuse distribution computing*

link to #3902
parent c98561ec
###################################
### Part with unsegmented clones ##
###################################
# python3 ../../fuse.py -D ../../../algo/tests/data/nico_very_short.vidjil ../../../algo/tests/data/results-two-clones-1-2.vidjil; cat fused.json
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
$ Get correct keys for distributions json content
1:"repertoires"
1:"keys"
1:"categories"
1:"filters"
$ Get correct files names
r:/some/file_[12]
# For the moment, 31 call by repertoire
$ Have correct number of entrie for seg5
62:"seg5"
$ Have correct number of entrie for germline
62:germline
$ Get correct filen name
r: /some/file_[12]
\ No newline at end of file
############################
### Part with real clones ##
############################
rm fused.json
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
$ Get correct keys for distributions json content
1:"repertoires"
1:"keys"
1:"categories"
1:"filters"
# For the moment, 31 call by repertoire
$ Have correct number of entrie for seg5 (increase of 31 by the new repertoire)
93:"seg5"
$ Get correct files names
:sequence_file
$ Test on categories -undefined
2:undefined
$ Test on categories - "cat"
1:"cat"
$ Test on categories - disease
1:disease
$ Test on categories - a_category
1:a_category
$ EAch filename should appear 3 times (1 for repname, 1 for both category)
3:"sequence_file"
3:"/some/file_1"
3:"/some/file_2"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment