@@ -61,6 +61,11 @@ describe('resolveVACohortAlleleFrequency', () => {
61
61
ancestry_groups : [ ] ,
62
62
filters : [ 'AC0' ] ,
63
63
flags : [ 'monoallelic' ] ,
64
+ quality_metrics : {
65
+ allele_balance : {
66
+ alt : { bin_freq : [ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 ] } ,
67
+ } ,
68
+ } ,
64
69
}
65
70
66
71
const genomeEsDocument = {
@@ -72,6 +77,16 @@ describe('resolveVACohortAlleleFrequency', () => {
72
77
filters : [ 'AC0' ] ,
73
78
ancestry_groups : [ ] ,
74
79
flags : [ 'monoallelic' ] ,
80
+ quality_metrics : {
81
+ allele_balance : {
82
+ alt : {
83
+ bin_freq : [
84
+ 100 , 101 , 102 , 103 , 104 , 105 , 106 , 107 , 108 , 109 , 110 , 111 , 112 , 113 , 114 , 115 , 116 ,
85
+ 117 , 118 , 119 ,
86
+ ] ,
87
+ } ,
88
+ } ,
89
+ } ,
75
90
}
76
91
77
92
const variantESDocument = {
@@ -117,7 +132,7 @@ describe('resolveVACohortAlleleFrequency', () => {
117
132
lowComplexityRegion : true ,
118
133
lowConfidenceLossOfFunctionError : true ,
119
134
lossOfFunctionWarning : true ,
120
- heterozygousSkewedAlleleCount : null ,
135
+ heterozygousSkewedAlleleCount : 37 ,
121
136
} ,
122
137
} ,
123
138
]
@@ -158,7 +173,7 @@ describe('resolveVACohortAlleleFrequency', () => {
158
173
lowComplexityRegion : true ,
159
174
lowConfidenceLossOfFunctionError : true ,
160
175
lossOfFunctionWarning : true ,
161
- heterozygousSkewedAlleleCount : null ,
176
+ heterozygousSkewedAlleleCount : 237 ,
162
177
} ,
163
178
} ,
164
179
]
0 commit comments