I would like to apply qctool software from .impute2 format to .bgen format. However,
qctool -g HELLO.impute2 -og HELLO.bgen
Error comes out:
!! Error (genfile::BadArgumentError): In argument(s) filetype_hint="guess", inferred type = "" to function genfile::SNPDataSource::create(): Unrecognised file type..
So I should transform the .impute2 format to .gen format then to .bgen format.
But I checked on the file that the format of impute2 is same as gen format.
So anyone know how to apply the qctool package to the .impute2 file