R/imputationPipeline.R
runBeagle5.Rd
Impute with Beagle V5.0. Use an "imputation reference panel". Refer to Beagle documentation for meaning of arguments passed.
runBeagle5(
targetVCF,
refVCF,
mapFile,
outName,
nthreads,
maxmem = "500g",
impute = TRUE,
ne = 1e+05,
samplesToExclude = NULL
)
passes to Beagle `gt=targetVCF
`
passes to Beagle `ref=targetVCF
`
passes to Beagle `map=mapFile
`
passes to Beagle `out=outName
(don't put file suffix, Beagle adds *.vcf.gz
).
passes to Beagle `nthreads=nthreads
`
passes to java `-Xmx<maxmem>
`
passes to Beagle `impute=TRUE
`
passes to Beagle `ne=ne
`
NOTICE: This function is part of a family of functions ("imputation_functions"
) developed as part of the NextGen Cassava Breeding Project genomic selection pipeline.
For some examples of their useage:
Other imputation_functions:
convertDart2vcf()
,
convertVCFtoDosage()
,
createGenomewideDosage()
,
filter_positions()
,
mergeVCFs()
,
postImputeFilterBeagle4pt1()
,
postImputeFilter()
,
runBeagle4pt1GL()
,
splitVCFbyChr()