Open prashantuniyal02 opened 3 weeks ago
Adding these points from #3597
VEP
Column headers need clearer definitions for better understanding
When downloading VEP data, users request: 1. Uniprot links 2. Chromosome and position for genes
In-silico predictors
Suggestion: adding hyperlinks or hover text to explain prediction methods. For example, SIFT=0 means "deleterious," which is opposite to PolyPhen where a score closer to 1 indicates deleterious
@chinmehta one extra bit:
transcriptIndex
(ascending). This column is not shown in the table, and we don't want it shown in the table (as it is derived from the combination of 2 existing columns). It means the user can not return to the original sorting if they start resorting the table, but we think we are OK with that.Another small request:
In the VEP widget, we would like to expand the query to include the biotype
query VariantEffectPredictorQuery($variantId: String!) {
variant(variantId: $variantId){
id
transcriptConsequences {
variantConsequences {
id
label
}
aminoAcidChange
uniprotAccessions
codons
distanceFromFootprint
distanceFromTss
target {
id
approvedSymbol
biotype #### New column
}
impact
consequenceScore
transcriptIndex
transcriptId
lofteePrediction
siftPrediction
polyphenPrediction
}
referenceAllele
alternateAllele
}
}
Using the new response, we would like to be able to tag in the Gene
column all genes that have biotype
== protein_coding
. All the ones displaying different biotypes will not be tagged.
The most immediate UI I could think of is a chip displaying protein coding
after the gene name and the tooltip. Probably an unfilled chip is more appropriate than the filled one, as we don't want to bring all the attention to it.
I'll gather more feedback from @buniello and others next week, but this should do the job.
There is also a bug in the pharmacogenetics widget.
The next page shows no rows, but the API has some reasonable responses.
https://deploy-preview-524--ot-platform-partner.netlify.app/variant/7_117642566_G_A
There are some suspicious nulls in the phenotypeFromSourceId
column that perhaps might cause this issue:
"pharmacogenomics": [
{
"genotypeId": "7_117642566_G_A,G",
"isDirectTarget": false,
"drugs": [
{
"drugFromSource": "ataluren",
"drugId": "CHEMBL256997"
}
],
"phenotypeFromSourceId": null,
"genotypeAnnotationText": "Patients with the rs77010898 AG genotype and cystic fibrosis may have improvement in chloride transport when treated with ataluren as compared to patients with the GG genotype. Randomized clinical trials found improvement in chloride transport, but did not find evidence for improved pulmonary function after 2 weeks of treatment. Other genetic and clinical factors may also influence changes in chloride transport and improvement of pulmonary symptoms in patients with cystic fibrosis.",
"phenotypeText": "improvement in chloride transport",
"pgxCategory": "other",
"evidenceLevel": "3",
"studyId": "1447954397",
"literature": [
"21233271",
"18722008",
"24836205",
"20622033"
]
},
Feel free to branch it out to a different ticket if significant
One thing to try here (probably in separate PR) is to use a header of 2 rows in the credible set widgets.
For GWAS credible set:
2nd row header | 1st row header |
---|---|
More details | |
Lead variant | |
P-value | |
Beta | |
Trait | Study |
Diseases | Study |
Identifier | Study |
Posterior probability | Fine-mapping |
Method | Fine-mapping |
Confidence | Fine-mapping |
Credible set size | Fine-mapping |
Top gene | Locus2gene |
Score | Locus2gene |
For molQTL credible set:
2nd row header | 1st row header |
---|---|
More details | |
Lead variant | |
P-value | |
Beta | |
Type | Study |
Affected gene | Study |
Affected tissue/cell | Study |
Condition | Study |
Posterior probability | Fine-mapping |
Method | Fine-mapping |
Confidence | Fine-mapping |
Credible set size | Fine-mapping |
General
Variant page
Header:
Widget order?
Metadata:
most severe consequence gene(s)?[May be in 2.0]Allelic frequency. Visualisation is odd. Numbers are relevant even on a log scale. Shall we be able to change from natural to log scale? Toggle?Overall about widgets:
Should we reuse the concept from Genetics of representing "V" "V-G" "V-D" in the top-right of the widgets? [not to be used in genetics widgets]In silico predictors:
Variant effect predictor:
missense variant [R121Q]^?
Tooltip: Uniprot accession: [P19438](Link to uniprot using identifiers.org)ClinVar: good
Uniprot variants: good
GWAS Credible sets and molQTL credible sets (these changes also apply to the GWAS credible sets widget in the study page):
PheWAS plot: