fuse-with-distribution_only.should-get 1.86 KB
Newer Older
1 2 3
###################################
### Part with unsegmented clones ##
###################################
Mathieu Giraud's avatar
Mathieu Giraud committed
4
!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
5 6 7 8 9 10 11 12 13 14 15 16


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


$ Get correct files names
r:/some/file_[12]


Mathieu Giraud's avatar
Mathieu Giraud committed
17 18 19
$ Correct number of entries for some keys (29 by repertoire)
58:"seg5"
58:"lenCDR3"
20 21 22 23 24


############################
### Part with real clones ##
############################
Mathieu Giraud's avatar
Mathieu Giraud committed
25 26
!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
27 28 29 30 31 32

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

Mathieu Giraud's avatar
Mathieu Giraud committed
33 34
$ No clones
0:"id"
35

Mathieu Giraud's avatar
Mathieu Giraud committed
36 37
$ Correct number of entries for some keys (29 by repertoire)
87:"seg5"
38 39 40 41 42

$ Get correct files names
:sequence_file


Mathieu Giraud's avatar
Mathieu Giraud committed
43 44 45 46
$ Filenames (original_files and repname)
2:"sequence_file"
2:"/some/file_1"
2:"/some/file_2"
47 48

$ Case of an entire result (axes: germline, seg5)
Mathieu Giraud's avatar
Mathieu Giraud committed
49 50
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 \]   } }

51

52 53 54 55

$ 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            \]          }        }      },