-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dahsboard APIs for statistics panel #169
Comments
hi @YuanTian1991 thanks for this. I like the UI for the new dashboard! I think we should split the issue up into several issues though. |
I think except for the statistic panel this is is done? |
Um...in theory, I hope to create other 3 pages like myPatient page, showing all user available genes/hpo/variant. As you can see, there is a "VIEW DETAILS" button in each block. Are these APIs ready? If it's too complicated, I can remove these buttons, and yes if so, only the statistic panel is not yet done. |
Ok, I'm working on it. |
I need to do:
However, I need to check which conflicts these actions may have with refactoring of the code for migrating to new schema. I won't invest time creating endpoints that may still use the old schema. |
Gene is addressed by #374 But @YuanTian1991, when one does So endpoint my_genes is currently providing this::
Transcripts json objects are in a compact form (as the result of the query in the new schema): "transcripts": [
"ENST00000286692@ENSP00000286692@f",
"ENST00000539140@ENSP00000437718@t"
], where |
@pontikos I'm working on So I'd ask you to look at the variant page, e.g., https://dev-live.phenopolis.org/variant/12-7241974-C-T, and tell me what you'd like to see in a summarised table for And note I chose variant |
Hi @alanwilter don't spend too long on this issues as my_genes and and my_variants are not very important pages for now.
So both pages just simple tables, no extra tabs needed. |
See my comments at #374. I'm done with that for moment and HPO will definitely wait. For now ( https://dev-live.phenopolis.org/api/my_genesgives:
[
{
"assembly": "GRCh37",
"band": "q24.3",
"biotype": "protein_coding",
"chrom": "14",
"full_gene_name": "tubulin tyrosine ligase-like family, member 5",
"gene_id": "ENSG00000119685",
"gene_symbol": [
{
"display": "TTLL5"
}
],
"hgnc_id": "19963.0",
"other_names": [
"KIAA0998",
"STAMP"
],
"percentage_gene_gc_content": 40.03,
"start": 76099968,
"stop": 76421421,
"strand": 1,
"transcripts": [
"ENST00000286650@ENSP00000286650@f",
"ENST00000298832@ENSP00000298832@f",
"ENST00000554510@ENSP00000451946@f",
"ENST00000556893@ENSP00000452524@f",
"ENST00000556977@ENSP00000451917@f",
"ENST00000557636@ENSP00000450713@t"
],
"uniprot": [
"Q6EMB2"
],
"version": 15
},
{
"assembly": "GRCh37",
"band": "p13.3",
"biotype": "protein_coding",
"chrom": "1",
"full_gene_name": "DNA-damage regulated autophagy modulator 2",
"gene_id": "ENSG00000156171",
"gene_symbol": [
{
"display": "DRAM2"
}
],
"hgnc_id": "28769.0",
"other_names": [
"MGC54289",
"PRO180",
"RP5-1180E21.1",
"TMEM77",
"WWFQ154"
],
"percentage_gene_gc_content": 37.94,
"start": 111659955,
"stop": 111682838,
"strand": -1,
"transcripts": [
"ENST00000286692@ENSP00000286692@f",
"ENST00000539140@ENSP00000437718@t"
],
"uniprot": [
"Q6UX65"
],
"version": 10
}
] https://dev-live.phenopolis.org/api/my_variants?limit=3gives:
[
{
"ALT": "TC",
"CHROM": "22",
"POS": 32044245,
"REF": "T",
"cadd_phred": null,
"dann": null,
"dbsnp": null,
"fathmm_score": null,
"revel": null,
"variant_class": null,
"variant_id": [
{
"display": "22-32044245-T-TC",
"end_href": "22-32044245-T-TC"
}
]
},
{
"ALT": "A",
"CHROM": "9",
"POS": 116798763,
"REF": "G",
"cadd_phred": null,
"dann": null,
"dbsnp": null,
"fathmm_score": null,
"revel": null,
"variant_class": null,
"variant_id": [
{
"display": "9-116798763-G-A",
"end_href": "9-116798763-G-A"
}
]
},
{
"ALT": "A",
"CHROM": "14",
"POS": 95236097,
"REF": "C",
"cadd_phred": null,
"dann": null,
"dbsnp": null,
"fathmm_score": null,
"revel": null,
"variant_class": null,
"variant_id": [
{
"display": "14-95236097-C-A",
"end_href": "14-95236097-C-A"
}
]
}
] These endpoints make automatic use of |
HPOs for https://dev-live.phenopolis.org/api/my_hpos?limit=3gives:
[
{
"hpo_id": "HP:0000479",
"name": "Abnormal retinal morphology"
},
{
"hpo_id": "HP:0000003",
"name": "Multicystic kidney dysplasia"
},
{
"hpo_id": "HP:0007754",
"name": "Macular dystrophy"
}
] |
Based on current front-end progress, 2 more API is needed:
Please return the data in the format as other table format (gene/hpo/individual), to fit in the complex front-end table
Personally, I hope to have an additional two API below, but the above two are important:
Similar to 2, A API to fetch all genes one user could have, there is a gene list table going to be shows, similar to patient table we have now.
Similar to 2, A API to fetch all hpo one user could have, there is a hpo list table going to be shows, similar to patient table we have now.
The text was updated successfully, but these errors were encountered: