scirpy.io.from_dandelion¶
-
scirpy.io.from_dandelion(dandelion, transfer=False)¶ Import data from Dandelion ([SRB+21]).
Note
- Reading data into Scirpy has the following constraints:
Each cell can have up to four productive chains chains (Dual IR): two VJ and two VDJ chains.
Excess chains are ignored (those with lowest read count/UMI count) and cells flagged as Multichain-cell.
Non-productive chains are ignored.
Chain loci must be valid IGMT locus names.
Excess chains, non-productive chains, or chains with invalid loci are serialized to JSON and stored in the
extra_chainscolumn. They are not used by scirpy except when exporting theAnnDataobject to AIRR format.
For more information, see Immune receptor (IR) model.
- Parameters
- dandelion
a
dandelion.Dandelioninstance- transfer
Whether to execute
dandelion.tl.transferto transfer all data to theanndata.AnnDatainstance.
- Return type
- Returns
A
AnnDatainstance with AIRR information stored inobs.