hardclip_correct_umi_features | R Documentation |
This function identifies and corrects for hard clipped bases in the UMI (Unique Molecular Identifier) features within sequencing data. Hard clipping, indicated by 'H' in the CIGAR string of a BAM file, refers to bases of the sequence that are not aligned to the reference genome and are therefore not included in the read. This function adjusts the UMI feature sequences accordingly to ensure that only the aligned portions of the UMIs are considered in downstream analyses. The function applies corrections to both 'ce' and 'cd' UMI feature columns in the provided dataframe.
hardclip_correct_umi_features(df)
df |
data.frame converted from lists-of-lists (scanBam) |
data.frame with corrected UMI features
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.