Spaces:
Sleeping
Sleeping
Commit
·
e9fe6ca
1
Parent(s):
df7efe5
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
@@ -374,7 +374,7 @@ def alphafold(input_set, mode, impute):
|
|
374 |
st.write('-----')
|
375 |
st.write('')
|
376 |
mod = 1
|
377 |
-
name = '
|
378 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{name}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
379 |
st.write('PATH')
|
380 |
st.write(pdb_path)
|
@@ -390,8 +390,8 @@ def alphafold(input_set, mode, impute):
|
|
390 |
st.write('HERE1')
|
391 |
st.write('uniprot', uniprotID)
|
392 |
#pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
393 |
-
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-
|
394 |
-
|
395 |
|
396 |
with gzip.open(pdb_path, mode="rt") as f:
|
397 |
file_content = f.read()
|
|
|
374 |
st.write('-----')
|
375 |
st.write('')
|
376 |
mod = 1
|
377 |
+
name = 'A0A075B6H7'
|
378 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{name}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
379 |
st.write('PATH')
|
380 |
st.write(pdb_path)
|
|
|
390 |
st.write('HERE1')
|
391 |
st.write('uniprot', uniprotID)
|
392 |
#pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
393 |
+
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-A0A075B6H7-F1-model_v4.pdb.gz",repo_type = 'dataset')
|
394 |
+
st.write('NP')
|
395 |
|
396 |
with gzip.open(pdb_path, mode="rt") as f:
|
397 |
file_content = f.read()
|