Skip to content

Commit b51029c

Browse files
authored
Merge pull request #5015 from leexgh/fix-ma-v4
API client update about Mutation Assessor v4 data and UI changes
2 parents c0bf914 + b1a0aad commit b51029c

File tree

8 files changed

+185
-462
lines changed

8 files changed

+185
-462
lines changed

packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI-docs.json

Lines changed: 37 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,6 +2506,26 @@
25062506
}
25072507
}
25082508
},
2509+
"IntergenicConsequenceSummary": {
2510+
"type": "object",
2511+
"properties": {
2512+
"consequenceTerms": {
2513+
"type": "array",
2514+
"items": {
2515+
"type": "string"
2516+
}
2517+
},
2518+
"impact": {
2519+
"type": "string"
2520+
},
2521+
"variantAllele": {
2522+
"type": "string"
2523+
},
2524+
"variantClassification": {
2525+
"type": "string"
2526+
}
2527+
}
2528+
},
25092529
"IntergenicConsequences": {
25102530
"type": "object",
25112531
"required": [
@@ -2554,124 +2574,32 @@
25542574
},
25552575
"MutationAssessor": {
25562576
"type": "object",
2557-
"required": [
2558-
"input"
2559-
],
25602577
"properties": {
2561-
"codonStartPosition": {
2562-
"type": "string",
2563-
"description": "Codon start position"
2564-
},
2565-
"cosmicCount": {
2566-
"type": "integer",
2567-
"format": "int32",
2568-
"description": "Number of mutations in COSMIC for this protein"
2569-
},
2570-
"functionalImpact": {
2571-
"type": "string",
2572-
"description": "Functional impact"
2578+
"functionalImpactPrediction": {
2579+
"type": "string"
25732580
},
25742581
"functionalImpactScore": {
25752582
"type": "number",
25762583
"format": "double",
25772584
"description": "Functional impact score"
25782585
},
2579-
"hgvs": {
2586+
"hgvspShort": {
25802587
"type": "string"
25812588
},
2582-
"hugoSymbol": {
2583-
"type": "string",
2584-
"description": "Hugo gene symbol"
2585-
},
2586-
"input": {
2587-
"type": "string",
2588-
"description": "User-input variants"
2589-
},
2590-
"mappingIssue": {
2591-
"type": "string",
2592-
"description": "Mapping issue info"
2593-
},
2594-
"msaGaps": {
2595-
"type": "number",
2596-
"format": "double",
2597-
"description": "Portion of gaps in variant position in multiple sequence alignment"
2598-
},
2599-
"msaHeight": {
2589+
"mav": {
26002590
"type": "integer",
2601-
"format": "int32",
2602-
"description": "Number of diverse sequences in multiple sequence alignment (identical or highly similar sequences filtered out)"
2603-
},
2604-
"msaLink": {
2605-
"type": "string",
2606-
"description": "Link to multiple sequence alignment"
2607-
},
2608-
"pdbLink": {
2609-
"type": "string",
2610-
"description": "Link to 3d structure browser"
2611-
},
2612-
"referenceGenomeVariant": {
2613-
"type": "string",
2614-
"description": "Reference genome variant"
2615-
},
2616-
"referenceGenomeVariantType": {
2617-
"type": "string",
2618-
"description": "Reference genome variant type"
2619-
},
2620-
"refseqId": {
2621-
"type": "string",
2622-
"description": "Refseq protein ID"
2623-
},
2624-
"refseqPosition": {
2625-
"type": "integer",
2626-
"format": "int32",
2627-
"description": "Variant position in Refseq protein, can be different from the one in Uniprot"
2591+
"format": "int32"
26282592
},
2629-
"refseqResidue": {
2630-
"type": "string",
2631-
"description": "Reference residue in Refseq protein, can be different from the one in Uniprot"
2593+
"msa": {
2594+
"type": "string"
26322595
},
2633-
"snpCount": {
2596+
"sv": {
26342597
"type": "integer",
2635-
"format": "int32",
2636-
"description": "Number of SNPs in dbSNP for this protein"
2598+
"format": "int32"
26372599
},
26382600
"uniprotId": {
26392601
"type": "string",
26402602
"description": "Uniprot protein accession ID"
2641-
},
2642-
"uniprotPosition": {
2643-
"type": "integer",
2644-
"format": "int32",
2645-
"description": "Variant position in Uniprot protein, can be different from the one in Refseq"
2646-
},
2647-
"uniprotResidue": {
2648-
"type": "string",
2649-
"description": "Reference residue in Uniprot protein, can be different from the one in Refseq"
2650-
},
2651-
"variant": {
2652-
"type": "string",
2653-
"description": "Amino acid substitution"
2654-
},
2655-
"variantConservationScore": {
2656-
"type": "number",
2657-
"format": "double",
2658-
"description": "Variant conservation score"
2659-
},
2660-
"variantSpecificityScore": {
2661-
"type": "number",
2662-
"format": "double",
2663-
"description": "Variant specificity score"
2664-
}
2665-
}
2666-
},
2667-
"MutationAssessorAnnotation": {
2668-
"type": "object",
2669-
"properties": {
2670-
"annotation": {
2671-
"$ref": "#/definitions/MutationAssessor"
2672-
},
2673-
"license": {
2674-
"type": "string"
26752603
}
26762604
}
26772605
},
@@ -3676,8 +3604,8 @@
36763604
"description": "Most severe consequence"
36773605
},
36783606
"mutation_assessor": {
3679-
"description": "Mutation Assessor Annotation",
3680-
"$ref": "#/definitions/MutationAssessorAnnotation"
3607+
"description": "Mutation Assessor",
3608+
"$ref": "#/definitions/MutationAssessor"
36813609
},
36823610
"my_variant_info": {
36833611
"description": "My Variant Info Annotation",
@@ -3758,6 +3686,12 @@
37583686
"description": "Genomic location",
37593687
"$ref": "#/definitions/GenomicLocation"
37603688
},
3689+
"intergenicConsequenceSummaries": {
3690+
"type": "array",
3691+
"items": {
3692+
"$ref": "#/definitions/IntergenicConsequenceSummary"
3693+
}
3694+
},
37613695
"strandSign": {
37623696
"type": "string",
37633697
"description": "Strand (- or +)"

packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI.ts

Lines changed: 18 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,16 @@ export type IntegerRange = {
483483

484484
'start': number
485485

486+
};
487+
export type IntergenicConsequenceSummary = {
488+
'consequenceTerms': Array < string >
489+
490+
'impact': string
491+
492+
'variantAllele': string
493+
494+
'variantClassification': string
495+
486496
};
487497
export type IntergenicConsequences = {
488498
'impact': string
@@ -501,60 +511,20 @@ export type MainType = {
501511

502512
};
503513
export type MutationAssessor = {
504-
'codonStartPosition': string
505-
506-
'cosmicCount': number
507-
508-
'functionalImpact': string
514+
'functionalImpactPrediction': string
509515

510516
'functionalImpactScore': number
511517

512-
'hgvs': string
513-
514-
'hugoSymbol': string
515-
516-
'input': string
517-
518-
'mappingIssue': string
519-
520-
'msaGaps': number
521-
522-
'msaHeight': number
523-
524-
'msaLink': string
525-
526-
'pdbLink': string
527-
528-
'referenceGenomeVariant': string
529-
530-
'referenceGenomeVariantType': string
531-
532-
'refseqId': string
518+
'hgvspShort': string
533519

534-
'refseqPosition': number
520+
'mav': number
535521

536-
'refseqResidue': string
522+
'msa': string
537523

538-
'snpCount': number
524+
'sv': number
539525

540526
'uniprotId': string
541527

542-
'uniprotPosition': number
543-
544-
'uniprotResidue': string
545-
546-
'variant': string
547-
548-
'variantConservationScore': number
549-
550-
'variantSpecificityScore': number
551-
552-
};
553-
export type MutationAssessorAnnotation = {
554-
'annotation': MutationAssessor
555-
556-
'license': string
557-
558528
};
559529
export type MutationEffectResp = {
560530
'citations': Citations
@@ -1008,7 +978,7 @@ export type VariantAnnotation = {
1008978

1009979
'most_severe_consequence': string
1010980

1011-
'mutation_assessor': MutationAssessorAnnotation
981+
'mutation_assessor': MutationAssessor
1012982

1013983
'my_variant_info': MyVariantInfoAnnotation
1014984

@@ -1044,6 +1014,8 @@ export type VariantAnnotationSummary = {
10441014

10451015
'genomicLocation': GenomicLocation
10461016

1017+
'intergenicConsequenceSummaries': Array < IntergenicConsequenceSummary >
1018+
10471019
'strandSign': string
10481020

10491021
'transcriptConsequenceSummaries': Array < TranscriptConsequenceSummary >

0 commit comments

Comments
 (0)