gbs | R Documentation |
Genotype calls for genotype-by-sequencing (GBS) data
gbs(
in.file,
out.file,
ploidy,
bias = TRUE,
n.core = 1,
chunk.size = 1000,
silent = FALSE,
model.fit = TRUE
)
in.file |
VCF input file |
out.file |
VCF output file |
ploidy |
ploidy |
bias |
TRUE/FALSE, whether to estimate allelic bias |
n.core |
number of cores |
chunk.size |
number of variants to process at a time |
silent |
TRUE/FALSE |
model.fit |
TRUE/FALSE |
VCF input file must contain AD field. Variants with more than 2 alleles are coerced to zero DP, so better to filter them out first.
Posterior mode and mean genotypes are added as GT and DS fields. GQ is also added based on probability of posterior mode. Binomial calculation uses R/updog package (Gerard et al. 2018) with "norm" prior. Previous INFO is discarded; adds NS, DP.AVG, AF.GT, AB, OD, SE.
When model.fit is FALSE, the software uses AB, OD, and SE parameters from INFO.
The input file is processed in chunks of size chunk.size
.
nothing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.