Spaces:
Sleeping
Sleeping
Commit
·
674e20c
1
Parent(s):
e6d21ab
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
@@ -34,14 +34,17 @@ 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 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
38 |
-
|
39 |
except u.EntryNotFoundError:
|
|
|
40 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures2", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
41 |
st.write(pdb_path)
|
42 |
except u.EntryNotFoundError:
|
|
|
43 |
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures3", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
44 |
-
|
45 |
sasa_val = freesasa(pdb_path, path_to_output_files, uniprotID, mod, varPos, wt)
|
46 |
newCol = {}
|
47 |
coordDict = {}
|
|
|
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 |
+
|
40 |
except u.EntryNotFoundError:
|
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 |
st.write(pdb_path)
|
44 |
except u.EntryNotFoundError:
|
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 |
+
|
48 |
sasa_val = freesasa(pdb_path, path_to_output_files, uniprotID, mod, varPos, wt)
|
49 |
newCol = {}
|
50 |
coordDict = {}
|