Thank you for your response. I have gone through all the links you provided all and above and I did not find any solution to my issue.
I ran an imputation similar to your code in the second link(2). I used -phase option for the imputation.
My issue with converting IMPUTE2 output to VCF file with SHAPEIT is associated with the fact that I do not have any files as [input.haps].
The imputation output files are: data.impute2, data.impute_haps, data.impute_info and data.impute_info_by_sample, .summary and .warning. and all these files are saved in a separate impute output folder for each chromosome. Additionally, shapeit asks for [impute.sample] file, which is not produced by IMPUTE2 from the imputation but from the pre-phasing with shapeit (one step before imputation).
I was following the qctool approach mentioned here How to convert IMPUTE2 to VCF format but the qctool didn't accept the data.impute2 format.
--- 1:10177:A:AC 10177 A AC 0.455 0.543 0.002
I do appreciate it if you could let me know if I am missing anything in converting the IMPUTE2 output file to VCF using shapeit.
IMPUTE2 should produce output in GEN format. How have you run IMPUTE?, i.e., how was
HELLO.impute2produced?you could run genipe to get the imputed file with .impute2 suffix
Have you found the answer? I have the same issue with you.
Have you found the answer? I am also facing the same issue. The format of my .impute2 file is:
Sorry for late reply. I thought I did not use qctool package afterwards since I can not solve the problem. As the answer from @Kevin Blighe, I think I use plink to do it and some options needed like --allow-extra-chromosome something like that. Hope it helps.