strg2sync: Create sync string for a single SNP

View source: R/functions_pool.R

strg2syncR Documentation

Create sync string for a single SNP

Description

Creates a string with the information for a single SNP. The information is coded as A-count:T-count:C-count:G-count:N-count:deletion-count. Note that we assume that the reference allele is always A and the alternative is always T.

Usage

strg2sync(reference, alternative)

Arguments

reference

an integer representing the number of reads with the reference allele.

alternative

an integer representing the number of reads with the alternative allele.

Value

a character string coded as A-count:T-count:C-count:G-count:N-count:deletion-count.


poolHelper documentation built on July 9, 2023, 6:23 p.m.