vcfrandomsample
Contents
Description
Randomly sample sites from an input VCF file, which may be provided as stdin. Scale the sampling proba‐
bility by the field specified in KEY. This may be used to provide uniform sampling across allele fre‐
quencies, for instance.
Exit Values
0 Success
not0 Failure
License
Copyright 2011-2024 (C) Erik Garrison and vcflib contributors. MIT licensed. Copyright 2020-2024 (C)
Pjotr Prins.
Name
vcfrandomsample
Options
options:
-r, --rate RATE base sampling probability per locus
-s, --scale-by KEY scale sampling likelihood by this Float info field
-p, --random-seed N use this random seed (by default read from /dev/random)
-q, --pseudorandom-seed use a pseudorandom seed (by default read from /dev/random)
Other
See Also
vcflib(1)
Synopsis
vcfrandomsample options []
