Spaces:
Running
Running
Commit
·
9958991
1
Parent(s):
23e2dae
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
@@ -37,13 +37,15 @@ def getModelInfo(uniprotID, varPos, wt, models_we_need, path_to_output_files ):
|
|
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 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
47 |
|
48 |
|
49 |
sasa_val = freesasa(pdb_path, path_to_output_files, uniprotID, mod, varPos, wt)
|
|
|
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.')
|
49 |
|
50 |
|
51 |
sasa_val = freesasa(pdb_path, path_to_output_files, uniprotID, mod, varPos, wt)
|