Parse 10X bam file
parse_10x_sam(in_file_path, regex_str, cell_barcode_tag = "CR", umi_tag = "UR")A string, define the un-mapped sequences
A string, define the regular expression to match the barcode
sequence. The barcode sequence should be in the first catch. Please see the
bc_extract for detail.
A string, define the tag of 10X cell barcode field in sam file. The default is "CR".
A string, define the tag of UMI field in the sam file.
A data.frame with 4 columns:
cell_barcode: 10X cellular barcode.
umi: UMI sequence.
barcode_seq: lineage barcode.
count: reads count.