Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,18 +3,6 @@ import pandas as pd
|
|
| 3 |
from pathlib import Path
|
| 4 |
import ast
|
| 5 |
|
| 6 |
-
'''
|
| 7 |
-
Causal Gene Discovery Model
|
| 8 |
-
/home/ema30/zaklab/rare_disease_dx/checkpoints/aligner/04_30_22:13:29:55_lr_1e-05_val_simulated_pats.disease_split_val_sim_pats_kg_8.9.21_kg_losstype_gene_multisimilarity/all_udn_patients_kg_8.9.21_kgsolved_manual_baylor_nobgm_distractor_genes_5_candidates_mapped_only_genes
|
| 9 |
-
|
| 10 |
-
Patients-Like-Me Model
|
| 11 |
-
/home/ema30/zaklab/rare_disease_dx/checkpoints/patient_NCA/04_26_22:17:38:30_lr_5e-05_val_simulated_pats.disease_split_val_sim_pats_kg_8.9.21_kg_losstype_patient_patient_NCA/mygene2_all_sim_all_udn_patients_kg_8.9.21_kgsolved_with_phenotypes
|
| 12 |
-
|
| 13 |
-
Disease Characterization Model
|
| 14 |
-
/home/ema30/zaklab/rare_disease_dx/checkpoints/patient_NCA/05_13_22:08:00:32_lr_1e-05_val_simulated_pats.disease_split_val_sim_pats_kg_8.9.21_kg_losstype_pd_NCA/mygene2_all_sim_all_udn_patients_kg_8.9.21_kgsolved_with_phenotypes
|
| 15 |
-
'''
|
| 16 |
-
|
| 17 |
-
|
| 18 |
|
| 19 |
gene_scores_df = pd.read_csv('gene_discovery_scores.csv')
|
| 20 |
exomiser_gene_scores_df = pd.read_csv('exomiser_gene_discovery_scores.csv')
|
|
@@ -25,7 +13,7 @@ dx_attn_df = pd.read_csv('dx_characterization_scores_attn.csv')
|
|
| 25 |
gene_attn_df = pd.read_csv('gene_discovery_scores_attn.csv')
|
| 26 |
exomiser_gene_attn_df = pd.read_csv('exomiser_gene_discovery_scores_attn.csv')
|
| 27 |
|
| 28 |
-
diseases_map = {'UDN-P1': 'POLR3-releated leukodystrophy', 'UDN-P2': 'Novel
|
| 29 |
'UDN-P4': 'automsomal recessive spastic paraplegia type 76', 'UDN-P5': 'atypical presentation of familial cold autoinflammatory syndrome',
|
| 30 |
'UDN-P6': '*GATAD2B*-associated syndrome', 'UDN-P7': 'AR limb-girdle muscular atrophy type 2D', 'UDN-P8': '*ATP5PO*-related Leigh syndrome', 'UDN-P9': 'Spondyloepimetaphyseal dysplasia, Isidor-Toutain type'}
|
| 31 |
genes_map = {'UDN-P3': 'RPS6KA3', 'UDN-P4': 'CAPN1', 'UDN-P5': 'NLRP12, RAPGEFL1', 'UDN-P6': 'GATAD2B', 'UDN-P7': 'SGCA', 'UDN-P8': 'ATP5P0', 'UDN-P9': 'RPL13'}
|
|
|
|
| 3 |
from pathlib import Path
|
| 4 |
import ast
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
gene_scores_df = pd.read_csv('gene_discovery_scores.csv')
|
| 8 |
exomiser_gene_scores_df = pd.read_csv('exomiser_gene_discovery_scores.csv')
|
|
|
|
| 13 |
gene_attn_df = pd.read_csv('gene_discovery_scores_attn.csv')
|
| 14 |
exomiser_gene_attn_df = pd.read_csv('exomiser_gene_discovery_scores_attn.csv')
|
| 15 |
|
| 16 |
+
diseases_map = {'UDN-P1': 'POLR3-releated leukodystrophy', 'UDN-P2': 'Novel PRKAR1B-Related Neurodevelopmental Disorder', 'UDN-P3':'Coffin-Lowry syndrome' ,
|
| 17 |
'UDN-P4': 'automsomal recessive spastic paraplegia type 76', 'UDN-P5': 'atypical presentation of familial cold autoinflammatory syndrome',
|
| 18 |
'UDN-P6': '*GATAD2B*-associated syndrome', 'UDN-P7': 'AR limb-girdle muscular atrophy type 2D', 'UDN-P8': '*ATP5PO*-related Leigh syndrome', 'UDN-P9': 'Spondyloepimetaphyseal dysplasia, Isidor-Toutain type'}
|
| 19 |
genes_map = {'UDN-P3': 'RPS6KA3', 'UDN-P4': 'CAPN1', 'UDN-P5': 'NLRP12, RAPGEFL1', 'UDN-P6': 'GATAD2B', 'UDN-P7': 'SGCA', 'UDN-P8': 'ATP5P0', 'UDN-P9': 'RPL13'}
|