@molgenis/vip-report-template 5.1.0 → 5.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molgenis/vip-report-template",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"description": "Report Template for Variant Call Format (VCF) Report Generator",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
|
37
37
|
"@fortawesome/free-solid-svg-icons": "^6.2.0",
|
|
38
|
-
"@molgenis/vip-report-api": "^4.3.
|
|
39
|
-
"@molgenis/vip-report-vcf": "^1.3.
|
|
38
|
+
"@molgenis/vip-report-api": "^4.3.2",
|
|
39
|
+
"@molgenis/vip-report-vcf": "^1.3.3",
|
|
40
40
|
"base64-js": "^1.5.1",
|
|
41
41
|
"igv": "^2.13.3",
|
|
42
42
|
"solid-app-router": "^0.4.2",
|
|
@@ -13,8 +13,8 @@ export function getAllelicBalanceQuery(sampleIndex: number): ComposedQuery {
|
|
|
13
13
|
{
|
|
14
14
|
operator: "and",
|
|
15
15
|
args: [
|
|
16
|
-
{ selector: ["s", sampleIndex, "VIAB"], operator: "
|
|
17
|
-
{ selector: ["s", sampleIndex, "VIAB"], operator: "
|
|
16
|
+
{ selector: ["s", sampleIndex, "VIAB"], operator: ">=", args: 0.2 },
|
|
17
|
+
{ selector: ["s", sampleIndex, "VIAB"], operator: "<=", args: 0.8 },
|
|
18
18
|
],
|
|
19
19
|
},
|
|
20
20
|
],
|
|
@@ -29,7 +29,13 @@ export function getAllelicBalanceQuery(sampleIndex: number): ComposedQuery {
|
|
|
29
29
|
{ selector: ["s", sampleIndex, "GT", "t"], operator: "==", args: "hom_r" },
|
|
30
30
|
],
|
|
31
31
|
},
|
|
32
|
-
{
|
|
32
|
+
{
|
|
33
|
+
operator: "or",
|
|
34
|
+
args: [
|
|
35
|
+
{ selector: ["s", sampleIndex, "VIAB"], operator: "<", args: 0.02 },
|
|
36
|
+
{ selector: ["s", sampleIndex, "VIAB"], operator: ">", args: 0.98 },
|
|
37
|
+
],
|
|
38
|
+
},
|
|
33
39
|
],
|
|
34
40
|
};
|
|
35
41
|
const otherGtQuery: ComposedQuery = {
|
|
@@ -10,7 +10,7 @@ function isAllelicImbalance(genotype: Genotype, allelicBalance: number | undefin
|
|
|
10
10
|
allelicBalance !== undefined &&
|
|
11
11
|
allelicBalance !== null
|
|
12
12
|
) {
|
|
13
|
-
return allelicBalance > 0.02;
|
|
13
|
+
return allelicBalance > 0.02 && allelicBalance < 0.98;
|
|
14
14
|
}
|
|
15
15
|
return false;
|
|
16
16
|
}
|