Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 2 new columns ({'gene_b', 'gene_a'}) and 2 missing columns ({'reporter', 'target_gene'}).

This happened while the csv dataset builder was generating data using

hf://datasets/valsv/scrna-coregulation-benchmark/pbmc_correlation_summary.csv (at revision 96a3883b8d5910f18cb058b966dcddd88f16ceb1), ['hf://datasets/valsv/scrna-coregulation-benchmark@96a3883b8d5910f18cb058b966dcddd88f16ceb1/correlation_summary.csv', 'hf://datasets/valsv/scrna-coregulation-benchmark@96a3883b8d5910f18cb058b966dcddd88f16ceb1/pbmc_correlation_summary.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              sample: string
              gene_a: string
              gene_b: string
              method: string
              target_r: double
              median_bg: double
              mean_bg: double
              sd_bg: double
              q05_bg: double
              q25_bg: double
              q75_bg: double
              q95_bg: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1623
              to
              {'sample': Value('string'), 'reporter': Value('string'), 'target_gene': Value('string'), 'method': Value('string'), 'target_r': Value('float64'), 'median_bg': Value('float64'), 'mean_bg': Value('float64'), 'sd_bg': Value('float64'), 'q05_bg': Value('float64'), 'q25_bg': Value('float64'), 'q75_bg': Value('float64'), 'q95_bg': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1342, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1892, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 2 new columns ({'gene_b', 'gene_a'}) and 2 missing columns ({'reporter', 'target_gene'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/valsv/scrna-coregulation-benchmark/pbmc_correlation_summary.csv (at revision 96a3883b8d5910f18cb058b966dcddd88f16ceb1), ['hf://datasets/valsv/scrna-coregulation-benchmark@96a3883b8d5910f18cb058b966dcddd88f16ceb1/correlation_summary.csv', 'hf://datasets/valsv/scrna-coregulation-benchmark@96a3883b8d5910f18cb058b966dcddd88f16ceb1/pbmc_correlation_summary.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

sample
string
reporter
string
target_gene
string
method
string
target_r
float64
median_bg
float64
mean_bg
float64
sd_bg
float64
q05_bg
float64
q25_bg
float64
q75_bg
float64
q95_bg
float64
GSE295703_WER
WER_reporter
WER
Raw counts
0.906013
0.204152
0.205531
0.152664
-0.010713
0.067965
0.328226
0.454403
GSE295703_WER
WER_reporter
WER
log10(CP10K + 1)
0.497966
0.018058
0.026373
0.054591
-0.04864
-0.006068
0.046685
0.123679
GSE295703_WER
WER_reporter
WER
scVI (learned library, softmax)
0.954102
0.317912
0.284161
0.286572
-0.2447
0.075714
0.521174
0.673367
GSE295703_WER
WER_reporter
WER
scVI (observed library, softplus)
0.888361
0.909844
0.831846
0.214302
0.452843
0.754873
0.967198
0.992606
GSE295703_WER
WER_reporter
WER
scVI (observed library, softmax)
0.937434
-0.003581
0.012773
0.304933
-0.462642
-0.240115
0.27747
0.492972
GSE295703_CORTEX
CORTEX_reporter
CORTEX
Raw counts
0.147487
0.052902
0.090491
0.108438
-0.010977
-0.001775
0.15186
0.309397
GSE295703_CORTEX
CORTEX_reporter
CORTEX
log10(CP10K + 1)
0.038908
-0.004045
0.004262
0.030004
-0.032081
-0.011578
0.014176
0.063886
GSE295703_CORTEX
CORTEX_reporter
CORTEX
scVI (learned library, softmax)
0.519389
0.154185
0.16944
0.204135
-0.151895
0.027312
0.312673
0.51733
GSE295703_CORTEX
CORTEX_reporter
CORTEX
scVI (observed library, softplus)
0.881894
0.847688
0.762551
0.192973
0.37381
0.634409
0.901547
0.969091
GSE295703_CORTEX
CORTEX_reporter
CORTEX
scVI (observed library, softmax)
0.387484
-0.04918
-0.042058
0.262429
-0.442963
-0.252171
0.152848
0.418889
GSE295703_SCR
SCR_reporter
SCR
Raw counts
0.300671
0.068602
0.081581
0.07167
-0.003296
0.019793
0.123271
0.216755
GSE295703_SCR
SCR_reporter
SCR
log10(CP10K + 1)
0.147385
-0.002136
0.002765
0.018177
-0.018954
-0.006532
0.009316
0.034871
GSE295703_SCR
SCR_reporter
SCR
scVI (learned library, softmax)
0.843014
0.297581
0.262569
0.230627
-0.185373
0.128018
0.427065
0.569893
GSE295703_SCR
SCR_reporter
SCR
scVI (observed library, softplus)
0.988359
0.898853
0.834388
0.192985
0.462607
0.771406
0.970482
0.997384
GSE295703_SCR
SCR_reporter
SCR
scVI (observed library, softmax)
0.790162
-0.004002
-0.000557
0.333363
-0.518466
-0.274722
0.266317
0.511935
GSE160772
eGFP
Pdgfrb
Raw counts
0.628845
0.042894
0.065566
0.086617
-0.025403
0.005794
0.103978
0.238032
GSE160772
eGFP
Pdgfrb
log10(CP10K + 1)
0.426273
0.005055
0.00778
0.056574
-0.063739
-0.019065
0.029741
0.09601
GSE160772
eGFP
Pdgfrb
scVI (learned library, softmax)
0.846825
0.119708
0.10157
0.448278
-0.649155
-0.242747
0.484091
0.748802
GSE160772
eGFP
Pdgfrb
scVI (observed library, softplus)
0.874201
0.271313
0.269778
0.329484
-0.358729
0.067824
0.48847
0.824921
GSE160772
eGFP
Pdgfrb
scVI (observed library, softmax)
0.813478
0.152991
0.087738
0.421725
-0.666635
-0.220541
0.441897
0.674394
GSE198556_control_epithelial
eGFP
Pdgfrb
Raw counts
0.821563
-0.00045
0.013446
0.035352
-0.002408
-0.000993
0.015806
0.059206
GSE198556_control_epithelial
eGFP
Pdgfrb
log10(CP10K + 1)
0.154403
-0.000463
0.00045
0.008242
-0.002073
-0.000946
-0.000229
0.00371
GSE198556_control_epithelial
eGFP
Pdgfrb
scVI (learned library, softmax)
0.825658
0.351364
0.34541
0.26964
-0.126911
0.185198
0.541272
0.749341
GSE198556_control_epithelial
eGFP
Pdgfrb
scVI (observed library, softplus)
0.143705
0.391747
0.360929
0.184925
-0.013276
0.270611
0.485123
0.634393
GSE198556_control_epithelial
eGFP
Pdgfrb
scVI (observed library, softmax)
0.719247
-0.230109
-0.212631
0.284233
-0.634477
-0.433416
-0.013819
0.303965
GSE198556_24hrs_mesenchyme
eGFP
Pdgfrb
Raw counts
0.592048
0.149956
0.170873
0.11745
0.013671
0.082548
0.240961
0.385976
GSE198556_24hrs_mesenchyme
eGFP
Pdgfrb
log10(CP10K + 1)
0.430215
0.076608
0.091074
0.073511
-0.004129
0.036174
0.135407
0.235341
GSE198556_24hrs_mesenchyme
eGFP
Pdgfrb
scVI (learned library, softmax)
0.450729
0.014469
0.041364
0.356517
-0.51883
-0.219249
0.315914
0.628123
GSE198556_24hrs_mesenchyme
eGFP
Pdgfrb
scVI (observed library, softplus)
0.969512
0.977379
0.907572
0.271794
0.538789
0.956878
0.992141
0.998157
GSE198556_24hrs_mesenchyme
eGFP
Pdgfrb
scVI (observed library, softmax)
0.812261
0.575028
0.497758
0.310316
-0.146158
0.325554
0.732273
0.855714
GSE198556_48hrs_mesenchyme
eGFP
Pdgfrb
Raw counts
0.735405
0.056837
0.094765
0.097953
0.000864
0.018574
0.147325
0.296652
GSE198556_48hrs_mesenchyme
eGFP
Pdgfrb
log10(CP10K + 1)
0.384376
0.036414
0.063733
0.072064
-0.007748
0.012863
0.097113
0.218887
GSE198556_48hrs_mesenchyme
eGFP
Pdgfrb
scVI (learned library, softmax)
0.564194
-0.070653
-0.022849
0.439546
-0.629269
-0.419033
0.3466
0.725077
GSE198556_48hrs_mesenchyme
eGFP
Pdgfrb
scVI (observed library, softplus)
0.577415
0.675999
0.613395
0.256592
0.062975
0.5339
0.774667
0.917167
GSE198556_48hrs_mesenchyme
eGFP
Pdgfrb
scVI (observed library, softmax)
0.526263
0.067501
0.103466
0.420586
-0.548989
-0.235108
0.461867
0.766492
GSE198556_48hrs_epithelial
eGFP
Pdgfrb
Raw counts
0.671357
-0.00048
0.013833
0.034966
-0.002959
-0.00132
0.018341
0.055683
GSE198556_48hrs_epithelial
eGFP
Pdgfrb
log10(CP10K + 1)
0.342071
-0.000962
0.002736
0.01114
-0.004831
-0.00199
0.004081
0.017864
GSE198556_48hrs_epithelial
eGFP
Pdgfrb
scVI (learned library, softmax)
0.936995
0.165951
0.181499
0.250997
-0.219118
0.006083
0.336763
0.660771
GSE198556_48hrs_epithelial
eGFP
Pdgfrb
scVI (observed library, softplus)
0.975019
0.929259
0.837431
0.28124
0.140252
0.86893
0.962766
0.9826
GSE198556_48hrs_epithelial
eGFP
Pdgfrb
scVI (observed library, softmax)
0.86654
-0.228037
-0.164536
0.303233
-0.544951
-0.383037
-0.009142
0.476547
GSE181864
eGFP
Rorc
Raw counts
0.091277
0.018886
0.024337
0.026445
-0.007581
0.004148
0.039422
0.077352
GSE181864
eGFP
Rorc
log10(CP10K + 1)
0.085279
0.006276
0.008802
0.016192
-0.009448
-0.00382
0.017234
0.037901
GSE181864
eGFP
Rorc
scVI (learned library, softmax)
0.160556
0.364671
0.313281
0.317471
-0.281232
0.111923
0.566279
0.744222
GSE181864
eGFP
Rorc
scVI (observed library, softplus)
0.343905
0.651504
0.660393
0.196134
0.369393
0.498024
0.808819
0.97944
GSE181864
eGFP
Rorc
scVI (observed library, softmax)
-0.324501
0.008311
-0.008643
0.389278
-0.651206
-0.310626
0.290957
0.61559
GSE229976_unstimulated
eGFP
Il23r
Raw counts
0.144694
0.018255
0.026724
0.030843
-0.006803
0.004564
0.042565
0.090443
GSE229976_unstimulated
eGFP
Il23r
log10(CP10K + 1)
0.079448
0.007563
0.009675
0.014657
-0.007159
-0.002038
0.017442
0.03937
GSE229976_unstimulated
eGFP
Il23r
scVI (learned library, softmax)
0.674011
0.277111
0.268693
0.243725
-0.158286
0.093611
0.444761
0.665335
GSE229976_unstimulated
eGFP
Il23r
scVI (observed library, softplus)
0.949529
0.935803
0.892789
0.151302
0.689534
0.85967
0.971995
0.989949
GSE229976_unstimulated
eGFP
Il23r
scVI (observed library, softmax)
0.779614
0.273214
0.241664
0.330898
-0.328928
0.024302
0.495888
0.724791
GSE229976_stimulated
eGFP
Il23r
Raw counts
0.198237
0.028068
0.040551
0.04339
-0.004593
0.01057
0.058869
0.137604
GSE229976_stimulated
eGFP
Il23r
log10(CP10K + 1)
0.082393
0.009207
0.012749
0.016299
-0.007048
0.000673
0.02259
0.044713
GSE229976_stimulated
eGFP
Il23r
scVI (learned library, softmax)
0.793155
0.310498
0.279892
0.295684
-0.259812
0.077649
0.509335
0.692056
GSE229976_stimulated
eGFP
Il23r
scVI (observed library, softplus)
0.506327
0.634509
0.664973
0.171109
0.494244
0.542187
0.794983
0.951651
GSE229976_stimulated
eGFP
Il23r
scVI (observed library, softmax)
0.809546
0.347714
0.269506
0.378412
-0.549333
0.055173
0.550251
0.766307
GSE296504
DsRed
Cspg4
Raw counts
0.526263
0.015848
0.031454
0.055846
-0.020406
-0.005102
0.050232
0.142475
GSE296504
DsRed
Cspg4
log10(CP10K + 1)
0.509067
0.016677
0.03575
0.074558
-0.046012
-0.011894
0.07066
0.167724
GSE296504
eGFP
Cx3cr1
Raw counts
0.43241
0.028843
0.051417
0.074182
-0.031559
-0.002347
0.086762
0.200396
GSE296504
eGFP
Cx3cr1
log10(CP10K + 1)
0.428535
0.014071
0.028823
0.070565
-0.050476
-0.012788
0.050323
0.167837
GSE296504
DsRed
Cspg4
scVI (learned library, softmax)
0.925938
0.137595
0.144565
0.389334
-0.513362
-0.11453
0.434712
0.773735
GSE296504
DsRed
Cspg4
scVI (observed library, softplus)
0.971267
0.883697
0.884113
0.028242
0.844844
0.877774
0.889709
0.930221
GSE296504
DsRed
Cspg4
scVI (observed library, softmax)
0.874838
-0.094831
-0.03574
0.378052
-0.600455
-0.318471
0.206882
0.699115
GSE296504
eGFP
Cx3cr1
scVI (learned library, softmax)
0.928164
0.066432
0.063554
0.378069
-0.549606
-0.241965
0.347375
0.667729
GSE296504
eGFP
Cx3cr1
scVI (observed library, softplus)
0.998452
0.984015
0.980817
0.018991
0.966789
0.979377
0.98679
0.995097
GSE296504
eGFP
Cx3cr1
scVI (observed library, softmax)
0.912133
-0.048924
-0.034804
0.388439
-0.645606
-0.326821
0.211055
0.631146
GSE316394_BACHD_1
eGFP
Dlx1
Raw counts
0.105752
0.01686
0.026727
0.0303
-0.006827
0.004926
0.041711
0.090092
GSE316394_BACHD_1
eGFP
Dlx1
log10(CP10K + 1)
0.035387
0.002477
0.004294
0.011325
-0.010869
-0.004062
0.011799
0.025114
GSE316394_BACHD_1
eGFP
Dlx1
scVI (learned library, softmax)
0.37562
0.149054
0.110254
0.44007
-0.653317
-0.247152
0.487957
0.7338
GSE316394_BACHD_1
eGFP
Dlx1
scVI (observed library, softplus)
0.890805
0.87186
0.778764
0.224883
0.306616
0.725736
0.923477
0.960994
GSE316394_BACHD_1
eGFP
Dlx1
scVI (observed library, softmax)
0.52306
0.26487
0.276854
0.338848
-0.286982
0.016891
0.552052
0.817042
GSE316394_BACHD_2
eGFP
Dlx1
Raw counts
0.087605
0.01833
0.025722
0.027752
-0.005833
0.006117
0.039492
0.080796
GSE316394_BACHD_2
eGFP
Dlx1
log10(CP10K + 1)
0.032936
0.003348
0.004194
0.010431
-0.010681
-0.003547
0.010665
0.023342
GSE316394_BACHD_2
eGFP
Dlx1
scVI (learned library, softmax)
0.340294
0.18051
0.123552
0.41858
-0.630591
-0.192132
0.475645
0.690573
GSE316394_BACHD_2
eGFP
Dlx1
scVI (observed library, softplus)
0.296506
0.627069
0.594249
0.180761
0.231219
0.523612
0.712117
0.801122
GSE316394_BACHD_2
eGFP
Dlx1
scVI (observed library, softmax)
0.392271
0.335708
0.31486
0.339981
-0.273434
0.056901
0.602396
0.795088
GSE316394_WT_1
eGFP
Dlx1
Raw counts
0.145801
0.010969
0.018096
0.026586
-0.012236
-0.001826
0.031164
0.072888
GSE316394_WT_1
eGFP
Dlx1
log10(CP10K + 1)
0.112423
0.003182
0.00828
0.022052
-0.016884
-0.006952
0.017487
0.054787
GSE316394_WT_1
eGFP
Dlx1
scVI (learned library, softmax)
0.880653
0.268711
0.186752
0.433382
-0.560551
-0.169804
0.5815
0.761961
GSE316394_WT_1
eGFP
Dlx1
scVI (observed library, softplus)
0.736562
0.769449
0.586704
0.387742
-0.262367
0.346971
0.885513
0.932854
GSE316394_WT_1
eGFP
Dlx1
scVI (observed library, softmax)
0.89276
0.087558
0.054244
0.404577
-0.630814
-0.272201
0.403076
0.644429
GSE316394_WT_2
eGFP
Dlx1
Raw counts
0.102154
0.007359
0.009358
0.016227
-0.010542
-0.001836
0.016935
0.04149
GSE316394_WT_2
eGFP
Dlx1
log10(CP10K + 1)
0.102509
0.000602
0.002946
0.013935
-0.013563
-0.006146
0.009387
0.027102
GSE316394_WT_2
eGFP
Dlx1
scVI (learned library, softmax)
0.913489
0.066247
0.045337
0.322557
-0.503994
-0.188741
0.284516
0.5682
GSE316394_WT_2
eGFP
Dlx1
scVI (observed library, softplus)
0.155994
0.748529
0.669204
0.288163
0.127197
0.444284
0.921489
0.988763
GSE316394_WT_2
eGFP
Dlx1
scVI (observed library, softmax)
0.907503
0.138595
0.085995
0.3416
-0.538576
-0.14549
0.333319
0.59695
GSE319345_Ms802_Sham
eGFP
Sox9
Raw counts
0.324278
0.039977
0.045847
0.057751
-0.041826
0.010546
0.075901
0.150385
GSE319345_Ms802_Sham
eGFP
Sox9
log10(CP10K + 1)
0.162962
0.005305
0.00022
0.044856
-0.084124
-0.016287
0.024067
0.054474
GSE319345_Ms802_Sham
eGFP
Sox9
scVI (learned library, softmax)
0.81946
0.189142
0.151299
0.393247
-0.569296
-0.123538
0.446044
0.759431
GSE319345_Ms802_Sham
eGFP
Sox9
scVI (observed library, softplus)
0.981605
0.947936
0.917098
0.135383
0.794162
0.904051
0.971638
0.989719
GSE319345_Ms802_Sham
eGFP
Sox9
scVI (observed library, softmax)
0.73358
0.110347
0.101704
0.317551
-0.434466
-0.124196
0.308907
0.660952
GSE319345_Ms877_Sham
eGFP
Sox9
Raw counts
0.358395
0.047573
0.05085
0.056349
-0.027473
0.015339
0.07967
0.144009
GSE319345_Ms877_Sham
eGFP
Sox9
log10(CP10K + 1)
0.217037
0.008355
0.004262
0.040439
-0.062331
-0.010957
0.024815
0.054865
GSE319345_Ms877_Sham
eGFP
Sox9
scVI (learned library, softmax)
0.794286
0.096052
0.087932
0.422094
-0.589728
-0.225689
0.405835
0.772533
GSE319345_Ms877_Sham
eGFP
Sox9
scVI (observed library, softplus)
0.945709
0.819536
0.767823
0.173663
0.396999
0.734681
0.879981
0.938738
GSE319345_Ms877_Sham
eGFP
Sox9
scVI (observed library, softmax)
0.773019
0.003936
0.010097
0.405277
-0.656639
-0.288516
0.265219
0.728445
GSE319345_Ms805_BDL
eGFP
Sox9
Raw counts
0.373447
0.04096
0.04732
0.053641
-0.026975
0.012547
0.07544
0.138709
GSE319345_Ms805_BDL
eGFP
Sox9
log10(CP10K + 1)
0.223231
0.011683
0.010272
0.039233
-0.053164
-0.008028
0.02871
0.064382
GSE319345_Ms805_BDL
eGFP
Sox9
scVI (learned library, softmax)
0.736392
0.226669
0.188937
0.334489
-0.444661
-0.013871
0.453344
0.649384
GSE319345_Ms805_BDL
eGFP
Sox9
scVI (observed library, softplus)
0.975153
0.966155
0.882349
0.197812
0.427929
0.884537
0.987193
0.995887
GSE319345_Ms805_BDL
eGFP
Sox9
scVI (observed library, softmax)
0.818043
0.268343
0.206641
0.318446
-0.435291
-0.004363
0.441693
0.636576
End of preview.

scRNA-seq Coregulation Benchmark

A benchmark for evaluating whether single-cell RNA-seq normalization methods preserve known gene-gene correlation structure. It provides two complementary ground-truth catalogs:

  1. Promoter-reporter catalog — Datasets where a fluorescent reporter (GFP/DsRed) is driven by a known gene's promoter. The reporter and its target gene should be positively correlated.
  2. Allelic exclusion catalog — PBMC and B cell datasets where immunoglobulin light chain allelic exclusion (IGKC vs IGLC) provides an expected negative correlation.

Together, these test both directions of the correlation spectrum: a good normalization method should recover positive coregulation where it exists and preserve anti-correlation where biology demands it.

Quick start

from huggingface_hub import hf_hub_download
import anndata as ad

# Promoter-reporter example
path = hf_hub_download(
    repo_id="valsv/scrna-coregulation-benchmark",
    filename="promoter_reporter/GSE316394_BACHD_1.h5ad",
    repo_type="dataset",
)
adata = ad.read_h5ad(path)

reporter = adata.uns["reporters"]["eGFP"]
reporter["target_gene_symbol"]  # "Dlx1" — the gene whose promoter drives eGFP

# Allelic exclusion example
path = hf_hub_download(
    repo_id="valsv/scrna-coregulation-benchmark",
    filename="allelic_exclusion/GSE306378_N_rep1.h5ad",
    repo_type="dataset",
)
adata = ad.read_h5ad(path)

pair = adata.uns["exclusion_pairs"]["IGKC_vs_IGLC2"]
pair["gene_a_symbol"]  # "IGKC"
pair["gene_b_symbol"]  # "IGLC2"

Repository structure

promoter_reporter/
  GSE160772.h5ad
  GSE181864.h5ad
  GSE198556_*.h5ad        (4 files)
  GSE229976_*.h5ad        (2 files)
  GSE295703_*.h5ad        (3 files)
  GSE296504.h5ad
  GSE316394_*.h5ad        (4 files)
  GSE319345_*.h5ad        (4 files)
allelic_exclusion/
  GSE260943_*.h5ad        (3 files)
  GSE285843_*.h5ad        (6 files)
  GSE306378_*.h5ad        (6 files)

File format

Each .h5ad file is one sample (one 10x or Parse capture). Files are named {series_id}_{sample_suffix}.h5ad.

X — Count matrix

Sparse CSR, dtype int32. Raw UMI counts (not normalized). Rows are cells, columns are genes.

var — Gene annotations

Field Description
var_names (index) Gene symbols (mouse), TAIR locus IDs (Arabidopsis), or gene symbols (human)
gene_id Ensembl or TAIR ID

obs — Cell metadata

Field Type Description
total_counts int Total UMI per cell
n_genes int Number of genes with at least one count

uns — Sample metadata

Field Description
sample_id GEO sample accession
series_id GEO series accession
species Species
tissue Tissue or cell population
platform Sequencing platform/chemistry

Promoter-reporter files additionally have uns["reporters"] and allelic exclusion files have uns["exclusion_pairs"] (see below).

Promoter-reporter catalog

20 harmonized scRNA-seq h5ad files where a fluorescent reporter gene is driven by a known gene's promoter, providing ground-truth positive coregulation at single-cell resolution.

Reporter metadata — uns["reporters"]

Dict keyed by the reporter's name in var_names:

{"eGFP": {"target_gene_symbol": "Pdgfrb",
           "target_gene_id": "ENSMUSG00000024620.13",
           "construct": "Pdgfrb-BAC-eGFP"}}

Evaluation

For each sample and reporter, compute:

  1. Target correlation: Pearson r between the reporter and its target gene (expected positive)
  2. Background correlations: Pearson r between the reporter and N random non-reporter genes

The target correlation should be substantially higher than the median background correlation.

import numpy as np
from scipy.stats import pearsonr

reporter_name = "eGFP"
target_name = adata.uns["reporters"][reporter_name]["target_gene_symbol"]

totals = np.asarray(adata.X.sum(axis=1)).ravel()
reporter_norm = np.log10(1e4 * adata[:, reporter_name].X.toarray().ravel() / totals + 1)
target_norm = np.log10(1e4 * adata[:, target_name].X.toarray().ravel() / totals + 1)

target_r = pearsonr(reporter_norm, target_norm)[0]

rng = np.random.default_rng(42)
bg_genes = rng.choice(
    [g for g in adata.var_names if g != reporter_name and g != target_name],
    size=500, replace=False,
)
bg_cors = [pearsonr(reporter_norm, np.log10(1e4 * adata[:, g].X.toarray().ravel() / totals + 1))[0]
           for g in bg_genes]

print(f"Target r: {target_r:.3f}, Background median: {np.median(bg_cors):.3f}")

Datasets

Mouse (17 files)

Series Files Reporter Target gene Tissue Construct Platform Cells
GSE160772 1 eGFP Pdgfrb Endometrium mesenchyme BAC transgene 10x v2 6,514
GSE198556 4 eGFP Pdgfrb Endometrium (injury time-course) BAC transgene 10x v3 49,723
GSE181864 1 eGFP Rorc Large intestine LP Knockin 10x v3 9,107
GSE229976 2 eGFP Il23r Small intestine Knockin 10x v3 27,314
GSE296504 1 eGFP + DsRed Cx3cr1, Cspg4 P15 eardrum Knockin + transgene 10x v3.1 4,548
GSE316394 4 eGFP Dlx1 E12.5 MGE BAC transgene 10x v3.1 42,755
GSE319345 4 eGFP Sox9 Liver (BDL model) BAC transgene Parse WT v1 19,819

Arabidopsis (3 files)

Series Files Reporter Target gene Tissue Construct Platform Cells
GSE295703 3 GFP WER, CORTEX, SCR Root Promoter fusion 10x v3 32,078

Notes

  • All 16 standard mouse files share the same 78,335 genes in the same order. GSE296504 has one additional gene (DsRed, 78,336 total). The three Arabidopsis files have 32,834 genes each.
  • Mouse gene references are from Ensembl GRCm39, augmented with eGFP (and DsRed for GSE296504).
  • Construct types: knockin (reporter inserted at the endogenous locus), BAC transgene (reporter in a bacterial artificial chromosome), promoter fusion (reporter driven by a cloned proximal promoter).

Allelic exclusion catalog

15 human scRNA-seq h5ad files for benchmarking using immunoglobulin light chain allelic exclusion. Each B cell commits to either kappa (IGKC) or lambda (IGLC2/IGLC3) light chain expression — never both — providing an expected anti-correlation signal.

Exclusion pair metadata — uns["exclusion_pairs"]

{"IGKC_vs_IGLC2": {"gene_a_symbol": "IGKC",
                    "gene_a_id": "ENSG00000211592",
                    "gene_b_symbol": "IGLC2",
                    "gene_b_id": "ENSG00000211677",
                    "mechanism": "Immunoglobulin light chain allelic exclusion"}}

Evaluation

In mixed populations (PBMC), most cells express neither light chain. Filter to B cells first to avoid Simpson's paradox:

igkc = adata[:, "IGKC"].X.toarray().ravel()
iglc2 = adata[:, "IGLC2"].X.toarray().ravel()
iglc3 = adata[:, "IGLC3"].X.toarray().ravel()
b_cell_mask = (igkc > 0) | (iglc2 > 0) | (iglc3 > 0)
adata_b = adata[b_cell_mask]

Then compute target correlation (expected negative) vs. background, excluding all immunoglobulin genes (IGK*, IGL*, IGH*) from the background pool.

Datasets

Series Files Condition Tissue Platform Cells
GSE306378 6 3 healthy + 3 SLE PBMC 10x 78,851
GSE285843 6 healthy (3 donors x 2 platforms) PBMC 10x + Parse 72,080
GSE260943 3 healthy (3 donors) Tonsil B cells 10x 47,978

Notes

  • All 15 files share the same 33,694 genes (GRCh38, Cell Ranger reference).
  • GSE260943 samples are sorted tonsil B cells — B cell filtering is optional.
  • GSE306378 SLE samples have elevated B cell / plasma cell fractions.

Citations

If you use this benchmark, please cite the original studies that generated the data.

Promoter-reporter catalog

GSE160772 — Kirkwood PM, Gibson DA, Smith JR, Wilson-Kanamori JR, Kelepouri O, Esnal-Zufiaurre A, Dobie R, Henderson NC, Saunders PTK. Single-cell RNA sequencing redefines the mesenchymal cell landscape of mouse endometrium. FASEB J. 2021;35:e21285. doi:10.1096/fj.202002123R

GSE198556 — Kirkwood PM, Gibson DA, Shaw I, Dobie R, Kelepouri O, Henderson NC, Saunders PTK. Single-cell RNA sequencing and lineage tracing confirm mesenchyme to epithelial transformation (MET) contributes to repair of the endometrium at menstruation. eLife. 2022;11:e77663. doi:10.7554/eLife.77663

GSE181864 — Zhou W, Zhou L, Zhou J, Chu C, Zhang C, Sockolow RE, Eberl G, Sonnenberg GF. ZBTB46 defines and regulates ILC3s that protect the intestine. Nature. 2022;609(7925):159–165. doi:10.1038/s41586-022-04934-4

GSE229976 — Ahmed A, Joseph AM, Zhou J, Horn V, Uddin J, Lyu M, Goc J, et al. CTLA-4-expressing ILC3s restrain interleukin-23-mediated inflammation. Nature. 2024;630:976–983. doi:10.1038/s41586-024-07537-3

GSE295703 — Chau TN, Ryu KH, Alajoleen R, Bargmann BO, Schiefelbein J, Li S. scCoBench: Benchmarking single cell RNA-seq co-expression using promoter-reporter lines. bioRxiv. 2025. doi:10.1101/2025.05.26.656221

GSE296504 — Shi X, et al. (2026). Preprint: bioRxiv 10.64898/2026.01.13.699360

GSE316394 — Molero AE, Devakanmalai GS, Altun YM, Jover-Mengual T, Zhang J, Khan N, Mehler MF. Aberrant medial ganglionic eminence (MGE) GABAergic neurogenesis contributes to Huntington's disease pathogenesis. Neurobiol Dis. 2026;221:107297. doi:10.1016/j.nbd.2026.107297

GSE319345 — Kanakanui KG, Hantelys F, Hrncir HR, Bombin S, Gracz AD. Multi-gene biomarkers reveal spatial organization and subpopulation-specific damage response in intrahepatic biliary epithelial cells. bioRxiv. 2026. doi:10.64898/2026.02.12.705355

Allelic exclusion catalog

GSE260943 — McGrath JJC, Park J, Troxell CA, Chervin JC, Li L, Kent JR, Changrob S, et al. Mutability and hypermutation antagonize immunoglobulin codon optimality. Mol Cell. 2025;85(2):430–444.e6. doi:10.1016/j.molcel.2024.11.033

GSE306378 — Cheng LL, Tang ZF, Li M, Chen JJ, Shang SS, Huang CB. Single-cell sequencing-based analysis of CD4+ T-cell and B-cell heterogeneity in patients with lupus nephritis. BMC Med Genomics. 2026;19(1):29. doi:10.1186/s12920-025-02277-3

GSE285843 — Publication pending (no citation listed on GEO as of March 2026).

Downloads last month
12