scirpy.io.TcrChain¶
-
class
scirpy.io.TcrChain(chain_type, *, cdr3=None, cdr3_nt=None, expr=None, expr_raw=None, is_productive=None, v_gene=None, d_gene=None, j_gene=None, c_gene=None, junction_ins=None)¶ Data structure for a T cell receptor chain.
- Parameters
- chain_type : {‘TRA’, ‘TRB’, ‘other’}
Literal[‘TRA’, ‘TRB’, ‘other’] Currently supported: [“TRA”, “TRB”, “other”]
- cdr3 :
str,NoneOptional[str] (default:None) Amino acid sequence of the CDR3 region
- cdr3_nt :
str,NoneOptional[str] (default:None) Nucleotide sequence fo the CDR3 region
- expr :
float,NoneOptional[float] (default:None) Normalized read count for the CDR3 region. Will be UMIs for 10x and TPM for SmartSeq2.
- expr_raw :
float,NoneOptional[float] (default:None) Raw read count for the CDR3 regions.
- is_productive :
bool,NoneOptional[bool] (default:None) Is the chain productive?
- v_gene :
str,NoneOptional[str] (default:None) gene symbol of v gene
- d_gene :
str,NoneOptional[str] (default:None) gene symbol of d gene
- j_gene :
str,NoneOptional[str] (default:None) gene symbol of j gene
- c_gene :
str,NoneOptional[str] (default:None) gene symbol of c gene
- junction_ins :
int,NoneOptional[int] (default:None) nucleotides inserted in the junctions. For type == TRA: nucleotides inserted in the VJ junction For type == TRB: sum of nucleotides inserted in the VD + DJ junction
- chain_type : {‘TRA’, ‘TRB’, ‘other’}
Methods