Spaces:
Sleeping
Sleeping
Commit
·
826c5fd
1
Parent(s):
9958991
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
@@ -34,15 +34,12 @@ def getModelInfo(uniprotID, varPos, wt, models_we_need, path_to_output_files ):
|
|
34 |
for mod in models_we_need:
|
35 |
st.write(f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz")
|
36 |
try:
|
37 |
-
st.write('take1')
|
38 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
39 |
except u.EntryNotFoundError:
|
40 |
try:
|
41 |
-
st.write('take2')
|
42 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures2", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
43 |
except u.EntryNotFoundError:
|
44 |
try:
|
45 |
-
st.write('take3')
|
46 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures3", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
47 |
except u.EntryNotFoundError:
|
48 |
st.write('Requested file not found.')
|
|
|
34 |
for mod in models_we_need:
|
35 |
st.write(f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz")
|
36 |
try:
|
|
|
37 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
38 |
except u.EntryNotFoundError:
|
39 |
try:
|
|
|
40 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures2", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
41 |
except u.EntryNotFoundError:
|
42 |
try:
|
|
|
43 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures3", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
44 |
except u.EntryNotFoundError:
|
45 |
st.write('Requested file not found.')
|