Update app.py
Browse files
app.py
CHANGED
@@ -22,16 +22,13 @@ def predict_stability(model_choice, organism_choice, pdb_file=None, sequence=Non
|
|
22 |
|
23 |
|
24 |
def get_foldseek_seq(pdb_path):
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
return parsed_seqs
|
33 |
-
except:
|
34 |
-
return None
|
35 |
|
36 |
|
37 |
# Gradio Interface
|
|
|
22 |
|
23 |
|
24 |
def get_foldseek_seq(pdb_path):
|
25 |
+
parsed_seqs = get_struc_seq(
|
26 |
+
"bin/foldseek",
|
27 |
+
pdb_path,
|
28 |
+
["A"],
|
29 |
+
process_id=random.randint(0, 10000000),
|
30 |
+
)["A"]
|
31 |
+
return parsed_seqs
|
|
|
|
|
|
|
32 |
|
33 |
|
34 |
# Gradio Interface
|