Learn R Programming

poolHelper (version 1.1.0)

strg2sync: 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)

Value

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

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.