feat: add chromatin profile support
Browse files- agro-nt-tasks.py +18 -1
agro-nt-tasks.py
CHANGED
|
@@ -55,7 +55,14 @@ _TASK_NAMES = ['poly_a.arabidopsis_thaliana',
|
|
| 55 |
'gene_exp.oryza_sativa',
|
| 56 |
'gene_exp.solanum_lycopersicum',
|
| 57 |
'gene_exp.zea_mays',
|
| 58 |
-
'gene_exp.arabidopsis_thaliana'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
]
|
| 60 |
|
| 61 |
|
|
@@ -70,6 +77,15 @@ _TASK_INFO = {'poly_a':{'type': 'binary', 'val_set':False},
|
|
| 70 |
'zea_mays': 23,
|
| 71 |
'solanum_lycopersicum': 10,
|
| 72 |
'oryza_sativa': 7}},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
}
|
| 74 |
|
| 75 |
class AgroNtTasksConfig(datasets.BuilderConfig):
|
|
@@ -132,6 +148,7 @@ class AgroNtTasks(datasets.GeneratorBasedBuilder):
|
|
| 132 |
"labels": datasets.Array2D(shape=(1, num_labels),
|
| 133 |
dtype= "float32")})
|
| 134 |
|
|
|
|
| 135 |
return datasets.DatasetInfo(
|
| 136 |
# This is the description that will appear on the datasets page.
|
| 137 |
description=_DESCRIPTION,
|
|
|
|
| 55 |
'gene_exp.oryza_sativa',
|
| 56 |
'gene_exp.solanum_lycopersicum',
|
| 57 |
'gene_exp.zea_mays',
|
| 58 |
+
'gene_exp.arabidopsis_thaliana',
|
| 59 |
+
'chromatin_access.arabidopis_thaliana',
|
| 60 |
+
'chromatin_access.sorghum_bicolor',
|
| 61 |
+
'chromatin_access.oryza_sativa_ZS97_RS2',
|
| 62 |
+
'chromatin_access.oryza_sativa_MH63_RS2',
|
| 63 |
+
'chromatin_access.zea_mays',
|
| 64 |
+
'chromatin_access.brachypodium_distachyon',
|
| 65 |
+
'chromatin_access.setaria_italica',
|
| 66 |
]
|
| 67 |
|
| 68 |
|
|
|
|
| 77 |
'zea_mays': 23,
|
| 78 |
'solanum_lycopersicum': 10,
|
| 79 |
'oryza_sativa': 7}},
|
| 80 |
+
'chromatin_access':{'type':'multi_label','val_set':True,
|
| 81 |
+
'num_labels':
|
| 82 |
+
{'arabidopis_thaliana': 19,
|
| 83 |
+
'sorghum_bicolor': 14,
|
| 84 |
+
'oryza_sativa_ZS97_RS2': 15,
|
| 85 |
+
'oryza_sativa_MH63_RS2': 15,
|
| 86 |
+
'zea_mays': 19,
|
| 87 |
+
'brachypodium_distachyon': 9,
|
| 88 |
+
'setaria_italica': 9}}
|
| 89 |
}
|
| 90 |
|
| 91 |
class AgroNtTasksConfig(datasets.BuilderConfig):
|
|
|
|
| 148 |
"labels": datasets.Array2D(shape=(1, num_labels),
|
| 149 |
dtype= "float32")})
|
| 150 |
|
| 151 |
+
|
| 152 |
return datasets.DatasetInfo(
|
| 153 |
# This is the description that will appear on the datasets page.
|
| 154 |
description=_DESCRIPTION,
|