Closed d0choa closed 3 years ago
URL: https://dev--genetics-app.netlify.app/variant/1_154453788_C_T
Variable:
{"variantId": "1_154453788_C_T"}
GQL API Query
query VariantPageQuery($variantId: String!) { variantInfo(variantId: $variantId) { rsId chromosome position chromosomeB37 positionB37 refAllele altAllele nearestGene { id symbol __typename } nearestGeneDistance nearestCodingGene { id symbol __typename } nearestCodingGeneDistance mostSevereConsequence caddRaw caddPhred gnomadAFR gnomadAMR gnomadASJ gnomadEAS gnomadFIN gnomadNFE gnomadNFEEST gnomadNFENWE gnomadNFESEU gnomadOTH __typename } genesForVariantSchema { qtls { id sourceId sourceLabel sourceDescriptionOverview sourceDescriptionBreakdown pmid tissues { id name __typename } __typename } intervals { id sourceId sourceLabel sourceDescriptionOverview sourceDescriptionBreakdown pmid tissues { id name __typename } __typename } functionalPredictions { id sourceId sourceLabel sourceDescriptionOverview sourceDescriptionBreakdown pmid tissues { id name __typename } __typename } distances { id sourceId sourceLabel sourceDescriptionOverview sourceDescriptionBreakdown pmid tissues { id name __typename } __typename } __typename } genesForVariant(variantId: $variantId) { gene { id symbol __typename } overallScore qtls { sourceId aggregatedScore tissues { tissue { id name __typename } quantile beta pval __typename } __typename } intervals { sourceId aggregatedScore tissues { tissue { id name __typename } quantile score __typename } __typename } functionalPredictions { sourceId aggregatedScore tissues { tissue { id name __typename } maxEffectLabel maxEffectScore __typename } __typename } distances { typeId sourceId aggregatedScore tissues { tissue { id name __typename } distance score quantile __typename } __typename } __typename } indexVariantsAndStudiesForTagVariant(variantId: $variantId) { associations { indexVariant { id rsId __typename } study { studyId traitReported pmid pubDate pubAuthor hasSumstats __typename } pval nTotal overallR2 posteriorProbability oddsRatio oddsRatioCILower oddsRatioCIUpper beta betaCILower betaCIUpper direction __typename } __typename } tagVariantsAndStudiesForIndexVariant(variantId: $variantId) { associations { tagVariant { id rsId __typename } study { studyId traitReported pmid pubDate pubAuthor __typename } pval nTotal overallR2 posteriorProbability __typename } __typename } }
I'm investigating whether there is a data issue and not really a FE issue
Issue appears to be fixed as previously crashing variant pages are now working, along with a correct PheWAS plot
URL: https://dev--genetics-app.netlify.app/variant/1_154453788_C_T
Variable:
GQL API Query