Spaces:
Sleeping
Sleeping
Commit
·
e7b2e34
1
Parent(s):
7745082
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
@@ -383,10 +383,10 @@ def alphafold(input_set, mode, impute):
|
|
383 |
|
384 |
st.write('HERE1')
|
385 |
st.write('uniprot', uniprotID)
|
386 |
-
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
|
391 |
st.write('HERE2')
|
392 |
st.write('uniprotID',uniprotID)
|
|
|
383 |
|
384 |
st.write('HERE1')
|
385 |
st.write('uniprot', uniprotID)
|
386 |
+
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
387 |
+
with gzip.open(pdb_path, mode="rt") as f:
|
388 |
+
file_content = f.read()
|
389 |
+
st.write(file_content)
|
390 |
|
391 |
st.write('HERE2')
|
392 |
st.write('uniprotID',uniprotID)
|