File size: 13,295 Bytes
073cdeb
5eeb06e
 
a0f6f1b
5eeb06e
a0f6f1b
 
 
 
5eeb06e
 
2916ad3
5eeb06e
 
 
70a9dd6
 
 
 
 
be59873
 
5eeb06e
 
be59873
 
5eeb06e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
70a9dd6
5eeb06e
70a9dd6
95dace5
 
 
 
 
70a9dd6
95dace5
 
 
5eeb06e
70a9dd6
95dace5
70a9dd6
95dace5
 
 
 
 
 
 
 
 
 
 
 
 
 
5eeb06e
70a9dd6
95dace5
 
 
 
 
70a9dd6
5eeb06e
70a9dd6
95dace5
 
 
 
 
70a9dd6
95dace5
 
 
5eeb06e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1b4bf69
 
 
4e54b7f
79c9afc
 
30ea6f2
79c9afc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
---
license: mit
language:
  - en
tags:
  - genomics
  - yeast
  - transcription
  - binding
pretty_name: "Harbison, 2004 ChIP-chip"
size_categories:
  - 1M<n<10M
strain_information:
  background: W303
  base_strain: Z1256
# note: inferring from the heat shock condition, which is the only
# condition that explicitly mentions heat, the standard growth temperature
# is 30C
experimental_conditions:
  temperature_celsius: 30
doi: https://doi.org/10.1038/nature02800
citation: Harbison CT, Gordon DB, Lee TI, Rinaldi NJ, Macisaac KD, et al. 2004. Transcriptional regulatory code of a eukaryotic genome. Nature.
configs:
- config_name: harbison_2004
  description: >-
    ChIP-chip data, primarily in standard YPD batch culture, but selected TFs were also tested in specific conditions where they were expected to be active.
  dataset_type: annotated_features
  default: true
  metadata_fields: ["regulator_locus_tag", "regulator_symbol", "condition"]
  data_files:
  - split: train
    path: harbison_2004.parquet
  dataset_info:
    features:
    - name: condition
      dtype:
        class_label:
          names: ["YPD", "SM", "RAPA", "H2O2Hi", "H2O2Lo",
                  "Acid", "Alpha", "BUT14", "BUT90", "Thi-",
                  "GAL", "HEAT", "Pi-", "RAFF"]
      description: >-
        Environmental condition of the experiment. Nearly all of the 204 regulators
        have a YPD condition, and some have others in addition.
      role: experimental_condition
      definitions:
        YPD:
          description: Standard YPD rich medium; the baseline condition for nearly all 204 regulators.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.8
            od600: 0.8
          media:
            # Harbison et al 2004: 1% yeast extract / 2% peptone / 2% glucose
            name: YPD
            carbon_source:
              - compound: D-glucose
                concentration_percent: 2
            nitrogen_source:
              - compound: yeast_extract
                concentration_percent: 1
              - compound: peptone
                concentration_percent: 2
        SM:
          description: Amino acid starvation induced by sulfometuron methyl (SM).
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.6
            od600: 0.6
          media:
            # Harbison et al 2004: synthetic complete medium
            name: synthetic_complete
          chemical_treatment:
            compound: sulfometuron_methyl
            # Harbison et al 2004: 0.2 mg/ml
            concentration_percent: 0.02
            duration_hours: 2
        RAPA:
          description: Rapamycin treatment in YPD to inhibit TORC1 signaling.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.8
            od600: 0.8
          media:
            name: YPD
            carbon_source:
              - compound: D-glucose
                concentration_percent: 2
            nitrogen_source:
              - compound: yeast_extract
                concentration_percent: 1
              - compound: peptone
                concentration_percent: 2
          chemical_treatment:
            compound: rapamycin
            # Harbison et al 2004: 100 nM
            concentration_percent: 9.142e-6
            duration_minutes: 20
        H2O2Hi:
          description: High-dose hydrogen peroxide (4 mM) oxidative stress treatment.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.5
            od600: 0.5
          media:
            name: YPD
            carbon_source:
              - compound: D-glucose
                concentration_percent: 2
            nitrogen_source:
              - compound: yeast_extract
                concentration_percent: 1
              - compound: peptone
                concentration_percent: 2
          chemical_treatment:
            compound: hydrogen_peroxide
            # Harbison et al 2004: 4 mM
            concentration_percent: 0.0136
            duration_minutes: 30
        H2O2Lo:
          description: Moderate-dose hydrogen peroxide (0.4 mM) oxidative stress treatment.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.5
            od600: 0.5
          media:
            name: YPD
            carbon_source:
              - compound: D-glucose
                concentration_percent: 2
            nitrogen_source:
              - compound: yeast_extract
                concentration_percent: 1
              - compound: peptone
                concentration_percent: 2
          chemical_treatment:
            compound: hydrogen_peroxide
            # Harbison et al 2004: 0.4 mM
            concentration_percent: 0.00136
            duration_minutes: 20
        Acid:
          description: Succinic acid treatment in YPD to reach pH 4.0.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.5
            od600: 0.5
          media:
            name: YPD
            carbon_source:
              - compound: D-glucose
                concentration_percent: 2
            nitrogen_source:
              - compound: yeast_extract
                concentration_percent: 1
              - compound: peptone
                concentration_percent: 2
          chemical_treatment:
            compound: succinic_acid
            # Harbison et al 2004: 0.05 M to reach pH 4.0
            concentration_percent: 0.59
            target_pH: 4.0
            duration_minutes: 30
        Alpha:
          description: Alpha-factor pheromone treatment to induce the mating response.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.8
            od600: 0.8
          media:
            name: YPD
            carbon_source:
              - compound: D-glucose
                concentration_percent: 2
            nitrogen_source:
              - compound: yeast_extract
                concentration_percent: 1
              - compound: peptone
                concentration_percent: 2
          chemical_treatment:
            compound: alpha_factor_pheromone
            # Harbison et al 2004: 5 mg/ml
            concentration_percent: 0.5
            duration_minutes: 30
        BUT14:
          description: YPD with 1% butanol for 14 hours to induce filamentous growth.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.8
            od600: 0.8
          media:
            # Harbison et al 2004: YPD containing 1% butanol
            name: YPD
            carbon_source:
              - compound: D-glucose
                concentration_percent: 2
            nitrogen_source:
              - compound: yeast_extract
                concentration_percent: 1
              - compound: peptone
                concentration_percent: 2
            additives:
              - compound: butanol
                concentration_percent: 1
          incubation_duration_hours: 14
        BUT90:
          description: YPD with 1% butanol for 90 minutes to induce filamentous growth.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.8
            od600: 0.8
          media:
            # Harbison et al 2004: YPD containing 1% butanol
            name: YPD
            carbon_source:
              - compound: D-glucose
                concentration_percent: 2
            nitrogen_source:
              - compound: yeast_extract
                concentration_percent: 1
              - compound: peptone
                concentration_percent: 2
            additives:
              - compound: butanol
                concentration_percent: 1
          incubation_duration_minutes: 90
        "Thi-":
          description: Synthetic complete medium lacking thiamine (vitamin B1).
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.8
            od600: 0.8
          media:
            # Harbison et al 2004: synthetic complete medium lacking thiamin
            name: synthetic_complete
        GAL:
          description: Galactose as sole carbon source in YEP medium.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.8
            od600: 0.8
          media:
            # Harbison et al 2004: YEP medium supplemented with galactose (2%)
            name: yeast_extract_peptone_galactose
            carbon_source:
              - compound: D-galactose
                concentration_percent: 2
        HEAT:
          description: Temperature shift from 30°C to 37°C for 45 minutes.
          # Harbison et al 2004: grown at 30°C, shifted to 37°C for 45 min
          temperature_celsius: 37
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.5
            od600: 0.5
          media:
            # Harbison et al 2004: YPD
            name: YPD
            carbon_source:
              - compound: D-glucose
                concentration_percent: 2
            nitrogen_source:
              - compound: yeast_extract
                concentration_percent: 1
              - compound: peptone
                concentration_percent: 2
        "Pi-":
          description: Synthetic complete medium lacking inorganic phosphate.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.8
            od600: 0.8
          media:
            # Harbison et al 2004: synthetic complete medium lacking phosphate
            name: synthetic_complete
        RAFF:
          description: Raffinose as sole carbon source in YEP medium.
          growth_phase_at_harvest:
            # Harbison et al 2004: OD600 ~0.8
            od600: 0.8
          media:
            # Harbison et al 2004: YEP medium supplemented with raffinose (2%)
            name: yeast_extract_peptone_raffinose
            carbon_source:
              - compound: D-raffinose
                concentration_percent: 2
    - name: regulator_locus_tag
      dtype: string
      description: Systematic gene name (ORF identifier) of the ChIPd transcription factor
      role: regulator_identifier
    - name: regulator_symbol
      dtype: string
      description: Standard gene symbol of the ChIPd transcription factor
      role: regulator_identifier
    - name: target_locus_tag
      dtype: string
      description: Systematic gene name (ORF identifier) of the target gene measured
      role: target_identifier
    - name: target_symbol
      dtype: string
      description: Standard gene symbol of the target gene measured
      role: target_identifier
    - name: effect
      dtype: float64
      description: The chip channel ratio (effect size)
      role: quantitative_measure
    - name: pvalue
      dtype: float64
      description: pvalue of the chip channel ratio (effect)
      role: quantitative_measure
---
# Harbison 2004

This Dataset is a parsed version of the data provided by Richard A. Young's lab at
[their website](http://younglab.wi.mit.edu/regulatory_code). DOI and citation are in
the dataset card above, or see the [ArrayExpress entry](https://www.ebi.ac.uk/biostudies/ArrayExpress/studies/E-WMIT-10?query=%22richard%20young%22)

## Accessing Data

The examples below require
[labretriever](https://github.com/cmatKhan/labretriever#installation)
(`pip install labretriever`) and/or the
[HuggingFace Hub client](https://huggingface.co/docs/huggingface_hub/installation)
(`pip install huggingface_hub`).

### Accessing Data with labretriever

This repository is part of a collection configured as a unified database using
[labretriever.VirtualDB](https://cmatkhan.github.io/labretriever/virtual_db_configuration/).
Download the
[collection config](https://github.com/BrentLab/tfbpshiny/blob/main/tfbpshiny/brentlab_yeast_collection.yaml)
and use it to query the data directly in Python, or with an AI assistant using the
[labretriever plugin](https://cmatkhan.github.io/labretriever/mcp_server/#quick-install-claude-code-plugin).

```python
from labretriever.virtual_db import VirtualDB
from labretriever.datacard import DataCard

# Citation and metadata
card = DataCard("BrentLab/harbison_2004")
info = card.info()
print(info["doi"])
print(info["citation"])

# path to the downloaded brentlab_yeast_collection.yaml
vdb = VirtualDB("/path/to/brentlab_yeast_collection.yaml")

print(vdb.get_dataset_description("harbison"))
vdb.query("SELECT * FROM harbison LIMIT 5")
```

### Direct parquet access

The repository contains more data than what is exposed through the collection
configuration. Use `DataCard.info()` to inspect available files, then download
and query with DuckDB.

Most files in this repository are single parquet files and can be read directly:

```python
from huggingface_hub import snapshot_download
import duckdb

repo_path = snapshot_download(
    repo_id="BrentLab/harbison_2004",
    repo_type="dataset",
    allow_patterns="harbison_2004.parquet",
)
conn = duckdb.connect()
# returns a pandas DataFrame with the first 5 rows
conn.execute(
    "SELECT * FROM read_parquet(?) LIMIT 5",
    [f"{repo_path}/harbison_2004.parquet"],
).df()
```

### Accessing using R

Clone the repository and read parquet files directly with
[arrow](https://arrow.apache.org/docs/r/):

```r
# install.packages("arrow")
arrow::read_parquet("harbison_2004.parquet")
```