fuse-with-distribution_only.should-get 2.25 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
###################################
### 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


$ Get correct keys for distributions json content
1:"repertoires"
1:"keys"
1:"filters"


$ 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



############################
### 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

$ Get correct keys for distributions json content
1:"repertoires"
1:"keys"
1:"filters"


# For the moment, 31 call by repertoire
$ Have correct number of entrie for seg5 (increase of 39 by the new repertoire)
117:"seg5"

$ Get correct files names
:sequence_file


$ EAch filename should appear 1 times (1 for repname)
1:"sequence_file"
1:"/some/file_1"
49 50 51
1:"/some/file_2"

$ Case of an entire result (axes: germline, seg5)
52 53
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            \]          }        }      },

54 55 56 57

$ Case for the two other files (axes: germline, seg5)
lr1:{        "axes": \[          "germline",          "seg5"        \],        "values": {          "IGH": {            "\?": \[              2,              900            \]          }        }      },
lr1:{        "axes": \[          "germline",          "seg5"        \],        "values": {          "IGH": {            "\?": \[              2,              350            \]          }        }      },