FreeBSD Manual Pages
blt vcf-downsample(1) General Commands Manual blt vcf-downsample(1) SYNOPSIS blt vcf-downsample desired-count < input.vcf > output.vcf DESCRIPTION blt vcf-downsample Outputs a uniformly random sample of roughly de- sired-count VCF calls from the input. The strategy involves generating a random number which is compared to desired-count / original-count for each input VCF call, and outputting it only if the random number is less. As a result, the actual number of output calls is usually not exactly desired-count, but is usually within a few percent. The program is quite fast, so if the actual count is too far off for your needs, one strategy is to simply discard the output and try again. Currently only single-sample VCFs are supported. Multi-sample VCFs will be supported if and when a need is encountered. EXAMPLES blt vcf-downsample 1000 < input.vcf > output.vcf SEE ALSO blt(1) AUTHOR J. Bacon blt vcf-downsample(1)
SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO | AUTHOR
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=blt-vcf-downsample&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>