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
VCF2HAP(1) FreeBSD General Commands Manual VCF2HAP(1)

VCF2HAP - Generate haplotype file from a VCF

vcf2hap [--xz] sample-ID < sample.vcf[.xz] > sample.hap
bcftools view sample.bcf | vcf2hap sample-ID > sample.hap

--xz
VCF input is compressed with xz

vcf2hap is a simple tool for generating a .hap file as required by haplohseq from a VCF input, which is assumed to be phased.

The sample-ID provided on the command line is a arbitary string which will be included in the .hap output.

Specify the --xz flag if the input is xz-compressed.

vcf2hap is extremely fast (about 19 times faster than format_hap.py) and requires a trivial amount of memory regardless of the size of the VCF file. Performance is important as it is often necessary to haplotype tens of thousands of large VCF files.

haplohseq, ad2vcf, vcf-split, biolibc

Please report bugs to the author and send patches in unified diff format. (man diff for more information)

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.