The first 5 columns in both files are consistent with the pre-MAKEPED LINKAGE pedigree.
The rest of the first file contains the marker information, whereas the rest of the second file contains three extra columns: affection status, age and the daily packs of cigarette consumed (-1 for unknown).
The script listed below will generate a liability class number according to the information in the second file. There will be 5 liability classes: unknown, young-light-smokers, old-light-smokers, young-heavy-smokers, old-heavy-smokers. One also needs to choose 5 sets of penetrance values to be included in the LINKAGE parameter file (not included in this script).
This is a companion page for W Li, F Haghighi, "Perl as a tool for linkage analysis", American Journal of Human Genetics, supplement to vol 65, page A260 (1999) (poster number 1452 at the Annual Meeting of American Society of Human Genetics 1999, San Francisco, CA)