forked from clingen-data-model/VCI-transformation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtransformation notes.txt
573 lines (559 loc) · 19.6 KB
/
transformation notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
This file contains info on transforming the following
1. VARIANT
2. DISEASE
3. CRITERION ASSESSMENTS
4. EVIDENCE ITEMS FROM PUBMED INFO
5. CONTRIBUTION / AGENT
(each section below has the above heading as a title)
1. VARIANT
==========
The variant must contain the "preferred transcript" information if possible using the following rules
a. if the clinvarVariantTitle exists presume that it is the preferred transcript (use it to look up the transcript allele bits).
b. if no clinvar id exists then the canonicalTranscriptTitle might exist which is a manufactured description using the Ensembl VEP service lookup of the canonical transcript (ultimate plan)
c. otherwise use the b38 accession and hgvs notation.
Always provide the transcript aligned alleles and "mark" the preferred transcript.
Make sure that if transcripts exist they have a reference to the gene id and symbol for the transcript
Always pass the 37 and 38 genomic alleles.
if available pass the clinvar and dbsnp ids associated with the canonical allele
Given (VCI provided)
"variant": {
"schema_version": "4",
"@type": ["variant","item"],
"uuid": "3aae8164-ec43-4305-8125-fa39c9e85d70",
"@id": "/variants/3aae8164-ec43-4305-8125-fa39c9e85d70/",
"clinvarVariantTitle": "NM_004700.3(KCNQ4):c.825G>C (p.Trp275Cys)",
"clinvarVariantId": "505302",
"clinVarRCVs": [],
"clinVarSCVs": [],
"source": "ClinVar",
look for this.... canonicalTranscriptTitle -> built from the VEP ensembl service call (see Jimmy)
"variationType": "single nucleotide variant",
"variation_type": "single nucleotide variant",
"otherDescription": "",
"carId": "CA21112664",
"hgvsNames": {
"others": [
"NG_008139.1:g.40452G>C",
"NM_004700.3:c.825G>C",
"NP_004691.2:p.Trp275Cys"
],
"GRCh38": "NC_000001.11:g.40819463G>C",
"GRCh37": "NC_000001.10:g.41285135G>C"
},
"molecularConsequenceList": [
{
"hgvsName": "NM_004700.3:c.825G>C",
"term": "missense variant",
"soId": "SO:0001583"
}
],
"molecular_consequence": "missense variant",
"variant_identifier": "505302",
"dbSNPIds": ["956666801"],
"date_created": "2018-08-15T13:23:35.195400+00:00"
},
*****************************************
CG allele registry lookkup result used to create Variant below
{
"@context": "http://reg.genome.network/schema/allele.jsonld",
"@id": "http://reg.genome.network/allele/CA21112664",
"externalRecords": {
"ClinVarAlleles": [
{
"@id": "http://www.ncbi.nlm.nih.gov/clinvar/?term=496205[alleleid]",
"alleleId": 496205,
"preferredName": "NM_004700.3(KCNQ4):c.825G>C (p.Trp275Cys)"
}
],
"ClinVarVariations": [
{
"@id": "http://www.ncbi.nlm.nih.gov/clinvar/variation/505302",
"RCV": [
"RCV000599794"
],
"variationId": 505302
}
],
"MyVariantInfo_hg19": [
{
"@id": "http://myvariant.info/v1/variant/chr1:g.41285135G>C?assembly=hg19",
"id": "chr1:g.41285135G>C"
}
],
"MyVariantInfo_hg38": [
{
"@id": "http://myvariant.info/v1/variant/chr1:g.40819463G>C?assembly=hg38",
"id": "chr1:g.40819463G>C"
}
],
"dbSNP": [
{
"@id": "http://www.ncbi.nlm.nih.gov/snp/956666801",
"rs": 956666801
}
]
},
"genomicAlleles": [
{
"chromosome": "1",
"coordinates": [
{
"allele": "C",
"end": 40819463,
"referenceAllele": "G",
"start": 40819462
}
],
"hgvs": [
"NC_000001.11:g.40819463G>C",
"CM000663.2:g.40819463G>C"
],
"referenceGenome": "GRCh38",
"referenceSequence": "http://reg.genome.network/refseq/RS000049"
},
{
"chromosome": "1",
"coordinates": [
{
"allele": "C",
"end": 41057722,
"referenceAllele": "G",
"start": 41057721
}
],
"hgvs": [
"NC_000001.9:g.41057722G>C"
],
"referenceGenome": "NCBI36",
"referenceSequence": "http://reg.genome.network/refseq/RS000001"
},
{
"chromosome": "1",
"coordinates": [
{
"allele": "C",
"end": 41285135,
"referenceAllele": "G",
"start": 41285134
}
],
"hgvs": [
"NC_000001.10:g.41285135G>C",
"CM000663.1:g.41285135G>C"
],
"referenceGenome": "GRCh37",
"referenceSequence": "http://reg.genome.network/refseq/RS000025"
},
{
"coordinates": [
{
"allele": "C",
"end": 40452,
"referenceAllele": "G",
"start": 40451
}
],
"hgvs": [
"NG_008139.1:g.40452G>C"
],
"referenceSequence": "http://reg.genome.network/refseq/RS000885"
}
],
"transcriptAlleles": [
{
"coordinates": [
{
"allele": "C",
"end": 907,
"referenceAllele": "G",
"start": 906
}
],
"hgvs": [
"ENST00000347132.9:c.825G>C"
],
"proteinEffect": {
"hgvs": "ENSP00000262916.6:p.Trp275Cys",
"hgvsWellDefined": "ENSP00000262916.6:p.Trp275Cys"
},
"referenceSequence": "http://reg.genome.network/refseq/RS262332"
},
{
"coordinates": [
{
"allele": "C",
"end": 511,
"referenceAllele": "G",
"start": 510
}
],
"hgvs": [
"ENST00000443478.3:n.511G>C"
],
"referenceSequence": "http://reg.genome.network/refseq/RS297357"
},
{
"coordinates": [
{
"allele": "C",
"end": 144,
"referenceAllele": "G",
"start": 143
}
],
"hgvs": [
"ENST00000506017.1:n.144G>C"
],
"referenceSequence": "http://reg.genome.network/refseq/RS337656"
},
{
"coordinates": [
{
"allele": "C",
"end": 825,
"referenceAllele": "G",
"start": 824
}
],
"hgvs": [
"ENST00000509682.6:n.825G>C"
],
"proteinEffect": {
"hgvs": "ENSP00000423756.2:p.Trp275Cys",
"hgvsWellDefined": "ENSP00000423756.2:p.Trp275Cys"
},
"referenceSequence": "http://reg.genome.network/refseq/RS340393"
},
{
"coordinates": [
{
"allele": "C",
"end": 907,
"referenceAllele": "G",
"start": 906
}
],
"gene": "http://reg.genome.network/gene/GN006298",
"geneNCBI_id": 9132,
"geneSymbol": "KCNQ4",
"hgvs": [
"NM_004700.3:c.825G>C"
],
"proteinEffect": {
"hgvs": "NP_004691.2:p.Trp275Cys",
"hgvsWellDefined": "NP_004691.2:p.Trp275Cys"
},
"referenceSequence": "http://reg.genome.network/refseq/RS029850"
},
{
"coordinates": [
{
"allele": "C",
"end": 907,
"referenceAllele": "G",
"start": 906
}
],
"gene": "http://reg.genome.network/gene/GN006298",
"geneNCBI_id": 9132,
"geneSymbol": "KCNQ4",
"hgvs": [
"NM_172163.2:c.825G>C"
],
"proteinEffect": {
"hgvs": "NP_751895.1:p.Trp275Cys",
"hgvsWellDefined": "NP_751895.1:p.Trp275Cys"
},
"referenceSequence": "http://reg.genome.network/refseq/RS042665"
},
{
"coordinates": [
{
"allele": "C",
"end": 831,
"referenceAllele": "G",
"start": 830
}
],
"gene": "http://reg.genome.network/gene/GN006298",
"geneNCBI_id": 9132,
"geneSymbol": "KCNQ4",
"hgvs": [
"XM_011542417.1:c.825G>C"
],
"proteinEffect": {
"hgvs": "XP_011540719.1:p.Trp275Cys",
"hgvsWellDefined": "XP_011540719.1:p.Trp275Cys"
},
"referenceSequence": "http://reg.genome.network/refseq/RS109348"
},
{
"coordinates": [
{
"allele": "C",
"end": 831,
"referenceAllele": "G",
"start": 830
}
],
"gene": "http://reg.genome.network/gene/GN006298",
"geneNCBI_id": 9132,
"geneSymbol": "KCNQ4",
"hgvs": [
"XM_011542418.1:c.825G>C"
],
"proteinEffect": {
"hgvs": "XP_011540720.1:p.Trp275Cys",
"hgvsWellDefined": "XP_011540720.1:p.Trp275Cys"
},
"referenceSequence": "http://reg.genome.network/refseq/RS109349"
},
{
"coordinates": [
{
"allele": "C",
"end": 831,
"referenceAllele": "G",
"start": 830
}
],
"gene": "http://reg.genome.network/gene/GN006298",
"geneNCBI_id": 9132,
"geneSymbol": "KCNQ4",
"hgvs": [
"XM_011542419.1:c.825G>C"
],
"proteinEffect": {
"hgvs": "XP_011540721.1:p.Trp275Cys",
"hgvsWellDefined": "XP_011540721.1:p.Trp275Cys"
},
"referenceSequence": "http://reg.genome.network/refseq/RS109350"
},
{
"coordinates": [
{
"allele": "C",
"end": 831,
"referenceAllele": "G",
"start": 830
}
],
"gene": "http://reg.genome.network/gene/GN006298",
"geneNCBI_id": 9132,
"geneSymbol": "KCNQ4",
"hgvs": [
"XM_011542420.1:c.825G>C"
],
"proteinEffect": {
"hgvs": "XP_011540722.1:p.Trp275Cys",
"hgvsWellDefined": "XP_011540722.1:p.Trp275Cys"
},
"referenceSequence": "http://reg.genome.network/refseq/RS109351"
},
{
"coordinates": [
{
"allele": "C",
"end": 831,
"referenceAllele": "G",
"start": 830
}
],
"gene": "http://reg.genome.network/gene/GN006298",
"geneNCBI_id": 9132,
"geneSymbol": "KCNQ4",
"hgvs": [
"XR_946798.1:n.831G>C"
],
"referenceSequence": "http://reg.genome.network/refseq/RS140380"
},
{
"coordinates": [
{
"allele": "C",
"end": 831,
"referenceAllele": "G",
"start": 830
}
],
"gene": "http://reg.genome.network/gene/GN006298",
"geneNCBI_id": 9132,
"geneSymbol": "KCNQ4",
"hgvs": [
"XR_946799.1:n.831G>C"
],
"referenceSequence": "http://reg.genome.network/refseq/RS140381"
},
{
"coordinates": [
{
"allele": "C",
"end": 831,
"referenceAllele": "G",
"start": 830
}
],
"gene": "http://reg.genome.network/gene/GN006298",
"geneNCBI_id": 9132,
"geneSymbol": "KCNQ4",
"hgvs": [
"XR_946800.1:n.831G>C"
],
"referenceSequence": "http://reg.genome.network/refseq/RS140382"
}
],
"type": "nucleotide"
}
*****************************************
OUTPUT of VCI transform of Variant
"allele": {
"canonicalAlleleType": "nucleotide",
"complexity": "simple",
"id": "CAR:CA21112664",
"relatedContextualAllele": [
{
"alleleName": [
{
"name": "NC_000001.11:g.40819463G>C",
"nameType": "hgvs"
},
{
"name": "CM000663.2:g.40819463G>C",
"nameType": "hgvs"
}
],
"contextualAlleleType": "genomic",
"preferred": true,
"referenceCoordinate": {
"end": {
"index": 40819463
},
"refState": "G",
"referenceSequence": {
"label": "NC_000001.11",
"reference": "http://reg.genome.network/refseq/RS000049"
},
"start": {
"index": 40819462
}
},
"relatedCanonicalAllele": "CAR:CA21112664",
"state": "C",
"type": "ContextualAllele"
},
{
"alleleName": [
{
"name": "NC_000001.9:g.41057722G>C",
"nameType": "hgvs"
}
],
"contextualAlleleType": "genomic",
"referenceCoordinate": {
"end": {
"index": 41057722
},
"refState": "G",
"referenceSequence": {
"label": "NC_000001.9",
"reference": "http://reg.genome.network/refseq/RS000001"
},
"start": {
"index": 41057721
}
},
"relatedCanonicalAllele": "CAR:CA21112664",
"state": "C",
"type": "ContextualAllele"
},
{
"alleleName": [
{
"name": "NC_000001.10:g.41285135G>C",
"nameType": "hgvs"
},
{
"name": "CM000663.1:g.41285135G>C",
"nameType": "hgvs"
}
],
"contextualAlleleType": "genomic",
"referenceCoordinate": {
"end": {
"index": 41285135
},
"refState": "G",
"referenceSequence": {
"label": "NC_000001.10",
"reference": "http://reg.genome.network/refseq/RS000025"
},
"start": {
"index": 41285134
}
},
"relatedCanonicalAllele": "CAR:CA21112664",
"state": "C",
"type": "ContextualAllele"
},
{
"alleleName": [
{
"name": "NG_008139.1:g.40452G>C",
"nameType": "hgvs"
}
],
"contextualAlleleType": "genomic",
"referenceCoordinate": {
"end": {
"index": 40452
},
"refState": "G",
"referenceSequence": {
"label": "",
"reference": "http://reg.genome.network/refseq/RS000885"
},
"start": {
"index": 40451
}
},
"relatedCanonicalAllele": "CAR:CA21112664",
"state": "C",
"type": "ContextualAllele"
}
],
"relatedIdentifier": [
{
"label": "NM_004700.3(KCNQ4):c.825G>C (p.Trp275Cys)"
},
{
"id": "dbSNP:956666801"
}
],
"type": "CanonicalAllele"
},
2. DISEASE
==========
Can be a string name with a list of hpo phenos and a definition
usually a mondo id
also include the moi which is a combo of the top-level moi and the 2nd-level adjective (essentially a hierarchy with unknown and other as choices)
see translation table in doc.
3. CRITERION ASSESSMENTS
========================
the "Met" assessments get the "explanation" and all the pmid evidence in the panel
the "Not Met" assessments all get passed, but
- they only get "explanations" if they have only one associated or they are in a mutually exclusive group and no other member of the group is "Met"
- they only get the pmids for the panel if their is no other "Met" assessment anywhere in the panel - then they get the pmids as evidence.
NOTE: we need to "MARK" the criterion assessments with PMID evidence that is not a 1:1 in a panel.
we need to "MARK" the criterion assessments with explanations that are not a 1:1 in a panel.
4. EVIDENCE ITEMS FROM PUBMED INFO
==================================
the text of the literature evidence acts as a generic evidence information item, the set of literature evidence items get bundled under an evidence line that supports the associated criterion assessment
The pmids themselves are sources for the evidence text associated to the pmid.
5. CONTRIBUTION / AGENT
=======================
If an affiliation exists for the approver then only the affiliation will be included in the contribution at the interpretation level (no indivudal user info)
If no affiliation exists for the interp then the approver (user) will be the contribution for the interpretation and listed
The role of the contribution at the interpretation level will be "Approver". (not interpreter). no contributions for now on criterion assessments.
Two contributions need to exist at the top level interp
1 - Approver, approved date, affiliation, if not then user
2 - Publisher, published date, affiliation, if not then user