cmatkhan commited on
Commit
66e0cf1
·
verified ·
1 Parent(s): 1b60eb3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +282 -3
README.md CHANGED
@@ -1,3 +1,282 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - biology
7
+ - genomics
8
+ - yeast
9
+ - transcription-factors
10
+ - gene-expression
11
+ - binding
12
+ - chec
13
+ - perturbation
14
+ - rnaseq
15
+ - nascent rnaseq
16
+ pretty_name: "Mahendrawada 2025 ChEC-seq and Nascent RNA-seq data"
17
+ size_categories:
18
+ - 100K<n<1M
19
+ configs:
20
+ - config_name: genomic_features
21
+ description: Comprehensive genomic features and regulatory characteristics for yeast genes
22
+ data_files:
23
+ - split: train
24
+ path: features_mahendrawada_2025.parquet
25
+ dataset_info:
26
+ features:
27
+ - name: gene_id
28
+ dtype: string
29
+ description: Systematic gene name (ORF identifier) from SGD (https://yeastgenome.org/)
30
+ - name: SGD_id
31
+ dtype: string
32
+ description: Unique identifier for each gene from SGD (https://yeastgenome.org/)
33
+ - name: gene_name
34
+ dtype: string
35
+ description: Common name of each gene
36
+ - name: chr
37
+ dtype: string
38
+ description: Chromosome number corresponding to gene
39
+ - name: strand
40
+ dtype: string
41
+ description: Strandedness of the gene (+ or -)
42
+ - name: start
43
+ dtype: int64
44
+ description: Start position of the ORF
45
+ - name: end
46
+ dtype: int64
47
+ description: End position of the ORF
48
+ - name: TSS
49
+ dtype: int64
50
+ description: Transcription start site based on Park et al., 2014 (doi:10.1093/nar/gkt1366)
51
+ - name: TATA_category
52
+ dtype: string
53
+ description: TATA box classification from Donczew et al., 2020 using consensus TATAWAW (doi:10.7554/eLife.50109)
54
+ - name: expression
55
+ dtype: float64
56
+ description: Average signal normalized to gene length from Donczew et al., 2020 (doi:10.7554/eLife.50109)
57
+ - name: +1 nucleosome
58
+ dtype: float64
59
+ description: Position of +1 nucleosome from Chereji et al., 2018 (doi:10.1186/S13059-018-1398-0)
60
+ - name: -1 nucleosome
61
+ dtype: float64
62
+ description: Position of -1 nucleosome from Chereji et al., 2018 (doi:10.1186/S13059-018-1398-0)
63
+ - name: NDR Center
64
+ dtype: float64
65
+ description: Center of nucleosome depleted region from Chereji et al., 2018 (doi:10.1186/S13059-018-1398-0)
66
+ - name: NDR Width
67
+ dtype: float64
68
+ description: Width of nucleosome depletion region from Chereji et al., 2018 (doi:10.1186/S13059-018-1398-0)
69
+ - name: tail-dependence
70
+ dtype: string
71
+ description: Tail classification based on Mediator tail dependence from Warfield L, Donczew R et al., 2022 (doi:10.1016/j.molcel.2022.09.016)
72
+ - name: coactivator
73
+ dtype: string
74
+ description: Coactivator classification based on TFIID and/or SAGA dependence from Donczew et al., 2020 (doi:10.7554/eLife.50109)
75
+ - name: LCID_center
76
+ dtype: string
77
+ description: Genes near boundaries of chromosomal interacting domains from Swygert et al., 2020 (doi:10.1016/j.molcel.2018.11.020)
78
+ - name: Rossi_classes
79
+ dtype: string
80
+ description: Promoter classes from Rossi et al., 2021 (doi:10.1038/s41586-021-03314-8)
81
+ - name: RP_category
82
+ dtype: string
83
+ description: Ribosomal protein (RP) and ribosomal biogenesis (RiBi) gene classification from Zencir et al., 2020 (doi:10.1093/NAR/GKAA852)
84
+ - name: binding_cluster
85
+ dtype: string
86
+ description: Clusters from unsupervised K-means clustering using binary binding data of 178 transcription factors
87
+ - name: list_of_TFS_bound
88
+ dtype: string
89
+ description: List of transcription factors bound to gene promoter (-400 to +200 bp from TSS; Homer peak calling)
90
+ - name: number_of_bound_tfs
91
+ dtype: int64
92
+ description: Number of transcription factors bound to each promoter
93
+ - name: locus_tag
94
+ dtype: string
95
+ description: Systematic gene identifier from yeast_genome_resources dataset
96
+ - name: symbol
97
+ dtype: string
98
+ description: Standard gene symbol from yeast_genome_resources dataset
99
+
100
+ - config_name: chec_seq
101
+ description: ChEC-seq transcription factor binding data with peak scores
102
+ default: true
103
+ data_files:
104
+ - split: train
105
+ path: chec_mahendrawada_2025.parquet
106
+ dataset_info:
107
+ features:
108
+ - name: regulator_locus_tag
109
+ dtype: string
110
+ description: Systematic gene name (ORF identifier) of the transcription factor
111
+ - name: regulator_symbol
112
+ dtype: string
113
+ description: Standard gene symbol of the transcription factor
114
+ - name: target_locus_tag
115
+ dtype: string
116
+ description: Systematic gene name (ORF identifier) of the target gene
117
+ - name: target_symbol
118
+ dtype: string
119
+ description: Standard gene symbol of the target gene
120
+ - name: peak_score
121
+ dtype: float64
122
+ description: ChEC signal around peak center (sum of ChEC signal from -150 to +150 bp from peak summit) normalized to Drosophila spike-in control
123
+
124
+ - config_name: rna_seq
125
+ description: Nascent RNA-seq differential expression data following transcription factor depletion using 4TU metabolic labeling
126
+ data_files:
127
+ - split: train
128
+ path: rnaseq_mahendrawada_2025.parquet
129
+ dataset_info:
130
+ features:
131
+ - name: regulator_locus_tag
132
+ dtype: string
133
+ description: Systematic gene name (ORF identifier) of the depleted transcription factor
134
+ - name: regulator_symbol
135
+ dtype: string
136
+ description: Standard gene symbol of the depleted transcription factor
137
+ - name: target_locus_tag
138
+ dtype: string
139
+ description: Systematic gene name (ORF identifier) of the differentially expressed target gene
140
+ - name: target_symbol
141
+ dtype: string
142
+ description: Standard gene symbol of the differentially expressed target gene
143
+ - name: log2fc
144
+ dtype: float64
145
+ description: Log2 fold change (IAA/DMSO) for significantly affected genes (DESeq2, padj <0.1, FC >= 1.3)
146
+ ---
147
+
148
+ # Mahendrawada 2025
149
+
150
+ This data is taken from the Supplement of
151
+
152
+ [Mahendrawada, L., Warfield, L., Donczew, R. et al. Low overlap of transcription factor DNA binding and regulatory targets. Nature 642, 796–804 (2025). https://doi.org/10.1038/s41586-025-08916-0](https://doi.org/10.1038/s41586-025-08916-0)
153
+
154
+ Please note that all column descriptions, except for those containing "locus_tag" and "symbol", are copy/pasted directly from the supplement or
155
+ methods section of this paper.
156
+
157
+ ## Dataset Details
158
+
159
+ The chec-seq and rna-seq data are taken from Supplemental Table 3. The feature data is taken from Supplemental table 2.
160
+ See `scripts/` for more details on the parsing.
161
+
162
+ Please note that the `peak_score` in the chec-seq data is unclearly documented. The methods section describes the peak calling
163
+ process (using HOMER with specific thresholds) and the normalization method (reads per position divided by total D. melanogaster reads × 10,000),
164
+ but the peak_score description in the supplement describes about summing signal in a ±150 bp window around the peak center. Presumably this refers
165
+ to the HOMER feature annotation step.
166
+
167
+ ## Data Structure
168
+
169
+ This dataset provides the following three parquet files
170
+
171
+ ### ChEC-seq
172
+
173
+ | Field | Description |
174
+ |-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
175
+ | `regulator_locus_tag` | Systematic gene name (ORF identifier) of the transcription factor |
176
+ | `regulator_symbol` | Standard gene symbol of the transcription factor |
177
+ | `target_locus_tag` | Systematic gene name (ORF identifier) of the target gene |
178
+ | `target_symbol` | Standard gene symbol of the target gene |
179
+ | `peak_score` | ChEC signal around peak center (sum of ChEC signal from -150 to +150 bp from peak summit) normalized to Drosophila spike-in control |
180
+
181
+ ### RNA-seq
182
+
183
+ | Field | Description |
184
+ |-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
185
+ | `regulator_locus_tag` | Systematic gene name (ORF identifier) of the depleted transcription factor |
186
+ | `regulator_symbol` | Standard gene symbol of the depleted transcription factor |
187
+ | `target_locus_tag` | Systematic gene name (ORF identifier) of the differentially expressed target gene |
188
+ | `target_symbol` | Standard gene symbol of the differentially expressed target gene |
189
+ | `log2fc` | Log2 fold change (IAA/DMSO) for significantly affected genes (DESeq2, padj <0.1, FC >= 1.3) |
190
+
191
+ ### Features
192
+
193
+ | Field | Description |
194
+ |--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
195
+ | `gene_id` | Systematic gene name (ORF identifier) from SGD (https://yeastgenome.org/) |
196
+ | `SGD_id` | Unique identifier for each gene from SGD (https://yeastgenome.org/) |
197
+ | `gene_name` | Common name of each gene |
198
+ | `chr` | Chromosome number corresponding to gene |
199
+ | `strand` | Strandedness of the gene (+ or -) |
200
+ | `start` | Start position of the ORF |
201
+ | `end` | End position of the ORF |
202
+ | `TSS` | Transcription start site based on Park et al., 2014 (doi:10.1093/nar/gkt1366) |
203
+ | `TATA_category` | TATA box classification from Donczew et al., 2020 using consensus TATAWAW (doi:10.7554/eLife.50109) |
204
+ | `expression` | Average signal normalized to gene length from Donczew et al., 2020 (doi:10.7554/eLife.50109) |
205
+ | `+1 nucleosome` | Position of +1 nucleosome from Chereji et al., 2018 (doi:10.1186/S13059-018-1398-0) |
206
+ | `-1 nucleosome` | Position of -1 nucleosome from Chereji et al., 2018 (doi:10.1186/S13059-018-1398-0) |
207
+ | `NDR Center` | Center of nucleosome depleted region from Chereji et al., 2018 (doi:10.1186/S13059-018-1398-0) |
208
+ | `NDR Width` | Width of nucleosome depletion region from Chereji et al., 2018 (doi:10.1186/S13059-018-1398-0) |
209
+ | `tail-dependence` | Tail classification based on Mediator tail dependence from Warfield L, Donczew R et al., 2022 (doi:10.1016/j.molcel.2022.09.016) |
210
+ | `coactivator` | Coactivator classification based on TFIID and/or SAGA dependence from Donczew et al., 2020 (doi:10.7554/eLife.50109) |
211
+ | `LCID_center` | Genes near boundaries of chromosomal interacting domains from Swygert et al., 2020 (doi:10.1016/j.molcel.2018.11.020) |
212
+ | `Rossi_classes` | Promoter classes from Rossi et al., 2021 (doi:10.1038/s41586-021-03314-8) |
213
+ | `RP_category` | Ribosomal protein (RP) and ribosomal biogenesis (RiBi) gene classification from Zencir et al., 2020 (doi:10.1093/NAR/GKAA852) |
214
+ | `binding_cluster` | Clusters from unsupervised K-means clustering using binary binding data of 178 transcription factors |
215
+ | `list_of_TFS_bound` | List of transcription factors bound to gene promoter (-400 to +200 bp from TSS; Homer peak calling) |
216
+ | `number_of_bound_tfs` | Number of transcription factors bound to each promoter |
217
+ | `locus_tag` | Systematic gene identifier from yeast_genome_resources dataset |
218
+ | `symbol` | Standard gene symbol from yeast_genome_resources dataset |
219
+
220
+ ## Usage
221
+
222
+ ## Usage
223
+
224
+ There are three parquet files in this repo. This is a way of getting that information programmatically
225
+
226
+ ```python
227
+ from huggingface_hub import ModelCard
228
+ from pprint import pprint
229
+
230
+ card = ModelCard.load("BrentLab/hughes_2006", repo_type="dataset")
231
+
232
+ # cast to dict
233
+ card_dict = card.data.to_dict()
234
+
235
+ # Get partition information
236
+ dataset_paths_dict = {d.get("config_name"): d.get("data_files")[0].get("path") for d in card_dict.get("configs")}
237
+
238
+ pprint(dataset_paths_dict)
239
+ ```
240
+
241
+ With the result
242
+
243
+ ```raw
244
+ {'knockout': 'knockout.parquet',
245
+ 'metadata': 'metadata.parquet',
246
+ 'overexpression': 'overexpression.parquet'}
247
+ ```
248
+
249
+ I recommend using `huggingface_hub.snapshot_download` to pull the repository. After that, use your favorite
250
+ method of interacting with `parquet` files (eg duckDB, but you could use dplyr in R or pandas, too).
251
+
252
+ ```python
253
+ from huggingface_hub import snapshot_download
254
+ import duckdb
255
+ import os
256
+
257
+ repo_id = "BrentLab/hughes_2006"
258
+
259
+ # Download entire repo to local directory
260
+ repo_path = snapshot_download(
261
+ repo_id=repo_id,
262
+ repo_type="dataset"
263
+ )
264
+
265
+ print(f"Repository downloaded to: {repo_path}")
266
+
267
+ # Construct path to the knockout parquet file
268
+ parquet_path = os.path.join(repo_path, "knockout.parquet")
269
+ print(f"Parquet file at: {parquet_path}")
270
+
271
+ # Connect to DuckDB and query the parquet file
272
+ conn = duckdb.connect()
273
+
274
+ query = """
275
+ SELECT *
276
+ FROM read_parquet(?)
277
+ WHERE regulator_symbol = 'CST6'
278
+ """
279
+
280
+ result = conn.execute(query, [parquet_path]).fetchall()
281
+ print(f"Found {len(result)} rows for YJR060W")
282
+ ```