View source: R/sequence_position_handling.R
get_mismatch_genomic_pos_list | R Documentation |
This function computes the genomic positions of mismatches in sequencing reads based on the MD tag from BAM files. The MD tag describes how the read aligns to the reference genome, including mismatches. The function identifies these mismatches and computes their positions relative to the start of the alignment, aiding in variant calling and analysis of sequencing errors.
get_mismatch_genomic_pos_list(pos, MDtag)
pos |
Genomic position |
MDtag |
MD tag string from the BAM file that contains information about matches, mismatches, and deletions in the read alignment. |
A list of genomic positions where mismatches occur, corresponding to each MD tag provided.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.