scirpy.datasets.iedb

Contents

scirpy.datasets.iedb#

scirpy.datasets.iedb(cached=True, *, cache_path='data/iedb.h5ad')#

Download IEBD v3 and process it into an AnnData object.

[VMO+19] is a curated database of T-cell receptor (TCR) sequences with known antigen specificities.

Parameters:
  • cached (bool (default: True)) – If True, attempt to read from the data directory before downloading

  • cache_path (default: 'data/iedb.h5ad') – Location where the h5ad object will be saved

Return type:

AnnData

Returns:

An anndata object containing all entries from IEDB in obsm["airr"]. Each entry is represented as if it was a cell, but without gene expression. Metadata is stored in adata.uns["DB"].