Spaces:
Sleeping
Sleeping
Commit
·
b99b924
1
Parent(s):
c86699a
Update ASCARIS.py
Browse files- ASCARIS.py +0 -12
ASCARIS.py
CHANGED
|
@@ -17,18 +17,6 @@ import streamlit as st
|
|
| 17 |
import gzip
|
| 18 |
|
| 19 |
|
| 20 |
-
mod = 1
|
| 21 |
-
name = 'A0A075B6Y9'
|
| 22 |
-
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{name}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
| 23 |
-
st.write('PATH')
|
| 24 |
-
st.write(pdb_path)
|
| 25 |
-
st.write('HER')
|
| 26 |
-
with gzip.open(pdb_path, mode="rt") as f:
|
| 27 |
-
file_content = f.read()
|
| 28 |
-
st.write(file_content)
|
| 29 |
-
st.write('REH')
|
| 30 |
-
|
| 31 |
-
|
| 32 |
def convert_df(df):
|
| 33 |
return df.to_csv(index=False).encode('utf-8')
|
| 34 |
|
|
|
|
| 17 |
import gzip
|
| 18 |
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
def convert_df(df):
|
| 21 |
return df.to_csv(index=False).encode('utf-8')
|
| 22 |
|