@molgenis/vip-report-template 8.0.2 → 8.1.0
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 +17 -17
- package/src/components/GenomeBrowser.tsx +1 -1
- package/src/components/VariantFilters.tsx +13 -13
- package/src/components/VariantsContainer.tsx +1 -0
- package/src/components/filter/Filter.tsx +4 -0
- package/src/components/filter/composed/FilterAllelicImbalance.tsx +1 -0
- package/src/components/filter/composed/FilterComposed.tsx +7 -0
- package/src/components/filter/composed/FilterDeNovo.tsx +1 -0
- package/src/components/filter/composed/FilterHpo.tsx +1 -0
- package/src/components/filter/composed/FilterInheritance.tsx +1 -0
- package/src/components/filter/composed/FilterPick.tsx +1 -0
- package/src/components/filter/composed/FilterVipC.tsx +1 -0
- package/src/components/filter/composed/FilterVipCS.tsx +1 -0
- package/src/components/filter/fixed/FilterFixed.tsx +7 -0
- package/src/components/filter/typed/FilterCategorical.tsx +1 -1
- package/src/components/filter/typed/FilterFlag.tsx +1 -0
- package/src/components/filter/typed/FilterInterval.tsx +1 -1
- package/src/components/filter/typed/FilterString.tsx +1 -1
- package/src/components/filter/typed/FilterTyped.tsx +4 -0
- package/src/mocks/GRCh38/fasta/chr1-149380406-149403321.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr1-152548062-152548562.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr1-16049667-16050167.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr1-17022474-17022974.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr1-9982230-9982730.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr10-124402680-124403180.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr11-134144080-134144580.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr13-76995743-76996243.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr14-104701273-104701773.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr14-88869813-88870313.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr17-31228796-31229296.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr17-31336611-31337111.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr19-11105220-11105720.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr19-17340938-17341438.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr2-47408278-47408778.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr20-63695389-63695889.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr22-50188914-50189414.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr22-50282867-50283367.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr4-105398887-105399387.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr7-41977462-41977962.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr7-42025108-42025608.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr8-144085347-144085847.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr8-60852334-60852834.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chr9-104784102-104784602.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chrM-15075-15575.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chrX-49075112-49075612.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/fasta/chrY-2787350-2787850.fasta.gz.blob +0 -0
- package/src/mocks/GRCh38/vcf/family.db.blob +0 -0
- package/src/mocks/GRCh38/vcf/family.vcf +1 -1
- package/src/mocks/GRCh38/vcf/no_vep.db.blob +0 -0
- package/src/mocks/GRCh38/vcf/samples_0.db.blob +0 -0
- package/src/mocks/GRCh38/vcf/samples_1.db.blob +0 -0
- package/src/mocks/GRCh38/vcf/samples_100.db.blob +0 -0
- package/src/mocks/GRCh38/vcf/str.db.blob +0 -0
- package/src/store/variants.ts +21 -4
- package/src/types/configFilter.d.ts +1 -1
- package/src/types/filter.d.ts +2 -0
- package/src/types/store.d.ts +2 -1
- package/src/utils/config/config.ts +1 -1
- package/tests/utils/config/config.test.ts +2 -3
- package/vite.config.mts +5 -6
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molgenis/vip-report-template",
|
|
3
|
-
"version": "8.0
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"description": "Report Template for Variant Call Format (VCF) Report Generator",
|
|
5
5
|
"license": "LGPL-3.0",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@molgenis/vite-plugin-inline": "^
|
|
7
|
+
"@molgenis/vite-plugin-inline": "^2.0.0",
|
|
8
8
|
"@types/async-lock": "^1.4.2",
|
|
9
|
-
"@types/node": "^22.19.
|
|
10
|
-
"@vitest/coverage-v8": "^
|
|
9
|
+
"@types/node": "^22.19.3",
|
|
10
|
+
"@vitest/coverage-v8": "^4.0.15",
|
|
11
11
|
"async-lock": "^1.4.1",
|
|
12
12
|
"bulma": "^1.0.4",
|
|
13
|
-
"eslint": "^9.39.
|
|
13
|
+
"eslint": "^9.39.2",
|
|
14
14
|
"eslint-config-prettier": "^10.1.8",
|
|
15
|
-
"eslint-plugin-solid": "^0.14.
|
|
15
|
+
"eslint-plugin-solid": "^0.14.5",
|
|
16
16
|
"husky": "^9.1.7",
|
|
17
|
-
"jsdom": "^
|
|
18
|
-
"prettier": "^3.
|
|
19
|
-
"sass": "^1.
|
|
20
|
-
"typescript": "^5.
|
|
21
|
-
"typescript-eslint": "^8.
|
|
17
|
+
"jsdom": "^27.3.0",
|
|
18
|
+
"prettier": "^3.7.4",
|
|
19
|
+
"sass": "^1.97.0",
|
|
20
|
+
"typescript": "^5.9.3",
|
|
21
|
+
"typescript-eslint": "^8.49.0",
|
|
22
22
|
"vite": "^6.4.1",
|
|
23
|
-
"vite-plugin-solid": "^2.11.
|
|
24
|
-
"vitest": "^
|
|
23
|
+
"vite-plugin-solid": "^2.11.10",
|
|
24
|
+
"vitest": "^4.0.15"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@fortawesome/fontawesome-svg-core": "^
|
|
28
|
-
"@fortawesome/free-solid-svg-icons": "^
|
|
29
|
-
"@molgenis/vip-report-api": "
|
|
30
|
-
"@molgenis/vip-report-vcf": "^4.0.
|
|
27
|
+
"@fortawesome/fontawesome-svg-core": "^7.1.0",
|
|
28
|
+
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
29
|
+
"@molgenis/vip-report-api": "7.0.5",
|
|
30
|
+
"@molgenis/vip-report-vcf": "^4.0.5",
|
|
31
31
|
"@solidjs/router": "^0.15.4",
|
|
32
32
|
"ajv": "^8.17.1",
|
|
33
33
|
"base64-js": "^1.5.1",
|
|
@@ -88,8 +88,8 @@ const createBrowserConfig = async (
|
|
|
88
88
|
id: metadata.app.htsFile?.genomeAssembly,
|
|
89
89
|
name: "Reference",
|
|
90
90
|
fastaURL: "data:application/gzip;base64," + fromByteArray(fastaGz),
|
|
91
|
-
tracks: tracks,
|
|
92
91
|
},
|
|
92
|
+
tracks: tracks,
|
|
93
93
|
locus: `${contig}:${position}`,
|
|
94
94
|
showChromosomeWidget: false,
|
|
95
95
|
loadDefaultGenomes: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Component, For } from "solid-js";
|
|
2
2
|
import { FilterValueField } from "../types/configFilter";
|
|
3
3
|
import { ConfigFilters } from "../types/config";
|
|
4
|
-
import { FilterChangeCallback, FilterClearCallback, FilterValueMap } from "../types/filter";
|
|
4
|
+
import { FilterChangeCallback, FilterClearCallback, FilterInitedList, FilterValueMap } from "../types/filter";
|
|
5
5
|
import { Filter } from "./filter/Filter";
|
|
6
6
|
|
|
7
7
|
export const VariantFilters: Component<{
|
|
@@ -9,19 +9,19 @@ export const VariantFilters: Component<{
|
|
|
9
9
|
filterValues: FilterValueMap;
|
|
10
10
|
onFilterChange: FilterChangeCallback;
|
|
11
11
|
onFilterClear: FilterClearCallback;
|
|
12
|
+
filtersInited: FilterInitedList;
|
|
12
13
|
}> = (props) => {
|
|
13
14
|
return (
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</>
|
|
15
|
+
<For each={props.filterConfigs}>
|
|
16
|
+
{(filter) => (
|
|
17
|
+
<Filter
|
|
18
|
+
config={filter}
|
|
19
|
+
value={props.filterValues[filter.id] as FilterValueField | undefined}
|
|
20
|
+
onValueChange={(event) => props.onFilterChange({ id: filter.id, ...event })}
|
|
21
|
+
onValueClear={() => props.onFilterClear({ id: filter.id })}
|
|
22
|
+
isInited={props.filtersInited.includes(filter.id)}
|
|
23
|
+
/>
|
|
24
|
+
)}
|
|
25
|
+
</For>
|
|
26
26
|
);
|
|
27
27
|
};
|
|
@@ -27,6 +27,7 @@ export interface FilterProps<C extends ConfigFilterBase, FilterValueType> {
|
|
|
27
27
|
defaultValue?: string;
|
|
28
28
|
onValueChange: FilterValueChangeCallback<FilterValueType>;
|
|
29
29
|
onValueClear: FilterValueClearCallback;
|
|
30
|
+
isInited: boolean;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
export const Filter: Component<FilterProps<ConfigFilter, FilterValue>> = (props) => {
|
|
@@ -40,6 +41,7 @@ export const Filter: Component<FilterProps<ConfigFilter, FilterValue>> = (props)
|
|
|
40
41
|
value={props.value as FilterValueFixed}
|
|
41
42
|
onValueChange={props.onValueChange}
|
|
42
43
|
onValueClear={props.onValueClear}
|
|
44
|
+
isInited={props.isInited}
|
|
43
45
|
/>
|
|
44
46
|
</Match>
|
|
45
47
|
<Match when={type() === "info" || type() === "genotype"}>
|
|
@@ -48,6 +50,7 @@ export const Filter: Component<FilterProps<ConfigFilter, FilterValue>> = (props)
|
|
|
48
50
|
value={props.value as FilterValueField}
|
|
49
51
|
onValueChange={props.onValueChange}
|
|
50
52
|
onValueClear={props.onValueClear}
|
|
53
|
+
isInited={props.isInited}
|
|
51
54
|
/>
|
|
52
55
|
</Match>
|
|
53
56
|
<Match when={type() === "composed"}>
|
|
@@ -56,6 +59,7 @@ export const Filter: Component<FilterProps<ConfigFilter, FilterValue>> = (props)
|
|
|
56
59
|
value={props.value as FilterValueComposed}
|
|
57
60
|
onValueChange={props.onValueChange}
|
|
58
61
|
onValueClear={props.onValueClear}
|
|
62
|
+
isInited={props.isInited}
|
|
59
63
|
/>
|
|
60
64
|
</Match>
|
|
61
65
|
</Switch>
|
|
@@ -38,6 +38,7 @@ export const FilterComposed: Component<FilterProps<ConfigFilterComposed, FilterV
|
|
|
38
38
|
defaultValue={props.defaultValue}
|
|
39
39
|
onValueChange={props.onValueChange}
|
|
40
40
|
onValueClear={props.onValueClear}
|
|
41
|
+
isInited={props.isInited}
|
|
41
42
|
/>
|
|
42
43
|
</Match>
|
|
43
44
|
<Match when={id() === "composed/locus"}>
|
|
@@ -47,6 +48,7 @@ export const FilterComposed: Component<FilterProps<ConfigFilterComposed, FilterV
|
|
|
47
48
|
defaultValue={props.defaultValue}
|
|
48
49
|
onValueChange={props.onValueChange}
|
|
49
50
|
onValueClear={props.onValueClear}
|
|
51
|
+
isInited={props.isInited}
|
|
50
52
|
/>
|
|
51
53
|
</Match>
|
|
52
54
|
<Match when={id() === "composed/allelicImbalance"}>
|
|
@@ -56,6 +58,7 @@ export const FilterComposed: Component<FilterProps<ConfigFilterComposed, FilterV
|
|
|
56
58
|
defaultValue={props.defaultValue}
|
|
57
59
|
onValueChange={props.onValueChange}
|
|
58
60
|
onValueClear={props.onValueClear}
|
|
61
|
+
isInited={props.isInited}
|
|
59
62
|
/>
|
|
60
63
|
</Match>
|
|
61
64
|
<Match when={id() === "composed/inheritanceMatch"}>
|
|
@@ -65,6 +68,7 @@ export const FilterComposed: Component<FilterProps<ConfigFilterComposed, FilterV
|
|
|
65
68
|
defaultValue={props.defaultValue}
|
|
66
69
|
onValueChange={props.onValueChange}
|
|
67
70
|
onValueClear={props.onValueClear}
|
|
71
|
+
isInited={props.isInited}
|
|
68
72
|
/>
|
|
69
73
|
</Match>
|
|
70
74
|
<Match when={id() === "composed/deNovo"}>
|
|
@@ -74,6 +78,7 @@ export const FilterComposed: Component<FilterProps<ConfigFilterComposed, FilterV
|
|
|
74
78
|
defaultValue={props.defaultValue}
|
|
75
79
|
onValueChange={props.onValueChange}
|
|
76
80
|
onValueClear={props.onValueClear}
|
|
81
|
+
isInited={props.isInited}
|
|
77
82
|
/>
|
|
78
83
|
</Match>
|
|
79
84
|
<Match when={id() === "composed/vipC"}>
|
|
@@ -83,6 +88,7 @@ export const FilterComposed: Component<FilterProps<ConfigFilterComposed, FilterV
|
|
|
83
88
|
defaultValue={props.defaultValue}
|
|
84
89
|
onValueChange={props.onValueChange}
|
|
85
90
|
onValueClear={props.onValueClear}
|
|
91
|
+
isInited={props.isInited}
|
|
86
92
|
/>
|
|
87
93
|
</Match>
|
|
88
94
|
<Match when={id() === "composed/vipCS"}>
|
|
@@ -92,6 +98,7 @@ export const FilterComposed: Component<FilterProps<ConfigFilterComposed, FilterV
|
|
|
92
98
|
defaultValue={props.defaultValue}
|
|
93
99
|
onValueChange={props.onValueChange}
|
|
94
100
|
onValueClear={props.onValueClear}
|
|
101
|
+
isInited={props.isInited}
|
|
95
102
|
/>
|
|
96
103
|
</Match>
|
|
97
104
|
</Switch>
|
|
@@ -12,6 +12,7 @@ export const FilterHpo: Component<FilterProps<ConfigFilterHpo, FilterValueHpo>>
|
|
|
12
12
|
defaultValue={props.defaultValue}
|
|
13
13
|
onValueChange={props.onValueChange as FilterValueChangeCallback<FilterValueField>}
|
|
14
14
|
onValueClear={props.onValueClear}
|
|
15
|
+
isInited={props.isInited}
|
|
15
16
|
/>
|
|
16
17
|
);
|
|
17
18
|
};
|
|
@@ -12,6 +12,7 @@ export const FilterVipC: Component<FilterProps<ConfigFilterVipC, FilterValueVipC
|
|
|
12
12
|
defaultValue={props.defaultValue}
|
|
13
13
|
onValueChange={props.onValueChange as FilterValueChangeCallback<FilterValueField>}
|
|
14
14
|
onValueClear={props.onValueClear}
|
|
15
|
+
isInited={props.isInited}
|
|
15
16
|
/>
|
|
16
17
|
);
|
|
17
18
|
};
|
|
@@ -12,6 +12,7 @@ export const FilterVipCS: Component<FilterProps<ConfigFilterVipCS, FilterValueVi
|
|
|
12
12
|
defaultValue={props.defaultValue}
|
|
13
13
|
onValueChange={props.onValueChange as FilterValueChangeCallback<FilterValueField>}
|
|
14
14
|
onValueClear={props.onValueClear}
|
|
15
|
+
isInited={props.isInited}
|
|
15
16
|
/>
|
|
16
17
|
);
|
|
17
18
|
};
|
|
@@ -42,6 +42,7 @@ export const FilterFixed: Component<FilterProps<ConfigFilterFixed, FilterValue>>
|
|
|
42
42
|
defaultValue={props.defaultValue}
|
|
43
43
|
onValueChange={props.onValueChange}
|
|
44
44
|
onValueClear={props.onValueClear}
|
|
45
|
+
isInited={props.isInited}
|
|
45
46
|
/>
|
|
46
47
|
</Match>
|
|
47
48
|
<Match when={id() === "fixed/pos"}>
|
|
@@ -51,6 +52,7 @@ export const FilterFixed: Component<FilterProps<ConfigFilterFixed, FilterValue>>
|
|
|
51
52
|
defaultValue={props.defaultValue}
|
|
52
53
|
onValueChange={props.onValueChange}
|
|
53
54
|
onValueClear={props.onValueClear}
|
|
55
|
+
isInited={props.isInited}
|
|
54
56
|
/>
|
|
55
57
|
</Match>
|
|
56
58
|
<Match when={id() === "fixed/id"}>
|
|
@@ -60,6 +62,7 @@ export const FilterFixed: Component<FilterProps<ConfigFilterFixed, FilterValue>>
|
|
|
60
62
|
defaultValue={props.defaultValue}
|
|
61
63
|
onValueChange={props.onValueChange}
|
|
62
64
|
onValueClear={props.onValueClear}
|
|
65
|
+
isInited={props.isInited}
|
|
63
66
|
/>
|
|
64
67
|
</Match>
|
|
65
68
|
<Match when={id() === "fixed/ref"}>
|
|
@@ -69,6 +72,7 @@ export const FilterFixed: Component<FilterProps<ConfigFilterFixed, FilterValue>>
|
|
|
69
72
|
defaultValue={props.defaultValue}
|
|
70
73
|
onValueChange={props.onValueChange}
|
|
71
74
|
onValueClear={props.onValueClear}
|
|
75
|
+
isInited={props.isInited}
|
|
72
76
|
/>
|
|
73
77
|
</Match>
|
|
74
78
|
<Match when={id() === "fixed/alt"}>
|
|
@@ -78,6 +82,7 @@ export const FilterFixed: Component<FilterProps<ConfigFilterFixed, FilterValue>>
|
|
|
78
82
|
defaultValue={props.defaultValue}
|
|
79
83
|
onValueChange={props.onValueChange}
|
|
80
84
|
onValueClear={props.onValueClear}
|
|
85
|
+
isInited={props.isInited}
|
|
81
86
|
/>
|
|
82
87
|
</Match>
|
|
83
88
|
<Match when={id() === "fixed/qual"}>
|
|
@@ -87,6 +92,7 @@ export const FilterFixed: Component<FilterProps<ConfigFilterFixed, FilterValue>>
|
|
|
87
92
|
defaultValue={props.defaultValue}
|
|
88
93
|
onValueChange={props.onValueChange}
|
|
89
94
|
onValueClear={props.onValueClear}
|
|
95
|
+
isInited={props.isInited}
|
|
90
96
|
/>
|
|
91
97
|
</Match>
|
|
92
98
|
<Match when={id() === "fixed/filter"}>
|
|
@@ -96,6 +102,7 @@ export const FilterFixed: Component<FilterProps<ConfigFilterFixed, FilterValue>>
|
|
|
96
102
|
defaultValue={props.defaultValue}
|
|
97
103
|
onValueChange={props.onValueChange}
|
|
98
104
|
onValueClear={props.onValueClear}
|
|
105
|
+
isInited={props.isInited}
|
|
99
106
|
/>
|
|
100
107
|
</Match>
|
|
101
108
|
</Switch>
|
|
@@ -98,7 +98,7 @@ export const FilterCategorical: Component<FilterProps<ConfigFilterField, FilterV
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
onMount(() => {
|
|
101
|
-
if (props.config.defaultValue !== undefined) {
|
|
101
|
+
if (props.config.defaultValue !== undefined && !props.isInited) {
|
|
102
102
|
const values = props.config.defaultValue.split(",");
|
|
103
103
|
validateValues(values, categories());
|
|
104
104
|
props.onValueChange({ value: values as FilterValueCategorical });
|
|
@@ -25,7 +25,7 @@ export const FilterInterval: Component<FilterProps<ConfigFilterField, FilterValu
|
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
onMount(() => {
|
|
28
|
-
if (props.config.defaultValue !== undefined) {
|
|
28
|
+
if (props.config.defaultValue !== undefined && !props.isInited) {
|
|
29
29
|
const split = props.config.defaultValue.split(",");
|
|
30
30
|
if (split.length >= 1) {
|
|
31
31
|
if (split[0] !== undefined && split[0] !== "") {
|
|
@@ -24,7 +24,7 @@ export const FilterString: Component<FilterProps<ConfigFilterField, FilterValueS
|
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
onMount(() => {
|
|
27
|
-
if (props.config.defaultValue !== undefined) {
|
|
27
|
+
if (props.config.defaultValue !== undefined && !props.isInited) {
|
|
28
28
|
setInputValue(props.config.defaultValue);
|
|
29
29
|
onApply();
|
|
30
30
|
}
|
|
@@ -25,6 +25,7 @@ export const FilterTyped: Component<FilterProps<ConfigFilterField, FilterValueFi
|
|
|
25
25
|
value={props.value as FilterValueCategorical}
|
|
26
26
|
onValueChange={props.onValueChange}
|
|
27
27
|
onValueClear={props.onValueClear}
|
|
28
|
+
isInited={props.isInited}
|
|
28
29
|
/>
|
|
29
30
|
</Match>
|
|
30
31
|
<Match when={type() === "CHARACTER" || type() === "STRING"}>
|
|
@@ -34,6 +35,7 @@ export const FilterTyped: Component<FilterProps<ConfigFilterField, FilterValueFi
|
|
|
34
35
|
defaultValue={props.defaultValue}
|
|
35
36
|
onValueChange={props.onValueChange}
|
|
36
37
|
onValueClear={props.onValueClear}
|
|
38
|
+
isInited={props.isInited}
|
|
37
39
|
/>
|
|
38
40
|
</Match>
|
|
39
41
|
<Match when={type() === "INTEGER" || type() === "FLOAT"}>
|
|
@@ -42,6 +44,7 @@ export const FilterTyped: Component<FilterProps<ConfigFilterField, FilterValueFi
|
|
|
42
44
|
value={props.value as FilterValueInterval}
|
|
43
45
|
onValueChange={props.onValueChange}
|
|
44
46
|
onValueClear={props.onValueClear}
|
|
47
|
+
isInited={props.isInited}
|
|
45
48
|
/>
|
|
46
49
|
</Match>
|
|
47
50
|
<Match when={type() === "FLAG"}>
|
|
@@ -50,6 +53,7 @@ export const FilterTyped: Component<FilterProps<ConfigFilterField, FilterValueFi
|
|
|
50
53
|
value={props.value as FilterValueFlag}
|
|
51
54
|
onValueChange={props.onValueChange}
|
|
52
55
|
onValueClear={props.onValueClear}
|
|
56
|
+
isInited={props.isInited}
|
|
53
57
|
/>
|
|
54
58
|
</Match>
|
|
55
59
|
</Switch>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -302,7 +302,7 @@ chr9 104784352 . AAAGAT A . PASS CSQ=-|frameshift_variant|HIGH|ABCA1|19|Transcri
|
|
|
302
302
|
chr10 124402930 . G C . PASS CSQ=C|stop_gained|HIGH|OAT|4942|Transcript|NM_000274.4|protein_coding|7/10||NM_000274.4:c.897C>G|NP_000265.1:p.Tyr299Ter|977/2039|897/1320|299/439|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1||1|EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.9577619|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp,C|stop_gained|HIGH|OAT|4942|Transcript|NM_001171814.2|protein_coding|6/9||NM_001171814.2:c.483C>G|NP_001165285.1:p.Tyr161Ter|749/1811|483/906|161/301|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1|||EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.9739149|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp,C|stop_gained|HIGH|OAT|4942|Transcript|NM_001322965.2|protein_coding|7/10||NM_001322965.2:c.897C>G|NP_001309894.1:p.Tyr299Ter|972/2034|897/1320|299/439|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1|||EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.9577619|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp,C|stop_gained|HIGH|OAT|4942|Transcript|NM_001322966.2|protein_coding|8/11||NM_001322966.2:c.897C>G|NP_001309895.1:p.Tyr299Ter|1292/2354|897/1320|299/439|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1|||EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.91890144|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp,C|stop_gained|HIGH|OAT|4942|Transcript|NM_001322967.2|protein_coding|8/11||NM_001322967.2:c.897C>G|NP_001309896.1:p.Tyr299Ter|1097/2159|897/1320|299/439|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1|||EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.95931506|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp,C|stop_gained|HIGH|OAT|4942|Transcript|NM_001322968.2|protein_coding|9/12||NM_001322968.2:c.897C>G|NP_001309897.1:p.Tyr299Ter|1184/2246|897/1320|299/439|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1|||EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.9648485|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp,C|stop_gained|HIGH|OAT|4942|Transcript|NM_001322969.2|protein_coding|8/11||NM_001322969.2:c.897C>G|NP_001309898.1:p.Tyr299Ter|1064/2126|897/1320|299/439|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1|||EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.9579952|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp,C|stop_gained|HIGH|OAT|4942|Transcript|NM_001322970.2|protein_coding|9/12||NM_001322970.2:c.897C>G|NP_001309899.1:p.Tyr299Ter|1280/2342|897/1320|299/439|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1|||EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.91890144|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp,C|stop_gained|HIGH|OAT|4942|Transcript|NM_001322971.2|protein_coding|5/8||NM_001322971.2:c.576C>G|NP_001309900.1:p.Tyr192Ter|656/1718|576/999|192/332|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1|||EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.96753824|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp,C|stop_gained|HIGH|OAT|4942|Transcript|NM_001322974.2|protein_coding|7/10||NM_001322974.2:c.297C>G|NP_001309903.1:p.Tyr99Ter|863/1925|297/720|99/239|Y/*|taC/taG|rs121965057&CM920525&COSV64348333|1||-1|||EntrezGene||||||||likely_pathogenic&pathogenic|0&1&1|1&1&1|1737786&23076989&1609808&22674428||||||||-1|-3|-3|4|0.00|0.00|0.00|0.00|OAT|VUS|0.91896105|||||||AR||LP|4.83387e-05|0.99956|3.935e-05|3.64e-05|0||T|176|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.8435|0.96855|0.10738|1.28999996185303|LP|filter&vkgl&exit_lp;VIPC_S=U2 GT:DP:GQ:VID:VIM:VIPC_S:VIPP_S 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 1|0:50:50:.:.:.:. 0|1:50:50:.:.:.:. 0|0:10:50:.:.:.:. 1|0:50:50:0:0:U2,U2,U2,U2,U2,U2,U2,U2,U2,U2:gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2
|
|
303
303
|
chr11 134144330 breakend2 G G[8:61765143[ . PASS BND_DEPTH=39;CSQ=G[8:61765143[|feature_truncation&intron_variant|HIGH|JAM3|83700|Transcript|NM_001205329.2|protein_coding||3/7|||||||||1||1|||EntrezGene||||||||||||||||||||||||||||||||||||AR||||||||||||||NA|||JAM3||||||7.97399997711182|VUS|filter&vkgl&clinVar&chrom&gene&gnomAD&gnomAD_AF&sv&str&annotSV&spliceAI&utr5&capice&exit_vus,G[8:61765143[|feature_truncation&coding_sequence_variant|HIGH|JAM3|83700|Transcript|NM_032801.5|protein_coding|4/9||||359/3765|347/933|116/310||||1||1||1|EntrezGene||||||||||||||||||||||||||||||||||||AR||||||||||||||NA|||JAM3||||||7.97399997711182|VUS|filter&vkgl&clinVar&chrom&gene&gnomAD&gnomAD_AF&sv&str&annotSV&spliceAI&utr5&capice&exit_vus;MATEID=breakend1;MATE_BND_DEPTH=26;SVTYPE=BND;VIPC_S=U2 GT:DP:GQ:VID:VIM:VIPC_S:VIPP_S 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:10:50:.:.:.:. 1|0:50:50:1:0:U2,U2:gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2
|
|
304
304
|
chr13 76995993 . G A . PASS CSQ=A|missense_variant|MODERATE|CLN5|1203|Transcript|NM_001366624.2|protein_coding|3/5||NM_001366624.2:c.431G>A|NP_001353553.1:p.Cys144Tyr|449/5286|431/594|144/197|C/Y|tGt/tAt|rs1566219136|1||1|||EntrezGene|||||0|0.99||pathogenic||1||||||||194|-27|-43|-27|-1|0.00|0.00|0.01|0.00|CLN5|VUS|0.9150198|||||||AR||LP||||||||623394|criteria_provided&_multiple_submitters&_no_conflicts|Pathogenic|||||||0.837|99.5193|0.99528|0.982568|10.0030002593994|LP|filter&vkgl&exit_lp,A|missense_variant|MODERATE|CLN5|1203|Transcript|NM_006493.4|protein_coding|3/4||NM_006493.4:c.431G>A|NP_006484.2:p.Cys144Tyr|449/5243|431/1077|144/358|C/Y|tGt/tAt|rs1566219136|1||1||1|EntrezGene|||||0|0.998||pathogenic||1||||||||194|-27|-43|-27|-1|0.00|0.00|0.01|0.00|CLN5|VUS|0.98561203|||||||AR||LP||||||||623394|criteria_provided&_multiple_submitters&_no_conflicts|Pathogenic|||||||0.837|99.5193|0.99528|0.982568|10.0030002593994|LP|filter&vkgl&exit_lp;VIPC_S=U2 GT:DP:GQ:VID:VIM:VIPC_S:VIPP_S 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:10:50:.:.:.:. 1|0:50:50:1:0:U2,U2:gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2
|
|
305
|
-
chr14 88870063 . TG T . PASS CSQ=-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001288781.1|protein_coding|12/16||NM_001288781.1:c.963del|NP_001275710.1:p.Met321IlefsTer15|1159/2378|963/1596|321/531|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9973392|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001288782.1|protein_coding|10/14||NM_001288782.1:c.321del|NP_001275711.1:p.Met107IlefsTer15|1079/2298|321/954|107/317|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9738995|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001288783.1|protein_coding|11/15||NM_001288783.1:c.198del|NP_001275712.1:p.Met66IlefsTer15|1051/2270|198/831|66/276|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9683613|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001366535.2|protein_coding|10/13||NM_001366535.2:c.885del|NP_001353464.1:p.Met295IlefsTer15|942/5160|885/1434|295/477|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9943374|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001366536.2|protein_coding|9/12||NM_001366536.2:c.795del|NP_001353465.1:p.Met265IlefsTer15|852/5070|795/1344|265/447|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9970993|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_144596.4|protein_coding|11/15||NM_144596.4:c.915del|NP_653197.2:p.Met305IlefsTer15|972/2183|915/1548|305/515|M/X|atG/at|rs1431207606|1||1||1|EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9968413|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_198309.3|protein_coding|11/15||NM_198309.3:c.885del|NP_938051.1:p.Met295IlefsTer15|1081/2300|885/1518|295/505|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.98999304|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_198310.3|protein_coding|10/14||NM_198310.3:c.795del|NP_938052.1:p.Met265IlefsTer15|991/2210|795/1428|265/475|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.99751306|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|non_coding_transcript_exon_variant|MODIFIER|TTC8|123016|Transcript|NR_159362.2|misc_RNA|11/15||NR_159362.2:n.1002del||1002/5304|||||rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.92329025|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp;VIPC_S=U2 GT:DP:GQ:VID:VIM:VIPC_S:VIPP_S 0|1:50:50:.:.:.:. 1|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:10:50:.:.:.:. 1|0:50:50:1:0:U2,
|
|
305
|
+
chr14 88870063 . TG T . PASS CSQ=-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001288781.1|protein_coding|12/16||NM_001288781.1:c.963del|NP_001275710.1:p.Met321IlefsTer15|1159/2378|963/1596|321/531|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9973392|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001288782.1|protein_coding|10/14||NM_001288782.1:c.321del|NP_001275711.1:p.Met107IlefsTer15|1079/2298|321/954|107/317|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9738995|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001288783.1|protein_coding|11/15||NM_001288783.1:c.198del|NP_001275712.1:p.Met66IlefsTer15|1051/2270|198/831|66/276|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9683613|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001366535.2|protein_coding|10/13||NM_001366535.2:c.885del|NP_001353464.1:p.Met295IlefsTer15|942/5160|885/1434|295/477|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9943374|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_001366536.2|protein_coding|9/12||NM_001366536.2:c.795del|NP_001353465.1:p.Met265IlefsTer15|852/5070|795/1344|265/447|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9970993|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_144596.4|protein_coding|11/15||NM_144596.4:c.915del|NP_653197.2:p.Met305IlefsTer15|972/2183|915/1548|305/515|M/X|atG/at|rs1431207606|1||1||1|EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.9968413|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_198309.3|protein_coding|11/15||NM_198309.3:c.885del|NP_938051.1:p.Met295IlefsTer15|1081/2300|885/1518|295/505|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.98999304|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|TTC8|123016|Transcript|NM_198310.3|protein_coding|10/14||NM_198310.3:c.795del|NP_938052.1:p.Met265IlefsTer15|991/2210|795/1428|265/475|M/X|atG/at|rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.99751306|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp,-|non_coding_transcript_exon_variant|MODIFIER|TTC8|123016|Transcript|NR_159362.2|misc_RNA|11/15||NR_159362.2:n.1002del||1002/5304|||||rs1431207606|1||1|||EntrezGene||||||||likely_pathogenic&pathogenic||1|19797195&21052717&16308660&30886724&16877420||||||||18|-4|-9|-4|0.00|0.16|0.00|0.00|TTC8|VUS|0.92329025|||||||AR||LP|7.43531e-06|0.99975|3.97e-06|3.13e-06|0||T|930561|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic||||||||99.7295||0.951635|9.52000045776367|LP|filter&vkgl&exit_lp;VIPC_S=U2 GT:DP:GQ:VID:VIM:VIPC_S:VIPP_S 0|1:50:50:.:.:.:. 1|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:10:50:.:.:.:. 1|0:50:50:1:0:U2,U1,U2,U2,U2,U2,U2,U1,U2:gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u1,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u1,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2
|
|
306
306
|
chr14 104701523 . T G . PASS CSQ=G|missense_variant|MODERATE|INF2|64423|Transcript|NM_001031714.4|protein_coding|2/22||NM_001031714.4:c.158T>G|NP_001026884.3:p.Leu53Arg|289/7566|158/3723|53/1240|L/R|cTg/cGg||1||1|||EntrezGene|||||0|0.999||||||||||||102|-28|-2|37|-2|0.00|0.00|0.00|0.00|INF2|VUS|0.9868581|||||||AD||LP|||||||||||||||||0.845|99.6723|0.94655|0.987499|7.84299993515015|LP|filter&vkgl&exit_lp,G|missense_variant|MODERATE|INF2|64423|Transcript|NM_022489.4|protein_coding|2/23||NM_022489.4:c.158T>G|NP_071934.3:p.Leu53Arg|289/7623|158/3750|53/1249|L/R|cTg/cGg||1||1||1|EntrezGene|||||0|0.999||||||||||||102|-28|-2|37|-2|0.00|0.00|0.00|0.00|INF2|VUS|0.97871566|||||||AD||LP|||||||||||||||||0.845|99.6723|0.94655|0.987499|7.84299993515015|LP|filter&vkgl&exit_lp,G|missense_variant|MODERATE|INF2|64423|Transcript|NM_032714.3|protein_coding|2/5||NM_032714.3:c.158T>G|NP_116103.1:p.Leu53Arg|289/1692|158/705|53/234|L/R|cTg/cGg||1||1|||EntrezGene|||||0|0.999||||||||||||102|-28|-2|37|-2|0.00|0.00|0.00|0.00|INF2|VUS|0.9679642|||||||AD||LP|||||||||||||||||0.845|99.6723|0.94655|0.987499|7.84299993515015|LP|filter&vkgl&exit_lp;VIPC_S=U2 GT:DP:GQ:VID:VIM:VIPC_S:VIPP_S 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:10:50:.:.:.:. 1|0:50:50:1:0:U2,U2,U2:gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2
|
|
307
307
|
chr17 31229046 . AC A . PASS CSQ=-|frameshift_variant|HIGH|NF1|4763|Transcript|NM_000267.3|protein_coding|21/57||NM_000267.3:c.2433del|NP_000258.1:p.Ile812LeufsTer9|2816/12362|2433/8457|811/2818|T/X|acC/ac||1||1|||EntrezGene|||||||1||||||||||||-22|-11|12|25|0.00|0.00|0.00|0.00|NF1|VUS|0.9995521|||||||AD||LP||||||||||||||||||99.8422||0.987342|3.78200006484985|LP|filter&vkgl&exit_lp,-|frameshift_variant|HIGH|NF1|4763|Transcript|NM_001042492.3|protein_coding|21/58||NM_001042492.3:c.2433del|NP_001035957.1:p.Ile812LeufsTer9|2766/12373|2433/8520|811/2839|T/X|acC/ac||1||1||1|EntrezGene|||||||1||||||||||||-22|-11|12|25|0.00|0.00|0.00|0.00|NF1|VUS|0.9997875|||||||AD||LP||||||||||||||||||99.8422||0.987342|3.78200006484985|LP|filter&vkgl&exit_lp;VIPC_S=U2 GT:DP:GQ:VID:VIM:VIPC_S:VIPP_S 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:10:50:.:.:.:. 1|0:9:50:1:0:U2,U2:gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2
|
|
308
308
|
chr17 31336861 . T G . PASS CSQ=G|missense_variant|MODERATE|NF1|4763|Transcript|NM_000267.3|protein_coding|41/57||NM_000267.3:c.6311T>G|NP_000258.1:p.Leu2104Arg|6694/12362|6311/8457|2104/2818|L/R|cTg/cGg|rs1597843129&CM141499&CM143458|1||1|||EntrezGene|||||0|0.991||likely_pathogenic|0&1&1|1&1&1|24413922|||||||102|-42|41|-34|8|0.00|0.00|0.00|0.00|NF1|VUS|0.9602681|||||||AD||LP||||||||996527|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic|||||||0.861|99.6657|0.99296|0.98798|7.49399995803833|LP|filter&vkgl&exit_lp,G|missense_variant|MODERATE|NF1|4763|Transcript|NM_001042492.3|protein_coding|42/58||NM_001042492.3:c.6374T>G|NP_001035957.1:p.Leu2125Arg|6707/12373|6374/8520|2125/2839|L/R|cTg/cGg|rs1597843129&CM141499&CM143458|1||1||1|EntrezGene|||||0|0.993||likely_pathogenic|0&1&1|1&1&1|24413922|||||||102|-42|41|-34|8|0.00|0.00|0.00|0.00|NF1|VUS|0.98705053|||||||AD||LP||||||||996527|criteria_provided&_multiple_submitters&_no_conflicts|Likely_pathogenic|||||||0.861|99.6657|0.99296|0.98798|7.49399995803833|LP|filter&vkgl&exit_lp;VIPC_S=U2 GT:DP:GQ:VID:VIM:VIPC_S:VIPP_S 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:50:50:.:.:.:. 0|0:10:50:.:.:.:. 1|0:50:50:1:0:U2,U2:gt&gq&only_IP&vim&exit_u2,gt&gq&only_IP&vim&exit_u2
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/store/variants.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VariantType } from "../utils/variantType.ts";
|
|
2
2
|
import { SampleContainer } from "../utils/api.ts";
|
|
3
|
-
import { FilterValueMap } from "../types/filter";
|
|
3
|
+
import { FilterInitedList, FilterValueMap } from "../types/filter";
|
|
4
4
|
import { FilterId, FilterValue } from "../types/configFilter";
|
|
5
5
|
import { produce } from "solid-js/store";
|
|
6
6
|
import { AppState, AppStateVariantType, AppStateVariantTypes, AppStore, Page, Sort } from "../types/store";
|
|
@@ -20,6 +20,7 @@ export type VariantStore = {
|
|
|
20
20
|
getSort(): Sort | null | undefined;
|
|
21
21
|
setSort(sort: Sort): void;
|
|
22
22
|
clearSort(): void;
|
|
23
|
+
getFiltersInited(): FilterInitedList;
|
|
23
24
|
};
|
|
24
25
|
|
|
25
26
|
export function wrapStore(store: AppStore, sample: SampleContainer | null, variantType: VariantType) {
|
|
@@ -48,7 +49,7 @@ export function wrapStore(store: AppStore, sample: SampleContainer | null, varia
|
|
|
48
49
|
if (variantTypeKey in stateVariantTypes) {
|
|
49
50
|
stateVariantType = stateVariantTypes[variantTypeKey]!;
|
|
50
51
|
} else {
|
|
51
|
-
stateVariantType = {};
|
|
52
|
+
stateVariantType = { initedFilters: [] };
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
return stateVariantType;
|
|
@@ -78,7 +79,7 @@ export function wrapStore(store: AppStore, sample: SampleContainer | null, varia
|
|
|
78
79
|
if (variantTypeKey in stateVariantTypes) {
|
|
79
80
|
stateVariantType = stateVariantTypes[variantTypeKey]!;
|
|
80
81
|
} else {
|
|
81
|
-
stateVariantType = {};
|
|
82
|
+
stateVariantType = { initedFilters: [] };
|
|
82
83
|
stateVariantTypes[variantTypeKey] = stateVariantType;
|
|
83
84
|
}
|
|
84
85
|
|
|
@@ -95,6 +96,18 @@ export function wrapStore(store: AppStore, sample: SampleContainer | null, varia
|
|
|
95
96
|
return page;
|
|
96
97
|
}
|
|
97
98
|
|
|
99
|
+
function setVariantsStateFiltersInited(state: AppState, filterId: string): void {
|
|
100
|
+
const stateVariantType: AppStateVariantType = getCreateVariantsState(state);
|
|
101
|
+
if (!stateVariantType.initedFilters.includes(filterId)) {
|
|
102
|
+
stateVariantType.initedFilters.push(filterId);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
function getVariantsStateFiltersInited(state: AppState): FilterInitedList {
|
|
107
|
+
const stateVariantType: AppStateVariantType = getCreateVariantsState(state);
|
|
108
|
+
return stateVariantType.initedFilters;
|
|
109
|
+
}
|
|
110
|
+
|
|
98
111
|
function getCreateVariantsStateFilterValues(state: AppState): FilterValueMap {
|
|
99
112
|
const stateVariantType: AppStateVariantType = getCreateVariantsState(state);
|
|
100
113
|
let filterValues = stateVariantType.filterValues;
|
|
@@ -112,6 +125,7 @@ export function wrapStore(store: AppStore, sample: SampleContainer | null, varia
|
|
|
112
125
|
setFilterValue(id: FilterId, value: FilterValue) {
|
|
113
126
|
setState(
|
|
114
127
|
produce((state) => {
|
|
128
|
+
setVariantsStateFiltersInited(state, id);
|
|
115
129
|
const filterValueMap = getCreateVariantsStateFilterValues(state);
|
|
116
130
|
filterValueMap[id] = value;
|
|
117
131
|
|
|
@@ -124,9 +138,9 @@ export function wrapStore(store: AppStore, sample: SampleContainer | null, varia
|
|
|
124
138
|
clearFilter(id: FilterId) {
|
|
125
139
|
setState(
|
|
126
140
|
produce((state) => {
|
|
141
|
+
setVariantsStateFiltersInited(state, id);
|
|
127
142
|
const filterValueMap = getCreateVariantsStateFilterValues(state);
|
|
128
143
|
delete filterValueMap[id];
|
|
129
|
-
|
|
130
144
|
const page = getCreateVariantsStatePage(state);
|
|
131
145
|
page.number = 0;
|
|
132
146
|
}),
|
|
@@ -178,5 +192,8 @@ export function wrapStore(store: AppStore, sample: SampleContainer | null, varia
|
|
|
178
192
|
}),
|
|
179
193
|
);
|
|
180
194
|
},
|
|
195
|
+
getFiltersInited(): FilterInitedList {
|
|
196
|
+
return getVariantsStateFiltersInited(state);
|
|
197
|
+
},
|
|
181
198
|
};
|
|
182
199
|
}
|
|
@@ -37,7 +37,7 @@ export type FilterValueFixed =
|
|
|
37
37
|
export type FilterValueField = FilterValueCategorical | FilterValueString | FilterValueInterval;
|
|
38
38
|
|
|
39
39
|
export type FilterValue = FilterValueFixed | FilterValueField | FilterValueComposed;
|
|
40
|
-
export type FilterValueMap = { [key: FilterId]: FilterValue };
|
|
40
|
+
export type FilterValueMap = { [key: FilterId]: FilterValue | undefined };
|
|
41
41
|
|
|
42
42
|
export type ConfigFilterFixed =
|
|
43
43
|
| ConfigFilterChrom
|
package/src/types/filter.d.ts
CHANGED
package/src/types/store.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SetStoreFunction } from "solid-js/store";
|
|
2
2
|
import { VariantTypeId } from "../utils/variantType.ts";
|
|
3
3
|
import { SortOrder } from "@molgenis/vip-report-api";
|
|
4
|
-
import { FilterValueMap } from "./filter";
|
|
4
|
+
import { FilterInitedList, FilterValueMap } from "./filter";
|
|
5
5
|
|
|
6
6
|
export type Page = { number: number; size?: number };
|
|
7
7
|
export type Sort = SortOrder | SortOrder[];
|
|
@@ -13,6 +13,7 @@ export type AppStateVariantType = {
|
|
|
13
13
|
* undefined: sort behavior is undefined, the caller of this function could fall back to a default sort
|
|
14
14
|
*/
|
|
15
15
|
sort?: Sort | null;
|
|
16
|
+
initedFilters: FilterInitedList;
|
|
16
17
|
};
|
|
17
18
|
export type AppStateVariantTypes = Partial<Record<VariantTypeId, AppStateVariantType>>;
|
|
18
19
|
type AppStateSamples = {
|
|
@@ -166,7 +166,7 @@ function initConfigVariantsRecordsPerPage(
|
|
|
166
166
|
variantType: VariantType,
|
|
167
167
|
): ConfigRecordsPerPage {
|
|
168
168
|
const configValue = config && (config[variantType.id] || config["all"]);
|
|
169
|
-
return configValue || [{ number: 10
|
|
169
|
+
return configValue || [{ number: 10 }, { number: 20, selected: true }, { number: 50 }, { number: 100 }];
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
export function getLabel(config: Describable, defaultLabel: string): string {
|
package/vite.config.mts
CHANGED
|
@@ -10,12 +10,12 @@ export default defineConfig(({ command }) => ({
|
|
|
10
10
|
pure: command === "build" ? ["console.log"] : [],
|
|
11
11
|
},
|
|
12
12
|
build: {
|
|
13
|
-
target:
|
|
13
|
+
target: "es2022",
|
|
14
14
|
modulePreload: false,
|
|
15
15
|
reportCompressedSize: false,
|
|
16
16
|
// inline plugin build options
|
|
17
17
|
rollupOptions: {
|
|
18
|
-
input: ["./index.html", "./node_modules/@molgenis/vite-plugin-inline/dist/loader.
|
|
18
|
+
input: ["./index.html", "./node_modules/@molgenis/vite-plugin-inline/dist/loader/loader.js"],
|
|
19
19
|
output: {
|
|
20
20
|
manualChunks: undefined,
|
|
21
21
|
},
|
|
@@ -24,12 +24,11 @@ export default defineConfig(({ command }) => ({
|
|
|
24
24
|
assetsInclude: "**/*.blob",
|
|
25
25
|
test: {
|
|
26
26
|
coverage: {
|
|
27
|
-
|
|
27
|
+
// TODO remove /*.ts postfix once component tests are added
|
|
28
|
+
include: ["src/**/*.ts"],
|
|
28
29
|
exclude: [...coverageConfigDefaults.exclude, "src/mocks/**", "**/*.precompiled.ts"],
|
|
29
|
-
// TODO add .tsx once component tests are added
|
|
30
|
-
extension: [".ts"],
|
|
31
30
|
thresholds: {
|
|
32
|
-
branches:
|
|
31
|
+
branches: 70,
|
|
33
32
|
lines: 80,
|
|
34
33
|
functions: 80,
|
|
35
34
|
statements: 80,
|