21 #define COMPAREFUNC (int (*)(const void *, const void *)) 24 #define FILENAMELEN 100 27 #define SEPARATORS " \t\n\r\f/" 28 #define WHITESPACE " \t\n\r\f" 31 #define SWTABLEMAX 10000 33 #define _NAN_ ((double) (6.66666e-66)) 35 #define QTDTDATA "qtdt.dat" 36 #define QTDTPED "qtdt.ped" 37 #define QTDTIBD "qtdt.ibd" 38 #define QTDTRAW "regress.tbl" 39 #define GENIHDATAIN "genih.dat" 42 #define stricmp strcasecmp 47 #define XT_MAX_ALLELES 50 // Maximum alleles for crosstabulation 48 #define XT_VECTORSIZE 10000 // Total haplotypes in population 49 #define XT_POOLTRESH 7 // Threshold for pooling rare alleles 51 #define HV_MAXSIZE 100 // Haplotypes in single SimWalk pedigree 52 #define HV_INFOTRESH 75 // Percentage of loci typed 53 #define HV_STATELENGTH 100 // Markers per haplotype 54 #define HV_SKIPLINES 4 // lines to skip at bottom of family tree 56 #define HT_TABLE_SIZE 1000 57 #define HT_SKIP_LINES 9