update_readme_paperlink

#2
by cmatkhan - opened
README.md CHANGED
@@ -14,36 +14,9 @@ pretty_name: "Kemmeren, 2014 Overexpression"
14
  size_categories:
15
  - 1M<n<10M
16
 
17
- experimental_conditions:
18
- temperature_celsius: 30
19
- cultivation_method: plate
20
- growth_phase_at_harvest:
21
- phase: "early_mid_log"
22
- od600: 0.6
23
- od600_tolerance: 0.1
24
- media:
25
- name: synthetic_complete
26
- carbon_source:
27
- - compound: D-glucose
28
- # Kemmeren et al 2014: 2% D-glucose
29
- concentration_percent: 2
30
- nitrogen_source:
31
- - compound: yeast_nitrogen_base
32
- # Kemmeren et al 2014: 6.71 g/l
33
- concentration_percent: 0.671
34
- specifications:
35
- - without_amino_acids
36
- - without_carbohydrate
37
- - with_ammonium_sulfate
38
- - compound: amino_acid_dropout_mix
39
- # Kemmeren et al 2014: 2.0 g/l
40
- concentration_percent: 0.2
41
- citation: https://doi.org/10.1016/j.cell.2014.02.054
42
  configs:
43
  - config_name: kemmeren_2014
44
- description: >-
45
- Transcriptional regulator overexpression perturbation data with
46
- differential expression measurements
47
  dataset_type: annotated_features
48
  default: true
49
  metadata_fields: ["regulator_locus_tag", "regulator_symbol"]
@@ -52,183 +25,36 @@ configs:
52
  path: kemmeren_2014.parquet
53
  dataset_info:
54
  features:
55
- - name: sample_id
56
- dtype: integer
57
- description: >-
58
- unique identifier for a specific sample.
59
- The sample ID identifies a unique regulator.
60
- - name: db_id
61
- dtype: integer
62
- description: >-
63
- an old unique identifer, for use internally only. Deprecated and will be removed eventually.
64
- Do not use in analysis. db_id = 0 for loci that were originally parsed incorrectly.
65
  - name: regulator_locus_tag
66
  dtype: string
67
- description: >-
68
- induced transcriptional regulator systematic ID.
69
- See hf/BrentLab/yeast_genome_resources
70
  role: regulator_identifier
71
  - name: regulator_symbol
72
  dtype: string
73
- description: >-
74
- induced transcriptional regulator common name.
75
- If no common name exists, then the `regulator_locus_tag` is used.
76
  role: regulator_identifier
77
  - name: reporterId
78
  dtype: string
79
  description: probe ID as reported from the original data
80
  - name: target_locus_tag
81
  dtype: string
82
- description: >-
83
- The systematic ID of the feature to which the effect/pvalue is assigned.
84
- See hf/BrentLab/yeast_genome_resources
85
  role: target_identifier
86
  - name: target_symbol
87
  dtype: string
88
- description: >-
89
- The common name of the feature to which the effect/pvalue is assigned.
90
- If there is no common name, the `target_locus_tag` is used.
91
  role: target_identifier
92
  - name: M
93
  dtype: float64
94
  description: log₂ fold change (mutant vs wildtype)
95
  role: quantitative_measure
96
- - name: Madj
97
- dtype: float64
98
- description: >-
99
- M value with the cell cycle signal removed
100
- (see paper cited in the introduction above)
101
- role: quantitative_measure
102
  - name: A
103
  dtype: float64
104
- description: >-
105
- average log2 intensity of the two channels, a proxy for expression level
106
- (This is a guess based on microarray convention -- not specified on holstege site)
107
- role: quantitative_measure
108
- - name: pval
109
- dtype: float64
110
- description: significance of the modeled effect (M), from limma
111
- role: quantitative_measure
112
- - name: variable_in_wt
113
- dtype: string
114
- description: >-
115
- True if the given locus is variable in the WT condition.
116
- Recommended to remove these from analysis. False otherwise.
117
- See Holstege website for more information
118
- role: experimental_condition
119
- - name: multiple_probes
120
- dtype: string
121
- description: >-
122
- True if there is more than one probe associated with
123
- the same genomic locus. False otherwise
124
- role: experimental_condition
125
- - name: kemmeren_regulator
126
- dtype: string
127
- description: >-
128
- True if the regulator is one of the regulators studied in the
129
- original Kemmeren et al. (2014) global regulator study. False otherwise
130
- role: experimental_condition
131
- - name: regulator_desc
132
- dtype: string
133
- description: >-
134
- functional description of the induced regulator
135
- from the original paper supplement
136
- role: experimental_condition
137
- - name: functional_category
138
- dtype: string
139
- description: functional classification of the regulator from the original paper supplement
140
- role: experimental_condition
141
- - name: slides
142
- dtype: string
143
- description: identifier(s) for the microarray slide(s) used in this experiment
144
- role: experimental_condition
145
- - name: mating_type
146
- dtype: string
147
- description: mating type of the strain background used in the experiment
148
- role: experimental_condition
149
- - name: source_of_deletion_mutants
150
- dtype: string
151
- description: origin of the strain
152
- role: experimental_condition
153
- - name: primary_hybsets
154
- dtype: string
155
- description: identifier for the primary hybridization set to which this sample belongs
156
- role: experimental_condition
157
- - name: responsive_non_responsive
158
- dtype: string
159
- description: >-
160
- classification of the regulator as responsive or not to the
161
- deletion from the original paper supplement
162
- role: experimental_condition
163
- - name: nr_sign_changes
164
- dtype: integer
165
- description: >-
166
- number of significant changes in expression detected for the regulator locus tag (abs(M) > log2(1.7) & pval < 0.05).
167
- Note that there is a slight difference when calculating from the data provided here, I believe due to a difference in
168
- the way the targets are parsed and filtered (some ORFs that have since been removed from the annotations are removed).
169
- I didn't investigate this closely, though.
170
- role: experimental_condition
171
- - name: profile_first_published
172
- dtype: string
173
- description: citation or reference indicating where this expression profile was first published
174
- role: experimental_condition
175
- - name: chase_notes
176
- dtype: string
177
- description: notes added during data curation and parsing
178
- - name: responsive
179
- dtype: string
180
- description: Per the paper(s), The authors consider a target responsive if Madj > 1.7 and pval < 0.05
181
-
182
- - config_name: control_2014
183
- description: This stores the WT/background strains "WT-BY4743", "WT-MATA" and "WT-YPD" from Kemmeren 2014
184
- dataset_type: annotated_features
185
- metadata_fields: ["strain"]
186
- data_files:
187
- - split: train
188
- path: control_2014.parquet
189
- dataset_info:
190
- features:
191
- - name: sample_id
192
- dtype: integer
193
- description: >-
194
- unique identifier for a specific sample.
195
- The sample ID identifies a unique regulator.
196
- - name: strain
197
- dtype: string
198
- description: >-
199
- The genotype or strain used in the experiment,
200
- one of "WT-BY4743", "WT-MATA" and "WT-YPD"
201
- role: regulator_identifier
202
- - name: regulator_symbol
203
- dtype: string
204
- description: >-
205
- induced transcriptional regulator common name.
206
- If no common name exists, then the `regulator_locus_tag` is used.
207
- role: regulator_identifier
208
- - name: reporterId
209
- dtype: string
210
- description: probe ID as reported from the original data
211
- - name: target_locus_tag
212
- dtype: string
213
- description: >-
214
- The systematic ID of the feature to which the effect/pvalue is assigned.
215
- See hf/BrentLab/yeast_genome_resources
216
- role: target_identifier
217
- - name: target_symbol
218
- dtype: string
219
- description: >-
220
- The common name of the feature to which the effect/pvalue is assigned.
221
- If there is no common name, the `target_locus_tag` is used.
222
- role: target_identifier
223
- - name: M
224
- dtype: float64
225
- description: log₂ fold change (mutant vs wildtype)
226
  role: quantitative_measure
227
- - name: A
228
  dtype: float64
229
- description: >-
230
- average log2 intensity of the two channels, a proxy for expression level
231
- (This is a guess based on microarray convention -- not specified on holstege site)
232
  role: quantitative_measure
233
  - name: pval
234
  dtype: float64
@@ -236,41 +62,12 @@ configs:
236
  role: quantitative_measure
237
  - name: variable_in_wt
238
  dtype: string
239
- description: >-
240
- True if the given locus is variable in the WT condition.
241
- Recommended to remove these from analysis. False otherwise.
242
- See Holstege website for more information
243
  role: experimental_condition
244
  - name: multiple_probes
245
  dtype: string
246
- description: >-
247
- True if there is more than one probe associated with
248
- the same genomic locus. False otherwise
249
  role: experimental_condition
250
- - name: kemmeren_regulator
251
- dtype: string
252
- description: >-
253
- True if the regulator is one of the regulators studied in the
254
- original Kemmeren et al. (2014) global regulator study. False otherwise
255
- role: experimental_condition
256
- - name: description
257
- dtype: string
258
- description: >-
259
- functional description of the induced regulator
260
- from the original paper supplement
261
- role: experimental_condition
262
- - name: mating_type
263
- dtype: string
264
- description: mating type of the strain background used in the experiment
265
- role: experimental_condition
266
- - name: chase_notes
267
- dtype: string
268
- description: notes added during data curation and parsing
269
- - name: responsive
270
- dtype: string
271
- description: >-
272
- Per the paper(s), The authors consider a target responsive
273
- if M > 1.7 and pval < 0.05
274
  ---
275
  # Kemmeren 2014
276
 
 
14
  size_categories:
15
  - 1M<n<10M
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  configs:
18
  - config_name: kemmeren_2014
19
+ description: Transcriptional regulator overexpression perturbation data with differential expression measurements
 
 
20
  dataset_type: annotated_features
21
  default: true
22
  metadata_fields: ["regulator_locus_tag", "regulator_symbol"]
 
25
  path: kemmeren_2014.parquet
26
  dataset_info:
27
  features:
 
 
 
 
 
 
 
 
 
 
28
  - name: regulator_locus_tag
29
  dtype: string
30
+ description: induced transcriptional regulator systematic ID. See hf/BrentLab/yeast_genome_resources
 
 
31
  role: regulator_identifier
32
  - name: regulator_symbol
33
  dtype: string
34
+ description: induced transcriptional regulator common name. If no common name exists, then the `regulator_locus_tag` is used.
 
 
35
  role: regulator_identifier
36
  - name: reporterId
37
  dtype: string
38
  description: probe ID as reported from the original data
39
  - name: target_locus_tag
40
  dtype: string
41
+ description: The systematic ID of the feature to which the effect/pvalue is assigned. See hf/BrentLab/yeast_genome_resources
 
 
42
  role: target_identifier
43
  - name: target_symbol
44
  dtype: string
45
+ description: The common name of the feature to which the effect/pvalue is assigned. If there is no common name, the `target_locus_tag` is used.
 
 
46
  role: target_identifier
47
  - name: M
48
  dtype: float64
49
  description: log₂ fold change (mutant vs wildtype)
50
  role: quantitative_measure
 
 
 
 
 
 
51
  - name: A
52
  dtype: float64
53
+ description: average log₂ intensity of the two channels, a proxy for expression level (This is a guess based on microarray convention -- not specified on holstege site)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  role: quantitative_measure
55
+ - name: Madj
56
  dtype: float64
57
+ description: M value with the cell cycle signal removed (see paper cited in the introduction above)
 
 
58
  role: quantitative_measure
59
  - name: pval
60
  dtype: float64
 
62
  role: quantitative_measure
63
  - name: variable_in_wt
64
  dtype: string
65
+ description: True if the given locus is variable in the WT condition. Recommended to remove these from analysis. False otherwise. See Holstege website for more information
 
 
 
66
  role: experimental_condition
67
  - name: multiple_probes
68
  dtype: string
69
+ description: True if there is more than one probe associated with the same genomic locus. False otherwise
 
 
70
  role: experimental_condition
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  ---
72
  # Kemmeren 2014
73
 
control_2014.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:490665c992e5c586a914077e10578bec0a829f54425a1212b40021f174926133
3
- size 661123
 
 
 
 
kemmeren_2014.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4003f0d49e17671ccf29f39e36b0e95091aba7988b3d3f6b371f2ecd1a4930f
3
- size 301348699
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c463017444bd7690959c0d6fff0d0ebe2faa7b916dd9c44e305156f6c98b863
3
+ size 319218929
kemmeren_2014.parquet.md5 ADDED
@@ -0,0 +1 @@
 
 
1
+ 9109e2e853acab9fa341a1eebc1c649c kemmeren_2014.parquet
scripts/parse_kemmeren_data.R CHANGED
@@ -119,14 +119,9 @@ deleteome_all_mutants_controls_long = deleteome_all_mutants_controls %>%
119
  mutate(kemmeren_regulator = toupper(str_remove(tolower(kemmeren_regulator), "-del-1$|-del-mata$|-del$"))) %>%
120
  mutate(kemmeren_regulator = ifelse(kemmeren_regulator == "ARG5,6", "ARG56", kemmeren_regulator))
121
 
122
- kem_sup1_regulator_info = read_excel(here("data/kemmeren/supplemental_table1_strain_info.xlsx")) %>%
123
- mutate(`profile first published` = str_replace(`profile first published`, ", ", ","))
124
- kem_sup1_regulator_info_straininfo = read_excel(here("data/kemmeren/supplemental_table1_strain_info_origins.xlsx"))
125
-
126
- kem_sup1_regulator_info = kem_sup1_regulator_info %>%
127
- left_join(kem_sup1_regulator_info_straininfo) %>%
128
- mutate(`profile first published` = citation) %>%
129
- select(-citation)
130
 
131
  parsed_regulators = deleteome_all_mutants_controls_long %>%
132
  select(kemmeren_regulator) %>%
@@ -184,8 +179,7 @@ regulators_munging_df = bind_rows(regulators_munging_list) %>%
184
  regulator_symbol = symbol)) %>%
185
  replace_na(list(chase_notes = "none")) %>%
186
  mutate(regulator_locus_tag = ifelse(str_detect(kemmeren_regulator, "^WT-"), kemmeren_regulator, regulator_locus_tag),
187
- regulator_symbol = ifelse(str_detect(kemmeren_regulator, "^WT-"), kemmeren_regulator, regulator_symbol)) %>%
188
- janitor::clean_names()
189
 
190
 
191
  stopifnot(setequal(regulators_munging_df$kemmeren_regulator,
@@ -257,48 +251,20 @@ final_parsed_df = Reduce(left_join, final_parsed_list) %>%
257
  # duplicated to mulitple Madj. This removes those duplicates
258
  distinct(reporterId, .keep_all = TRUE) %>%
259
  ungroup() %>%
260
- left_join(select(regulators_munging_df,
261
- -c(gene, `orf_name`))) %>%
262
- dplyr::rename(nr_sign_changes = nr_sign_changes_p_0_05_fc_1_7,
263
- primary_hybsets = primary_hybset_s,
264
- source_of_deletion_mutants = source_of_deletion_mutant_s,
265
- slides = slide_s,
266
- regulator_desc = description) %>%
267
- arrange(regulator_locus_tag)
268
- # select(regulator_locus_tag, regulator_symbol, reporterId,
269
- # target_locus_tag, target_symbol, M, Madj, A, pval,
270
- # variable_in_wt, multiple_probes)
271
-
272
- db_kemmeren_meta = read_csv("data/kemmeren/db_kemmeren_meta_20251126.csv") %>%
273
- mutate(id = ifelse(regulator_locus_tag == 'YLR352W', 0, id)) %>%
274
- select(id, regulator_locus_tag) %>%
275
- distinct() %>%
276
- mutate(id = as.integer(id)) %>%
277
- dplyr::rename(db_id = id)
278
 
279
- final_df_parsed_with_ids = final_parsed_df %>%
280
- left_join(db_kemmeren_meta) %>%
281
- replace_na(list(db_id = 0)) %>%
282
  arrange(regulator_locus_tag) %>%
283
- group_by(regulator_locus_tag) %>%
284
- mutate(sample_id = cur_group_id()) %>%
285
- relocate(sample_id, db_id,
286
- regulator_locus_tag, regulator_symbol,
287
- reporterId, target_locus_tag, target_symbol,
288
- M, Madj, A, pval,
289
- variable_in_wt, multiple_probes)
290
-
291
- # note! verify before overwriting that the sample_id for the unique sample
292
- # tuple is the same as it is in the current hackett_2020, or that any changes
293
- # are intentional
294
-
295
- # final_df_parsed_with_ids %>%
296
- # write_parquet("~/code/hf/kemmeren_2014/kemmeren_2014.parquet",
297
- # compression = "zstd",
298
- # chunk_size = 6181,
299
- # write_statistics = TRUE,
300
- # use_dictionary = c(
301
- # regulator_locus_tag = TRUE,
302
- # target_locus_tag = TRUE
303
- # )
304
- # )
 
119
  mutate(kemmeren_regulator = toupper(str_remove(tolower(kemmeren_regulator), "-del-1$|-del-mata$|-del$"))) %>%
120
  mutate(kemmeren_regulator = ifelse(kemmeren_regulator == "ARG5,6", "ARG56", kemmeren_regulator))
121
 
122
+ kem_sup1_regulator_info = read_excel(here("data/kemmeren/mmc1.xlsx")) %>%
123
+ # additional columns are not tabular
124
+ .[,1:9]
 
 
 
 
 
125
 
126
  parsed_regulators = deleteome_all_mutants_controls_long %>%
127
  select(kemmeren_regulator) %>%
 
179
  regulator_symbol = symbol)) %>%
180
  replace_na(list(chase_notes = "none")) %>%
181
  mutate(regulator_locus_tag = ifelse(str_detect(kemmeren_regulator, "^WT-"), kemmeren_regulator, regulator_locus_tag),
182
+ regulator_symbol = ifelse(str_detect(kemmeren_regulator, "^WT-"), kemmeren_regulator, regulator_symbol))
 
183
 
184
 
185
  stopifnot(setequal(regulators_munging_df$kemmeren_regulator,
 
251
  # duplicated to mulitple Madj. This removes those duplicates
252
  distinct(reporterId, .keep_all = TRUE) %>%
253
  ungroup() %>%
254
+ left_join(select(regulators_munging_df, kemmeren_regulator,
255
+ regulator_locus_tag, regulator_symbol)) %>%
256
+ select(regulator_locus_tag, regulator_symbol, reporterId,
257
+ target_locus_tag, target_symbol, M, Madj, A, pval,
258
+ variable_in_wt, multiple_probes)
 
 
 
 
 
 
 
 
 
 
 
 
 
259
 
260
+ final_parsed_df %>%
 
 
261
  arrange(regulator_locus_tag) %>%
262
+ write_parquet(here("data/kemmeren/kemmeren_2014.parquet"),
263
+ compression = "zstd",
264
+ chunk_size = 6181,
265
+ write_statistics = TRUE,
266
+ use_dictionary = c(
267
+ regulator_locus_tag = TRUE,
268
+ target_locus_tag = TRUE
269
+ )
270
+ )