This command converts a phased vcf file to bgen v. 1.3 with phased haplotypes.
The vcf file must be a valid vcf file, with children haplotypes phased.
java -Xmx16G -cp your/folder/triogen-X.Y.Z/triogen-X.Y.Z.jar no.uib.triogen.cmd.vcf_to_bgen.VcfToBgen [parameters]
Note: you need to replace
your/folder
by the folder where the release is installed, andZ.Y.Z
by the version number.
-h/--help Display help text
-v/--version Display version
-i/--input The vcf file.
-o/--output The bgen file.
Since genotyping probabilities are not phased, only hard-called genotypes are exported. Pobabilities are coded using an 8 bits precision. Genotypes are compressed using Zstd.
To improve the performance of this step and all downstream work on the bgen files, please consider removing low maf and low quality variants from the vcf file before processing.
A bgen file and an index file containing the location of every variant.