Entering edit mode
6.4 years ago
OAJn8634
▴
60
Hi, I need to ensure that my current genetic data are aligned with build 37. For this I would like to use liftOver algorithm, which accepts BED file only. This file needs to contain three main columns: Chr, Chr Start and Chr End. However, I have not been able to find a way of creating such a file using my current Plink files (.fam, .bed. and .bim). I am sorry if this question is naïve or silly; I am very new to this type of analysis so I will be extremely grateful for any advice and suggestions. Many thanks. O
Hello,
You can use plink files directly for liftOver, have a look here
Thank you for your response. I have tried to employ information provided on this page but I find myself more confused than I already am. Following the instructions, I have run the following command:
However, I received the following message and error and I have no idea who to resolve it. Just to mention, that my data is indeed located in the directory where the liftOver and liftOverPlink are based
I will be grateful for your help. Thank you.
So, the error is really self-explanatory - there is no file called as "my_data" in the folder from where you are running the tool. Also, if you read the manual, it says the
--map
requires the file to be in plink MAP format and not the binary or bim format. So first, you will have to convertbim/bed/fam
tomap/ped
format and then try running the command.Thank you so much for this. I have now created the plink MAP and have managed to utilise the liftOver but the web-based tool (not the command-line). If you do not mind, would you be able to help me please to convert the BED file from the liftOver BED back to MAP and then
map/ped
back tobim/bed/fam
. I know you may sound silly and obvious, but this is the first time that I am doing this and I feel lost. Thank youAgain....... if you read the manual of liftOverPlink - it is all given very clearly how to do this with all the commands.
Of course, I will be happy to. My gwas data is currently in the standard plink format: my_data.bed, my_data.bim and my_data.fam.
The BED file that I generated using the liftOver looks like this:
My MAP file looks like this:
So now I do not know how to convert the liftOver BED file back to plink PED/MAP file and from there to bim/bed/fam. My understanding is that this conversion need to be made before I proceed with further analysis. Please do let me know if this is not sufficient and I will be happy o provide you with more details about my data. Thank you
So this does not look like a standard MAP file. Have a look at the file formats here and here
Hello, I have encountered the same problem now. I do not know how to convert the liftOver BED file back to plink PED/MAP file.I don't know if you solved it, I really need your help.Thank you!