Do Phasing with SHAPEIT 发表于 2017-06-06 | 分类于 Cheetsheets 12345678910export JAVA_HOME=/home/wanglizhong/software/java/jre1.8.0_45;# beagle was used to improve genotype calls using genotype likelihoodsjava -jar beagle/4.1/beagle.27Jul16.86a.jar gl=1.vcf.gz out=1.genotype;# phase with shapeitshapeit --thread 4 --effective-size 14269 --input-vcf 1.genotype.vcf.gz -M genetic_map_b37/genetic_map_chr1_combined_b37.txt --output-max 1.shapeit.haps 1.shapeit.sample --output-log 1.shapeit.log# Convert the SHAPEIT haplotypes to vcf formatsshapeit -convert --input-haps 1.shapeit --output-vcf 1.shapeit.phased.vcf --output-log 1.shapeit.convert.log more about shapeit