GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
blt vcf-downsample(1) FreeBSD General Commands Manual blt vcf-downsample(1)

blt vcf-downsample desired-count < input.vcf > output.vcf

blt vcf-downsample Outputs a uniformly random sample of roughly desired-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.

blt vcf-downsample 1000 < input.vcf > output.vcf

blt(1)

J. Bacon

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.