Entering edit mode
10.8 years ago
I have downloaded a subset of data I need to keep from a dataset and it has saved the file as ".txt", how do I convert the .txt file to .BED file so I can use the bed file for further QC testing?
You'll need to post a portion of the text file to get any help. Even .bed files are text files.
Sure. Here's a portion of the text file:
I have no idea what those are IDs for and google only finds them in this post. You'll need to mention where you got this or what the nature of these IDs are.
BED format description here. As a minimum you require chromosome, start and end positions. Do these exist in your file? If not, you cannot convert directly.
PLINK .bed (for "binary .ped") is not the same thing as UCSC BED (for "Browser Extensible Data") format...
Right. Original questioner needs to clarify that (I see plink as a tag, but need more information than that).
My apologies and am using plink so the files I need are .bed. The file I have kept from the binary dataset is a .txt file and I then need to QC on the extracted data. The first QC I need to perform is a MAF (plink --file mydata --maf 0.05) but it states I cannot do this because I do not have a .ped file, so do I need to create a .ped or .bed file for this?