Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,9 +9,6 @@ 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 |
uids=list(df.index.values)
|
17 |
|
@@ -34,7 +31,7 @@ def plot_interactive(uniprot_id):
|
|
34 |
fig = px.imshow(primaryLLR.values, x=primaryLLR.columns, y=primaryLLR.index, color_continuous_scale='Viridis_r',zmax=0,zmin=-20,
|
35 |
labels=dict(y="Amino acid change", x="Protein sequence", color="LLR"),
|
36 |
template=template,
|
37 |
-
title=
|
38 |
fig.update_xaxes(tickangle=-90,range=[0,99],rangeslider=dict(visible=True),dtick=1)
|
39 |
fig.update_yaxes(dtick=1)
|
40 |
fig.update_layout({
|
|
|
9 |
|
10 |
LLR_FILE='ALL_hum_isoforms_ESM1b_LLR.zip'
|
11 |
|
|
|
|
|
|
|
12 |
df=pd.read_csv('isoform_list.csv',index_col=0)
|
13 |
uids=list(df.index.values)
|
14 |
|
|
|
31 |
fig = px.imshow(primaryLLR.values, x=primaryLLR.columns, y=primaryLLR.index, color_continuous_scale='Viridis_r',zmax=0,zmin=-20,
|
32 |
labels=dict(y="Amino acid change", x="Protein sequence", color="LLR"),
|
33 |
template=template,
|
34 |
+
title=selection)
|
35 |
fig.update_xaxes(tickangle=-90,range=[0,99],rangeslider=dict(visible=True),dtick=1)
|
36 |
fig.update_yaxes(dtick=1)
|
37 |
fig.update_layout({
|