tidesurf.counter.UMICounter#
- class tidesurf.counter.UMICounter(transcript_index: TranscriptIndex, orientation: Literal['sense', 'antisense'], min_intron_overlap: int = 5, multi_mapped_reads: bool = False)#
Bases:
objectCounter for unique molecular identifiers (UMIs) with reads mapping to transcripts in single-cell RNA-seq data.
- Parameters:
- transcript_index TranscriptIndex
Transcript index.
- orientation Literal['sense', 'antisense']
Orientation in which reads map to transcripts.
- min_intron_overlap int
Minimum overlap of reads with introns required to consider them intronic (default:
5).- multi_mapped_reads bool
Whether to count multi-mapped reads (default:
False).
Attributes
Minimum overlap of reads with introns required to consider them intronic.
Whether to count multi-mapped reads.
Orientation in which reads map to transcripts.
Transcript index for extraction of overlapping transcripts.
Methods
count(bam_file[, filter_cells, whitelist, ...])Count UMIs with reads mapping to transcripts.