Open liubh9 opened 1 year ago
There are supposed to be more variant records in the imputed VCF than the original. These new records are imputed from the reference panel. If you are only wanting to impute missing genotypes of variants that already exist in your original VCF, then I would recommend using phasing software like Eagle (https://github.com/poruloh/Eagle). You should be using phasing software prior to using Minimac4 anyways. Mininac4 assumes the target VCF is phased.
What makes you beleive that your output is BCF? The CI tests use vcf.gz
output (https://github.com/statgen/Minimac4/blob/master/test/simple-test.sh#L21) without issue.
你好,我想知道您的这个问题最后怎么解决了
target vcf:
imputed vcf:
When I got the imputed vcf , I compared the stats files between target vcf and it. Then I found the imputed vcf file has nearly three times as many snps as the target vcf file, even after I used ![image](https://user-images.githubusercontent.com/120133000/222918153-2e11fe55-6f7d-4ee9-9163-d33406c52948.png)
--all-typed-sites
. Meanwhile, I also found a mini bug , the--output-format
doesn't work , so the output file is allways bcf format. The minimac version I used is v4.1.2, and the command are displayed below.