Hi all
Currently I only have .ped and .map file with me and I want to generate .dat file. Can anybody tell me, how I can generate .dat file for my data, such that I can use it for imputation in MACH.
Thanks in advance,
Mandar R. Bobade
Hi all
Currently I only have .ped and .map file with me and I want to generate .dat file. Can anybody tell me, how I can generate .dat file for my data, such that I can use it for imputation in MACH.
Thanks in advance,
Mandar R. Bobade
These links explain it all:
http://www.sph.umich.edu/csg/abecasis/MACH/tour/input_files.html
http://www.sph.umich.edu/csg/abecasis/Merlin/tour/input_files.html
Data files can describe a variety of fields, including disease status information, quantitative traits and covariates, and marker genotypes. A simple MACH data file simply lists names for a series of genetic markers. Each marker name appears its own line prefaced by an " M " field code. Here is an example:
<Example of a simple data file>
M marker1
M marker2
...
<End of simple data file>
Here is an awk to convert .map
to .dat
:
awk '{print M $2}' mymap.map > mymap.dat
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Thank you Zx8754.
Hello @zx8754, hereafter converting the .map file to a .dat file and I'm trying to run the below command :
but throwing an error saying "ERROR: Bad format fdr dosage file, expecting more columns", What does it mean?