I've tried the following code:
plink --gen file_chr10.gprobs.gz --sample file.sample --oxford-single-chr 10 --make-bed --out output
It started converting variants, but then it gave an error:
Error: File read failure.
And I don´t know why it gives this error.
I think it could be because I didn't extract the sample.gz file, because it gives me an error, instead I did less file.sample.gz > file.sample
Any lead about how to extract properly the file.sample.gz? I've tried gunzip and other tools
Hi @lauretomas,
Do you reckon any tools/scripts described in the previous post would help? Converting Between Impute2 And Ped/Map After Imputation - 1St Column Dashes Problem
Thanks. I have seen that post, and tried some tools from there, but I lost some information in the process so I posted my own question to see if anyone know a direct conversion for my data, that is not the same that the one in that post.
How Can I Convert Impute2 (.Haps .Sample) To Plink (.Map .Ped)?