anndata_ref
stringlengths
118
134
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACCTGCAGCGAACA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACCTGCATGTCCTC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACCTGGTCGACTGC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACCTGGTCGCTTCT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACCTGTCCCGACTT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACGGGAGGGCACTA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACGGGAGTTAACGA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACGGGCACCTCGGA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACGGGCACGGATAG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACGGGCACGTGAGA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACGGGCATACGCTA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACGGGGTATTAGCC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACGGGGTTTGACTG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAACGGGTCGAGAGCA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGATGAGTTGAGAT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGATGCAACGATCT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGATGCACTCTGTC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGCAAAGACACTAA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGCAACAATCTACG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGCAACACTGAAGG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGCAATCGTCCAGG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGTAGAGGAGCGAG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGTAGCAAGGCTCC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGTAGCATATGAGA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGTAGGTTATCGGT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAAGTAGGTTCTCATT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAATGCCGTCGTGGCT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAATGCCGTGAGTGAC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACACGTAGCCACGCT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACACGTAGCTGAACG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACACGTAGGCCATAG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACACGTGTCGTTGTA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACACGTTCCAAACAC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACACGTTCTAAGCCA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACACGTTCTGTCTCG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCATGAGTCATGCT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCATGCACGCTTTC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCATGCATCCCACT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCATGGTAATCGTC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCATGGTTAAGAAC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCATGTCCTCTAGC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCGCGAGGTGCACA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCGCGCACCCAGTG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCGCGGTGCTAGCC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCGCGTCATCTGTT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACCGCGTCCCAGGTG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACGTTGAGGGAAACA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACGTTGCAATGGATA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACGTTGCAGCTTCGG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCAGAGTGTGAAT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCAGAGTTGAGAT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCAGCAAACAACA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCAGTCCTTAATC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCCCAGCCCAGCT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCCCCAAACTGTC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCCCGTAGCTGCC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCCCGTCAGAAGC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCCCGTGATGTGG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCTTAGGCACATG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCTTAGTTCGCGC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCTTCAGGTCCAC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCTTCATGCAACT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCTTGTTCGTCTC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCTTGTTGTCGCG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTCTTTCGACGGAA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTGGTAGCGTAATA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTGGTAGCTGCGAA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTGGTCACGAAGCA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTGGTTCCTGCAGG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTGGTTCGCCTGTT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTGGTTCTCACATT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTTTCAGACCACGA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTTTCAGCGAGAAA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTTTCAGGAGTAGA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTTTCCATACGCTA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTTTCCATCCTTGC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTTTCGTCTTCTCG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AACTTTCGTGCAACTT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGACCTAGGGAACGG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGACCTAGTTGCAGG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGACCTCACATGGGA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGACCTGTTCCACAA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGACCTTCCGTAGGC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGACCTTCGGCATCG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGACCTTCGGTGTTA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGACCTTCTTGTATC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGCCGCAGGGTTTCT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGCCGCCAAACAACA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGCCGCCAACAACCT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGCCGCGTCACACGC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGCCGCGTGCCTGTG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGCCGCTCAGAGGTG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGCCGCTCCGAAGAG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGCCGCTCCTGTAGA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGGAGCAGGTGATTA-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGGAGCCATATGCTG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGGAGCGTTACCGAT-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGGCAGAGATGAGAG-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGGCAGCAGACAAGC-1-Oetjen_A"}
{"file_path": "https://nxc-fredato.imbi.uni-freiburg.de/s/EwMJnjQqzNYZj9c/download", "sample_id": "AAGGTTCAGCCCAGCT-1-Oetjen_A"}

Description

This dataset contains RNA sequencing data (or actually references to anndata files stored on a cloud). It is a dataset supposed to be used for testing and held-out from training.

The Test data is partly taken from the cellwhisperer project (bowel disease dataset) and from Luecken et. al. It was processed and converted into a Hugging Face dataset using the adata_hf_datasets Python package. The dataset can be used to train a multimodal model, aligning transcriptome and text modalities with the sentence-transformers framework. See mmcontext for examples on how to train such a model.

The anndata objects are stored on nextcloud and a sharelink is provided as part of the dataset to download them. These anndata objects contain intial embeddings generated like this: Embeddings were generated with the InitialEmbedder class for methods: ['hvg', 'pca']. Each method stored its embeddings in the corresponding adata.obsm key. These initial embeddings are used as inputs for downstream model inference. $caption_info

Source

  • Original Data: CZ CELLxGENE Discover: A single-cell data platform for scalable exploration, analysis and modeling of aggregated data CZI Single-Cell Biology, et al. bioRxiv 2023.10.30 Publication

    Bowel Disease: Parikh, Kaushal, Agne Antanaviciute, David Fawkner-Corbett, Marta Jagielowicz, Anna Aulicino, Christoffer Lagerholm, Simon Davis, et al. 2019. “Colonic Epithelial Cell Diversity in Health and Inflammatory Bowel Disease.” Nature 567 (7746): 49–55 GEO accession

    Other Test Data: Luecken, Malte D., M. Büttner, K. Chaichoompu, A. Danese, M. Interlandi, M. F. Mueller, D. C. Strobl, et al. “Benchmarking Atlas-Level Data Integration in Single-Cell Genomics.” Nature Methods 19, no. 1 (January 2022): 41–50. Publication.

  • Annotated Data: Cell Whisperer: Multimodal learning of transcriptomes and text enables interactive single-cell RNA-seq data exploration with natural-language chats Moritz Schaefer, Peter Peneder, Daniel Malzl, Mihaela Peycheva, Jake Burton, Anna Hakobyan, Varun Sharma, Thomas Krausgruber, Jörg Menche, Eleni M. Tomazou, Christoph Bock Publication Annotated Data: CellWhisperer website

  • Embedding Methods: scVI: Lopez, R., Regier, J., Cole, M.B. et al. Deep generative modeling for single-cell transcriptomics. Nat Methods 15, 1053–1058 (2018). https://doi.org/10.1038/s41592-018-0229-2 geneformer: Theodoris, C.V., Xiao, L., Chopra, A. et al. Transfer learning enables predictions in network biology. Nature 618, 616–624 (2023). Publication

  • Further important packages anndata: Isaac Virshup, Sergei Rybakov, Fabian J. Theis, Philipp Angerer, F. Alexander Wolf. anndata: Annotated data. bioRxiv 2021.12.16.473007 Publication scnapy: Wolf, F., Angerer, P. & Theis, F. SCANPY: large-scale single-cell gene expression data analysis. Genome Biol 19, 15 (2018). Publication

Usage

To use this dataset in Python:

from datasets import load_dataset

dataset = load_dataset("jo-mengr/Immune_ALL_human_single")

The anndata reference is a json string which contains a share_link to the remotly stored anndata object. It can be obtained like this:

import json
import anndata
import requests

# hf makes a
adata_ref = json.loads(dataset["train]["anndata_ref"][0])
share_link = adata_ref["file_path"]
sample_id = adata_ref["sample_id"]
save_path = "data"
response = requests.get(share_link)
if response.status_code == 200:
  # Write the content of the response to a local file
  with open(save_path, "wb") as file:
    file.write(response.content)
else:
  print("Failed to read data from share link.")

adata = anndata.read_h5ad(save_path)
# The dataset contains several pre-computed embeddings. Lets for example get the embeddings computed with "scvi":
sample_idx = adata.obs.index == sample_id
sample_embedding = adata.obsm["X_scvi"][sample_idx]
# This sample embedding is described the the caption (loaded above)
# Note that you can cache your anndata files so you don't need to reload the anndata object if the filepath is still the same.
Downloads last month
0