diff --git a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI-docs.json b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI-docs.json index a88b7a9ab2e..491e0aff186 100644 --- a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI-docs.json +++ b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI-docs.json @@ -2506,6 +2506,26 @@ } } }, + "IntergenicConsequenceSummary": { + "type": "object", + "properties": { + "consequenceTerms": { + "type": "array", + "items": { + "type": "string" + } + }, + "impact": { + "type": "string" + }, + "variantAllele": { + "type": "string" + }, + "variantClassification": { + "type": "string" + } + } + }, "IntergenicConsequences": { "type": "object", "required": [ @@ -2554,124 +2574,32 @@ }, "MutationAssessor": { "type": "object", - "required": [ - "input" - ], "properties": { - "codonStartPosition": { - "type": "string", - "description": "Codon start position" - }, - "cosmicCount": { - "type": "integer", - "format": "int32", - "description": "Number of mutations in COSMIC for this protein" - }, - "functionalImpact": { - "type": "string", - "description": "Functional impact" + "functionalImpactPrediction": { + "type": "string" }, "functionalImpactScore": { "type": "number", "format": "double", "description": "Functional impact score" }, - "hgvs": { + "hgvspShort": { "type": "string" }, - "hugoSymbol": { - "type": "string", - "description": "Hugo gene symbol" - }, - "input": { - "type": "string", - "description": "User-input variants" - }, - "mappingIssue": { - "type": "string", - "description": "Mapping issue info" - }, - "msaGaps": { - "type": "number", - "format": "double", - "description": "Portion of gaps in variant position in multiple sequence alignment" - }, - "msaHeight": { + "mav": { "type": "integer", - "format": "int32", - "description": "Number of diverse sequences in multiple sequence alignment (identical or highly similar sequences filtered out)" - }, - "msaLink": { - "type": "string", - "description": "Link to multiple sequence alignment" - }, - "pdbLink": { - "type": "string", - "description": "Link to 3d structure browser" - }, - "referenceGenomeVariant": { - "type": "string", - "description": "Reference genome variant" - }, - "referenceGenomeVariantType": { - "type": "string", - "description": "Reference genome variant type" - }, - "refseqId": { - "type": "string", - "description": "Refseq protein ID" - }, - "refseqPosition": { - "type": "integer", - "format": "int32", - "description": "Variant position in Refseq protein, can be different from the one in Uniprot" + "format": "int32" }, - "refseqResidue": { - "type": "string", - "description": "Reference residue in Refseq protein, can be different from the one in Uniprot" + "msa": { + "type": "string" }, - "snpCount": { + "sv": { "type": "integer", - "format": "int32", - "description": "Number of SNPs in dbSNP for this protein" + "format": "int32" }, "uniprotId": { "type": "string", "description": "Uniprot protein accession ID" - }, - "uniprotPosition": { - "type": "integer", - "format": "int32", - "description": "Variant position in Uniprot protein, can be different from the one in Refseq" - }, - "uniprotResidue": { - "type": "string", - "description": "Reference residue in Uniprot protein, can be different from the one in Refseq" - }, - "variant": { - "type": "string", - "description": "Amino acid substitution" - }, - "variantConservationScore": { - "type": "number", - "format": "double", - "description": "Variant conservation score" - }, - "variantSpecificityScore": { - "type": "number", - "format": "double", - "description": "Variant specificity score" - } - } - }, - "MutationAssessorAnnotation": { - "type": "object", - "properties": { - "annotation": { - "$ref": "#/definitions/MutationAssessor" - }, - "license": { - "type": "string" } } }, @@ -3676,8 +3604,8 @@ "description": "Most severe consequence" }, "mutation_assessor": { - "description": "Mutation Assessor Annotation", - "$ref": "#/definitions/MutationAssessorAnnotation" + "description": "Mutation Assessor", + "$ref": "#/definitions/MutationAssessor" }, "my_variant_info": { "description": "My Variant Info Annotation", @@ -3758,6 +3686,12 @@ "description": "Genomic location", "$ref": "#/definitions/GenomicLocation" }, + "intergenicConsequenceSummaries": { + "type": "array", + "items": { + "$ref": "#/definitions/IntergenicConsequenceSummary" + } + }, "strandSign": { "type": "string", "description": "Strand (- or +)" diff --git a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI.ts b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI.ts index 44367862cc5..bf182857798 100644 --- a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI.ts +++ b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI.ts @@ -483,6 +483,16 @@ export type IntegerRange = { 'start': number +}; +export type IntergenicConsequenceSummary = { + 'consequenceTerms': Array < string > + + 'impact': string + + 'variantAllele': string + + 'variantClassification': string + }; export type IntergenicConsequences = { 'impact': string @@ -501,60 +511,20 @@ export type MainType = { }; export type MutationAssessor = { - 'codonStartPosition': string - - 'cosmicCount': number - - 'functionalImpact': string + 'functionalImpactPrediction': string 'functionalImpactScore': number - 'hgvs': string - - 'hugoSymbol': string - - 'input': string - - 'mappingIssue': string - - 'msaGaps': number - - 'msaHeight': number - - 'msaLink': string - - 'pdbLink': string - - 'referenceGenomeVariant': string - - 'referenceGenomeVariantType': string - - 'refseqId': string + 'hgvspShort': string - 'refseqPosition': number + 'mav': number - 'refseqResidue': string + 'msa': string - 'snpCount': number + 'sv': number 'uniprotId': string - 'uniprotPosition': number - - 'uniprotResidue': string - - 'variant': string - - 'variantConservationScore': number - - 'variantSpecificityScore': number - -}; -export type MutationAssessorAnnotation = { - 'annotation': MutationAssessor - - 'license': string - }; export type MutationEffectResp = { 'citations': Citations @@ -1008,7 +978,7 @@ export type VariantAnnotation = { 'most_severe_consequence': string - 'mutation_assessor': MutationAssessorAnnotation + 'mutation_assessor': MutationAssessor 'my_variant_info': MyVariantInfoAnnotation @@ -1044,6 +1014,8 @@ export type VariantAnnotationSummary = { 'genomicLocation': GenomicLocation + 'intergenicConsequenceSummaries': Array < IntergenicConsequenceSummary > + 'strandSign': string 'transcriptConsequenceSummaries': Array < TranscriptConsequenceSummary > diff --git a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal-docs.json b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal-docs.json index 01071225578..59a139f7e9e 100644 --- a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal-docs.json +++ b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal-docs.json @@ -469,7 +469,7 @@ "mutation-assessor-controller" ], "summary": "Retrieves mutation assessor information for the provided list of variants", - "operationId": "postMutationAssessorAnnotation", + "operationId": "postMutationAssessor", "consumes": [ "application/json" ], @@ -509,7 +509,7 @@ "mutation-assessor-controller" ], "summary": "Retrieves mutation assessor information for the provided list of variants", - "operationId": "fetchMutationAssessorAnnotationGET", + "operationId": "fetchMutationAssessorGET", "consumes": [ "application/json" ], @@ -1650,115 +1650,54 @@ } } }, - "MutationAssessor": { + "IntergenicConsequenceSummary": { "type": "object", - "required": [ - "input" - ], "properties": { - "codonStartPosition": { - "type": "string", - "description": "Codon start position" + "consequenceTerms": { + "type": "array", + "items": { + "type": "string" + } }, - "cosmicCount": { - "type": "integer", - "format": "int32", - "description": "Number of mutations in COSMIC for this protein" + "impact": { + "type": "string" }, - "functionalImpact": { - "type": "string", - "description": "Functional impact" + "variantAllele": { + "type": "string" + }, + "variantClassification": { + "type": "string" + } + } + }, + "MutationAssessor": { + "type": "object", + "properties": { + "functionalImpactPrediction": { + "type": "string" }, "functionalImpactScore": { "type": "number", "format": "double", "description": "Functional impact score" }, - "hgvs": { + "hgvspShort": { "type": "string" }, - "hugoSymbol": { - "type": "string", - "description": "Hugo gene symbol" - }, - "input": { - "type": "string", - "description": "User-input variants" - }, - "mappingIssue": { - "type": "string", - "description": "Mapping issue info" - }, - "msaGaps": { - "type": "number", - "format": "double", - "description": "Portion of gaps in variant position in multiple sequence alignment" - }, - "msaHeight": { + "mav": { "type": "integer", - "format": "int32", - "description": "Number of diverse sequences in multiple sequence alignment (identical or highly similar sequences filtered out)" - }, - "msaLink": { - "type": "string", - "description": "Link to multiple sequence alignment" - }, - "pdbLink": { - "type": "string", - "description": "Link to 3d structure browser" - }, - "referenceGenomeVariant": { - "type": "string", - "description": "Reference genome variant" - }, - "referenceGenomeVariantType": { - "type": "string", - "description": "Reference genome variant type" - }, - "refseqId": { - "type": "string", - "description": "Refseq protein ID" - }, - "refseqPosition": { - "type": "integer", - "format": "int32", - "description": "Variant position in Refseq protein, can be different from the one in Uniprot" + "format": "int32" }, - "refseqResidue": { - "type": "string", - "description": "Reference residue in Refseq protein, can be different from the one in Uniprot" + "msa": { + "type": "string" }, - "snpCount": { + "sv": { "type": "integer", - "format": "int32", - "description": "Number of SNPs in dbSNP for this protein" + "format": "int32" }, "uniprotId": { "type": "string", "description": "Uniprot protein accession ID" - }, - "uniprotPosition": { - "type": "integer", - "format": "int32", - "description": "Variant position in Uniprot protein, can be different from the one in Refseq" - }, - "uniprotResidue": { - "type": "string", - "description": "Reference residue in Uniprot protein, can be different from the one in Refseq" - }, - "variant": { - "type": "string", - "description": "Amino acid substitution" - }, - "variantConservationScore": { - "type": "number", - "format": "double", - "description": "Variant conservation score" - }, - "variantSpecificityScore": { - "type": "number", - "format": "double", - "description": "Variant specificity score" } } }, @@ -2336,6 +2275,12 @@ "description": "Genomic location", "$ref": "#/definitions/GenomicLocation" }, + "intergenicConsequenceSummaries": { + "type": "array", + "items": { + "$ref": "#/definitions/IntergenicConsequenceSummary" + } + }, "strandSign": { "type": "string", "description": "Strand (- or +)" diff --git a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal.ts b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal.ts index ca2ac86b0e0..1617b9c1883 100644 --- a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal.ts +++ b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal.ts @@ -303,55 +303,31 @@ export type IntegerRange = { 'start': number }; -export type MutationAssessor = { - 'codonStartPosition': string - - 'cosmicCount': number +export type IntergenicConsequenceSummary = { + 'consequenceTerms': Array < string > - 'functionalImpact': string - - 'functionalImpactScore': number + 'impact': string - 'hgvs': string - - 'hugoSymbol': string - - 'input': string - - 'mappingIssue': string - - 'msaGaps': number - - 'msaHeight': number - - 'msaLink': string + 'variantAllele': string - 'pdbLink': string + 'variantClassification': string - 'referenceGenomeVariant': string +}; +export type MutationAssessor = { + 'functionalImpactPrediction': string - 'referenceGenomeVariantType': string + 'functionalImpactScore': number - 'refseqId': string + 'hgvspShort': string - 'refseqPosition': number + 'mav': number - 'refseqResidue': string + 'msa': string - 'snpCount': number + 'sv': number 'uniprotId': string - 'uniprotPosition': number - - 'uniprotResidue': string - - 'variant': string - - 'variantConservationScore': number - - 'variantSpecificityScore': number - }; export type Mutdb = { 'alt': string @@ -602,6 +578,8 @@ export type VariantAnnotationSummary = { 'genomicLocation': GenomicLocation + 'intergenicConsequenceSummaries': Array < IntergenicConsequenceSummary > + 'strandSign': string 'transcriptConsequenceSummaries': Array < TranscriptConsequenceSummary > @@ -1543,7 +1521,7 @@ export default class GenomeNexusAPIInternal { return response.body; }); }; - postMutationAssessorAnnotationURL(parameters: { + postMutationAssessorURL(parameters: { 'variants': Array < string > , $queryParameters ? : any }): string { @@ -1563,10 +1541,10 @@ export default class GenomeNexusAPIInternal { /** * Retrieves mutation assessor information for the provided list of variants * @method - * @name GenomeNexusAPIInternal#postMutationAssessorAnnotation + * @name GenomeNexusAPIInternal#postMutationAssessor * @param {} variants - List of variants. For example ["7:g.140453136A>T","12:g.25398285C>A"] */ - postMutationAssessorAnnotationWithHttpInfo(parameters: { + postMutationAssessorWithHttpInfo(parameters: { 'variants': Array < string > , $queryParameters ? : any, $domain ? : string @@ -1607,20 +1585,20 @@ export default class GenomeNexusAPIInternal { /** * Retrieves mutation assessor information for the provided list of variants * @method - * @name GenomeNexusAPIInternal#postMutationAssessorAnnotation + * @name GenomeNexusAPIInternal#postMutationAssessor * @param {} variants - List of variants. For example ["7:g.140453136A>T","12:g.25398285C>A"] */ - postMutationAssessorAnnotation(parameters: { + postMutationAssessor(parameters: { 'variants': Array < string > , $queryParameters ? : any, $domain ? : string }): Promise < Array < MutationAssessor > > { - return this.postMutationAssessorAnnotationWithHttpInfo(parameters).then(function(response: request.Response) { + return this.postMutationAssessorWithHttpInfo(parameters).then(function(response: request.Response) { return response.body; }); }; - fetchMutationAssessorAnnotationGETURL(parameters: { + fetchMutationAssessorGETURL(parameters: { 'variant': string, $queryParameters ? : any }): string { @@ -1642,10 +1620,10 @@ export default class GenomeNexusAPIInternal { /** * Retrieves mutation assessor information for the provided list of variants * @method - * @name GenomeNexusAPIInternal#fetchMutationAssessorAnnotationGET + * @name GenomeNexusAPIInternal#fetchMutationAssessorGET * @param {string} variant - A variant. For example 7:g.140453136A>T */ - fetchMutationAssessorAnnotationGETWithHttpInfo(parameters: { + fetchMutationAssessorGETWithHttpInfo(parameters: { 'variant': string, $queryParameters ? : any, $domain ? : string @@ -1684,15 +1662,15 @@ export default class GenomeNexusAPIInternal { /** * Retrieves mutation assessor information for the provided list of variants * @method - * @name GenomeNexusAPIInternal#fetchMutationAssessorAnnotationGET + * @name GenomeNexusAPIInternal#fetchMutationAssessorGET * @param {string} variant - A variant. For example 7:g.140453136A>T */ - fetchMutationAssessorAnnotationGET(parameters: { + fetchMutationAssessorGET(parameters: { 'variant': string, $queryParameters ? : any, $domain ? : string }): Promise < MutationAssessor > { - return this.fetchMutationAssessorAnnotationGETWithHttpInfo(parameters).then(function(response: request.Response) { + return this.fetchMutationAssessorGETWithHttpInfo(parameters).then(function(response: request.Response) { return response.body; }); }; diff --git a/packages/react-variant-view/src/component/functionalPrediction/FunctionalPrediction.tsx b/packages/react-variant-view/src/component/functionalPrediction/FunctionalPrediction.tsx index 342a982c845..63fe6274dca 100644 --- a/packages/react-variant-view/src/component/functionalPrediction/FunctionalPrediction.tsx +++ b/packages/react-variant-view/src/component/functionalPrediction/FunctionalPrediction.tsx @@ -30,10 +30,7 @@ class FunctionalPrediction extends React.Component { public getData( genomeNexusData: VariantAnnotation | undefined ): IFunctionalImpactData { - const mutationAssessor = - genomeNexusData && - genomeNexusData.mutation_assessor && - genomeNexusData.mutation_assessor.annotation; + const mutationAssessor = genomeNexusData?.mutation_assessor; const siftScore = genomeNexusData && genomeNexusData.transcript_consequences && diff --git a/packages/react-variant-view/src/component/functionalPrediction/MutationAssessor.tsx b/packages/react-variant-view/src/component/functionalPrediction/MutationAssessor.tsx index f66039d6e2d..9f97b7c656c 100644 --- a/packages/react-variant-view/src/component/functionalPrediction/MutationAssessor.tsx +++ b/packages/react-variant-view/src/component/functionalPrediction/MutationAssessor.tsx @@ -27,25 +27,32 @@ export default class MutationAssessor extends React.Component< IMutationAssessorProps, {} > { - private static MUTATION_ASSESSOR_URL: string = - 'http://mutationassessor.org/r3/'; + // TODO Change to new url when manuscript is available + // New url will need to be added in tooltip, discrption, "Please refer to the score range here." and "Go to Mutation Assessor" + // private static MUTATION_ASSESSOR_URL: string = 'http://mutationassessor.org/r3/'; private static mutationAssessorText() { return ( -
- - Mutation Assessor - {' '} - predicts the functional impact of amino-acid substitutions in - proteins, such as mutations discovered in cancer or missense - polymorphisms. The functional impact is assessed based on - evolutionary conservation of the affected amino acid in protein - homologs. The method has been validated on a large set (60k) of - disease associated (OMIM) and polymorphic variants. +
+ Mutation Assessor predicts the functional impact of amino-acid + substitutions in proteins, such as mutations discovered in + cancer or missense polymorphisms. The functional impact is + assessed based on evolutionary conservation of the affected + amino acid in protein homologs. The method has been validated on + a large set of disease associated and polymorphic variants ( + + ClinVar + + ). +
+ + Mutation Assessor V4 data is now available in the portal! + {' '} + New manuscript is in progress. Click{` `} + + here + + {` `} to see information about V3 data.
); } @@ -143,24 +150,6 @@ export default class MutationAssessor extends React.Component< ); } - // This is mostly to make the legacy MA links work - private static maLink(link: string | undefined) { - let url = null; - - // ignore invalid links ("", "NA", "Not Available") - if (link) { - // getma.org is the legacy link, need to replace it with the actual value - url = link.replace('getma.org', 'mutationassessor.org/r3'); - - // prepend "http://" if needed - if (url.indexOf('http://') !== 0) { - url = `http://${url}`; - } - } - - return url; - } - constructor(props: IMutationAssessorProps) { super(props); @@ -169,21 +158,13 @@ export default class MutationAssessor extends React.Component< public render() { let maContent: JSX.Element = ; - const dataSource = ( - <> - Mutation Assessor  - - {!this.props.isCanonicalTranscriptSelected && *} - - ); - if ( this.props.mutationAssessor && - this.props.mutationAssessor.functionalImpact != null && - this.props.mutationAssessor.functionalImpact !== '' + this.props.mutationAssessor.functionalImpactPrediction != null && + this.props.mutationAssessor.functionalImpactPrediction !== '' ) { const maData = this.props.mutationAssessor; - maContent = {maData.functionalImpact}; + maContent = {maData.functionalImpactPrediction}; } else { maContent = N/A; } @@ -192,25 +173,19 @@ export default class MutationAssessor extends React.Component<
{this.mutationAssessorTooltip( - - {dataSource} - + <> + Mutation Assessor  + + {!this.props.isCanonicalTranscriptSelected && ( + * + )} + )}
{this.mutationAssessorTooltip( - - {maContent} - + {maContent} )}
@@ -221,12 +196,7 @@ export default class MutationAssessor extends React.Component< private mutationAssessorData() { if (this.props.mutationAssessor) { const maData = this.props.mutationAssessor; - const xVarLink = MutationAssessor.maLink( - `http://mutationassessor.org/r3/?cm=var&p=${maData.uniprotId}&var=${maData.variant}` - ); - const msaLink = MutationAssessor.maLink(maData.msaLink); - const pdbLink = MutationAssessor.maLink(maData.pdbLink); - const impact = maData.functionalImpact ? ( + const impact = maData.functionalImpactPrediction ? (
{(maData.functionalImpactScore || @@ -245,86 +215,12 @@ export default class MutationAssessor extends React.Component< )}
- - Please refer to the score range{' '} - - here - - . -
) : null; - const xVar = - xVarLink && - maData.uniprotId.length !== 0 && - maData.variant.length !== 0 ? ( - - ) : null; - - const msa = - msaLink && maData.msaLink.length !== 0 ? ( - - ) : null; - - const pdb = - pdbLink && maData.pdbLink.length !== 0 ? ( - - ) : null; - return (
{impact} - {msa} - {pdb} - {xVar}
); diff --git a/src/shared/components/annotation/genomeNexus/MutationAssessor.tsx b/src/shared/components/annotation/genomeNexus/MutationAssessor.tsx index 4665e3f3e37..d9749083751 100644 --- a/src/shared/components/annotation/genomeNexus/MutationAssessor.tsx +++ b/src/shared/components/annotation/genomeNexus/MutationAssessor.tsx @@ -19,7 +19,8 @@ export default class MutationAssessor extends React.Component< IMutationAssessorProps, {} > { - static MUTATION_ASSESSOR_URL: string = 'http://mutationassessor.org/r3/'; + // TODO Replace to new url when manuscript is available + // static MUTATION_ASSESSOR_URL: string = 'http://mutationassessor.org/r3/'; constructor(props: IMutationAssessorProps) { super(props); @@ -31,7 +32,7 @@ export default class MutationAssessor extends React.Component< mutationAssessorData: MutationAssessorData | undefined ): string { if (mutationAssessorData) { - return `impact: ${mutationAssessorData.functionalImpact}, score: ${mutationAssessorData.functionalImpactScore}`; + return `impact: ${mutationAssessorData.functionalImpactPrediction}, score: ${mutationAssessorData.functionalImpactScore}`; } else { return 'NA'; } @@ -44,7 +45,7 @@ export default class MutationAssessor extends React.Component< if ( this.props.mutationAssessor && - this.props.mutationAssessor.functionalImpact !== null + this.props.mutationAssessor.functionalImpactPrediction !== null ) { const maData = this.props.mutationAssessor; maContent = ( @@ -52,7 +53,7 @@ export default class MutationAssessor extends React.Component< className={classNames( annotationStyles['annotation-item-text'], (mutationAssessorColumn as any)[ - `ma-${maData.functionalImpact}` + `ma-${maData.functionalImpactPrediction}` ] )} > @@ -80,15 +81,14 @@ export default class MutationAssessor extends React.Component< private tooltipContent() { if (this.props.mutationAssessor) { const maData = this.props.mutationAssessor; - const impact = maData.functionalImpact ? ( + const impact = maData.functionalImpactPrediction ? (
@@ -97,11 +97,11 @@ export default class MutationAssessor extends React.Component< - {maData.functionalImpact} + {maData.functionalImpactPrediction} diff --git a/src/shared/components/mutationTable/column/FunctionalImpactColumnFormatter.tsx b/src/shared/components/mutationTable/column/FunctionalImpactColumnFormatter.tsx index c3f418ae07f..1dad21853fc 100644 --- a/src/shared/components/mutationTable/column/FunctionalImpactColumnFormatter.tsx +++ b/src/shared/components/mutationTable/column/FunctionalImpactColumnFormatter.tsx @@ -305,19 +305,26 @@ class FunctionalImpactColumnTooltip extends React.Component< public static mutationAssessorText() { return ( -
- - Mutation Assessor - {' '} - predicts the functional impact of amino-acid substitutions in - proteins, such as mutations discovered in cancer or missense - polymorphisms. The functional impact is assessed based on - evolutionary conservation of the affected amino acid in protein - homologs. The method has been validated on a large set (60k) of - disease associated (OMIM) and polymorphic variants. +
+ Mutation Assessor predicts the functional impact of amino-acid + substitutions in proteins, such as mutations discovered in + cancer or missense polymorphisms. The functional impact is + assessed based on evolutionary conservation of the affected + amino acid in protein homologs. The method has been validated on + a large set of disease associated and polymorphic variants ( + + ClinVar + + ). +
+ + Mutation Assessor V4 data is now available in the portal! + {' '} + New manuscript is in progress. Click{` `} + + here + + {` `} to see information about V3 data.
); } @@ -531,13 +538,7 @@ export default class FunctionalImpactColumnFormatter { public static getMutationAssessorData( mutationAssessorDataCache: VariantAnnotation | null ): MutationAssessorData | undefined { - if (!mutationAssessorDataCache) { - return undefined; - } else { - return mutationAssessorDataCache.mutation_assessor - ? mutationAssessorDataCache.mutation_assessor.annotation - : undefined; - } + return mutationAssessorDataCache?.mutation_assessor; } public static renderFunction(
Source - - MutationAssessor - + {/* TODO Add link when manuscript is available */} + Mutation Assessor