cmatkhan commited on
Commit
8a42f59
Β·
1 Parent(s): 4948ffa

updating mindel data

Browse files
Files changed (19) hide show
  1. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet +0 -0
  2. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet +0 -0
  3. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet +0 -0
  4. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet +0 -0
  5. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet +0 -0
  6. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet +0 -0
  7. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet +0 -0
  8. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet +0 -0
  9. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet +0 -0
  10. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet +0 -0
  11. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet +0 -0
  12. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet +0 -0
  13. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet +0 -0
  14. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet +0 -0
  15. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet +0 -0
  16. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet +0 -0
  17. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet +0 -0
  18. dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet +0 -0
  19. scripts/parse_dto_results.R +49 -51
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=callingcards-annotated_features β†’ binding_repo_dataset=callingcards-annotated_feature_reprocess_mindel}/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined β†’ binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel}/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet RENAMED
File without changes
dto_rossi_cc_mahendrawada_mindel/{binding_repo_dataset=rossi_2021-rossi_2021_af_combined β†’ binding_repo_dataset=rossi_2021-rossi_2021_af_combined_mindel}/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet RENAMED
File without changes
scripts/parse_dto_results.R CHANGED
@@ -69,57 +69,55 @@ dto_results_list = future_imap(dto_results_lookup$result_file, ~{
69
 
70
  dto_results_df = bind_cols(dto_results_lookup, bind_rows(dto_results_list))
71
 
72
- # hf_results_df = dto_results_df %>%
73
- # mutate(
74
- # binding_id = case_when(
75
- # binding_source == "cc"
76
- # ~ paste0("BrentLab/callingcards;annotated_feature_reprocess_mindel;",
77
- # binding_id),
78
- # binding_source == "chipexo"
79
- # ~ paste0("BrentLab/rossi_2021;rossi_2021_af_combined_mindel;",
80
- # binding_id),
81
- # binding_source == "mahendrawada_chec"
82
- # ~ paste0("BrentLab/mahendrawada_2025;chec_mahendrawada_m2025_af_combined_mindel;",
83
- # binding_id)),
84
- # perturbation_id = case_when(
85
- # pr_source == "hackett" ~ paste0("BrentLab/hackett_2020;hackett_2020;", perturbation_id),
86
- # pr_source == "hughes_oe" ~ paste0("BrentLab/hughes_2006;overexpression;", perturbation_id),
87
- # pr_source == "hughes_ko" ~ paste0("BrentLab/hughes_2006;knockout;", perturbation_id),
88
- # pr_source == "hu_reimand" ~ paste0("BrentLab/hu_2007_reimand_2010;hu_2007_reimand_2010;", perturbation_id),
89
- # pr_source == "kemmeren" ~ paste0("BrentLab/kemmeren_2014;kemmeren_2014;", perturbation_id),
90
- # pr_source == "mahendrawada_rnaseq" ~ paste0("BrentLab/mahendrawada_2025;rnaseq_reprocessed;", perturbation_id),
91
- # .default = "ERROR"),
92
- # binding_repo_dataset = case_when(
93
- # binding_source == "cc" & str_detect(binding_id, "-")
94
- # ~ "callingcards-annotated_features_combined",
95
- # binding_source == "cc" & str_detect(binding_id, "-", negate=TRUE)
96
- # ~ "callingcards-annotated_features",
97
- # binding_source == "chipexo"
98
- # ~ "rossi_2021-rossi_2021_af_combined",
99
- # binding_source == "harbison"
100
- # ~ paste0("harbison_2004-harbison_2004"),
101
- # binding_source == "mahendrawada_chec"
102
- # ~ "mahendrawada_2025-chec_mahendrawada_m2025_af_combined"),
103
- # perturbation_repo_dataset = case_when(
104
- # pr_source == "hackett" ~ paste0("hackett_2020-hackett_2020"),
105
- # pr_source == "hughes_oe" ~ paste0("hughes_2006-overexpression"),
106
- # pr_source == "hughes_ko" ~ paste0("hughes_2006-knockout"),
107
- # pr_source == "hu_reimand" ~ paste0("hu_2007_reimand_2010-hu_2007_reimand_2010"),
108
- # pr_source == "kemmeren" ~ paste0("kemmeren_2014-kemmeren_2014"),
109
- # pr_source == "mahendrawada_rnaseq" ~ paste0("mahendrawada_2025-rnaseq_reprocessed"),
110
- # .default = "ERROR")) %>%
111
- # dplyr::rename(binding_rank_threshold = rank1,
112
- # perturbation_rank_threshold = rank2,
113
- # binding_set_size = set1_len,
114
- # perturbation_set_size = set2_len,
115
- # dto_fdr = fdr,
116
- # dto_empirical_pvalue = empirical_pvalue) %>%
117
- # select(binding_id, perturbation_id,
118
- # binding_rank_threshold, perturbation_rank_threshold,
119
- # binding_set_size, perturbation_set_size,
120
- # dto_fdr, dto_empirical_pvalue,
121
- # pr_ranking_column,
122
- # binding_repo_dataset, perturbation_repo_dataset)
123
 
124
  # arrow::write_dataset(
125
  # hf_results_df,
 
69
 
70
  dto_results_df = bind_cols(dto_results_lookup, bind_rows(dto_results_list))
71
 
72
+ hf_results_df = dto_results_df %>%
73
+ mutate(
74
+ binding_id = case_when(
75
+ binding_source == "cc"
76
+ ~ paste0("BrentLab/callingcards;annotated_feature_reprocess_mindel;",
77
+ binding_id),
78
+ binding_source == "chipexo"
79
+ ~ paste0("BrentLab/rossi_2021;rossi_2021_af_combined_mindel;",
80
+ binding_id),
81
+ binding_source == "mahendrawada_chec"
82
+ ~ paste0("BrentLab/mahendrawada_2025;chec_mahendrawada_m2025_af_combined_mindel;",
83
+ binding_id)),
84
+ perturbation_id = case_when(
85
+ pr_source == "hackett" ~ paste0("BrentLab/hackett_2020;hackett_2020;", perturbation_id),
86
+ pr_source == "hughes_oe" ~ paste0("BrentLab/hughes_2006;overexpression;", perturbation_id),
87
+ pr_source == "hughes_ko" ~ paste0("BrentLab/hughes_2006;knockout;", perturbation_id),
88
+ pr_source == "hu_reimand" ~ paste0("BrentLab/hu_2007_reimand_2010;hu_2007_reimand_2010;", perturbation_id),
89
+ pr_source == "kemmeren" ~ paste0("BrentLab/kemmeren_2014;kemmeren_2014;", perturbation_id),
90
+ pr_source == "mahendrawada_rnaseq" ~ paste0("BrentLab/mahendrawada_2025;rnaseq_reprocessed;", perturbation_id),
91
+ .default = "ERROR"),
92
+ binding_repo_dataset = case_when(
93
+ binding_source == "cc"
94
+ ~ "callingcards-annotated_feature_reprocess_mindel",
95
+ binding_source == "chipexo"
96
+ ~ "rossi_2021-rossi_2021_af_combined_mindel",
97
+ binding_source == "harbison"
98
+ ~ paste0("harbison_2004-harbison_2004"),
99
+ binding_source == "mahendrawada_chec"
100
+ ~ "mahendrawada_2025-chec_mahendrawada_m2025_af_combined_mindel"),
101
+ perturbation_repo_dataset = case_when(
102
+ pr_source == "hackett" ~ paste0("hackett_2020-hackett_2020"),
103
+ pr_source == "hughes_oe" ~ paste0("hughes_2006-overexpression"),
104
+ pr_source == "hughes_ko" ~ paste0("hughes_2006-knockout"),
105
+ pr_source == "hu_reimand" ~ paste0("hu_2007_reimand_2010-hu_2007_reimand_2010"),
106
+ pr_source == "kemmeren" ~ paste0("kemmeren_2014-kemmeren_2014"),
107
+ pr_source == "mahendrawada_rnaseq" ~ paste0("mahendrawada_2025-rnaseq_reprocessed"),
108
+ .default = "ERROR")) %>%
109
+ dplyr::rename(binding_rank_threshold = rank1,
110
+ perturbation_rank_threshold = rank2,
111
+ binding_set_size = set1_len,
112
+ perturbation_set_size = set2_len,
113
+ dto_fdr = fdr,
114
+ dto_empirical_pvalue = empirical_pvalue) %>%
115
+ select(binding_id, perturbation_id,
116
+ binding_rank_threshold, perturbation_rank_threshold,
117
+ binding_set_size, perturbation_set_size,
118
+ dto_fdr, dto_empirical_pvalue,
119
+ pr_ranking_column,
120
+ binding_repo_dataset, perturbation_repo_dataset)
 
 
121
 
122
  # arrow::write_dataset(
123
  # hf_results_df,