Spaces:
Sleeping
Sleeping
Update src/bin/PROBE.py
Browse files- src/bin/PROBE.py +7 -0
src/bin/PROBE.py
CHANGED
|
@@ -17,6 +17,13 @@ def load_representation(multi_col_representation_vector_file_path):
|
|
| 17 |
|
| 18 |
def run_probe(benchmarks, representation_name, representation_file_human, representation_file_affinity, similarity_tasks=["Sparse","200","500"], function_prediction_aspec="All_Aspects", function_prediction_dataset="All_Data_Sets", family_prediction_dataset=["nc","uc50","uc30","mm15"], detailed_output=False):
|
| 19 |
print("\n\nPROBE (Protein RepresentatiOn Benchmark) run is started...\n\n")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
if any(item in ['similarity', 'function', 'family', 'all'] for item in benchmarks):
|
| 22 |
print("\nRepresentation vectors are loading...\n")
|
|
|
|
| 17 |
|
| 18 |
def run_probe(benchmarks, representation_name, representation_file_human, representation_file_affinity, similarity_tasks=["Sparse","200","500"], function_prediction_aspec="All_Aspects", function_prediction_dataset="All_Data_Sets", family_prediction_dataset=["nc","uc50","uc30","mm15"], detailed_output=False):
|
| 19 |
print("\n\nPROBE (Protein RepresentatiOn Benchmark) run is started...\n\n")
|
| 20 |
+
print(type(benchmarks))
|
| 21 |
+
print(benchmarks)
|
| 22 |
+
if any(item in ['similarity', 'function', 'family', 'all'] for item in benchmarks):
|
| 23 |
+
print("AAAAAAAAA")
|
| 24 |
+
else:
|
| 25 |
+
print("BBBBBBBB")
|
| 26 |
+
|
| 27 |
|
| 28 |
if any(item in ['similarity', 'function', 'family', 'all'] for item in benchmarks):
|
| 29 |
print("\nRepresentation vectors are loading...\n")
|