cmatkhan commited on
Commit
cc20720
·
verified ·
1 Parent(s): 51ae7ad

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +108 -23
README.md CHANGED
@@ -20,29 +20,6 @@ task_categories:
20
  - other
21
  source_datasets:
22
  - original
23
- dataset_info:
24
- features:
25
- - name: regulator_locus_tag
26
- dtype: string
27
- description: Systematic gene name (ORF identifier) of the perturbed transcription factor
28
- - name: regulator_symbol
29
- dtype: string
30
- description: Standard gene symbol of the perturbed transcription factor
31
- - name: target_locus_tag
32
- dtype: string
33
- description: Systematic gene name (ORF identifier) of the target gene measured
34
- - name: target_symbol
35
- dtype: string
36
- description: Standard gene symbol of the target gene measured
37
- - name: dye_plus
38
- dtype: float
39
- description: Normalized log2 fold change for positive (+) dye orientation
40
- - name: dye_minus
41
- dtype: float
42
- description: Normalized log2 fold change for negative (-) dye orientation
43
- - name: mean_norm_log2fc
44
- dtype: float
45
- description: Average log2 fold change across dye orientations; 0 when orientations have opposite signs, single value when only one orientation available
46
  configs:
47
  - config_name: metadata
48
  description: Transcription factor metadata including essentiality and QC status
@@ -50,16 +27,87 @@ configs:
50
  data_files:
51
  - split: train
52
  path: metadata.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  - config_name: overexpression
54
  description: Overexpression perturbation normalized log2 fold changes
55
  data_files:
56
  - split: train
57
  path: overexpression.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  - config_name: knockout
59
  description: Deletion/knockout perturbation normalized log2 fold changes
60
  data_files:
61
  - split: train
62
  path: knockout.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  ---
64
  # Hughes 2006
65
 
@@ -101,4 +149,41 @@ BrentLab/yeast_genome_resources
101
  | `del_passed_qc` | Boolean indicating whether deletion experiments passed quality control |
102
 
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  **Dataset Author and Contact**: Chase Mateusiak [@cmatKhan](https://github.com/cmatkhan/)
 
20
  - other
21
  source_datasets:
22
  - original
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  configs:
24
  - config_name: metadata
25
  description: Transcription factor metadata including essentiality and QC status
 
27
  data_files:
28
  - split: train
29
  path: metadata.parquet
30
+ dataset_info:
31
+ features:
32
+ - name: regulator_locus_tag
33
+ dtype: string
34
+ description: Systematic gene name (ORF identifier) of the transcription factor
35
+ - name: regulator_symbol
36
+ dtype: string
37
+ description: Standard gene symbol of the transcription factor
38
+ - name: found_domain
39
+ dtype: string
40
+ description: Identified DNA-binding domain(s) or protein family classification
41
+ - name: sgd_description
42
+ dtype: string
43
+ description: Functional description from Saccharomyces Genome Database (SGD)
44
+ - name: essential
45
+ dtype: bool
46
+ description: Boolean indicating whether the gene is essential for viability
47
+ - name: oe_passed_qc
48
+ dtype: bool
49
+ description: Boolean indicating whether overexpression experiments passed quality control
50
+ - name: del_passed_qc
51
+ dtype: bool
52
+ description: Boolean indicating whether deletion experiments passed quality control
53
+
54
  - config_name: overexpression
55
  description: Overexpression perturbation normalized log2 fold changes
56
  data_files:
57
  - split: train
58
  path: overexpression.parquet
59
+ dataset_info:
60
+ features:
61
+ - name: regulator_locus_tag
62
+ dtype: string
63
+ description: Systematic gene name (ORF identifier) of the perturbed transcription factor
64
+ - name: regulator_symbol
65
+ dtype: string
66
+ description: Standard gene symbol of the perturbed transcription factor
67
+ - name: target_locus_tag
68
+ dtype: string
69
+ description: Systematic gene name (ORF identifier) of the target gene measured
70
+ - name: target_symbol
71
+ dtype: string
72
+ description: Standard gene symbol of the target gene measured
73
+ - name: dye_plus
74
+ dtype: float64
75
+ description: Normalized log2 fold change for positive (+) dye orientation
76
+ - name: dye_minus
77
+ dtype: float64
78
+ description: Normalized log2 fold change for negative (-) dye orientation
79
+ - name: mean_norm_log2fc
80
+ dtype: float64
81
+ description: Average log2 fold change across dye orientations
82
+
83
  - config_name: knockout
84
  description: Deletion/knockout perturbation normalized log2 fold changes
85
  data_files:
86
  - split: train
87
  path: knockout.parquet
88
+ dataset_info:
89
+ features:
90
+ - name: regulator_locus_tag
91
+ dtype: string
92
+ description: Systematic gene name (ORF identifier) of the perturbed transcription factor
93
+ - name: regulator_symbol
94
+ dtype: string
95
+ description: Standard gene symbol of the perturbed transcription factor
96
+ - name: target_locus_tag
97
+ dtype: string
98
+ description: Systematic gene name (ORF identifier) of the target gene measured
99
+ - name: target_symbol
100
+ dtype: string
101
+ description: Standard gene symbol of the target gene measured
102
+ - name: dye_plus
103
+ dtype: float64
104
+ description: Normalized log2 fold change for positive (+) dye orientation
105
+ - name: dye_minus
106
+ dtype: float64
107
+ description: Normalized log2 fold change for negative (-) dye orientation
108
+ - name: mean_norm_log2fc
109
+ dtype: float64
110
+ description: Average log2 fold change across dye orientations
111
  ---
112
  # Hughes 2006
113
 
 
149
  | `del_passed_qc` | Boolean indicating whether deletion experiments passed quality control |
150
 
151
 
152
+ ## Usage
153
+
154
+ I recommend using `huggingface_hub.snapshot_download` to pull the repository. After that, use your favorite
155
+ method of interacting with `parquet` files (eg duckDB, but you could use dplyr in R or pandas, too).
156
+
157
+ ```python
158
+ from huggingface_hub import snapshot_download
159
+ import duckdb
160
+ import os
161
+
162
+ repo_id = "BrentLab/hughes_2006"
163
+
164
+ # Download entire repo to local directory
165
+ repo_path = snapshot_download(
166
+ repo_id=repo_id,
167
+ repo_type="dataset"
168
+ )
169
+
170
+ print(f"Repository downloaded to: {repo_path}")
171
+
172
+ # Construct path to the parquet file
173
+ parquet_path = os.path.join(repo_path, "hughes_2006.parquet")
174
+ print(f"Parquet file at: {parquet_path}")
175
+
176
+ # Connect to DuckDB and query the parquet file
177
+ conn = duckdb.connect()
178
+
179
+ query = """
180
+ SELECT *
181
+ FROM read_parquet(?)
182
+ WHERE regulator_locus_tag = 'YJR060W'
183
+ """
184
+
185
+ result = conn.execute(query, [parquet_path]).fetchall()
186
+ print(f"Found {len(result)} rows for YJR060W")
187
+ ```
188
+
189
  **Dataset Author and Contact**: Chase Mateusiak [@cmatKhan](https://github.com/cmatkhan/)