@sjcrh/proteinpaint-server 2.16.0 → 2.18.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.
@@ -1,52 +1,54 @@
1
- const clinvar = require('./clinvar')
2
- module.exports = {
3
- isMds3: true,
4
- dsinfo: [
5
- { k: 'Source', v: '<a href=http://www.ncbi.nlm.nih.gov/clinvar/ target=_blank>NCBI ClinVar</a>' },
6
- { k: 'Data type', v: 'SNV/Indel' },
7
- { k: 'Gene annotation', v: 'VEP version 107' },
8
- { k: 'Download date', v: 'July 2022' }
9
- ],
10
- genome: 'hg19',
11
- queries: {
12
- snvindel: {
13
- forTrack: true,
14
- byrange: {
15
- bcffile: 'hg19/clinvar.hg19.hgvs_short.vep.bcf.gz',
16
- infoFields: [
17
- {
18
- name: 'Clinical Significance',
19
- key: 'CLNSIG',
20
- categories: clinvar.clinsig,
21
- separator: '|'
22
- }
23
- ]
24
- },
25
- variantUrl: {
26
- base: 'https://www.ncbi.nlm.nih.gov/clinvar/variation/',
27
- key: 'vcf_id',
28
- linkText: 'ClinVar',
29
- shownSeparately: true
30
- },
31
- infoUrl: [{ base: 'https://www.ncbi.nlm.nih.gov/snp/rs', key: 'RS' }]
32
- }
33
- }
34
- /*
35
- vcfinfofilter: {
36
- setidx4mclass: 0,
37
- setidx4numeric: 1,
38
- lst: [
39
- {
40
- name: 'Clinical significance',
41
- locusinfo: {
42
- key: 'CLNSIG'
43
- },
44
- categories: clinvar.clinsig
45
- },
46
- clinvar.AF.AF_EXAC,
47
- clinvar.AF.AF_ESP,
48
- clinvar.AF.AF_TGP
49
- ]
50
- },
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var clinvar_js_1 = require("./clinvar.js");
4
+ exports.default = {
5
+ isMds3: true,
6
+ dsinfo: [
7
+ { k: 'Source', v: '<a href=http://www.ncbi.nlm.nih.gov/clinvar/ target=_blank>NCBI ClinVar</a>' },
8
+ { k: 'Data type', v: 'SNV/Indel' },
9
+ { k: 'Gene annotation', v: 'VEP version 107' },
10
+ { k: 'Download date', v: 'July 2022' }
11
+ ],
12
+ genome: 'hg19',
13
+ queries: {
14
+ snvindel: {
15
+ forTrack: true,
16
+ byrange: {
17
+ bcffile: 'hg19/clinvar.hg19.hgvs_short.vep.bcf.gz',
18
+ infoFields: [
19
+ {
20
+ name: 'Clinical Significance',
21
+ key: 'CLNSIG',
22
+ categories: clinvar_js_1.clinsig,
23
+ separator: '|'
24
+ }
25
+ ]
26
+ },
27
+ variantUrl: {
28
+ base: 'https://www.ncbi.nlm.nih.gov/clinvar/variation/',
29
+ key: 'vcf_id',
30
+ linkText: 'ClinVar',
31
+ shownSeparately: true
32
+ },
33
+ infoUrl: [{ base: 'https://www.ncbi.nlm.nih.gov/snp/rs', key: 'RS' }]
34
+ }
35
+ }
36
+ /*
37
+ vcfinfofilter: {
38
+ setidx4mclass: 0,
39
+ setidx4numeric: 1,
40
+ lst: [
41
+ {
42
+ name: 'Clinical significance',
43
+ locusinfo: {
44
+ key: 'CLNSIG'
45
+ },
46
+ categories: clinvar.clinsig
47
+ },
48
+ clinvar.AF.AF_EXAC,
49
+ clinvar.AF.AF_ESP,
50
+ clinvar.AF.AF_TGP
51
+ ]
52
+ },
51
53
  */
52
- }
54
+ };
@@ -1,58 +1,60 @@
1
- const clinvar = require('./clinvar')
2
- module.exports = {
3
- isMds3: true,
4
- dsinfo: [
5
- { k: 'Source', v: '<a href=http://www.ncbi.nlm.nih.gov/clinvar/ target=_blank>NCBI ClinVar</a>' },
6
- { k: 'Data type', v: 'SNV/Indel' },
7
- { k: 'Gene annotation', v: 'VEP version 107' },
8
- { k: 'Download date', v: 'July 2022' }
9
- ],
10
- genome: 'hg38',
11
- queries: {
12
- snvindel: {
13
- forTrack: true,
14
- byrange: {
15
- bcffile: 'hg38/clinvar.hg38.hgvs_short.vep.bcf.gz',
16
- // list of info fields with special configurations
17
- infoFields: [
18
- {
19
- name: 'Clinical significance',
20
- key: 'CLNSIG',
21
- categories: clinvar.clinsig,
22
- separator: '|'
23
- }
24
- ]
25
- },
26
- variantUrl: {
27
- base: 'https://www.ncbi.nlm.nih.gov/clinvar/variation/',
28
- key: 'vcf_id',
29
- linkText: 'ClinVar',
30
- shownSeparately: true
31
- },
32
- infoUrl: [
33
- {
34
- base: 'https://www.ncbi.nlm.nih.gov/snp/rs',
35
- key: 'RS'
36
- }
37
- ]
38
- }
39
- }
40
- /*
41
- vcfinfofilter: {
42
- setidx4mclass: 0,
43
- setidx4numeric: 1,
44
- lst: [
45
- {
46
- name: 'Clinical significance',
47
- locusinfo: {
48
- key: 'CLNSIG'
49
- },
50
- categories: clinvar.clinsig
51
- },
52
- clinvar.AF.AF_EXAC,
53
- clinvar.AF.AF_ESP,
54
- clinvar.AF.AF_TGP
55
- ]
56
- }
57
- */
58
- }
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var clinvar_js_1 = require("./clinvar.js");
4
+ exports.default = {
5
+ isMds3: true,
6
+ dsinfo: [
7
+ { k: 'Source', v: '<a href=http://www.ncbi.nlm.nih.gov/clinvar/ target=_blank>NCBI ClinVar</a>' },
8
+ { k: 'Data type', v: 'SNV/Indel' },
9
+ { k: 'Gene annotation', v: 'VEP version 107' },
10
+ { k: 'Download date', v: 'July 2022' }
11
+ ],
12
+ genome: 'hg38',
13
+ queries: {
14
+ snvindel: {
15
+ forTrack: true,
16
+ byrange: {
17
+ bcffile: 'hg38/clinvar.hg38.hgvs_short.vep.bcf.gz',
18
+ // list of info fields with special configurations
19
+ infoFields: [
20
+ {
21
+ name: 'Clinical significance',
22
+ key: 'CLNSIG',
23
+ categories: clinvar_js_1.clinsig,
24
+ separator: '|'
25
+ }
26
+ ]
27
+ },
28
+ variantUrl: {
29
+ base: 'https://www.ncbi.nlm.nih.gov/clinvar/variation/',
30
+ key: 'vcf_id',
31
+ linkText: 'ClinVar',
32
+ shownSeparately: true
33
+ },
34
+ infoUrl: [
35
+ {
36
+ base: 'https://www.ncbi.nlm.nih.gov/snp/rs',
37
+ key: 'RS'
38
+ }
39
+ ]
40
+ }
41
+ }
42
+ /*
43
+ vcfinfofilter: {
44
+ setidx4mclass: 0,
45
+ setidx4numeric: 1,
46
+ lst: [
47
+ {
48
+ name: 'Clinical significance',
49
+ locusinfo: {
50
+ key: 'CLNSIG'
51
+ },
52
+ categories: clinvar.clinsig
53
+ },
54
+ clinvar.AF.AF_EXAC,
55
+ clinvar.AF.AF_ESP,
56
+ clinvar.AF.AF_TGP
57
+ ]
58
+ }
59
+ */
60
+ };
@@ -1,55 +1,49 @@
1
- module.exports.clinsig = {
2
-
3
-
4
- Affects: { color: '#ccc', label: 'Affects', desc: "Variants that cause a non-disease phenotype, such as lactose intolerance." },
5
- Benign: { color: '#43ac6a', label: 'Benign', textcolor: 'white', desc : "The variant is reported to be benign." },
6
- 'Benign/Likely_benign': { color: '#43ac6a', label: 'Benign/Likely benign', textcolor: 'white' , desc: "The variant is reported to be benign/likely benign by different submitters."},
7
- Likely_benign: { color: '#5bc0de', label: 'Likely benign', textcolor: 'white' , desc: "The variant is reported to be likely benign."},
8
-
9
- Conflicting_interpretations_of_pathogenicity: { color: '#90C3D4', label: 'Conflicting interpretations of pathogenicity', desc: "The variant has conflicting clinical assertions from different submitters."},
10
-
11
- Likely_pathogenic: { color: '#e99002', label: 'Likely pathogenic', textcolor: 'white' , desc: "The variant is reported to be likely pathogenic."},
12
- 'Likely_pathogenic,_low_penetrance': { color: '#e99002', label: 'Likely pathogenic/Low penetrance', desc: "The variant is reported to be likely pathogenic with low penetrance." },
13
- 'Likely_pathogenic/Likely_risk_allele': { color: '#e99002', label: 'Likely pathogenic/Likely risk allele', desc: "The variant is reported to be likely pathogenic/likely risk allele by different submitters." },
14
- Likely_risk_allele: { color: '#e99002', label: 'Likely risk allele', desc: "" },
15
-
16
- Pathogenic: { color: '#f04124', label: 'Pathogenic', textcolor: 'white' , desc: "The variant is reported to be pathogenic."},
17
- 'Likely_pathogenic/Pathogenic,_low_penetrance': { color: '#f04124', label: 'Likely pathogenic/Pathogenic/Low penetrance', desc: "The variant is reported likely pathogenic/pathogenic with low penetrance by different submitters." },
18
- 'Pathogenic/Likely_pathogenic/Pathogenic,_low_penetrance': { color: '#f04124', label: 'Pathogenic/Likely pathogenic/Low penetrance', desc: "The variant is reported likely pathogenic/pathogenic with low penetrance by different submitters." },
19
- 'Pathogenic/Likely_pathogenic': { color: '#f04124', label: 'Pathogenic/Likely pathogenic', textcolor: 'white' , desc: "The variant is reported to be pathogenic/likely pathogenic by different submitters."},
20
- 'Pathogenic/Likely_pathogenic/Likely_risk_allele': { color: '#f04124', label: 'Pathogenic/Likely pathogenic/Likely risk allele', desc: "The variant is reported to be pathogenic, likely pathogenic or likely risk allele by different submitters." },
21
- 'Pathogenic/Likely_risk_allele': { color: '#f04124', label: 'Pathogenic/Likely risk allele', desc: "The variant is reported pathogenic/likely risk allele by different submitters." },
22
- 'Pathogenic/Pathogenic,_low_penetrance': { color: '#f04124', label: 'Pathogenic/Low penetrance', desc: "The variant is reported pathogenic with low penetrance." },
23
-
24
- Uncertain_risk_allele: { color: '#aaa', label: 'Uncertain risk allele', textcolor: 'white', desc: "A genetic change affecting an allele whose impact on the individual’s disease risk is not yet known."},
25
- Uncertain_significance: { color: '#aaa', label: 'Uncertain significance', textcolor: 'white', desc: "A genetic change whose impact on the individual’s disease risk is not yet known."},
26
- 'Uncertain_significance/Uncertain_risk_allele': { color: '#aaa', label: 'Uncertain significance/Uncertain risk allele', desc: "The variant is reported of uncertain significance/uncertain risk allele by different submitters." },
27
-
28
-
29
- association: { color: '#ccc', label: 'Association', desc: "Variants identified in a GWAS study and further interpreted for their clinical significance." },
30
- association_not_found: { color: '#ccc', label: 'Association not found', desc: "No significant GWAS association study found." },
31
- confers_sensitivity: { color: '#ccc', label: 'Confers sensitivity', desc: "" },
32
- drug_response: { color: 'gold', label: 'Drug response', textcolor: 'white' , desc: "The variant is reported to affect a drug response."},
33
- not_provided: { color: '#ccc', label: 'Not provided' , desc: "Clinical significance for the variant has not been provided by the submitter."},
34
- other: { color: '#ccc', label: 'Other', desc: "The variant has some other clinical significance, such as protective, association, confers sensitivity." },
35
- protective: { color: '#ccc', label: 'Protective', desc: "Variants that decrease the risk of a disorder, including infections." },
36
- risk_factor: { color: '#ccc', label: 'Risk factor', desc: "The variant is reported to be a risk factor for a particular disease."},
37
- }
38
-
39
- module.exports.AF = {
40
- AF_EXAC: {
41
- name: 'ExAC frequency',
42
- locusinfo: { key: 'AF_EXAC' },
43
- numericfilter: [{ side: '<', value: 0.0001 }, { side: '<', value: 0.001 }, { side: '<', value: 0.01 }]
44
- },
45
- AF_ESP: {
46
- name: 'GO-ESP frequency',
47
- locusinfo: { key: 'AF_ESP' },
48
- numericfilter: [{ side: '<', value: 0.0001 }, { side: '<', value: 0.001 }, { side: '<', value: 0.01 }]
49
- },
50
- AF_TGP: {
51
- name: '1000 Genomes frequency',
52
- locusinfo: { key: 'AF_TGP' },
53
- numericfilter: [{ side: '<', value: 0.0001 }, { side: '<', value: 0.001 }, { side: '<', value: 0.01 }]
54
- }
55
- }
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AF = exports.clinsig = void 0;
4
+ exports.clinsig = {
5
+ Affects: { color: '#ccc', label: 'Affects', desc: "Variants that cause a non-disease phenotype, such as lactose intolerance." },
6
+ Benign: { color: '#43ac6a', label: 'Benign', textcolor: 'white', desc: "The variant is reported to be benign." },
7
+ 'Benign/Likely_benign': { color: '#43ac6a', label: 'Benign/Likely benign', textcolor: 'white', desc: "The variant is reported to be benign/likely benign by different submitters." },
8
+ Likely_benign: { color: '#5bc0de', label: 'Likely benign', textcolor: 'white', desc: "The variant is reported to be likely benign." },
9
+ Conflicting_interpretations_of_pathogenicity: { color: '#90C3D4', label: 'Conflicting interpretations of pathogenicity', desc: "The variant has conflicting clinical assertions from different submitters." },
10
+ Likely_pathogenic: { color: '#e99002', label: 'Likely pathogenic', textcolor: 'white', desc: "The variant is reported to be likely pathogenic." },
11
+ 'Likely_pathogenic,_low_penetrance': { color: '#e99002', label: 'Likely pathogenic/Low penetrance', desc: "The variant is reported to be likely pathogenic with low penetrance." },
12
+ 'Likely_pathogenic/Likely_risk_allele': { color: '#e99002', label: 'Likely pathogenic/Likely risk allele', desc: "The variant is reported to be likely pathogenic/likely risk allele by different submitters." },
13
+ Likely_risk_allele: { color: '#e99002', label: 'Likely risk allele', desc: "" },
14
+ Pathogenic: { color: '#f04124', label: 'Pathogenic', textcolor: 'white', desc: "The variant is reported to be pathogenic." },
15
+ 'Likely_pathogenic/Pathogenic,_low_penetrance': { color: '#f04124', label: 'Likely pathogenic/Pathogenic/Low penetrance', desc: "The variant is reported likely pathogenic/pathogenic with low penetrance by different submitters." },
16
+ 'Pathogenic/Likely_pathogenic/Pathogenic,_low_penetrance': { color: '#f04124', label: 'Pathogenic/Likely pathogenic/Low penetrance', desc: "The variant is reported likely pathogenic/pathogenic with low penetrance by different submitters." },
17
+ 'Pathogenic/Likely_pathogenic': { color: '#f04124', label: 'Pathogenic/Likely pathogenic', textcolor: 'white', desc: "The variant is reported to be pathogenic/likely pathogenic by different submitters." },
18
+ 'Pathogenic/Likely_pathogenic/Likely_risk_allele': { color: '#f04124', label: 'Pathogenic/Likely pathogenic/Likely risk allele', desc: "The variant is reported to be pathogenic, likely pathogenic or likely risk allele by different submitters." },
19
+ 'Pathogenic/Likely_risk_allele': { color: '#f04124', label: 'Pathogenic/Likely risk allele', desc: "The variant is reported pathogenic/likely risk allele by different submitters." },
20
+ 'Pathogenic/Pathogenic,_low_penetrance': { color: '#f04124', label: 'Pathogenic/Low penetrance', desc: "The variant is reported pathogenic with low penetrance." },
21
+ Uncertain_risk_allele: { color: '#aaa', label: 'Uncertain risk allele', textcolor: 'white', desc: "A genetic change affecting an allele whose impact on the individual’s disease risk is not yet known." },
22
+ Uncertain_significance: { color: '#aaa', label: 'Uncertain significance', textcolor: 'white', desc: "A genetic change whose impact on the individual’s disease risk is not yet known." },
23
+ 'Uncertain_significance/Uncertain_risk_allele': { color: '#aaa', label: 'Uncertain significance/Uncertain risk allele', desc: "The variant is reported of uncertain significance/uncertain risk allele by different submitters." },
24
+ association: { color: '#ccc', label: 'Association', desc: "Variants identified in a GWAS study and further interpreted for their clinical significance." },
25
+ association_not_found: { color: '#ccc', label: 'Association not found', desc: "No significant GWAS association study found." },
26
+ confers_sensitivity: { color: '#ccc', label: 'Confers sensitivity', desc: "" },
27
+ drug_response: { color: 'gold', label: 'Drug response', textcolor: 'white', desc: "The variant is reported to affect a drug response." },
28
+ not_provided: { color: '#ccc', label: 'Not provided', desc: "Clinical significance for the variant has not been provided by the submitter." },
29
+ other: { color: '#ccc', label: 'Other', desc: "The variant has some other clinical significance, such as protective, association, confers sensitivity." },
30
+ protective: { color: '#ccc', label: 'Protective', desc: "Variants that decrease the risk of a disorder, including infections." },
31
+ risk_factor: { color: '#ccc', label: 'Risk factor', desc: "The variant is reported to be a risk factor for a particular disease." },
32
+ };
33
+ exports.AF = {
34
+ AF_EXAC: {
35
+ name: 'ExAC frequency',
36
+ locusinfo: { key: 'AF_EXAC' },
37
+ numericfilter: [{ side: '<', value: 0.0001 }, { side: '<', value: 0.001 }, { side: '<', value: 0.01 }]
38
+ },
39
+ AF_ESP: {
40
+ name: 'GO-ESP frequency',
41
+ locusinfo: { key: 'AF_ESP' },
42
+ numericfilter: [{ side: '<', value: 0.0001 }, { side: '<', value: 0.001 }, { side: '<', value: 0.01 }]
43
+ },
44
+ AF_TGP: {
45
+ name: '1000 Genomes frequency',
46
+ locusinfo: { key: 'AF_TGP' },
47
+ numericfilter: [{ side: '<', value: 0.0001 }, { side: '<', value: 0.001 }, { side: '<', value: 0.01 }]
48
+ }
49
+ };