scirpy.datasets.vdjdb#
- scirpy.datasets.vdjdb(cached=True, *, cache_path='data/vdjdb.h5ad')#
Download VDJdb and process it into an AnnData object.
VDJdb [BVS+19] is a curated database of T-cell receptor (TCR) sequences with known antigen specificities.
- Parameters:
cached (
bool
(default:True
)) – IfTrue
, attempt to read from thedata
directory before downloadingcache_path (default:
'data/vdjdb.h5ad'
) – Location where the h5ad object will be saved
- Return type:
- Returns:
An anndata object containing all entries from VDJDB in
obsm["airr"]
. Each entry is represented as if it was a cell, but without gene expression. Metadata is stored inadata.uns["DB"]
.