Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
input_ids
listlengths
17
4.1k
counts
listlengths
17
4.1k
n_counts
int32
115
912k
n_genes
int32
15
15.5k
cell_index
int32
0
220k
source_id
stringclasses
115 values
[ 2, 47032, 65871, 60164, 54348, 54661, 63710, 50769, 50303, 54604, 48225, 43898, 56177, 55708, 46484, 58349, 56821, 46892, 46665, 55231, 59941, 45635, 44629, 58823, 47880, 64919, 56433, 50403, 49035, 57489, 60905, 56994, 50575, 45981, 61926, 54652...
[ 0, 11, 15, 23, 5, 78, 3, 3, 23, 7, 3, 4, 3, 7, 6, 4, 4, 2, 2, 7, 3, 17, 2, 4, 3, 5, 2, 2, 2, 1, 2, 3, 2, 3, 1, 80, 2, 3, 5, 6, 63, 1, 4, 2, 2, 6, 3, 3, 2, 2, 3, 2, 4, 1, 7, 2, 31, 1, 3, 4, 8, 1,...
1,479
758
15,235
drerio_SRP342742
[ 2, 55389, 56626, 54604, 44854, 56680, 54004, 64096, 55708, 47291, 43527, 49486, 46469, 55202, 48180, 63097, 47105, 48234, 43449, 57200, 54537, 54455, 66962, 44208, 46616, 53728, 57639, 51061, 49458, 58364, 44853, 64391, 54601, 45924, 45110, 57351...
[ 0, 20, 23, 12, 6, 7, 23, 7, 10, 10, 25, 5, 15, 3, 8, 3, 11, 10, 5, 6, 9, 5, 7, 4, 3, 4, 6, 5, 5, 11, 4, 6, 3, 2, 7, 4, 5, 4, 4, 4, 3, 4, 3, 4, 11, 4, 3, 5, 3, 2, 3, 4, 3, 5, 3, 2, 3, 3, 5, 2, 3, ...
2,731
1,406
66,564
drerio_SRP489317
[ 2, 63034, 57298, 57793, 48971, 53612, 66402, 46301, 60865, 50084, 51147, 63303, 52714, 46119, 42543, 45232, 50172, 58619, 61455, 46728, 53673, 60014, 63236, 52003, 51657, 54950, 57681, 61331, 62197, 47465, 53936, 56129, 49169, 50590, 46802, 51476...
[ 0, 15, 9, 3, 6, 5, 14, 2, 1, 2, 7, 2, 3, 2, 5, 3, 3, 1, 7, 1, 4, 1, 4, 8, 1, 3, 1, 8, 6, 2, 2, 2, 2, 3, 2, 1, 1, 1, 11, 4, 1, 2, 2, 5, 2, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, ...
1,260
594
105
drerio_SRP430632
[ 2, 54604, 47032, 52956, 48696, 54004, 46500, 61600, 45353, 55056, 45585, 48701, 46469, 63758, 53064, 57499, 48443, 58661, 47416, 50871, 43457, 45506, 56803, 48592, 57235, 42808, 45680, 44904, 62229, 64301, 52539, 49290, 47219, 58619, 53849, 57113...
[ 0, 17, 11, 51, 36, 21, 11, 17, 2, 2, 5, 20, 11, 3, 5, 3, 2, 1, 4, 3, 3, 3, 2, 2, 3, 1, 2, 2, 3, 3, 2, 1, 1, 1, 2, 1, 2, 2, 3, 1, 1, 1, 1, 1, 2, 1, 1, 56, 1, 1, 2, 1, 2, 3, 14, 1, 2, 3, 2, 2, 1, ...
1,666
953
82,605
drerio_SRP489317
[ 2, 65775, 47272, 53929, 61835, 63068, 67584, 51437, 46265, 64266, 65035, 46201, 48660, 47785, 47461, 50841, 49581, 44452, 43191, 49702, 63871, 51904, 52978, 67164, 60223, 45965, 67636, 62820, 64903, 50877, 43632, 49771, 43812, 42783, 51539, 57336...
[ 0, 94, 295, 187, 245, 75, 178, 137, 574, 118, 167, 125, 55, 162, 113, 141, 132, 56, 182, 117, 42, 48, 82, 34, 190, 33, 11, 118, 98, 38, 58, 173, 77, 60, 113, 26, 14, 44, 17, 18, 70, 18, 30, 13, 97, 54, 22, 287, 37, 48,...
33,354
5,550
38,480
drerio_SRP516621
[ 2, 43587, 65229, 50410, 53881, 51657, 54672, 45236, 55830, 52501, 50204, 48422, 63138, 60051, 46323, 52663, 57725, 42870, 50442, 63496, 49947, 46381, 47240, 52629, 63590, 43092, 48581, 63960, 52477, 50686, 45596, 44185, 43160, 63802, 58035, 50610...
[ 0, 10, 6, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 6, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 7, 1, 1, 1, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, ...
625
484
9,820
drerio_SRP418118
[ 2, 52493, 47777, 51932, 59073, 48045, 47050, 52978, 54375, 55994, 52464, 45220, 53989, 48395, 45957, 58441, 64607, 50995, 42701, 45807, 48183, 55035, 50578, 57327, 51963, 46499, 43831, 51328, 57302, 49323, 57696, 43697, 45813, 47371, 53853, 56332...
[ 0, 17, 27, 36, 22, 43, 10, 26, 14, 21, 14, 5, 19, 11, 13, 5, 12, 8, 9, 15, 11, 18, 30, 6, 13, 11, 7, 9, 22, 13, 16, 8, 6, 3, 5, 11, 8, 12, 4, 15, 8, 4, 5, 2, 5, 4, 3, 2, 6, 9, 8, 3, 13, 8, 6, 11, 12, 12...
6,344
2,504
18,114
drerio_SRP326122
[ 2, 52064, 52164, 66473, 42722, 47751, 50340, 46779, 49770, 46457, 47454, 49350, 61928, 47203, 55392, 47210, 49786, 56054, 60279, 65269, 46614, 65026, 45784, 45997, 59349, 53118, 49979, 51153, 54875, 65049, 61299, 51966, 44874, 58260, 43883, 53598...
[ 0, 21, 93, 6, 17, 13, 23, 37, 10, 34, 25, 2, 9, 2, 6, 11, 2, 5, 27, 6, 7, 4, 6, 2, 1, 1, 3, 7, 3, 1, 2, 4, 5, 2, 4, 1, 3, 4, 5, 5, 3, 4, 1, 1, 5, 2, 1, 4, 2, 4, 1, 1, 2, 3, 1, 1, 1, 1, 1, 2, 2, ...
2,222
1,252
15,202
drerio_SRP441775
[ 2, 53675, 51852, 52497, 52498, 60955, 46779, 44128, 57184, 47454, 52164, 51853, 60279, 64357, 55496, 54241, 46230, 46572, 63857, 49852, 43905, 46457, 46602, 42722, 62898, 46877, 64439, 51669, 47740, 60598, 49918, 45965, 60550, 43824, 46179, 60828...
[ 0, 36, 72, 58, 49, 51, 57, 14, 42, 34, 47, 13, 41, 5, 4, 9, 2, 2, 1, 15, 3, 27, 2, 10, 2, 5, 5, 2, 2, 10, 2, 4, 5, 2, 2, 2, 1, 3, 4, 2, 3, 2, 5, 2, 2, 2, 2, 2, 12, 13, 8, 9, 2, 2, 2, 2, 2, 1, 4, 9, ...
3,009
1,298
3,054
drerio_SRP396141
[ 2, 46652, 56311, 49301, 52626, 61112, 58030, 67325, 43155, 62490, 43158, 63888, 51923, 59179, 43745, 49353, 49858, 62540, 64027, 62334, 51427, 60928, 51201, 65528, 45919, 51980, 46403, 61630, 52055, 55382, 51292, 50744, 58465, 56073, 44215, 53536...
[ 0, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1...
217
207
40,119
drerio_SRP459729
[ 2, 48505, 42679, 61977, 64380, 43558, 45226, 54746, 56952, 63848, 50031, 56985, 53882, 65114, 43811, 47301, 44449, 49077, 46222, 52926, 58461, 56584, 48312, 52463, 48373, 43100, 48496, 62334, 48174, 60089, 60564, 56387, 46331, 47351, 46045, 47901...
[ 0, 2, 22, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, 2, ...
579
459
4,373
drerio_SRP451780
[ 2, 51914, 46785, 47901, 46427, 53064, 64675, 66467, 60090, 43541, 63561, 47416, 46500, 45515, 54604, 43888, 49423, 62769, 65284, 45687, 48650, 45974, 53733, 47032, 59101, 62773, 45585, 65119, 48642, 44491, 47277, 48701, 54179, 54953, 51118, 45110...
[ 0, 46, 13, 25, 24, 16, 38, 19, 16, 38, 19, 9, 13, 5, 9, 7, 13, 9, 5, 3, 23, 4, 5, 6, 3, 5, 6, 2, 11, 2, 5, 23, 4, 7, 5, 8, 4, 5, 6, 13, 7, 2, 4, 6, 7, 5, 4, 6, 4, 4, 6, 2, 3, 3, 7, 5, 10, 2, 3, 13, ...
2,950
1,302
14,045
drerio_SRP489317
[ 2, 47979, 42722, 42900, 46457, 52164, 59972, 43662, 55548, 45786, 43629, 45745, 55907, 60279, 55475, 47454, 60598, 45898, 52281, 53247, 63655, 46779, 45550, 57027, 55948, 49185, 45958, 47926, 64599, 44895, 49053, 43310, 47945, 51043, 47001, 43473...
[ 0, 15, 33, 9, 80, 85, 28, 15, 9, 42, 3, 6, 15, 51, 13, 38, 19, 6, 3, 6, 4, 38, 3, 4, 3, 6, 12, 5, 4, 3, 9, 5, 8, 4, 6, 12, 4, 6, 7, 10, 10, 2, 3, 9, 3, 10, 15, 2, 13, 5, 2, 3, 3, 2, 4, 3, 2, 7, 6, 2...
3,868
1,542
16
drerio_SRP462895
[ 2, 56964, 58909, 48686, 51147, 46251, 67025, 62082, 54015, 50175, 66659, 51506, 45263, 45982, 57180, 59142, 47682, 52160, 47945, 65261, 64227, 48319, 45221, 48642, 54405, 62353, 66960, 63755, 47271, 61455, 45276, 49185, 50338, 58269, 52911, 66488...
[ 0, 105, 26, 20, 44, 37, 32, 34, 13, 37, 45, 40, 26, 15, 8, 39, 13, 11, 16, 8, 11, 5, 10, 18, 10, 9, 15, 50, 8, 20, 10, 9, 9, 12, 4, 13, 5, 21, 19, 9, 7, 8, 11, 8, 36, 9, 7, 136, 62, 4, 7, 4, 6, 13, 64, 6, ...
7,311
1,942
6,880
drerio_SRP401856
[ 2, 67025, 51782, 51044, 51903, 66960, 64769, 56773, 46067, 65257, 58511, 65318, 44975, 51306, 60466, 47021, 59278, 52124, 63286, 64380, 58188, 54763, 59267, 63502, 62213, 48878, 48314, 47173, 66556, 66410, 49962, 65197, 60742, 47980, 59417, 58758...
[ 0, 14, 20, 2, 2, 7, 2, 1, 2, 1, 6, 6, 2, 1, 3, 4, 1, 2, 2, 1, 1, 2, 7, 2, 1, 3, 2, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 5, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
797
495
38,653
drerio_SRP428435
[ 2, 54652, 54649, 54655, 54658, 51816, 49853, 54654, 66294, 62504, 54651, 47343, 63411, 46587, 54661, 53944, 43611, 62280, 55093, 54656, 62348, 46555, 57103, 47432, 64432, 42746, 52468, 44263, 54256, 48846, 44658, 47738, 56110, 54638, 58643, 46785...
[ 0, 127, 25, 77, 12, 1, 1, 24, 1, 1, 24, 1, 1, 2, 24, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
518
163
90,195
drerio_SRP385641
[ 2, 60238, 52190, 45458, 57968, 60205, 57061, 54896, 45472, 60295, 45259, 45382, 43272, 60223, 65172, 58955, 50344, 42495, 44220, 49115, 63515, 61003, 43521, 55776, 48747, 50138, 63718, 43278, 55283, 44939, 44649, 46621, 55861, 45928, 63650, 63239...
[ 0, 6738, 1603, 1333, 1985, 1854, 153, 100, 1253, 893, 911, 311, 59, 279, 34, 82, 93, 32, 103, 567, 135, 55, 101, 13, 20, 149, 424, 38, 84, 45, 113, 70, 13, 241, 187, 131, 290, 16, 77, 180, 269, 260, 188, 191, 128, 22, 199, ...
42,957
2,476
26,140
drerio_SRP426909
[ 2, 59382, 42528, 61809, 48836, 62152, 59797, 45575, 49663, 47257, 58776, 53101, 66562, 67711, 51098, 62851, 62575, 50072, 44558, 51948, 63033, 43922, 47415, 54450, 44088, 48860, 43805, 44786, 46301, 45655, 59708, 62601, 46434, 50116, 63925, 53161...
[ 0, 85, 6, 108, 2, 4, 4, 2, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 27,...
632
305
40,812
drerio_SRP426909
[ 2, 43826, 57581, 43386, 53586, 54565, 44603, 47241, 66960, 48433, 59259, 50792, 54212, 56522, 46568, 59273, 50804, 64083, 59000, 63531, 51983, 63934, 45295, 51495, 67049, 47036, 46554, 52757, 45055, 52443, 57316, 50756, 57111, 46669, 58574, 53686...
[ 0, 15, 16, 11, 15, 14, 9, 5, 13, 2, 3, 5, 9, 10, 5, 5, 4, 3, 2, 6, 6, 3, 4, 5, 3, 3, 6, 3, 2, 3, 6, 7, 2, 3, 4, 2, 3, 2, 4, 2, 9, 2, 5, 4, 5, 4, 1, 2, 2, 2, 3, 4, 2, 6, 3, 2, 2, 2, 5, 5, 3, 2, ...
2,027
1,193
5,193
drerio_SRP265421
End of preview. Expand in Data Studio

CELLxGENE + scBaseCount, tokenized: mouse and zebrafish

Rank-value tokenized single cells from public sources, one subset per species, in the same format as the human corpus at theislab/cellxgene-scbasecount. All cells were already public; this repo is a ready-to-train tokenized form of them.

Subset Cells Source files Sources
drerio (zebrafish) 3,745,141 115 of 115 scBaseCount 2025-02-25
mmusculus (mouse) 116,212,921 2,284 of 2,405 CELLxGENE Discover 2025-11-08 + scBaseCount 2025-02-25

Genes and tokens

  • Genes: Ensembl release 110, protein_coding and IG_*_gene / TR_*_gene on primary chromosomes (the GTF is included in <species>/vocab/).
  • One combined token dictionary for human, mouse and zebrafish (<species>/vocab/token_dictionary_combined.pkl, 67,747 tokens): special tokens <pad>=0, <mask>=1, <cls>=2, <eos>=3, then the human genes with their existing ids (up to 20,366), then mouse (20,367-42,489), then zebrafish (42,490-67,746). A corpus only contains its own species' ids.
  • <species>/vocab/token_dictionary.pkl: the special tokens plus that species' genes, with their combined ids.

Cells and tokenization

  • CELLxGENE: is_primary_data == True only; raw integer counts (raw/X if present, else X). scBaseCount: filter_pass == 1 where present. Files with non-integer counts are excluded; file_status.tsv lists every input file with its status and the reason for any exclusion.
  • Per cell: counts normalized to 10,000, divided by the species' gene medians (gene_medians.pkl), genes ranked by that value (ties by token id), at most 4,094 genes, with <cls> first and <eos> last.
  • Columns: input_ids, counts (raw UMI count per token, 0 at special tokens), n_counts, n_genes, cell_index (row in the source file), source_id. Rows are globally shuffled.

Files per subset

Path Content
train/*.arrow, dataset_dict.json the cells (datasets save_to_disk format)
vocab/ token dictionaries, Ensembl id/symbol mapping (ensembl_mapping.pkl), gene list, GTF, rank-proxy curves
gene_medians.pkl, undetected_genes.tsv per-gene medians; vocabulary genes never observed in this species (they get the median of all gene medians)
soup/ per-source-file pooled raw-count profile, for ambient-RNA augmentation
qc/report.json, summary.json whole-corpus QC and row counts
file_status.tsv every input file: status, cells kept, share of genes and counts that map to the release
AUDIT.md an independent audit (cell recount from raw files, re-tokenization of sampled cells, token ranges, shuffle, medians): 7 of 7 checks pass

Loading

from datasets import load_dataset
ds = load_dataset("TillR/cellxgene-scbasecount", "mmusculus", split="train", streaming=True)  # or "drerio"

or download a subset and use datasets.load_from_disk("<local>/drerio").

Downloads last month
79