update_readme_paperlink

#2
by cmatkhan - opened
README.md CHANGED
@@ -14,35 +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
  configs:
42
  - config_name: kemmeren_2014
43
- description: >-
44
- Transcriptional regulator overexpression perturbation data with
45
- differential expression measurements
46
  dataset_type: annotated_features
47
  default: true
48
  metadata_fields: ["regulator_locus_tag", "regulator_symbol"]
@@ -51,58 +25,36 @@ configs:
51
  path: kemmeren_2014.parquet
52
  dataset_info:
53
  features:
54
- - name: sample_id
55
- dtype: integer
56
- description: >-
57
- unique identifier for a specific sample.
58
- The sample ID identifies a unique regulator.
59
- - name: db_id
60
- dtype: integer
61
- description: >-
62
- an old unique identifer, for use internally only. Deprecated and will be removed eventually.
63
- Do not use in analysis. db_id = 0 for loci that were originally parsed incorrectly.
64
  - name: regulator_locus_tag
65
  dtype: string
66
- description: >-
67
- induced transcriptional regulator systematic ID.
68
- See hf/BrentLab/yeast_genome_resources
69
  role: regulator_identifier
70
  - name: regulator_symbol
71
  dtype: string
72
- description: >-
73
- induced transcriptional regulator common name.
74
- If no common name exists, then the `regulator_locus_tag` is used.
75
  role: regulator_identifier
76
  - name: reporterId
77
  dtype: string
78
  description: probe ID as reported from the original data
79
  - name: target_locus_tag
80
  dtype: string
81
- description: >-
82
- The systematic ID of the feature to which the effect/pvalue is assigned.
83
- See hf/BrentLab/yeast_genome_resources
84
  role: target_identifier
85
  - name: target_symbol
86
  dtype: string
87
- description: >-
88
- The common name of the feature to which the effect/pvalue is assigned.
89
- If there is no common name, the `target_locus_tag` is used.
90
  role: target_identifier
91
  - name: M
92
  dtype: float64
93
  description: log₂ fold change (mutant vs wildtype)
94
  role: quantitative_measure
95
- - name: Madj
96
  dtype: float64
97
- description: >-
98
- M value with the cell cycle signal removed
99
- (see paper cited in the introduction above)
100
  role: quantitative_measure
101
- - name: A
102
  dtype: float64
103
- description: >-
104
- average log2 intensity of the two channels, a proxy for expression level
105
- (This is a guess based on microarray convention -- not specified on holstege site)
106
  role: quantitative_measure
107
  - name: pval
108
  dtype: float64
@@ -110,70 +62,12 @@ configs:
110
  role: quantitative_measure
111
  - name: variable_in_wt
112
  dtype: string
113
- description: >-
114
- True if the given locus is variable in the WT condition.
115
- Recommended to remove these from analysis. False otherwise.
116
- See Holstege website for more information
117
  role: experimental_condition
118
  - name: multiple_probes
119
  dtype: string
120
- description: >-
121
- True if there is more than one probe associated with
122
- the same genomic locus. False otherwise
123
- role: experimental_condition
124
- - name: kemmeren_regulator
125
- dtype: string
126
- description: >-
127
- True if the regulator is one of the regulators studied in the
128
- original Kemmeren et al. (2014) global regulator study. False otherwise
129
- role: experimental_condition
130
- - name: regulator_desc
131
- dtype: string
132
- description: >-
133
- functional description of the induced regulator
134
- from the original paper supplement
135
- role: experimental_condition
136
- - name: functional_category
137
- dtype: string
138
- description: functional classification of the regulator from the original paper supplement
139
- role: experimental_condition
140
- - name: slides
141
- dtype: string
142
- description: identifier(s) for the microarray slide(s) used in this experiment
143
  role: experimental_condition
144
- - name: mating_type
145
- dtype: string
146
- description: mating type of the strain background used in the experiment
147
- role: experimental_condition
148
- - name: source_of_deletion_mutants
149
- dtype: string
150
- description: origin of the strain
151
- role: experimental_condition
152
- - name: primary_hybsets
153
- dtype: string
154
- description: identifier for the primary hybridization set to which this sample belongs
155
- role: experimental_condition
156
- - name: responsive_non_responsive
157
- dtype: string
158
- description: >-
159
- classification of the regulator as responsive or not to the
160
- deletion from the original paper supplement
161
- role: experimental_condition
162
- - name: nr_sign_changes
163
- dtype: integer
164
- description: >-
165
- number of significant changes in expression detected for the regulator locus tag (abs(M) > log2(1.7) & pval < 0.05).
166
- Note that there is a slight difference when calculating from the data provided here, I believe due to a difference in
167
- the way the targets are parsed and filtered (some ORFs that have since been removed from the annotations are removed).
168
- I didn't investigate this closely, though.
169
- role: experimental_condition
170
- - name: profile_first_published
171
- dtype: string
172
- description: citation or reference indicating where this expression profile was first published
173
- role: experimental_condition
174
- - name: chase_notes
175
- dtype: string
176
- description: notes added during data curation and parsing
177
  ---
178
  # Kemmeren 2014
179
 
 
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
 
kemmeren_2014.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:12a63d4ccf5936c4a7ef7dc11f71287e1eb82b92901da87dd5b48e06f726c709
3
- size 326968372
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c463017444bd7690959c0d6fff0d0ebe2faa7b916dd9c44e305156f6c98b863
3
+ size 319218929
kemmeren_2014.parquet.md5 CHANGED
@@ -1 +1 @@
1
- 94f81f31aa3d65c89b084cdbe4b72901 kemmeren_2014.parquet
 
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
+ )