strg2vcf {poolHelper} | R Documentation |
Create vcf string for a single SNP
Description
Creates a string with the information for a single SNP. The information is coded as R,A:DP. R is the number of reads of the reference allele, A is the number of reads of the alternative allele and DP is the total depth of coverage.
Usage
strg2vcf(reference, alternative, total)
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 |
total |
an integer representing the total number of reads observed at this SNP. |
Value
a character string coded as R,A:DP.
[Package poolHelper version 1.1.0 Index]