Thank you for your detailed answer. I start understanding how mega2 works. Not exactly as I would have expected.
I followed the procedure until the input files (PLINK format are read). However I get the following errors (see below):
Input Format: PLINK binary PED format (bed)
Pedigree and map files specified as PLINK format.
omit, penetrance, and frequency files are always in Mega2 format.
Input files will be read in as PLINK or Mega2 format files as appropriate.
Reading PLINK map file for names: MY_PATH/autosomes.bim
===== Errors/warnings of type "read_names":
ERROR: Line 2029912: Found fewer than 2 columns (at least 2 required).
ERROR: Line 2087807: Found fewer than 2 columns (at least 2 required).
ERROR: Line 2087808: Found fewer than 2 columns (at least 2 required).
ERROR: Line 3817214: Found fewer than 2 columns (at least 2 required).
ERROR: Line 4326159: Found fewer than 2 columns (at least 2 required).
ERROR: Line 4596305: Found fewer than 2 columns (at least 2 required).
ERROR: Line 6883409: Found fewer than 2 columns (at least 2 required).
ERROR: Line 8097321: Found fewer than 2 columns (at least 2 required).
ERROR: Line 12143854: Found fewer than 2 columns (at least 2 required).
ERROR: Line 15120021: Found fewer than 2 columns (at least 2 required).
===== Too many "read_names" records, display is temporarily suspended ..
===== 24 total records of type "read_names" are in MEGA2.ERR
Found lines with less than 2 columns, see MEGA2.ERR for details.
ERROR: Found fatal errors in locus file.
ERROR: Please fix errors and restart.
ERROR: mrecode.cpp:3001 Mega2 terminated. Error "INPUT_DATA_ERROR" (#4).
===========================================================
I looked into the .bim file at the mentioned lines
/mega2_v5.0.0_src/example$ sed -n 2029912p MY_PATH/autosomes.bim
1 1:240676261_G_C 0 240676261 G C
mega2_v5.0.0_src/example$ sed -n 2087807p MY_PATH/autosomes.bim
1 1:246174604_T_G 0 246174604 G T
mega2_v5.0.0_src/example$ sed -n 2087808p MY_PATH/autosomes.bim
1 1:246174989_TAGG_T 0 246174989 T TAGG
/mega2_v5.0.0_src/example$ sed -n 3817214p MY_PATH/autosomes.bim
2 2:180341915_C_T 0 180341915 T C
Not sure why these errors occur for these lines, while they are pretty much the same as others. Any ideas ?