File size: 28,179 Bytes
5517def
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a017f60
9869370
c40b86b
 
 
a017f60
 
 
 
 
c40b86b
 
 
 
eed6010
b267b0a
 
eed6010
deba655
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e65ed68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
deba655
 
 
 
 
 
 
e65ed68
 
deba655
 
 
 
 
eed6010
deba655
 
 
 
 
e73df12
e65ed68
 
deba655
 
 
 
 
 
 
 
 
eed6010
deba655
 
 
 
 
 
e73df12
e65ed68
 
 
 
deba655
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e73df12
e65ed68
 
 
 
deba655
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e73df12
e65ed68
 
 
 
deba655
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5517def
deba655
 
 
 
 
 
 
 
 
 
 
5517def
deba655
 
 
 
 
5517def
 
deba655
eed6010
 
 
 
5517def
 
 
deba655
5517def
 
 
 
deba655
5517def
deba655
 
16d619c
deba655
16d619c
 
deba655
16d619c
 
deba655
 
 
 
 
 
 
 
 
 
16d619c
deba655
 
 
 
16d619c
deba655
 
 
16d619c
 
 
fe05257
 
 
 
 
 
16d619c
deba655
1df89d0
deba655
 
 
 
 
 
 
 
 
 
1df89d0
deba655
 
 
 
 
1df89d0
 
deba655
1df89d0
 
 
 
deba655
1df89d0
 
 
 
 
 
 
 
 
 
 
deba655
 
1df89d0
deba655
1df89d0
 
deba655
1df89d0
 
 
 
deba655
1df89d0
 
 
 
 
 
fe05257
 
 
 
 
deba655
1df89d0
69c5cfe
 
deba655
 
 
 
 
 
 
 
 
 
 
 
 
 
69c5cfe
849a2cf
69c5cfe
 
 
 
 
 
 
 
 
 
 
 
1df89d0
deba655
 
 
1df89d0
 
 
 
 
 
 
deba655
1df89d0
deba655
1df89d0
 
 
 
deba655
1df89d0
 
deba655
1df89d0
 
deba655
1df89d0
 
 
 
 
 
 
 
 
16d619c
 
 
e65ed68
16d619c
 
 
 
 
 
deba655
16d619c
1df89d0
16d619c
1df89d0
16d619c
deba655
16d619c
 
 
 
deba655
 
1df89d0
deba655
 
 
 
 
 
1df89d0
 
 
deba655
 
 
 
 
 
eed6010
 
 
 
1df89d0
 
 
 
deba655
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eed6010
 
 
 
deba655
 
 
 
 
 
e73df12
e65ed68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e73df12
 
 
 
6c724cc
e73df12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e65ed68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5517def
9f50405
 
deba655
 
 
9f50405
deba655
 
 
 
 
9f50405
deba655
9f50405
deba655
 
 
 
 
 
6864b25
 
deba655
 
6864b25
deba655
 
 
6864b25
deba655
 
 
6864b25
deba655
 
6864b25
deba655
 
6864b25
 
deba655
9f50405
deba655
 
 
9f50405
deba655
 
 
9f50405
deba655
9f50405
 
 
 
deba655
9f50405
 
 
deba655
9f50405
 
deba655
 
 
 
 
9f50405
 
deba655
9f50405
 
 
 
 
deba655
9f50405
deba655
 
 
 
9f50405
 
deba655
9f50405
deba655
 
9f50405
deba655
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
---
license: mit
language:
- en
tags:
- biology
- genomics
- yeast
- transcription-factors
- callingcards
- transposon
- binding
- gene-expression
pretty_name: "Calling Cards Transcription Factor Binding Dataset"

experimental_conditions:
  temperature_celsius: room
  media:
    name: synthetic_complete_minus_ura_his_leu
    carbon_source:
      - compound: D-galactose
        concentration_percent: 2
    nitrogen_source:
      - compound: amino_acid_dropout_mix
        concentration_percent: unspecified
        specifications:
          - minus_ura
          - minus_his
          - minus_leu

citation: Mateusiak, C, Erdenebaatar, Z, Jia, E, Plaggenberg, JN, Wang, Y, Shively, C, Liao, G, Mitra, RD, Brent, MR. 2026. Functional synergy partially explains why most transcription factor binding is non-functional. bioRxiv 2026.
doi: https://doi.org/10.64898/2026.01.19.700460

features:
- applies_to:
  - genome_map_meta
  - annotated_feature_meta
  - annotated_feature_combined_meta
  fields:
  - name: condition
    dtype:
      class_label:
        names: [
          "standard", "rapa", "starvation", "glu_1_gal_1",
          "del_MET28", "glu_1_gal_2", "del_FKH2", "del_TYE7"
        ]
    description: >-
      Experimental condition of the sample, including standard growth, rapamycin treatment,
      nutrient starvation, mixed carbon source conditions, and gene deletion strains
    role: experimental_condition
    definitions:
      standard:
        media:
          name: synthetic_complete
          carbon_source:
            - compound: D-glucose
              concentration_percent: 2
      rapa:
        perturbation_method:
          type: chemical_treatment
          compound: rapamycin
          description: Rapamycin treatment to inhibit TORC1 signaling
      starvation:
        description: "Nutrient starvation condition - specific media composition not defined in source"
      glu_1_gal_1:
        media:
          carbon_source:
            - compound: D-glucose
              concentration_percent: 1
            - compound: D-galactose
              concentration_percent: 1
      glu_1_gal_2:
        media:
          carbon_source:
            - compound: D-glucose
              concentration_percent: 1
            - compound: D-galactose
              concentration_percent: 2
      del_MET28:
        genotype:
          deletions:
            - gene: MET28
              description: MET28 deletion strain
      del_FKH2:
        genotype:
          deletions:
            - gene: FKH2
              description: FKH2 deletion strain
      del_TYE7:
        genotype:
          deletions:
            - gene: TYE7
              description: TYE7 deletion strain

- applies_to:
  - annotated_feature_reprocess_intergenic
  - annotated_feature_reprocess_intergenic_analysis
  fields:
  - name: ir_name
    dtype: string
    description: >-
      Unique identifier of the intergenic region. See
      yeast_genome_resources/intergenic_regions_metadata_5_1.csv for details on
      the region (location, etc). Note that these intergenic regions are defined
      as the region between the end of one ORF and the start of the next, and
      are named according to the locus tags of the flanking ORFs (e.g.,
      YAL001C-YAL002W). A intergenic  region is assigned to a promoter only when
      the 5' end is continuous with the region.

- applies_to:
  - annotated_feature
  - annotated_feature_meta
  - genome_map
  - genome_map_meta
  - annotated_feature_reprocess_yiming
  - annotated_feature_reprocess_mindel
  - annotated_feature_reprocess_start_codon_500
  - annotated_feature_reprocess_intergenic
  fields:
  - name: batch
    dtype: string
    description: Experimental batch identifier for controlling batch effects (partition key)
    role: experimental_condition

- applies_to:
  - annotated_feature_meta
  - annotated_feature_combined_meta
  - genome_map_meta
  - 2026_analysis_set
  - annotated_feature_reprocess_mindel_analysis
  - annotated_feature_reprocess_start_codon_500bp_analysis
  - annotated_feature_reprocess_intergenic_analysis
  fields:
  - name: regulator_locus_tag
    dtype: string
    description: Systematic gene identifier for the transcription factor
    role: regulator_identifier
  - name: regulator_symbol
    dtype: string
    description: Standard gene symbol for the transcription factor
    role: regulator_identifier

- applies_to:
  - annotated_feature
  - annotated_feature_combined
  - 2026_analysis_set
  - annotated_feature_reprocess_yiming
  - annotated_feature_reprocess_mindel
  - annotated_feature_reprocess_mindel_analysis
  - annotated_feature_reprocess_start_codon_500
  - annotated_feature_reprocess_start_codon_500bp_analysis
  - annotated_feature_reprocess_intergenic
  - annotated_feature_reprocess_intergenic_analysis
  fields:
  - name: target_locus_tag
    dtype: string
    description: Systematic gene identifier for the target gene
    role: target_identifier
  - name: target_symbol
    dtype: string
    description: Standard gene symbol for the target gene
    role: target_identifier

- applies_to:
  - annotated_feature
  - annotated_feature_combined
  - 2026_analysis_set
  - annotated_feature_reprocess_yiming
  - annotated_feature_reprocess_mindel
  - annotated_feature_reprocess_mindel_analysis
  - annotated_feature_reprocess_start_codon_500
  - annotated_feature_reprocess_start_codon_500bp_analysis
  - annotated_feature_reprocess_intergenic
  - annotated_feature_reprocess_intergenic_analysis
  fields:
  - name: experiment_hops
    dtype: float64 
    description: Number of transposon insertion events (hops) at target locus in the experimental sample
    role: quantitative_measure
  - name: background_hops
    dtype: float64
    description: Number of transposon insertion events (hops) at target locus in the background control
    role: quantitative_measure
  - name: callingcards_enrichment
    dtype: float64
    description: Enrichment score calculated as ratio of normalized experimental to background hops
    role: quantitative_measure
  - name: poisson_pval
    dtype: float64
    description: P-value from Poisson test for statistical significance of binding enrichment
    role: quantitative_measure

- applies_to:
  - annotated_feature
  - annotated_feature_combined
  - 2026_analysis_set
  fields:
  - name: background_total_hops
    dtype: float64
    description: Total number of background hops across all loci in the control sample
    role: quantitative_measure
  - name: experiment_total_hops
    dtype: float64
    description: Total number of experimental hops across all loci in the experimental sample
    role: quantitative_measure

- applies_to:
  - annotated_feature_reprocess_yiming
  - annotated_feature_reprocess_mindel
  - annotated_feature_reprocess_mindel_analysis
  - annotated_feature_reprocess_start_codon_500
  - annotated_feature_reprocess_start_codon_500bp_analysis
  - annotated_feature_reprocess_intergenic
  - annotated_feature_reprocess_intergenic_analysis
  fields:
  - name: total_background_hops
    dtype: float64
    description: Total number of background hops across all loci in the control sample
    role: quantitative_measure
  - name: total_experiment_hops
    dtype: float64
    description: Total number of experimental hops across all loci in the experimental sample genomic (not mito) chromosomes
    role: quantitative_measure
  - name: log_poisson_pval
    dtype: float64
    description: Log-transformed Poisson p-value. This has greater numeric resolution for significant loci
    role: quantitative_measure
  - name: poisson_qval
    dtype: float64
    description: FDR-adjusted q-value from Poisson test (multiple testing correction)
    role: quantitative_measure
  - name: hypergeometric_pval
    dtype: float64
    description: P-value from hypergeometric test for statistical significance of binding enrichment
    role: quantitative_measure
  - name: log_hypergeometric_pval
    dtype: float64
    description: Log-transformed hypergeometric p-value
    role: quantitative_measure
  - name: hypergeometric_qval
    dtype: float64
    description: FDR-adjusted q-value from hypergeometric test (multiple testing correction)
    role: quantitative_measure
    
configs:
- config_name: annotated_feature
  description: >-
    This is data that was originally processed through
    https://github.com/cmatKhan/callingCardsTools/ and stored (including some more
    processing) in https://github.com/cmatKhan/yeastregulatorydb. It is the data that
    was used for the QC and filtering decisions in the 2026 modeling paper. In general,
    unless you are trying to exactly replicate the 2026 modeling paper, you should use
    the 2026_analysis_set for analysis that uses the published results. Or, to use data
    that can be reproduced directly from the genome_map data,
    `annotated_feature_reprocess_*`. The suffix indicates which promoter set was used 
    to generate the results from the genome_map data.
  dataset_type: annotated_features
  genome_resources:
    region_sets:
      Kang:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/yiming_promoters.bed
        join_column: target_locus_tag
  data_files:
  - split: train
    path: annotated_feature/*/*.parquet
  partitioning:
    enabled: true
    partition_by: ["batch"]
    path_template: "annotated_feature/batch={batch}/*.parquet"
  dataset_info:
    features:
    - name: id
      dtype: int64 
      description: Unique identifier for each binding measurement
    - name: hypergeometric_pval
      dtype: float64
      description: P-value from hypergeometric test for statistical significance of binding enrichment
      role: quantitative_measure

- config_name: annotated_feature_meta
  description: Metadata for the annotated_features dataset.
  dataset_type: metadata
  applies_to: ["annotated_feature"]
  data_files:
  - split: train
    path: annotated_feature_meta.parquet
  dataset_info:
    features:
    - name: id
      dtype: float64
      description: Unique identifier for the metadata record
      role: sample_id
    - name: genome_map_id
      dtype: float64
      description: >-
        Genome map identifier linking to the genome_map and genome_map_meta dataset
      role: secondary_sample_id
    - name: pss_id
      dtype: string
      description: >-
        Identifier from a defunct database (promoter set sig id)
      role: secondary_sample_id
    - name: binding_id
      dtype: string
      description: >-
        Identifier from a defunct database (binding id)
      role: secondary_sample_id
    - name: data_usable
      dtype: string
      description: Indicator of whether the data is suitable for analysis
    - name: analysis_set
      dtype: bool
      description: >-
        TRUE if this record is to be used for analysis. FALSE otherwise.
        This was determined in 2025. Replicates needed `>=`3k hops and
        DTO `<=` 0.01 in either kemmeren or hackett

- config_name: annotated_feature_combined
  description: >-
    For the 2026 modeling paper, we labeled replicates passing if it has `>=`3k hops
    and DTO `<=` 0.01 in either kemmeren or hackett. For a TF with more than 1 passing
    replicate, a combined sample is created by summing the hops across the passing
    replicates. This is the data that is used for the 2026 modeling paper as predictors.
    It is retained here for replication and transparency, but we do not recommend
    using it for new analysis. Instead, to use the published results, use the
    `2026_analysis_set` which includes the same combined samples, but also includes
    the passing single replicates. Otherwise, the annotated_feature_reprocess_*_analysis
    datasets are more directly reproducible from the genome_map data, using a specified
    promoter set, and have combined samples using the same logic.
  dataset_type: annotated_features
  genome_resources:
    region_sets:
      Kang:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/yiming_promoters.bed
        join_column: target_locus_tag
  data_files:
  - split: train
    path: annotated_feature_combined/*/*.parquet
  dataset_info:
    partitioning:
      enabled: true
      partition_by: ["genome_map_id_set"]
      path_template: "annotated_feature_combined/genome_map_id_set={genome_map_id_set}/*.parquet"
    features:
    - name: genome_map_id_set
      dtype: string
      description: >-
        Hyphen-delimited set of genome map IDs corresponding to the combined replicates for this
        regulator (partition key)
    - name: hypergeometric_pval
      dtype: float64
      description: P-value from hypergeometric test for statistical significance of binding enrichment
      role: quantitative_measure

- config_name: annotated_feature_combined_meta
  description: Metadata for the annotated_feature_combined dataset.
  dataset_type: metadata
  applies_to: ["annotated_feature_combined"]
  data_files:
  - split: train
    path: annotated_feature_combined_meta.parquet
  dataset_info:
    features:
    - name: genome_map_id_set
      dtype: string
      description: Hyphen-delimited set of genome map IDs used as the partition key in annotated_feature_combined
    - name: pss_id
      dtype: string
      description: Passing sample set identifier grouping replicates used in this combined analysis
    - name: binding_id
      dtype: string
      description: Unique identifier for this combined binding measurement record
    - name: analysis_set
      dtype: bool
      description: >-
        For a TF with more than 1 passing replicate, a combined samples is created.
        This is based on the QC done in 2025 for the modeling paper. See the
        annotated_feature_meta for more details

- config_name: 2026_analysis_set
  description: >-
    This dataset is the dataset that was used in the 2026 modeling paper. A passing 
    replicate has >=3000 hops had a dto empirical pvalue < 0.01 against either
    kemmeren or hackett. Where a given regulator had multiple passing replicates,
    those replicates were combined (see annotated_feature_combined). This dataset
    should be used when you want to use the published results from the 2026 modeling
    paper. If you want to use data that can be reproduced directly from the genome_map
    data included in this repo, especially when called against different promoter
    sets, then use the annotated_feature_reprocess_*_analysis datasets.
  default: true
  genome_resources:
    region_sets:
      Kang:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/yiming_promoters.bed
        join_column: target_locus_tag
  dataset_type: annotated_features
  metadata_fields: ["gm_id","regulator_locus_tag","regulator_symbol", "experiment_total_hops", "background_total_hops"]
  data_files:
  - split: train
    path: 2026_analysis_set.parquet
  dataset_info:
    features:
    - name: gm_id
      dtype: string
      description: >-
        genome_map id. If the sample is a combination of multiple samples, then it is a
        hyphen-delimited set of genome map IDs corresponding to the combined replicates for this
        regulator.

- config_name: genome_map
  description: >-
    This is the raw binding data (qbeds) from the nf-core/callingcards pipeline. It
    can be processed into annotated_feature datasets suing the scripts/quantify_regions.R script. You can use your own promoter definitions (bed format) to do this, or those provided in BrentLab/yeast_genome_resources
  dataset_type: genome_map
  data_files:
  - split: train
    path: genome_map/*/*.parquet
  dataset_info:
    features:
    - name: id
      dtype: int64
      description: Unique identifier for each genomic interval
      role: sample_id
    - name: chr
      dtype: string
      description: Chromosome name (e.g., chrI, chrII, etc.)
    - name: start
      dtype: int64
      description: Start position of genomic interval
    - name: end
      dtype: int64
      description: End position of genomic interval
    - name: depth
      dtype: int64
      description: Number of transposon insertion events (read depth) in this genomic interval
    - name: strand
      dtype: string
      description: Strand information (+ or -) for the genomic interval
    partitioning:
      enabled: true
      partition_by: ["batch"]
      path_template: "genome_map/batch={batch}/*.parquet"

- config_name: genome_map_meta
  description: Metadata for genome map datasets including regulator information and experimental details
  dataset_type: metadata
  applies_to: ["genome_map", "annotated_feature_reprocess_yiming", "annotated_feature_reprocess_mindel", "annotated_feature_reprocess_start_codon_500", "annotated_feature_reprocess_intergenic"]
  data_files:
  - split: train
    path: genome_map_meta.parquet
  dataset_info:
    features:
    - name: id
      dtype: float64
      description: Unique identifier for the metadata record
    - name: binding_id
      dtype: string
      description: current django managed database identifier for the dataset to the 'binding' table
    - name: replicate
      dtype: float64
      description: Biological replicate number, within batch
    - name: notes
      dtype: string
      description: Additional notes or comments about the experiment

- config_name: annotated_feature_reprocess_yiming
  description: >-
    Calling Cards annotated features reprocessed from the genome_map data
    using scripts/quantify_regions.R against the yiming promoters in
    BrentLab/yeast_genome_resources. This is very nearly exactly the same as 
    annotated_features, though there may be some differences around the boundaries 
    (intentional), and this includes higher numeric resolution in the most significant
    promoters by using hte log argument in the poisson distribution function.
  dataset_type: annotated_features
  data_files:
  - split: train
    path: annotated_feature_reprocess_yiming/*/*.parquet
  genome_resources:
    region_sets:
      Kang:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/yiming_promoters.bed
        join_column: target_locus_tag
  partitioning:
    enabled: true
    partition_by: ["batch"]
    path_template: "annotated_feature_reprocess_yiming/batch={batch}/*.parquet"
  dataset_info:
    features:
    - name: id
      dtype: int64
      description: >-
        Genome map identifier linking to the genome_map and genome_map_meta dataset

- config_name: annotated_feature_reprocess_mindel
  description: >-
    This is the genome_map data quantified against the Mindel promoters
    (see BrentLab/yeast_genome_resources) using scripts/quantify_regions.R.
  dataset_type: annotated_features
  data_files:
  - split: train
    path: annotated_feature_reprocess_mindel/*/*.parquet
  genome_resources:
    region_sets:
      Mindel:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/mindel_promoters.csv.gz 
        join_column: target_locus_tag
  partitioning:
    enabled: true
    partition_by: ["batch"]
    path_template: "annotated_feature_reprocess_mindel/batch={batch}/*.parquet"
  dataset_info:
    features:
    - name: genome_map_id
      dtype: int64
      description: >-
        Genome map identifier linking to the genome_map and genome_map_meta dataset

- config_name: annotated_feature_reprocess_start_codon_500
  description: >-
    This is the genome_map data quantified against the promoters defined
    as 500bp upstream of the start codon for each gene 
    (see BrentLab/yeast_genome_resources) using
    scripts/quantify_regions_500bp_intergenic.R.
  dataset_type: annotated_features
  data_files:
  - split: train
    path: annotated_feature_reprocess_start_codon_500/*/*.parquet
  genome_resources:
    region_sets:
      start_codon_500bp:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/start_codon_500bp_upstream_promoters.bed
        join_column: target_locus_tag
  partitioning:
    enabled: true
    partition_by: ["batch"]
    path_template: "annotated_feature_reprocess_start_codon_500/batch={batch}/*.parquet"
  dataset_info:
    features:
    - name: genome_map_id
      dtype: int64
      description: >-
        Genome map identifier linking to the genome_map and genome_map_meta dataset

- config_name: annotated_feature_reprocess_intergenic
  description: >-
    This is the genome_map data quantified against the promoters defined
    as the full intergenic region upstream of each gene (see
    BrentLab/yeast_genome_resources) using scripts/quantify_regions_500bp_intergenic.R.
  dataset_type: annotated_features
  data_files:
  - split: train
    path: annotated_feature_reprocess_intergenic/*/*.parquet
  genome_resources:
    region_sets:
      intergenic:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/intergenic_regions_metadata_5_1.csv
        join_column: ir_name
  partitioning:
    enabled: true
    partition_by: ["batch"]
    path_template: "annotated_feature_reprocess_intergenic/batch={batch}/*.parquet"
  dataset_info:
    features:
    - name: genome_map_id
      dtype: int64
      description: >-
        Genome map identifier linking to the genome_map and genome_map_meta dataset

- config_name: annotated_feature_reprocess_mindel_analysis
  description: >-
    This is the analysis set for the mindel data. It is generated using the same logic as the 2026_analysis_set, but using the results from the reprocessing against the mindel promoters. A passing replicate has >=3000 hops had a dto empirical pvalue < 0.01 against either kemmeren or hackett. Where a given regulator had multiple passing replicates, those replicates were combined (see annotated_feature_combined). This dataset should be used when you want to use data that can be reproduced directly from the genome_map data included in this repo, using the mindel promoter definitions. See scripts/quantify_regions.R as well as BrentLab/yeast_comparative_analysis/scripts for details of how this was conducted.
  dataset_type: annotated_features
  metadata_fields: ["combined_id","regulator_locus_tag","regulator_symbol", "total_experiment_hops", "total_background_hops"]
  data_files:
  - split: train
    path: annotated_feature_reprocess_mindel_analysis.parquet
  genome_resources:
    region_sets:
      Mindel:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/mindel_promoters.csv.gz 
        join_column: target_locus_tag
  dataset_info:
    features:
    - name: combined_id
      dtype: string
      description: >-
        The genome map identifier of either a single passing, or multiple
        passing replicates (hyphen-delimited) that were combined for the analysis set. replicates were combined if the DTO empirical
        pvalue was <= 0.01 in either kemmeren or hackett. After combining,
        if they have more than 3k hopes (single or combined), then they are
        included in the analysis set.
      role: sample_id

- config_name: annotated_feature_reprocess_start_codon_500bp_analysis
  description: >-
    This is the analysis set for promoters created with 500bp regions upstream
    of the start codon. It uses the same passing replicates as the 2025_analysis_set. see R/scripts/quantify_regions_500bp_intergenic.R for details of how this was conducted.
  dataset_type: annotated_features
  metadata_fields: ["combined_id","regulator_locus_tag","regulator_symbol", "total_experiment_hops", "total_background_hops"]
  data_files:
  - split: train
    path: annotated_feature_reprocess_start_codon_500bp_analysis.parquet
  genome_resources:
    region_sets:
      start_codon_500bp:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/start_codon_500bp_upstream_promoters.bed
        join_column: target_locus_tag
  dataset_info:
    features:
    - name: combined_id
      dtype: string
      description: >-
        The genome map identifier of either a single passing, or multiple
        passing replicates (hyphen-delimited) that were combined for the
        2026 analysis set.
      role: sample_id

- config_name: annotated_feature_reprocess_intergenic_analysis
  description: >-
    This is the analysis set for promoters created with the full intergenic 
    region upstream of a given target. It uses the same passing replicates as the 2025_analysis_set. see R/scripts/quantify_regions_500bp_intergenic.R for details of how this was conducted.
  dataset_type: annotated_features
  metadata_fields: ["combined_id","regulator_locus_tag","regulator_symbol", "total_experiment_hops", "total_background_hops"]
  data_files:
  - split: train
    path: annotated_feature_reprocess_intergenic_analysis.parquet
  genome_resources:
    region_sets:
      intergenic:
        path: https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/intergenic_regions_metadata_5_1.csv
        join_column: ir_name
  dataset_info:
    features:
    - name: combined_id
      dtype: string
      description: >-
        The genome map identifier of either a single passing, or multiple
        passing replicates (hyphen-delimited) that were combined for the
        2026 analysis set.
      role: sample_id
---
# Calling Cards

This is data produced in both the Brent Lab and Mitra Lab at Washington University.

## Accessing Data

The examples below require
[labretriever](https://github.com/cmatKhan/labretriever#installation)
(`pip install labretriever`) and/or the
[HuggingFace Hub client](https://huggingface.co/docs/huggingface_hub/installation)
(`pip install huggingface_hub`).

### Accessing Data with labretriever

This repository is part of a collection configured as a unified database using
[labretriever.VirtualDB](https://cmatkhan.github.io/labretriever/virtual_db_configuration/).
Download the
[collection config](https://github.com/BrentLab/tfbpshiny/blob/main/tfbpshiny/brentlab_yeast_collection.yaml)
and use it to query the data directly in Python, or with an AI assistant using the
[labretriever plugin](https://cmatkhan.github.io/labretriever/mcp_server/#quick-install-claude-code-plugin).

```python
from labretriever.virtual_db import VirtualDB
from labretriever.datacard import DataCard

# Citation and metadata
card = DataCard("BrentLab/callingcards")
print([c.config_name for c in card.configs])  # list available datasets

# print citation
info = card.info()
print(info["citation"])

# path to the downloaded brentlab_yeast_collection.yaml
vdb = VirtualDB("/path/to/brentlab_yeast_collection.yaml")

print(vdb.get_dataset_description("callingcards"))
vdb.query("SELECT * FROM callingcards LIMIT 5")
```

### Direct parquet access

The repository contains more data than what is exposed through the collection
configuration. Use `DataCard.info()` to inspect available files, then download
and query with DuckDB.

Some files are single parquet files (e.g. metadata files); others are
partitioned datasets. Download a metadata file first to identify relevant
partitions before fetching the full data.

Single parquet file example:

```python
from huggingface_hub import snapshot_download
import duckdb

repo_path = snapshot_download(
    repo_id="BrentLab/callingcards",
    repo_type="dataset",
    allow_patterns="annotated_feature_meta.parquet",
)
conn = duckdb.connect()
# returns a pandas DataFrame with the first 5 rows
conn.execute(
    "SELECT * FROM read_parquet(?) LIMIT 5",
    [f"{repo_path}/annotated_feature_meta.parquet"],
).df()
```

Partitioned dataset example (the `annotated_feature` directory):

```python
repo_path = snapshot_download(
    repo_id="BrentLab/callingcards",
    repo_type="dataset",
    allow_patterns="annotated_feature/**",
)
conn.execute(
    "SELECT * FROM read_parquet(?) LIMIT 5",
    [f"{repo_path}/annotated_feature/**/*.parquet"],
).df()
```

### Accessing using R

Clone the repository and read parquet files directly with
[arrow](https://arrow.apache.org/docs/r/):

```r
# install.packages("arrow")
arrow::read_parquet("annotated_feature_meta.parquet")
```