This function takes a Gprobs Beagle output and rewrites the output.
subGprobs(file=NULL, vmmk=NULL, out=NULL, chunkSize=100000, removeInsertions=TRUE,
verbose = TRUE, writeOut=TRUE)
A rewritten beagle Gprobs file.
Location of the original Beagle file (String
).
Location of the Variant Map Master key (String
).
Name and location of the output file (String
).
For large Beagle files, the chunk size.
All Indels will be removed.
The function gives feedback.
Logical, write the output back to the HDD.
Daniel Fischer
This function takes a Beagle Gprobs file and rewrites the alleles from numerical to character, based on the information provided in a variant map master key. For larger files the function can process the rewriting in chunks in order to save memory.