fatmacankara commited on
Commit
0d17023
·
1 Parent(s): 82781a6

Update ASCARIS.py

Browse files
Files changed (1) hide show
  1. ASCARIS.py +14 -0
ASCARIS.py CHANGED
@@ -16,6 +16,20 @@ from huggingface_hub import hf_hub_download
16
  import streamlit as st
17
  import gzip
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
  def convert_df(df):
21
  return df.to_csv(index=False).encode('utf-8')
 
16
  import streamlit as st
17
  import gzip
18
 
19
+ st.write('-----')
20
+ st.write('')
21
+ mod = 1
22
+ name = 'Q8N468'
23
+ pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{name}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
24
+ st.write('PATH')
25
+ st.write(pdb_path)
26
+ st.write('HER')
27
+ with gzip.open(pdb_path, mode="rt") as f:
28
+ file_content = f.read()
29
+ st.write(file_content)
30
+ st.write('REH')
31
+ st.write('-----')
32
+ st.write('')
33
 
34
  def convert_df(df):
35
  return df.to_csv(index=False).encode('utf-8')