dandelion.base.io.read_bd_airr
- dandelion.base.io.read_bd_airr(file, prefix=None, suffix=None, sep='_', remove_trailing_hyphen_number=False, verbose=False)[source]
Read the TCR or BCR _AIRR.tsv produced from BD Rhapsody technology.
- Parameters:
file (Path | str) – path to _AIRR.tsv
prefix (str | None, optional) – Prefix to append to sequence_id and cell_id.
suffix (str | None, optional) – Suffix to append to sequence_id and cell_id.
sep (str, optional) – the separator to append suffix/prefix.
remove_trailing_hyphen_number (bool, optional) – whether or not to remove the trailing hyphen number e.g. ‘-1’ from the cell/contig barcodes.
verbose (bool, optional) – whether or not to print messages during creation of the Dandelion object.
- Returns:
Dandelion object from BD AIRR file.
- Return type:
Dandelion