scirpy.io.read_airr¶
-
scirpy.io.
read_airr
(path)¶ Read AIRR-compliant data.
Reads data organized in the AIRR rearrangement schema.
- The following columns are required:
cell_id
productive
locus
consensus_count
at least one of
junction_aa
orjunction
.
- Currently, reading data into Scirpy has the following limitations:
only alpha- and beta TCR chains are supported. Other chains are ignored.
non-productive chains are removed
Each chain can contain up to two alpha and two beta chains (Dual TCR). Excess chains are removed (those with lowest read count/UMI count) and cells flagged as Multichain-cell.
For more information, see T-cell receptor model.
- Parameters
- Return type
- Returns
AnnData object with TCR data in
obs
for each cell. For more details see Data structure.