@@ -61,6 +61,11 @@ describe('resolveVACohortAlleleFrequency', () => {
6161 ancestry_groups : [ ] ,
6262 filters : [ 'AC0' ] ,
6363 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+ } ,
6469 }
6570
6671 const genomeEsDocument = {
@@ -72,6 +77,16 @@ describe('resolveVACohortAlleleFrequency', () => {
7277 filters : [ 'AC0' ] ,
7378 ancestry_groups : [ ] ,
7479 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+ } ,
7590 }
7691
7792 const variantESDocument = {
@@ -117,7 +132,7 @@ describe('resolveVACohortAlleleFrequency', () => {
117132 lowComplexityRegion : true ,
118133 lowConfidenceLossOfFunctionError : true ,
119134 lossOfFunctionWarning : true ,
120- heterozygousSkewedAlleleCount : null ,
135+ heterozygousSkewedAlleleCount : 37 ,
121136 } ,
122137 } ,
123138 ]
@@ -158,7 +173,7 @@ describe('resolveVACohortAlleleFrequency', () => {
158173 lowComplexityRegion : true ,
159174 lowConfidenceLossOfFunctionError : true ,
160175 lossOfFunctionWarning : true ,
161- heterozygousSkewedAlleleCount : null ,
176+ heterozygousSkewedAlleleCount : 237 ,
162177 } ,
163178 } ,
164179 ]
0 commit comments