fatmacankara commited on
Commit
370598b
·
1 Parent(s): a9db117

Update ASCARIS.py

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