Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,10 +9,11 @@ import plotly.graph_objs as go
|
|
9 |
|
10 |
LLR_FILE='ALL_hum_isoforms_ESM1b_LLR.zip'
|
11 |
|
12 |
-
with ZipFile(LLR_FILE) as myzip:
|
13 |
-
uids=[i.split('/')[-1].split('_')[0] for i in myzip.namelist()][1:]
|
14 |
|
15 |
df=pd.read_csv('isoform_list.csv',index_col=0)
|
|
|
16 |
|
17 |
def load_LLR(uniprot_id):
|
18 |
'''Loads the LLRs for a given uniprot id. Returns a 20xL dataframe
|
|
|
9 |
|
10 |
LLR_FILE='ALL_hum_isoforms_ESM1b_LLR.zip'
|
11 |
|
12 |
+
#with ZipFile(LLR_FILE) as myzip:
|
13 |
+
# uids=[i.split('/')[-1].split('_')[0] for i in myzip.namelist()][1:]
|
14 |
|
15 |
df=pd.read_csv('isoform_list.csv',index_col=0)
|
16 |
+
uids=list(df.index.values)
|
17 |
|
18 |
def load_LLR(uniprot_id):
|
19 |
'''Loads the LLRs for a given uniprot id. Returns a 20xL dataframe
|