Spaces:
Sleeping
Sleeping
Update src/about.py
Browse files- src/about.py +9 -18
src/about.py
CHANGED
@@ -111,28 +111,19 @@ benchmark_specific_metrics = {
|
|
111 |
'affinity': ['mse', 'mae', 'corr']
|
112 |
}
|
113 |
|
114 |
-
display_labels = [
|
115 |
-
'BLAST', 'HMMER', 'K-SEP', 'APAAC', 'PFAM', 'AAC', 'PROTVEC',
|
116 |
-
'GENE2VEC', 'LEARNED-VEC', 'MUT2VEC', 'TCGA-EMBEDDING', 'CPCPROT',
|
117 |
-
'SEQVEC', 'ProtBERT-BFD', 'TAPE-BERT-PFAM', 'ESM-1b', 'ProtALBERT', 'ProtXLNet', 'UNIREP', 'ProtT5-XL',
|
118 |
-
'MSA-Transformer'
|
119 |
-
]
|
120 |
-
|
121 |
-
group_colors = [
|
122 |
-
'green', 'green', 'green', 'green', 'green', 'green', 'blue',
|
123 |
-
'blue', 'blue', 'blue', 'blue', 'blue', 'red', 'red',
|
124 |
-
'red', 'red', 'red', 'red', 'red', 'red', 'red'
|
125 |
-
]
|
126 |
-
|
127 |
-
# Create a color dictionary from the labels and colors
|
128 |
-
color_dict = {method.upper(): color for method, color in zip(display_labels, group_colors)}
|
129 |
-
|
130 |
group_color_dict = {
|
131 |
'INTERPRO2GO': 'orange', 'UNIRULE2GO': 'orange', 'ENSEMBL-ORTHOLOGY': 'orange',
|
132 |
'K-SEP': 'green', 'BERT-PFAM': 'red', 'UNIREP': 'red', 'T5': 'red',
|
133 |
'BERT-BFD': 'red', 'HMMER': 'green', 'SEQVEC': 'red', 'ALBERT': 'red',
|
134 |
-
'BLAST': 'green', 'PFAM': 'green', '
|
135 |
-
'
|
136 |
'LEARNED-VEC': 'blue', 'CPC-PROT': 'blue', 'GENE2VEC': 'blue',
|
137 |
'TCGA-EMBEDDING': 'blue'
|
138 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
'affinity': ['mse', 'mae', 'corr']
|
112 |
}
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
group_color_dict = {
|
115 |
'INTERPRO2GO': 'orange', 'UNIRULE2GO': 'orange', 'ENSEMBL-ORTHOLOGY': 'orange',
|
116 |
'K-SEP': 'green', 'BERT-PFAM': 'red', 'UNIREP': 'red', 'T5': 'red',
|
117 |
'BERT-BFD': 'red', 'HMMER': 'green', 'SEQVEC': 'red', 'ALBERT': 'red',
|
118 |
+
'BLAST': 'green', 'PFAM': 'green', 'ESM1B': 'red', 'XLNET': 'red',
|
119 |
+
'APAAC': 'green', 'APAAC': 'green', 'PROTVEC': 'blue', 'MUT2VEC': 'blue',
|
120 |
'LEARNED-VEC': 'blue', 'CPC-PROT': 'blue', 'GENE2VEC': 'blue',
|
121 |
'TCGA-EMBEDDING': 'blue'
|
122 |
}
|
123 |
+
|
124 |
+
base_methods = [
|
125 |
+
'INTERPRO2GO', 'UNIRULE2GO', 'ENSEMBL-ORTHOLOGY', 'K-SEP', 'BERT-PFAM',
|
126 |
+
'UNIREP', 'T5', 'BERT-BFD', 'HMMER', 'SEQVEC', 'ALBERT', 'BLAST', 'PFAM',
|
127 |
+
'ESM1B', 'XLNET', 'APAAC', 'PROTVEC', 'MUT2VEC', 'LEARNED-VEC', 'CPC-PROT',
|
128 |
+
'GENE2VEC', 'TCGA-EMBEDDING'
|
129 |
+
]
|