@molgenis/vip-report-template 5.5.4 → 5.5.5

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.5.4",
3
+ "version": "5.5.5",
4
4
  "description": "Report Template for Variant Call Format (VCF) Report Generator",
5
5
  "scripts": {
6
6
  "build": "vite build",
@@ -36,8 +36,8 @@
36
36
  "dependencies": {
37
37
  "@fortawesome/fontawesome-svg-core": "^6.4.2",
38
38
  "@fortawesome/free-solid-svg-icons": "^6.4.2",
39
- "@molgenis/vip-report-api": "^4.4.3",
40
- "@molgenis/vip-report-vcf": "^1.4.3",
39
+ "@molgenis/vip-report-api": "^4.4.4",
40
+ "@molgenis/vip-report-vcf": "^1.4.4",
41
41
  "@solidjs/router": "^0.8.3",
42
42
  "base64-js": "^1.5.1",
43
43
  "igv": "^2.15.10",
@@ -100,7 +100,7 @@ export const FilterInheritance: Component<FilterInheritanceProps> = (props) => {
100
100
  <Checkbox
101
101
  value={VIM_TRUE}
102
102
  label="Match"
103
- desc="Genotypes, affected statuses and known gene inheritance patterns match."
103
+ desc="Genotypes, affected statuses and known gene inheritance patterns match (can include de novo variants)."
104
104
  checked={isVimTrueChecked}
105
105
  onChange={onFilterChange}
106
106
  />
@@ -109,7 +109,7 @@ export const FilterInheritance: Component<FilterInheritanceProps> = (props) => {
109
109
  <Checkbox
110
110
  value={VIM_MISSING}
111
111
  label="Match: Possible"
112
- desc="Genotypes, affected statuses match but gene inheritance pattern is unknown. "
112
+ desc="Genotypes, affected statuses match but gene inheritance pattern is unknown (can include de novo variants)."
113
113
  checked={isVimMissingChecked}
114
114
  onChange={onFilterChange}
115
115
  />
@@ -119,7 +119,7 @@ export const FilterInheritance: Component<FilterInheritanceProps> = (props) => {
119
119
  value={VID}
120
120
  label="De novo"
121
121
  desc="On autosomes:
122
- - available parents do not have the variant, or genotype is missing.
122
+ - Available parents do not have the variant, or genotype is missing.
123
123
  On the X chromosome:
124
124
  - Female proband: same as autosomes.
125
125
  - Male proband: Mother does not have the variant, or mother genotype missing."
@@ -32,14 +32,14 @@ export const ClinVar: Component<FieldProps> = (props) => {
32
32
  };
33
33
 
34
34
  const href = () => {
35
- const clinVarIdsField = getCsqInfoIndex(props.infoMeta, "clinVar");
36
- const clinVarIds = clinVarIdsField ? (getCsqInfo(props.info, clinVarIdsField) as number[]) : [];
35
+ const clinVarIdsField = getCsqInfoIndex(props.infoMeta, "clinVar_CLNID");
36
+ const clinVarIds = clinVarIdsField !== -1 ? (getCsqInfo(props.info, clinVarIdsField) as number[]) : [];
37
37
  return clinVarIds.length === 1 ? `https://www.ncbi.nlm.nih.gov/clinvar/variation/${clinVarIds[0]}/` : undefined;
38
38
  };
39
39
 
40
40
  const description = () => {
41
41
  const statusField = getCsqInfoIndex(props.infoMeta, "clinVar_CLNREVSTAT");
42
- const status = statusField ? (getCsqInfo(props.info, statusField) as string[]) : [];
42
+ const status = statusField !== -1 ? (getCsqInfo(props.info, statusField) as string[]) : [];
43
43
  if (status.length === 0) return;
44
44
 
45
45
  let description;