File: ChangeLog

package info (click to toggle)
gmap 2012-06-12-1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy
  • size: 22,452 kB
  • sloc: ansic: 366,773; sh: 10,192; perl: 4,953; makefile: 356
file content (19048 lines) | stat: -rw-r--r-- 652,162 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
2012-06-12  twu

    * VERSION, trunk: Updated version

    * Makefile.gsnaptoo.am: Removed extra includes of cmet and atoi files for
      GMAP

    * oligoindex_hr.c: Getting the final oligomers when computing mappings

    * stage3.c: Fixed computation of mappingstart and mappingend for traversing
      dual breaks on crick strand

    * stage1.c: Restoring old scan ends algorithm

2012-06-11  twu

    * stage1hr.c: Removed unused debugging macro

    * stage3.c: In trimming novel splice ends, allowing perfect matches to
      extend into intron

    * psl_introns.pl.in: Added print command

    * Makefile.gsnaptoo.am: Added file dependencies

    * stage3.c: Using QUERYEND_NOGAPS for pass 9a and pass 9b for GSNAP, so
      trimming will work.  Fixed computation of mappingstart and mappingend in
      traverse_dual_break.

2012-06-07  twu

    * Makefile.dna.am, stage3hr.c: Adding an absolute sufficient minlength for a
      terminal, besides using querylength

    * VERSION, config.site.rescomp.tst, index.html: Updated version number

    * src: Committing property changes from last merge

    * gmap.c: Increased max_nalignments from 3 to 10

    * stage1hr.c: Fixed bug in find_terminals, where querypos3 was used to
      compute start_endtype and querypos5 was used to compute end_endtype,
      instead of querypos5 and querypos3, respectively.

    * stage3hr.c: Allowing both ends to be of type TERM in a terminal, and
      checking for mismatches only between the trimmed ends.  Requiring that
      final length is querylength/3.

    * dynprog.c: Dropped mismatch scores, which helps GMAP extend ends and find
      chimeras.

    * stage3.c: Changed endalign for pass 9a and 9b from QUERYEND_NOGAPS to
      BEST_LOCAL.  This fixes an issue in GMAP where ends are truncated, and
      chimeras not found, as introduced in revision 64732 on 2012-05-22.

2012-06-06  twu

    * stage2.c: Fixed bug in condition on suboptimal stage 2 paths, where we
      were requiring fewer than max_nalignments results plus the score ==
      bestscore.  The condition should have been a disjunction, not a
      conjunction.

    * stage1hr.c: Skipping computation of GMAP on single-end terminal
      alignments, since that is a duplication of effort

    * stage1hr.c, stage3hr.c, stage3hr.h, substring.c, substring.h: Restored
      assignment of endtypes to terminal alignments.  Using them again determine
      whether to extend terminals left or right for GMAP alignments.

    * stage1hr.c: Integrated two criteria for finding terminals: old method
      based on counting mismatches from ends, and new method based on width of
      (querypos3 - querypos5).

2012-06-05  twu

    * stage3.c: Fixed bug in local chimera alignment with uninitialized value
      for genomicseg_ptr

2012-06-02  twu

    * genome.c: Added assertions to Genome_get_char and Genome_get_char_blocks
      to check for negative coordinates

    * dynprog.c: Removed debugging statements

    * stage3.c: Fixed get_genomic_nt to check for both genomicpos between 0 and
      genomiclength, and pos between chroffset and chrhigh

    * dynprog.c: Fixed get_genomic_nt to check for both genomicpos between 0 and
      genomiclength, and pos between chroffset and chrhigh

    * VERSION, index.html: Updated version number

    * dynprog.c, stage3.c: Checking only for genomepos < 0 in get_genomic_nt,
      not for chrpos between chroffset and chrhigh, which may need further
      debugging for chimeras.

    * dynprog.c: Checking for genomepos < 0 in get_genomic_nt.

    * stage3.c: For Stage3_extend_left and Stage3_extend_right, using
      get_genomic_nt instead of going directly to Genome_get_char.  Checking for
      genomepos < 0 in get_genomic_nt.

    * stage3hr.c: In Stage3pair_remove_overlaps, allowing separate pair to
      subsume overlapping pair only if it is better

2012-06-01  twu

    * stage3.c: Fixed check of chrpos to compare genomicpos against chrhigh

    * dynprog.c: Fixed check of chrpos to compare genomicpos against chrhigh

    * dynprog.c, stage3.c: Checking for chrpos between 0 and chrhigh - 1,
      inclusive

    * dynprog.c, dynprog.h, gmap.c, gregion.c, gregion.h, splicetrie.c,
      splicetrie.h, stage1hr.c, stage3.c, stage3.h: Passing chrhigh along with
      chroffset to all procedures

    * dynprog.c, genome.c: When chromosomal coordinate is negative, returns '*'
      instead of 'N'. Traceback procedures in dynamic programming will not add
      pairs with '*' genomic nucleotides.

    * util: Merged changes from last branch

    * config.site.rescomp.tst: Updated version number

    * README: Added note that MAX_READLENGTH applies only to GSNAP

    * VERSION, index.html: Updated version number

    * stage2.c, stage3.c: Merged changes from
      branches/2012-06-01-merge-single-gap to fix problems with merging single
      gap on minus strand

2012-05-31  twu

    * stage3.c: Protected another debugging statement from referring to
      genomicseg

    * gsnap.c: Fixed documentation for --fails-as-input flag.

    * gmap.c: Added --fails-as-input string to getopt processing.  Fixed
      documentation for --fails-as-input flag.

    * dynprog.c: Added messages to stderr before all abort statements

    * translation.c: Requiring translation_leftpos and translation_rightpos to
      be between 0 and querylength-1.

2012-05-25  twu

    * gmap_build.pl.in: If -k 15 specified, but not -b, setting basesize to be
      12

    * Makefile.gsnaptoo.am: Added uniqscan program

    * stage1hr.c: Decreased max_nalignments from 3 to 2

    * dynprog.c: For known splicesites, adjusted low and high boundaries so
      contlength is always between 0 and endlength-1, inclusive.

    * stage3.c: Not reducing genomejump at ends anymore

2012-05-23  twu

    * VERSION, index.html: Updated version number

    * gmap.c, stage1hr.c: Increased max_nalignments for stage 2 to 3

    * stage3hr.c: Turned off check for cdna_direction != 0 and SENSE_NULL in
      declaring a GMAP alignment as bad

    * stage3.c: Changed pass 9 from queryend_indels to queryend_nogaps, to avoid
      false positive indels at ends and to prepare for noncanonical end trimming

    * splicetrie.c: Improved debugging statements

    * pair.c: Added information about knowngapp and protectedp in printing pair
      information for debugging purposes

    * stage3.c: In trimming of noncanonical introns near end, making an
      exception for known introns

    * dynprog.c: Replaced noindel version of Dynprog_end_splicejunction
      functions with version allowing indels

    * stage3.c, stage3.h, stage3hr.c: In Stage3_bad_stretch_p, excluding trimmed
      regions on ends

    * uniqscan.c: Using new interfaces to setup procedures

    * stage1hr.c: Added debugging statements

    * genome_hr.c: Removed debugging statements

    * gamma-speed-test.c: Using new interface to setup procedures

    * dynprog.c, dynprog.h, stage3.c: Introduced new endalign type,
      QUERYEND_GAP, and using it in pass 8. Restored call of Dynprog_end
      procedures in trim ends using BEST_LOCAL, which does not try to find an
      intron.

    * stage3.c: Better handling of ends: pass 8, best_local plus known splicing;
      pass 9, queryend_indels; pass 10, queryend_nogaps.  Medial gap not using
      known splicing.  Simplified trim_ends procedure.  Not removing or
      re-inserting known intron gaps.  Bayesian computation of mapping scores
      for GMAP alignments.

    * splicetrie.c: Computing separate offsets for anchor and far splicesites
      for use in Dynprog_end_splicejunction procedures.  Not calling
      Dynprog_add_known_splice procedures.

    * pairdef.h, pairpool.c, pairpool.h: Added knowngapp field to Pair_T object

    * dynprog.c, dynprog.h: Allowing compute_scores procedures to work on
      genomicseg (for splicejunctions).  Added functions
      Dynprog_end5_splicejunction and Dynprog_end3_splicejunction to replace
      add_known_splice procedures. Calling traceback_local_nogaps in two parts. 
      Dynprog_end_gap procedures returning final score even for QUERYEND_INDELS.
       Made debugging statements work without genomicseg.

2012-05-21  twu

    * samprint.c: Checking if MD string output is empty and if so printing "0"

2012-05-19  twu

    * stage3hr.c: For paired-end reads, in cases of tie score, sorting results
      by genomic position

2012-05-18  twu

    * splicetrie_build.c: For intron-level splicing information, sorting
      individual splicesites by ascending genomic position

    * splicetrie.c, splicetrie.h: Computing spliceoffset needed to construct
      splicejunctions.  Calling Dynprog_local_nogaps procedures.  Requiring
      dynprog score > 0 on known splicejunctions.

    * dynprog.c, dynprog.h: Fixed bug in making A-G and C-T ambiguous scores for
      all modes. Implemented traceback procedure using given sequence and no
      gaps for handling known splicejunctions.  End dynamic programming
      procedure now returns a final score for queryend_nogaps endalign. 
      Implemented make_contjunction procedures to retrieve the continuous part
      of splicejunctions.  Made make_splicejunction_3 consistent with
      make_contjunction_3.

    * stage3hr.c: Turned off check for min_splice_prob on GMAP alignments, since
      it appears not to work for known splicesites

    * pair.c: Pair_dump_list now prints line to indicate start of list

2012-05-17  twu

    * dynprog.c: Handling cases where length1 == 0 or length2 == 0, which
      otherwise cause fatal errors

    * stage3.c: Setting use_genomicseg_p to false in all cases

    * stage2.c: Using Oligoindex_hr_tally even if user genomic segment provided

    * gmap.c: Computing genomicend even if user genomic segment provided

    * genome-write.c: Added extra 4 words to end of genome blocks to accommodate
      nextlow in Oligoindex_hr procedures

    * Makefile.gsnaptoo.am: Added source files for GMAP

2012-05-16  twu

    * VERSION, config.site.rescomp.prd, config.site.rescomp.tst, index.html:
      Updated version number

    * stage1.c, stage1.h: Added procedure for nonstranded alignment.  Turning
      off scan_ends algorithm and using only sampling.  Using indexdb size limit
      for standard mode, but not for cmet-nonstranded mode.

    * stage2.c: Looking up genomic nt for all alignment pairs in
      convert_to_nucleotides

    * uniqscan.c: Using new interfaces to setup routines

    * gsnap.c: Using new interfaces to setup routines

    * gmap.c: Using different indexdb size thresholds for standard and
      cmet-nonstranded modes

    * stage1hr.c: Using new interfaces to stage 2 procedures

    * stage3.c, stage3.h: Handling AMBIGUOUS_COMP the same as MATCH_COMP and
      DYNPROG_MATCH_COMP. Removed genomic_offset argument from Stage2_compute. 
      Fixed intermediate alignment results for debugging by returning pairs
      instead of path from path_compute.

    * oligoindex_hr.c, oligoindex_hr.h: Fixed Cmet_reduce commands for
      CMET_STRANDED mode

    * match.c: Fixed memory leak in a debugging procedure, Match_print

    * gregion.c, gregion.h: Made Gregion_filter_support function available
      again.  Added function Gregion_genestrand.

    * Makefile.dna.am, dynprog.c, dynprog.h, genome.c, genome.h, gmap.c,
      stage2.c, stage2.h: Added code to make GMAP work on cmet-stranded and
      cmet-nonstranded modes

2012-05-14  twu

    * stage3hr.c: Disallowing new Stage3pair_T object if its insertlength
      exceeds pairmax and we expect a concordant pair

    * Makefile.dna.am, block.c, block.h, boyer-moore.c, boyer-moore.h,
      config.site.rescomp.tst, dynprog.c, dynprog.h, genome-write.c,
      genome-write.h, genome.c, genome.h, genome_hr.c, genome_hr.h, gmap.c,
      gsnap.c, intlist.c, intlist.h, oligoindex.c, oligoindex.h,
      oligoindex_hr.c, oligoindex_hr.h, pair.c, pair.h, splicetrie.c, src,
      stage1.c, stage1.h, stage1hr.c, stage2.c, stage2.h, stage3.c, stage3.h,
      stage3hr.c, stage3hr.h, trunk, uniqscan.c, util: Merged revisions 63606 to
      64016 from branches/2012-05-08-genomic-nts to read genomic nt rather than
      generate genomicseg

2012-05-11  twu

    * archive.html, config.site.rescomp.tst, dynprog.c, index.html, src, trunk,
      util: Merged revisions 63773 through 63823 from
      branches/2012-05-10-better-affine-gap to make score matrix symmetric, put
      sequence2 in outer loop, fix boundary conditions, and improve efficiency

    * resulthr.c: Fixed uninitialized value for X2 on halfmapping_mult
      alignments

    * samprint.c: Fixed uninitialized value for X2 on halfmapping_uniq
      alignments

2012-05-08  twu

    * gtf_genes.pl.in, gtf_introns.pl.in, gtf_splicesites.pl.in: Made -E flag
      use exon_number field

    * gtf_genes.pl.in, gtf_introns.pl.in, gtf_splicesites.pl.in: Added -E flag
      to ignore exon_number fields in GTF file

2012-05-07  twu

    * VERSION: Updated version

    * oligoindex_hr.c: Reverting to version that zeroes out counts for oligomers
      that are overabundant or not in query

    * gmap.c, stage1hr.c, stage2.c, stage2.h: Providing a limit on the number of
      suboptimal alignments returned from stage 2.  Limit set to 2 for GMAP and
      1 for GSNAP.

    * gsnap.c: Added getopt handler for --sam-multiple-primaries

2012-05-03  twu

    * VERSION, config.site.rescomp.tst, dynprog.c, gmap.c, pair.c, pair.h, src,
      stage1hr.c, stage3.c, stage3.h, stage3hr.c, stage3hr.h, trunk, util:
      Merged revisions 63036 to 63240 from branchese/2012-05-01-affine-gap to
      implement an affine gap algorithm for dynamic programming

    * uniqscan.c: Using new interface to Stage1hr procedure that contains
      first_absmq as an argument

    * shortread.c: Generalized handling of old Illumina paired-end format ending
      in :0 or :<digit>.

    * genome.c: Fixed function Genome_fill_buffer_simple_alt so it returns
      ref+alt, instead of empty+alt.

    * indexdb.c: Made writing of offsetscomp file faster when blocksize == 1 (or
      k == b), by using a single write command instead of looping.

    * goby.c, outbuffer.c: Implemented patches for Goby 2.0

    * gmap.c, gsnap.c, outbuffer.c, pair.c, pair.h, result.c, result.h,
      resulthr.c, resulthr.h, samprint.c, samprint.h, stage1hr.c, stage1hr.h,
      stage3.c, stage3.h, stage3hr.c, stage3hr.h: Added flag
      --sam-multiple-primaries to allow multiple alignments to be marked as
      primary, if their mapping scores are equally good

    * shortread.c: Handling older style Illumina paired-end reads that end in
      ":0"

    * stage3.c: Fixed debugging statements

    * oligoindex_hr.c: Not zeroing out counts[i] for oligomers that are either
      overabundant or not in query.  Saves time in allocate_positions function
      and in store functions.

2012-04-28  twu

    * VERSION, config.site.rescomp.prd, config.site.rescomp.tst, index.html:
      Updated version

    * gmap.c: Using new interface to Stage3_compute

    * stage3hr.c, stage3hr.h: Using nmatches_posttrim (adjusted by scores for
      indels) to compare alignments, except for pre-final terminals.  Performing
      iteration in optimal_score procedures to use updated trim boundaries as
      poor alignments are removed.

    * stage3.h: No longer use nmatches_pretrim in Stage3_compute

    * stage3.c: Removed use of QUERYEND_INDELS at ends of reads, and using
      QUERYEND_NOGAPS instead, to reduce time spent in dynamic programming

    * stage1hr.c: Added usedp field to Segment_T object, and marking it true if
      the segment is used in making a Stage3end_T object.  Skipping these
      segments in finding terminals.

    * pair.c, pair.h: Added pos5 and pos3 arguments to Pair_nmatches

    * genome.c: Made uncompress_mmap faster by translating high and low words 16
      bits at a time.  Adding N's only if flags is not zero.

    * dynprog.c: Modified bridge_intron_gap so it searches for indels on left or
      right of splice, but not both.  Changes algorithm from quadratic to linear
      time.

2012-04-25  twu

    * stage1hr.c, stage3hr.c, stage3hr.h: Revisions made to hit_goodness_cmp and
      hitpair_goodness_cmp.  Using genomiclength in hit_goodness_cmp, final
      round.  For terminals, returning 0 in preliminary rounds.  Not using
      scores for terminals, and using scores only if GMAP or indels are
      involved.  In pair_up procedure, not using terminal scores to update
      found_score.

    * indexdb.c: Fixed uninitialized variables that caused problems with older
      GMAP indices

2012-04-23  twu

    * dynprog.c: Created separate functions, compute_scores_lookup_fwd and
      compute_scores_lookup_rev

    * splicetrie.c: Fixed calls to Dynprog_end5_gap and Dynprog_end3_gap to use
      endalign instead of to_queryend_p.

2012-04-20  twu

    * VERSION: Updated version

    * stage3hr.c: Added check for too many indel breaks in GMAP

    * stage1hr.c, stage3hr.c, stage3hr.h: Storing cdna_direction in hit of type
      GMAP and using it instead of sensedir when printing

2012-04-19  twu

    * VERSION, index.html: Updated version number

    * stage3.c: Turned off debugging

    * stage3.c: Fixed uninitialized variable in trim_novel_spliceends

    * dynprog.c, dynprog.h, stage3.c: Using correct endalign types in
      Dynprog_end5_known and Dynprog_end3_known

    * pair.c: Fixed issue with uninitialized variable in printing splicesite
      labels

2012-04-18  twu

    * result.c, result.h: Added mergedp variable

    * outbuffer.c, outbuffer.h: Handling results where mergedp is true

    * gmap.c: Allowing chimera finding to be turned off by setting -x to be 0.
      Added mergedp variable so merged alignments generate only a single result.

2012-04-16  twu

    * VERSION, config.site.rescomp.tst, index.html: Updated version

    * samprint.c: Handling case where clip-overlap results in a NULL substring

    * gmap.c: In call to Stage3_merge_local_single, clipping parts around
      breakpoint instead of chimerapos and chimeraequivpos, to avoid issues
      where maxpeelback is insufficient

    * stage3.c, stage3.h: Renamed variable from extendp to max_extend_p

    * get-genome.c: Added --forsam flag to generate header for SAM files

2012-04-11  twu

    * VERSION: Updated version

    * stage1hr.c: Fixed bug from uninitialized variable

    * gmap.c, stage3.c, stage3.h: Added a criterion for extending left and right
      chimera ends to consecutive mismatches, based on queryjump and genomejump
      being unequal.

2012-04-09  twu

    * gsnap.c, uniqscan.c: Using new interface to Stage3hr_setup

    * stage1hr.c: Finding terminals by a new method.  Instead of counting
      mismatches from end, requiring only that querypos3 - querypos5 is greater
      than index1part.  Now searching terminals on single-end reads even if a
      GSNAP alignment has been found.  Removed nsalvage == 0 requirement for
      searching terminals and paired-end reads.

    * substring.c, substring.h: Added procedure Substring_set_endtypes

    * stage3hr.c, stage3hr.h: Changed optimal score procedures to use max of
      max-terminal and min-other for prefinal rounds, and max of max-GMAP and
      min-other for final rounds.  For GMAP eventrim scores, not counting
      indels, and adding a penalty for long ambiguous ends, by dividing by
      index1part + (index1interval - 1).  Terminal alignments now compute their
      own endtypes.

2012-04-06  twu

    * stage2.c: Fixed fatal bug when looking for shifted canonical splice site
      by checking that rightpos is less than genomicend.

    * gmap.c, stage3.c, stage3.h: For chimeras, extending ends until three
      consecutive mismatches are found.  At final breakpoint, cleaning indels
      from ends.

2012-04-05  twu

    * stage1hr.c: For single-end reads, finding distant splicing only when no
      other hits have been found

    * VERSION, index.html: Updated version

    * pair.c, pair.h, stage3.c: Fixed bug in Stage3_mergeable where we require
      end1 and start2 pairs to be computed

2012-04-04  twu

    * index.html: Updated version

    * VERSION: Updated version

    * splicetrie.c: Allowing 1 mismatch in distal exon

    * stage3hr.c: Changed debugging statement to report score_eventrim

    * stage3.c: Rewrite trim_novel_spliceends to scan pairs first to find
      genomicpos bounds and then iterate through genomicpos.  Allowing
      pick_cdna_direction to return SENSE_NULL if no introns exist.

    * stage1hr.c: For GMAP terminals, also checking for a bad stretch in GMAP
      result after the call to align_halfmapping_with_gmap

    * stage3.c: Fixed bug in trim_novel_spliceends when pairs is NULL

    * stage3.c: Turned off trimming of novel splice ends for GMAP

    * index.html: Made changes to reflect new version

2012-04-03  twu

    * VERSION: Updated version

    * stage3hr.c: Fixed issue where no non-terminal alignment existed, resulting
      in using min trim length of MAX_READLENGTH

    * splicetrie.c: Allowing only 1 mismatch (previously 2) in internal splice
      region of 6 bp, and no mismatches in external splice region (previously
      depended on extension).  This avoids bad splicing due to poor gene models.

    * pair.c, pair.h, stage3.c: Using pairs instead of pairarray in determining
      whether chimera ends are connectable

    * pair.c, pair.h, stage3hr.c: Counting indels in GMAP alignments only within
      eventrim region

    * stage3.c: Added function trim_novel_spliceends

    * pair.c: Requiring that cdna_direction not be zero when printing splice
      site probabilities at the ends

2012-04-02  twu

    * VERSION, chimera.c, chimera.h, gmap.c, outbuffer.c, pair.c, pair.h,
      pairpool.c, pairpool.h, src, stage1hr.c, stage3.c, stage3.h, stage3hr.c,
      stage3hr.h, trunk, util: Merged revisions 60621 to 60936 from
      branches/2012-03-27-gmap-chimeras to improve GMAP chimeras and to apply a
      uniform eventrim procedure in stage 3 optimal score procedures

2012-03-30  twu

    * gamma-speed-test.c: Added to SVN repository

    * atoiindex.c, cmetindex.c, config.site.rescomp.tst, configure.ac, gmap.c,
      gsnap.c, indexdb.c, memory-check.pl, pdldata.c, snpindex.c: Added
      --enable-mmap flag to configure.  Added small fixes to allow programs to
      work without mmap.

    * stage3hr.c: Allowing trimming on both ends of a terminal alignment

    * pair.c: Handling case where hard clipping is not possible

2012-03-27  twu

    * stage1hr.c: Handling the case where GMAP alignment is attempted on a
      translocation

2012-03-23  twu

    * VERSION, index.html: Updated version

    * stage1hr.c: Added multiple checks for GMAP bad stretch

2012-03-22  twu

    * index.html: Updated for latest version

    * stage1hr.c: Fixing fatal bug when max_end_insertions is set to less than 3

2012-03-21  twu

    * VERSION: Updated version

    * index.html: Updated for new version

    * gsnap.c: Reduced default value of distant-splice-penalty from 2 to 1

    * gsnap.c: Reduced default value of distant-splice-penalty from 3 to 2

    * stage1hr.c: Changed criterion for GMAP salvage from
      Stage3end_bad_stretch_p to Stage3end_score > cutoff_level, because
      previous criterion caused GSNAP to miss distant splicing

    * archive.html: Updated for new version

    * index.html: Updated for new version

    * dbsnp_iit.pl.in: Checking whether the exceptions field is defined in the
      snp file

2012-03-20  twu

    * gmap.c, outbuffer.c, stage3.c, stage3.h: Removed some unused parameters

    * VERSION: Updated version

    * stage3hr.c: Changed score for GMAP alignments to be post-trim matches
      minus penalties for splicing and indels.  Allowing Stage3end_bad_stretch_p
      to handle GMAP alignments.

    * stage3.c: Not doing any peelback on the extension after trim_ends

    * stage1hr.c: Moved check for GMAP bad stretch from elimination as a very
      bad alignment to a salvage status

    * dynprog.h: Added comment

2012-03-19  twu

    * pair.c, pair.h, stage3.c: Added an extend step after the ends are trimmed,
      to get as long an extension as possible.

    * stage1hr.c, stage3.c, stage3.h: Added a check for GMAP alignment length,
      in addition to the bad stretch check

    * gmap.c: Using new interface to Stage3_compute

    * substring.c: Added comment

    * stage1hr.c, stage3.c, stage3.h, stage3hr.c, stage3hr.h: Removed
      computation of gmap_nconsecutive, and implemented Stage3_bad_stretch_p to
      evaluate GMAP alignments instead.

2012-03-16  twu

    * gff3_genes.pl.in, gff3_introns.pl.in, gff3_splicesites.pl.in: Filtering
      out comment lines beginning with '#'.

    * gff3_genes.pl.in, gff3_introns.pl.in, gff3_splicesites.pl.in: Printing
      results for last mRNA in each gene

2012-03-15  twu

    * stage3.c: In traversing dual break, accepting the stage 2 solution only if
      the entire query sequence is bridged

    * gff3_genes.pl.in, gff3_introns.pl.in, gff3_splicesites.pl.in,
      gtf_genes.pl.in, gtf_introns.pl.in, gtf_splicesites.pl.in: Made gff3 and
      gtf programs handle exons in arbitrary order

    * gtf_genes.pl.in, gtf_introns.pl.in: Checking for comment lines

    * gtf_genes.pl.in, gtf_introns.pl.in: Allowing GTF file to lack exon_number
      field

    * gtf_genes.pl.in: Checking both gene_name and gene_id to get gene name

2012-03-13  twu

    * gmap.c, inbuffer.c, inbuffer.h: Added -1 flag for self-align feature

2012-03-12  twu

    * configure.ac: Changed default value of MAX_READLENGTH from 200 to 250

    * README, config.site: Changed default value of MAX_READLENGTH from 200 to
      250

    * stage1hr.c: Added missing else statement

    * dynprog.c, splicetrie.c, splicetrie.h: Changed Splicetrie_solve_end5 and
      Splicetrie_solve_end3 to take triecontents, trieoffsets, and j, rather
      than triestart, and to check for a null pointer.

    * stage3hr.c: No longer returning NULL from Stage3end_new_gmap when result
      crosses before beginning of genome or at end of chromosome.

    * stage1hr.c: Removed possibility of dereferencing uninitialized memory when
      skipping over diagonals straddling beginning of genome.

2012-03-09  twu

    * gmap.c, stage3.c, stage3.h: Made changes in Stage3_merge_single compatible
      with PMAP

    * Makefile.dna.am, gsnap_fasta.c: Moved gsnap_fasta.c and bam_fasta and
      sam_fasta programs to GSTRUCT repository

    * get-genome.c: Fixed -E option for printing exons from gene map files. 
      Added -S option for printing sequence from gene map files.

    * get-genome.c: Removed R from getopt string

    * get-genome.c: Removed -R flag and references to map_relativep

2012-03-08  twu

    * gmap.c: Removed debugging statement

    * gmap.c: Fixed test for CHIMERA_SLOP to handle minus strand alignments
      correctly.  Added a remove duplicates step to stage3list_from_gregions. 
      Using new interface to Stage3_merge_single and Stage3_merge_splice.

    * stage3.c, stage3.h: Implemented functions Stage3_merge_single and
      Stage3_merge_splice. The first function uses dynamic programming to solve
      the region between the two parts.

    * pair.c, pair.h: Implemented function Pair_set_genomepos_list

2012-03-07  twu

    * gsnap.c: Fixed default values in --help statement for number of GMAP runs
      allowed

    * stage1hr.c: Turned bad stretchp back on as a criterion for running GMAP
      improvement in paired-end reads.  Implemented GMAP improvement for
      single-end reads.

    * substring.c, substring.h: Implemented Substring_genestrand

    * stage3hr.c, stage3hr.h: Added genestrand as a field for Stage3end_T object

2012-03-02  twu

    * stage3.c: Added another check to make sure we don't try to solve for dual
      breaks at the ends of an alignment

2012-03-01  twu

    * dynprog.c: Making certain that left_prob and right_prob are initialized to
      0.0

    * splicetrie_build.c: Limiting distance for splicetries to shortsplicedist

    * stage3.c: Checking for endgappairs == NULL, before trying to access
      *endgappairs

2012-02-29  twu

    * configure.ac: Changed default .config.site to ./config.site

    * dynprog.c: Fixed cases where left_prob and right_prob were not assigned

    * stage3.c: Making singlep a local variable in traverse_dual_genome_gap

    * stage3.c: Setting *singlep to false to fix bug in traversing dual genome
      gaps where left goodness or right goodness was called after a dual gap
      win.

2012-02-28  twu

    * gmap.c: Calling Alphabet_setup, Oligo_setup, Oligop_setup, Indexdb_setup,
      and Stage1_setup only when genome is provided

    * gmap.c, stage3.c, stage3.h: Restored cdna_direction == 0 when no splices
      are present. Transferring overall cdna_direction to first Stage3_T object
      in a chimera.

2012-02-27  twu

    * stage3.c: Disallowing cdna_direction to be set to 0

    * gmap.c: Added call to Oligo_setup

    * indexdb.c: Looking for offsetscomp_suffix exactly

    * gmap.c: Using new interface to Stage3_compute

2012-02-24  twu

    * VERSION: Updated version number

    * stage3.c: Handling case where non-canonical splice is exactly in the
      middle of the read

    * stage1hr.c, stage3.c, stage3.h, stage3hr.c, stage3hr.h: Replaced
      high_quality computation on gmap alignments with gmap_nconsecutive

    * outbuffer.c: Implemented new Goby code

    * gsnap.c: Implemented new Goby code

    * goby.c, goby.h: Implemented new Goby code

    * gtf_splicesites.pl.in: Skipping comment lines that begin with '#'.

    * gtf_splicesites.pl.in: Removed requirement for exon_number field in GTF
      file

    * gmap_build.pl.in: Added -T flag to specify temporary build directory

    * gmap_build.pl.in: Deleting .coords file

2012-02-14  twu

    * gmap_build.pl.in: Fixed filenames for 1-digit values

    * oligo.c: Added repetitive oligos for 6-, 7-, and 8-mers.

    * indexdb.c: Improved warning message

    * gmap_build.pl.in: Made default value for base size to be kmer size

    * configure.ac: Moved read of config.site and setting of CFLAGS earlier, so
      default CFLAGS is not set by autoconf.

    * setup1.test.in: Changed name of positions file to reflect new naming
      scheme

    * README: Added comment about new naming for positions file

    * Makefile.am, setup.ref12123positions.ok, setup.ref123positions.ok: Changed
      name of positions file to reflect new naming scheme

    * VERSION: Updated version

    * config.site.rescomp.prd, config.site.rescomp.tst: Changed dates

    * configure.ac: Adding check for CFLAGS and setting default to be -O3

    * config.site: Commenting out default CFLAGS variable

    * README: Added comment about adding -m64 in CFLAGS for Macintosh machines

    * gsnap.c, stage1hr.c, stage1hr.h: Added control of gmap_indel_knownsplice
      feature to gsnap program

    * stage3hr.c, stage3hr.h: Added function to help run GMAP on indels to find
      known splicing

    * stage1hr.c: Added function to run GMAP on indels to find known splicing

    * stage1.c: Using new interface to Reader_new

    * pmapindex.c: Removed -R flag for processing reverse strand of genome. 
      Consolidated code for computing offsets and positions.

    * pair.c: Eliminated extra points subtracted from Pair_nmatches, so that the
      function reports the correct number of matches

    * dynprog.c: Fixed bug where known splicing was being called when length2
      was 0, resulting in bad endpoints for binary search

2012-02-03  twu

    * stage1hr.c: Using spansize in computing floors.  Reduced value of
      STAGE2_MIN_OLIGO from 5 to 3.

    * gsnap.c: Using new interface to Stage1hr_setup and Spanningelt_setup

    * uniqscan.c: Using new interface to Stage1hr_setup and Spanningelt_setup

    * reader.c, reader.h: Removed blocksize as a field for Reader_T object

    * oligo.c, oligo.h: Storing oligosize as a static variable, and not using it
      anymore as a parameter to Oligo_next or Oligo_skip.

    * block.c: Removed oligosize as a field from Block_T object

    * stage1hr.c, stage3hr.c, stage3hr.h, substring.c, substring.h: Revised
      Stage3end_optimal_score to compare terminal and non-terminal alignments
      using an eventrim procedure, based on the maximal trims found in the
      non-terminal alignments, and re-computing the mismatch scores in those
      regions.

    * stage1hr.c: Running Stage3end_remove_overlaps to remove terminals that
      overlap with a GSNAP alignment.  Using spansize to compute fast_level.
      Removed index1part (oligosize) from calls to Reader_new and Oligo_next.

    * stage1hr.c, stage1hr.h: Generalized from 6 to STAGE2_MIN_OLIGO +
      index1interval, for deciding whether a found diagonal is close enough to
      end to redefine region for GMAP alignment.  Using spansize to compute
      floors, and counting all mismatches if spansize != index1part.

    * spanningelt.c, spanningelt.h: Added function Spanningelt_setup, which
      computes spansize for a given index1part and index1interval

2012-02-02  twu

    * pairdef.h, pairpool.c, stage3.c: Added field end_intron_p to Pair_T
      object, and using it in traversing dual genome gaps.  When applicable,
      solving introns where left intron or right intron is omitted.

    * stage1hr.c: Improved debugging messages by printing chromosomal
      coordinates rather than universal coordinates

    * Makefile.dna.am, atoiindex.c, cmetindex.c, config.site.rescomp.prd,
      config.site.rescomp.tst, genomicpos.c, genomicpos.h, gmap_build.pl.in,
      gmap_setup.pl.in, gmapindex.c, indexdb.c, indexdb_hr.c, memory-check.pl,
      pmapindex.c, snpindex.c, spanningelt.c, spanningelt.h, src, stage1hr.c,
      trunk, types.h, util: Merged revisions 56772 to 56962 from
      branches/2012-01-31-index1interval to allow genomic indices up to 16-mers
      and sampling intervals from 1 to 3

2012-02-01  twu

    * resulthr.c, stage3hr.c, stage3hr.h: If anomalous splices (of type
      SAMECHR_SPLICE) occur within a read for a unique mapping, changing
      resulttype from _UNIQ to _TRANSLOC.

    * outbuffer.c: Fixed issue with double opening of nomapping output file,
      first as single and then as paired

2012-01-31  twu

    * gmapindex.c: Allowing only values 1, 2, and 3 for sampling interval

    * gmap.c, gsnap.c, indexdb.c, indexdb.h, stage1hr.c, stage1hr.h, uniqscan.c:
      Added --sampling flag and passing index1interval to Stage1hr_setup

    * uniqscan.c: Using new interface to Indexdb_new_genome

    * indexdb.c: Fixed incorrect variable name (oligo instead of oligoi).

    * gmap_build.pl.in: Removed fixed value of -q 3 in calls to gmapindex

2012-01-30  twu

    * gmap_build.pl.in: Added -q flag for sampling interval

    * gmap.c, gmapindex.c, gsnap.c: Allowing user to enter -k 16

    * block.c, indexdb_dump.c, indexdb_hr.c, stage1.c, stage1hr.c: Fixed mask
      calculation to use unsigned long, so kmer of 16 works

    * atoiindex.c, cmetindex.c, indexdb.c, indexdb.h, snpindex.c: Enabled
      writing of genome indices with kmer of 16

    * oligo.c: Allowing k-mer size of 16

    * genome_hr.c: Clarified types of gamma and value to be Positionsptr_T and
      firstbit to be int.

2012-01-27  twu

    * oligo.c: Allowing k-mer size to go down to 9

    * indexdb_hr.c, indexdbdef.h: Eliminated separate data storage for offsets
      when expand_offsets_p is true.  Instead, expanding gammas into offsetscomp
      and making gammaptrs just the identity function.

    * indexdb.c: Eliminated separate data storage for offsets when
      expand_offsets_p is true.  Instead, expanding gammas into offsetscomp and
      making gammaptrs just the identity function.

2012-01-19  twu

    * indexdb.c, indexdb.h: Allowing selection of base size, and returning found
      base size. Simplified logic for selecting indexdb.

    * gmap.c, gsnap.c: Added --basesize flag to allow user to select base size

    * gmapindex.c: Allowing k-mer size to be 15 or less

2012-01-18  twu

    * gmapindex.c: Added break after handling flag -b

2012-01-14  twu

    * VERSION: Updated version number

    * Makefile.three.am: Rebuilt instructions from Makefile.gsnaptoo.am, plus
      Makefile.dna.am for PMAP and PMAPINDEX

    * Makefile.gsnaptoo.am: Removed gsnap_tally from distribution

    * README: Change URL for Web site

    * alphabet.c: No longer checking new get_codon procedures against old ones

    * pmapindex.c: Revised limit for 8-mers to be alphabet size of 13 or less

    * README.PMAP: Added a README file for PMAP

2012-01-13  twu

    * indexdb.c, indexdb.h: Providing alphabet and alphabet_size to caller of
      Indexdb_new_genome

    * gmap.c: Added --alphabet flag to PMAP to specify a particular alphabet

    * atoiindex.c, cmetindex.c, genome_hr.h, snpindex.c, types.h: Moved
      definition of Storedoligomer_T from indexdbdef.h to types.h

    * block.c, block.h, stage1.c: Removed msb computation and storage in Block_T
      object, and initializing instead by Oligop_setup

    * alphabet.c, alphabet.h, oligop.c, oligop.h: Providing aa_index_table to
      Oligop procedures at run time

    * Makefile.dna.am, alphabet.c, alphabet.h, indexdb.c, indexdb.h,
      indexdbdef.h, pmapindex.c: Created Alphabet_T object.  Moved relevant
      codon-based procedures from indexdb.c to alphabet.c.  Replaced
      get_codon_fwd and get_codon_rev with lookup tables.  Allowed pmapindex to
      generate indices with different alphabets and alphabet sizes.

    * gmapindex.c: Added check for k-mer size being greater than or equal to
      base size

    * gmap.c: Made default k-mer size 7 for PMAP

    * Makefile.dna.am, indexdb.c, pmapindex.c: Made PMAP index files compatible
      with compressed hash tables and added flags to be consistent with other
      auxiliary indexing programs

2012-01-11  twu

    * VERSION: Updated version

    * index.html: Updated Web page for latest version

    * mapq.c: Fixed debugging statement

    * stage3hr.c: In output_cmp procedures, sorting first by nmatches (pretrim),
      and then by mapq.  Added procedure to enforce monotonicity of mapq scores.

    * stage1hr.c, stage3hr.c, stage3hr.h: Running optimal_score first allowing
      all GMAP alignments, then removing overlaps, and then running
      optimal_score again without special provision for GMAP alignments.

    * gmap.c, gsnap.c, pair.c, pair.h, uniqscan.c: Added flag --sam-use-0M to
      control printing of 0M in CIGAR strings

    * gmap.c, gsnap.c, stage3.h, uniqscan.c: Providing output_sam_p to
      Stage3_setup

    * stage3.c: In fill_in_gaps, handling dual breaks by inserting query and
      genomic segments when output_sam_p is true.

    * pair.c: In compute_md_string, setting state to be IN_MATCHES after seeing
      I token, so we don't print two successive ^ tokens.

    * stage3.c: Added a pass to remove adjacent insertions and deletions and fix
      single gaps again.

2012-01-10  twu

    * gmap_build.pl.in: Doing chmod on gammaptrs only if kmersize > basesize

2012-01-09  twu

    * gsnap.c, stage1hr.c, stage3hr.c, stage3hr.h: Computing GMAP alignment
      score using standard splicing penalties and indel penalties

2012-01-07  twu

    * README: Added information about maximum genome length.  Added information
      about SAM fields.

    * atoiindex.c, cmetindex.c: Eliminated memory leaks and reduced memory usage
      from 20 GB to 12 GB for a human-sized genome

2012-01-06  twu

    * gmap.c, gsnap.c, uniqscan.c: Using new interfaces to Dynprog_setup and
      Stage3_setup to provide information about novelsplicingp.  Passing
      fileroot instead of dbroot to Datadir_find_mapdir.

    * stage3hr.c: Stage3end_optimal_score and Stage3pair_optimal_score now
      keeping all GMAP results

    * stage3.c, stage3.h: Marking pairs as disallowed when novelsplicingp is
      false and dynamic programming cannot find a solution provided by the
      splicing_iit file. Trimming end introns that are disallowed.

    * stage1hr.c: Added debugging message

    * dynprog.c, dynprog.h: The bridge_intron_gap function now handling runs
      where novelsplicingp is false and known splicing is at intron level. 
      Dynprog_genome_gap returning NULL in such cases.

    * pair.c, pairdef.h, pairpool.c: Added field disallowedp to Pair_T object

    * iit-read.c, iit-read.h: Added functions IIT_low_exists and
      IIT_high_exists, used for intron-level known splicing.  Improved warning
      message for invalid IIT files.

2012-01-05  twu

    * gmapindex.c: Added check for total genomic length exceeding 4 GB

    * snpindex.c: Reduced maximum memory usage for human genome from 12 GB to 8
      GB. Eliminated memory leaks.

2012-01-03  twu

    * src, trunk, util: Merged revisions 50470 to 50909 from
      branches/gmap-2011-10-24-mult-stage2

    * config.site.rescomp.tst: Changed date

    * config.site.rescomp.prd: Changed date

2011-12-29  twu

    * README: Changed comment about splicing file with known introns possibly
      being buggy

    * VERSION: Updated version number

    * index.html: Added changes for new version

    * iit-read.c: If add_iit_p is true, trying filename with .iit suffix first
      before trying filename as given

    * stage3hr.c: Added check for low coordinate of new GMAP object being to the
      left of coordinate 0

2011-12-21  twu

    * shortread.c: Allowing for /3 endings in second end of Illumina short reads

2011-12-13  twu

    * index.html: Made update for new version

    * VERSION: Updated version number

    * stage3.c: Fixed issue in trying to solve dual introns with negative query
      coordinates

2011-12-09  twu

    * spanningelt.c, spanningelt.h, stage1hr.c: Alternate fix to problem with
      positions being NULL, while npositions > 0.  Fixed Spanningelt_set so it
      updates npositions along with positions.

    * VERSION: Updated version number

    * archive.html: Moved old version here

    * index.html: Added new version.  Added information about users group.

    * stage1hr.c: Added an extra check for positions[querypos] not being NULL,
      needed for nonstranded modes

2011-12-08  twu

    * gmap_build.pl.in: Fixed bug in not assigning cmd variable

2011-12-05  twu

    * shortread.c: Fixed bug in printing null accession for second end when
      using --fails-as-input flag

    * gmap_build.pl.in: Checking return codes from system calls

2011-12-02  twu

    * VERSION, index.html: Updated version number

    * gsnap.c: Changed name of flag from --ambig-splice-notrim to
      --ambig-splice-noclip

    * pair.c: Pushing "0M" between adjacent I and D operations in a cigar string

    * gmap.c, gsnap.c, uniqscan.c: Using new interface to Splicetrie_setup. 
      Providing --ambig-splice-notrim flag in GSNAP.

    * splicetrie.c, splicetrie.h: Providing behavior to turn clipping off at
      ambiguous known splice sites, useful if trying to turn off all soft
      clipping

    * stage1hr.c: Fixed debugging statement

2011-11-30  twu

    * stage1.c: Fixed variable name so PMAP could compile

2011-11-29  twu

    * dynprog.c, maxent_hr.c, maxent_hr.h, pair.c, stage1hr.c, stage3.c,
      substring.c: Checking for case where splice_pos minus margin goes beyond
      beginning of chromosome

    * VERSION, index.html: Updated version number

    * maxent_hr.c: Checking for case where splice_pos is smaller than margin

    * pair.c, samprint.c: Changed value of NM tag in SAM output to be edit
      distance (mismatches plus gaps)

    * stage1hr.c: Fixed debugging statement

2011-11-28  twu

    * VERSION, index.html: Updated version number

    * gsnap.c: Calling SAM_setup

    * outbuffer.c: For GMAP, when quiet_if_excessive_p is true and npaths >
      maxpaths, not printing any output

    * pair.c, pair.h, stage3.c: Printing HI tag in SAM output

    * samprint.c, samprint.h: When quiet_if_excessive_p is true and npaths_mate
      > maxpaths, setting MATE_UNMAPPED in flag.  Printing HI tag.  Added
      function SAM_setup.

2011-11-25  twu

    * VERSION, index.html: Updated version number

    * stage3.c: For GMAP, using QUERYEND_INDELS instead of QUERYEND_NOGAPS

    * stage1.c: Added check for querylength being too short

    * gmap.c: Changed information in --help about how to turn off chimera
      detection

    * stage3.c: In Stage3_mergeable, added check for firstpart_npairs or
      secondpart_npairs being 0

2011-11-23  twu

    * index.html: Updated version number

    * VERSION: Updated version number

    * stage1.c: Made direct calls to fields in Match_T objects for speed.  Made
      changes so debugging macros work.

    * dynprog.c: Made special traceback procedure for queryend_nogaps

2011-11-21  twu

    * stage3hr.c: Fixed bug where Stage3end_remove_overlaps was not keeping ends
      where paired_usedp was true.  In Stage3end_remove_overlaps and
      Stage3pair_remove_overlaps, terminal alignments lose to all other types.

    * stage3hr.h: Put GMAP hittype before TERMINAL hittype

    * gsnap.c: Increased default values for max_gmap_pairsearch,
      max_gmap_terminal, and max_gmap_improvement

    * stage3hr.c: Changed code for Stage3end_remove_overlaps to parallel that
      for Stage3pair_remove_overlaps

    * samprint.c: Allowing for GMAP alignments to be printed for single-end
      reads

    * VERSION, config.site.rescomp.prd, config.site.rescomp.tst: Updated version
      number

    * stage3.c: Added comment about pass 8 and 9

    * index.html: Made changes for 2011-11-20 version

    * uniqscan.c: Using new interface to Stage1_single_read

    * stage3hr.c: Changed the code for Stage3end_optimal_score to be consistent
      with that of Stage3pair_optimal_score.  Allowing terminal alignments to be
      considered along with other alignments.

    * stage1hr.c: For single-end alignment, initializing done_level to
      user_maxlevel, rather than opt_level, to be consistent with the code for
      paired-end alignment.  However, the values are the same anyway.

    * gsnap.c: Changed the default value for terminal_threshold from 3 to 2.
      Expanded the --help entry for --terminal-threshold.

    * index.html: Made changes for version 2011-11-17

    * stage3.c: Added more restrictions on non-canonical splices at ends of read

2011-11-20  twu

    * stage3hr.c, stage3hr.h: Added functions Stage1end_start_endtype and
      Stage1end_end_endtype for terminal alignments

    * gsnap.c: Using new interface to Stage1_single_read

    * gmap.c, stage3.c, stage3.h: Changed name of variable

    * stage1hr.c, stage1hr.h: Implemented GMAP terminal mode for single-end
      reads

    * dynprog.c: Lowered rewards for canonical introns, to help find
      non-canonical introns

    * stage3.c: In fill_in_gaps, if splicingp is false, then filling in a
      deletion, not an intron

2011-11-19  twu

    * stage3.c: Moved trim_noncanonical procedures from path_trim to
      path_compute. After trim_noncanonical procedures, doing an extension using
      QUERYEND_NOGAPS.

    * stage1hr.c: Using -3*nmismatches and -4 for an indel in evaluating end
      indels, corresponding to default values for trim_mismatch_score and
      trim_indel_score.

    * stage3.c: Using endalign instead of to_queryend_p.  When endalign is
      QUERY_NOGAPS, not doing peelback.  In pass 8, changed extendp from false
      to true (QUERYEND_INDELS).

    * gsnap.c, uniqscan.c: Added flag --trim-indel-score

    * dynprog.c, dynprog.h: Replaced to_queryend_p with endalign, with types
      BEST_LOCAL, QUERYEND_INDELS, and QUERYEND_NOGAPS.  For extensions to
      queryend, always returning gappairs.

    * atoiindex.c, cmetindex.c: Updated --help to indicate how --kmer and -D are
      chosen by default

2011-11-17  twu

    * VERSION: Updated version number

    * gmap.c, gsnap.c, stage1hr.c, stage3.c, stage3.h, uniqscan.c: Revised
      calculation of insertlength inside trim_noncanonical_ends procedures to
      compensate for using maximum overlap in computing genomicseg.

    * stage3.c: Made fill_in_gaps procedure replace short non-canonical introns
      with deletions.  Removed this feature from assign_gap_types.  Added
      additional checks on translation coordinates to stay within array bounds.

    * dynprog.c: Added debugging statements

    * substring.c: Added comment

    * shortread.c, shortread.h, stage1hr.c: For GMAP algorithm in GSNAP,
      assuming maximum overlap, rather than trying to compute overlap

    * outbuffer.c: Printing all paths when -E flag is given to GMAP

    * stage3hr.c: Improved error message when ambig end splicetype has an
      unexpected value

    * dynprog.c: Removed unused code for END_KNOWNSPLICING_SHORTCUT.  Always
      assigning *ambig_end_length in Dynprog_end5_known and Dynprog_end3_known.

2011-11-14  twu

    * uniqscan.c: Using new interface to Stage3hr_setup

    * stage3.c: Not substituting for long deletions at end of path_compute

    * stage1hr.c, stage3hr.c, stage3hr.h: Removed end_indel_p parameters to
      Stage3end_new_insertion and Stage3end_new_deletion

    * stage1hr.c: Preventing call to Genome_count_mismatches_limit by
      find_doublesplices where pos5 >= pos3

    * VERSION: Updated version number

    * configure.ac: Added flag --enable-popcnt

    * dynprog.c: Initialing value of ambig_end_length

    * stage3.c: Skipping gap pairs at the beginning of alignments in
      fill_in_gaps

    * goby.c: Using new interface to Result_array

2011-11-12  twu

    * VERSION: Updated version number

    * stage1hr.c, stage3hr.c: Checking in Stage3end_new_gmap if genomicstart or
      genomicend exceeds chrhigh, and if so, returns NULL.

    * stage3.c: Moved assigning of gap types to end of path_compute, rather than
      beginning of path_trim

    * stage3.c: Inserting gap pairs and adding gap types at beginning of
      path_trim

2011-11-11  twu

    * gsnap.c, outbuffer.c, outbuffer.h, samprint.c, samprint.h, stage1hr.c,
      stage3hr.c, stage3hr.h: Divided DISTANT_SPLICE type to SAMECHR_SPLICE and
      TRANSLOC_SPLICE. Making merge_samechr_p act only at print time, which
      allows SAMECHR_SPLICE to undergo pair_up_concordant again.  Stopping
      clip-overlap on distant splices.

    * VERSION: Updated version number

    * stage3hr.c: Keeping hits in optimal scoring if nmatches_posttrim is
      sufficiently high relative to the best hit

    * gsnap.c, uniqscan.c: Increased value of max_deletionlength from 30 to 50

    * gmap.c, stage1hr.c: Using new interface to Stage3_compute

    * stage3.c, stage3.h: Changed flow to path_compute on both cdna directions,
      then pick_cdna_direction, then path_trim, which removes non-canonical end
      exons.

    * stage3hr.c, stage3hr.h, substring.c, substring.h: Added nmatches_posttrim
      and using it to break ties resulting from equal values of nmatches.  Added
      a general test for Substring_new based on matches and mismatches before
      trimming.

    * pair.c: Modified Pair_nmatches to add penalties for an indel and for a
      splice site with low probabilities.  Modified compute_md_string on I
      tokens to skip only for insertion pairs.

    * dynprog.c: Fixed procedure find_best_endpoint_to_queryend to look only at
      r == length1

2011-11-10  twu

    * stage3hr.c: Turned off separate treatment of terminal alignments in
      Stage3pair_optimal_score.  Always trimming ends of insertions and
      deletions (previously depended on value of end_indel_p).

2011-11-09  twu

    * stage3.c: Using a sliding scale in trimming end exons

    * pair.c: Added debugging macro for compute_md_string

    * pair.c, pair.h: Taking cdna_direction as a parameter in
      Pair_print_exonsummary, instead of determining sense separately for each
      intron

    * stage3.c: Restored alignment score in pick_cdna_direction with different
      values of significant difference for GMAP and GSNAP.  Considering a
      non-canonical intron as canonical if both splice site probabilities are
      high.

    * splicing-score.c: Fixed getopt so -D takes an argument

    * pairpool.c, pairpool.h: Revised Pairpool_count_bounded to return number of
      pairs at start.

    * gmap.c: Added comments

    * stage3.c: Restored use of alignment scores in pick_cdna_direction, after
      comparing number of noncanonical splices

    * VERSION: Updated version number

    * shortread.c: No longer printing warning message about not finding "/1" or
      "/2" endings

    * gsnap.c, uniqscan.c: Added max_deletionlength variable

    * gmap.c, outbuffer.c, outbuffer.h, pair.c, pair.h, samprint.c: No longer
      converting short noncanonical splices from type N to type D, since this is
      now performed in stage 3.  Removed cigar_noncanonical_splices_p variable.

    * stage3.c, stage3.h: In assign_gap_types, converting noncanonical splices
      smaller than max_deletionlength into deletions

    * gsnap.c, stage3hr.c, stage3hr.h, uniqscan.c: Treating distant splices on
      the same chromosome as a translocation by default.  Added a flag
      --merge-distant-samechr to get previous behavior.

2011-11-08  twu

    * stage3.c: Using maxintronlen in trimming end exons

    * stage3.c: Removed alignment scores from pick_cdna_direction.  Revised
      procedures for trimming noncanonical end exons and doing distal/medial
      comparison by adding procedures canonicalp and good_end_intron_p, with
      latter using probabilities.

    * gmap.c: Increased parameter for maxpeelback_distalmedial from 24 to 100

    * dynprog.c: Added debugging statements

    * pair.c: Computing MD string from cigar tokens

    * stage2.c: Restored querydist penalty

2011-11-07  twu

    * VERSION: Revised version number

    * index.html: Added entry for new version

    * stage1hr.c: Commented out second round of terminal alignments

    * gmap.c, gsnap.c, uniqscan.c: Set trim_indel_score to -4 to be consistent
      with previous value

    * gmap.c, gsnap.c, uniqscan.c: Calling Pair_setup

    * substring.c: Extending trimming toward ends in case of ties

    * stage3.c: Extending ends completely before final trim

    * pair.h: Extending trimming toward ends in case of ties.  Added Pair_setup
      function to use trim_mismatch_score value provided by user.

    * pair.c: Extending trimming toward ends in case of ties.  Added Pair_setup
      function to use trim_mismatch_score value provided by user.

    * stage2.c: Put code for suboptimal starts into a compiler directive

    * gmap.c, gsnap.c, uniqscan.c: Provided new defaults for
      suboptimal_score_start and suboptimal_score_end, based on simulations

    * gmap.c, gsnap.c, stage2.c, stage2.h, uniqscan.c: Introduced parameters for
      suboptimal_score_end and suboptimal_score_start

    * gmap.c: Added flag for --suboptimal-score

2011-11-06  twu

    * gmap.c, gsnap.c, outbuffer.c, pair.c, pair.h, result.c, result.h,
      resulthr.c, resulthr.h, samprint.c, samprint.h, stage1hr.c, stage3.c,
      stage3.h, stage3hr.c, stage3hr.h, uniqscan.c: Restoring old MAPQ score. 
      Making absolute MAPQ score a separate calculation, and printing it in an
      XQ flag.

2011-11-05  twu

    * stage1hr.c: Added comments

    * stage3hr.c: Added field indel_low, and using to prefer indels at low
      genomic coords

    * stage1hr.c: Fixed computation of firstbound and lastbound so end indels
      are found on short reads, such as 36-mers.

2011-11-04  twu

    * pair.c: Added code to compute_cigar to merge duplicate token types

    * stage2.c: Fixed uninitialized value for last_canonicalp

    * stage2.c: Implemented ability to generate suboptimal paths based on
      different initial positions

    * gmapindex.c: Removed unnecessary file open for -P flag

    * gmapindex.c: Fixed memory leaks for -G flag

    * gmapindex.c: Fixed memory leaks for -A flag

2011-11-01  twu

    * pairpool.c: Commented out copy of shortexonp

    * dynprog.c, dynprog.h, gmap.c, gsnap.c, stage3.c, uniqscan.c: Removed
      endlength requirement for microexons.  Returning prob2 and prob3 from
      Dynprog_microexon_int and applying two standards, depending on whether an
      indel was originally present

    * pair.c: Printing shortexon information

    * pairpool.c: Copying shortexon information in copying pairs

    * smooth.c: Removed unused parameters

    * stage3.c: Adding endlength requirement for finding microexons

    * smooth.c: Printing result of smoothing as pairs

    * stage3.c: Made penalties harsher for indels at end near poor splice sites

    * stage2.c: Computing best overall score during dynamic programming process

    * uniqscan.c: Using new interface to Stage3hr_setup

    * stage2.c: Made changes so PMAP could compile

    * stage3.h: Added parameter favor_mode to Stage3_compute

    * stage3.c: Counting indel near splice as 2 mismatches.  Added endlength
      requirement of 12 for indel near splice.

    * stage2.c: Going through all hits to accumulate cells.  No longer using
      number of links to set root scores.

    * gmap.c, stage1hr.c: Passing value of favor_mode to Stage3_compute

    * smooth.c: Relaxing probability requirement for end exons in GSNAP from
      0.05 to 0.10.

2011-10-31  twu

    * stage3.c: In trimming non-canonical end exons, not combining nearindelp
      with splice probs, requiring 1 mismatch or less for bingop, and allowing
      AT-AC introns.  Extending alignments to queryend before trimming
      non-canonical end exons.

    * stage3.c: In trimming end exons, using a sliding scale based on intron
      length. Also penalizing for indels and mismatches close to exon-exon
      boundary.

2011-10-28  twu

    * gsnap.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h: Providing
      expected_pairlength and pairlength_deviation values in Stage3hr_setup, and
      removing from Stage1hr procedures.

    * stage3.c: In end exons, checking if indel present, and if so, requiring
      that splice probabilities both be greater than 0.9.

    * gsnap.c, stage3hr.c, stage3hr.h: Restoring pairlength deviation.  Using
      expected pairlength and pairlength deviation to discriminate among
      paired-end reads.

    * stage2.c: Adding all hits from final querypos directly to celllist, rather
      than updating rootscores.  Fixed update of rootscore information to use
      current querypos and hit.  Dynamic programming starting from querypos 0,
      rather than querypos 1.

    * diag.c: Restricted update of diagonal in middle region, to avoid affecting
      subsequent beginning and end regions

    * splicetrie_build.c: Fixed handling of intron intervals, by introducing
      INTRON_HIGH_TO_LOW

    * stage3hr.c: Made other fixes to allow copying of GMAP hit types

    * stage1hr.c: Making copies where necessary for multiple GMAP subpaths, and
      freeing old Stage3pair_T objects at the appropriate time.  Calling
      Stage3pair_remove_overlaps on double GMAP alignments.

    * pairpool.c: Using CALLOC_OUT in Pairpool_copy_array

    * gsnap.c: Printing sequence name when debugging memusage

    * stage1hr.c: Handling multiple subpaths from stage 2 computation

    * stage2.c: Removed restriction on number of positions for final non-zero
      querypos

    * stage3hr.c: Allowing Stage3end_T objects of type GMAP to be copied

    * pairpool.c, pairpool.h: Added function Pairpool_copy_array

2011-10-27  twu

    * stage2.c: Fixed location of compiler directive for PMAP

    * stage3.c: Restoring negative points for non-canonical introns in computing
      goodness

    * stage2.c: Adding root scores for final non-zero and specific querypos

    * gmap.c, list.c, list.h, stage1hr.c, stage1hr.h, stage2.c, stage2.h: Going
      back to changes from revision 50508 for multiple subpaths from stage2,
      plus revisions 50504 to 50909 from branches/gmap-2011-10-24-mult-stage2
      for a root position method for finding optimal and suboptimal subpaths

2011-10-26  twu

    * gmap.c, list.c, list.h, src, stage1hr.c, stage1hr.h, stage2.c, stage2.h:
      Reverted to version 50507, before changes made to allow multiple paths
      from a stage2 computation

2011-10-24  twu

    * VERSION: Updated version number

    * archive.html, index.html: Added changes for 2011-10-24 version

    * gmap.c, list.c, list.h, stage1hr.c, stage1hr.h, stage2.c, stage2.h: Merged
      revisions 50469 to 50504 from branches/2011-10-24-mult-stage2 to allow for
      multiple stage2 results from the same genomic segment for GMAP.

    * stage3.c: Assigning sensedir in all cases, based on intron scores if
      necessary

    * gmap.c, gsnap.c, outbuffer.c, pair.c, pair.h, result.c, result.h,
      resulthr.c, resulthr.h, samprint.c, samprint.h, stage1hr.c, stage1hr.h,
      stage3hr.c, stage3hr.h, uniqscan.c: Computing MAPQ score relative to best
      alignment.  Printing X2 field in SAM output to provide second best MAPQ
      score.

    * stage3.c, stage3.h: When sense_try is provided, assigning sensedir

2011-10-17  twu

    * VERSION: Updated version number

    * index.html: Added comment about change to GMAP

    * gmap.c: Sorting stage3list before evaluating for chimeras

2011-10-14  twu

    * VERSION: Updated version number

    * index.html: Updated for new version

    * configure.ac: Grouped together checks for built-in procedures

    * splicetrie_build.c, splicetrie_build.h: Checking for splice sites being
      beyond the chromosome length boundary

    * splicetrie.c: Handling case where trieoffsets has a NULL_POINTER, which
      can occur with intron-type splicing

    * splicetrie_build.c: Handling case where nsites from a given splice site is
      zero

2011-10-13  twu

    * popcnt.m4: Checking each built-in instruction only if available

    * asm-bsr.m4: Assigning a value to x

    * VERSION: Updated version number

    * gsnap.c: Removed 'S' from getopt

    * gsnap.c: Fixed naming of --splicingdir flag

    * samprint.c: Not printing mate chr or mate chrpos when mate has an
      excessive number of paths

    * popcnt.m4: Changed test for -mpopcnt from a compiler test to a run test,
      to make sure instruction is legal

2011-10-12  twu

    * dbsnp_iit.pl.in: Fixed syntax

    * stage1hr.c: Fixed debugging statements

    * VERSION: Updated version number

    * README, dbsnp_iit.pl.in: Made changes to handle exceptions within the snp
      file

    * stage1hr.c: Fixed detection of novel splice ends for distant splicing

    * maxent_hr.c: Fixed debugging commands

    * stage3hr.c: Added comment

    * stage3hr.c: Eliminating terminals in Stage3end_optimal_score when
      non-terminals are present

    * iit-read.c: Checking for case where nintervals is zero

    * iit-write.c: Fixed memory leak in IIT_build

2011-10-10  twu

    * stage3hr.c: Removing -nindels from calculation of querylength_adj

    * gsnap.c: Limiting minimum value of indexdb_size_threshold

    * indexdb.c: Fixed bug in computing Indexdb_mean_size using compressed hash
      table

    * genome_hr.c: Adding +1 to ctr only when necessary

2011-10-09  twu

    * genome_hr.c, genome_hr.h: In gamma decoding, changed from division of
      shift by 2 to using shift - 1, made all variables unsigned ints, and added
      code for branchless computation.

2011-10-08  twu

    * gmap.c, gsnap.c, inbuffer.c, inbuffer.h: Generalized --filter-chastity to
      work on either or both ends of a paired-end read

    * index.html: Changed wording

    * index.html: Added information about --filter-chastity option

    * goby.c, gsnap.c, inbuffer.c, shortread.c, shortread.h, uniqscan.c:
      Implemented --filter-chastity option

2011-10-07  twu

    * genome_hr.c: Implemented a 2-shift method for decoding gammas, which
      avoids a branch

    * config.site.rescomp.prd, config.site.rescomp.tst: Updated for new version

    * index.html: Entered new version 2011-10-07

    * VERSION: Updated version number

    * splicetrie.c: Fixed a bug where splicesites_i was not being initialized to
      NULL

    * genome_hr.c: Removed dispatch procedures.  Moved part of read_gamma to top
      of loop, to guarantee that the final ptr location is correct.

    * genome_hr.c: Removed nbits.  Implemented macros for clear_lowbit and
      clear_highbit.

    * genome_hr.c: Implemented both dispatch and non-dispatch methods for
      getting offsetptrs from gammas

    * genome_hr.c: Rearranged order of gamma computations within loops

    * genome_hr.c: For gamma commands, trying builtin clz first, then bsr in
      assembly, then table lookup.

    * Makefile.dna.am, Makefile.gsnaptoo.am: Added POPCNT_CFLAGS

    * config.site: Made CFLAGS=-O3 and added comments about testing -mpopcnt

    * acinclude.m4, asm-bsr.m4, configure.ac, popcnt.m4: Added tests for
      -mpopcnt compiler flag and bsr function in assembly

2011-10-06  twu

    * genome_hr.c: Added assertion statements to make sure builtin_clz is not
      called with a value of 0

2011-10-05  twu

    * VERSION: Updated version number

    * index.html: Made changes for latest version

    * configure.ac: Added gff3 utility programs

    * stage3hr.c: Sped up comparison of overlapping and separate paired-end
      alignments by using arrays instead of lists.

    * stage3hr.c: Simplified procedure for finding bad superstretches

    * stage1hr.c: Fixed bugs in pushing indels to low genomic position in
      solve_middle_insertion and solve_middle_deletion

    * gsnap.c: Commenting out --genes option

    * stage3hr.c: Performing separate runs of Stage3pair_remove_overlaps on
      overlapping and non-overlapping alignments

    * stage3hr.c: Added check for bad superstretches in Stage3pair_overlap

    * gsnap.c, stage1hr.c, stage1hr.h, uniqscan.c: Implemented a fast,
      integrated method for novel and known double splicing, and using it by
      default

    * access.c: Added error messages when mmap fails

    * stage3hr.c: Picking a winner in case of ties in Stage3pair_remove_overlaps

2011-10-04  twu

    * stage1hr.c: Fixed calculation of genomicstart and genomicend for GMAP
      alignments, to extend as if there were no trimming

    * stage3hr.c: Added debugging statements

    * stage1hr.c: Made finding of novel doublesplices faster

    * psl_introns.pl.in, psl_splicesites.pl.in: Moved print_exons into a
      subroutine

    * psl_introns.pl.in, psl_splicesites.pl.in: Using donor_okay_p and
      acceptor_okay_p subroutines

    * gtf_introns.pl.in: Changed warning message to refer to intron, not exon

    * gtf_genes.pl.in: Removed unused variables

    * Makefile.am, gff3_genes.pl.in, gff3_introns.pl.in, gff3_splicesites.pl.in:
      Added programs to handle GFF3 files

    * Makefile.dna.am: Removed programs for processing BAM files

    * iitdef.h: Restored NUMERIC_ALPHA_SORT to sort types

    * iit-write.c: Restored NUMERIC_ALPHA_SORT to sort types

    * stage1hr.c: Fixed issue with finding novel doublesplices where not all
      middle segments were tested

2011-10-03  twu

    * iitdef.h: Added code for creating IIT files internally

    * iit-write.c, iit-write.h: Added code for creating IIT files internally

    * archive.html, index.html: Made changes for version 2011-10-01

2011-10-02  twu

    * VERSION: Updated version number

2011-10-01  twu

    * sequence.c: Removed compiler directive to undef HAVE_ZLIB

    * stage1hr.c: Allowing reads to be equal to index1part+2, not just greater
      than

    * Makefile.dna.am, uniqscan.c: Added program uniqscan

2011-09-30  twu

    * Makefile.dna.am, dynprog.c, dynprog.h, gmap.c, gsnap.c, splicetrie.c,
      splicetrie.h, stage1hr.c, stage1hr.h, stage3.c, stage3.h: Moved
      splicesites and trieoffsets into local static variables to avoid passing
      them as parameters

    * stage1hr.c: Moved check of genestrand value outside loop for retrieving
      oligos

    * substring.c: Created separate procedures for mark_mismatches for stranded
      and non-stranded cases

    * genome_hr.c, gsnap.c, indexdb.c, mode.h, stage1hr.c, substring.c:
      Implemented stranded and non-stranded versions of cmet and atoi
      substitutions

    * VERSION, compress.c, config.site.rescomp.prd, config.site.rescomp.tst,
      genome_hr.c, genome_hr.h, gsnap.c, mapq.c, mapq.h, splicetrie.c,
      splicetrie.h, src, stage1hr.c, stage3hr.c, stage3hr.h, substring.c,
      substring.h, trunk, util: Merged revisions 48527 to 48790 from
      branches/2011-09-28-atoi

2011-09-29  twu

    * stage1hr.c: Previously returning NULL if either end of a paired-end read
      had no oligos.  Now returning NULL if both ends have no oligos.

    * stage3hr.c: Requiring that overlap be greater than both ends of a
      paired-end read

    * oligoindex_hr.c: Not computing oligoindex if left_plus_length <= left

2011-09-28  twu

    * psl_introns.pl.in, psl_splicesites.pl.in: Added warning if intron lengths
      are negative

    * splicetrie_build.c: Added check for negative distances in a splicing_iit
      file

    * genome_hr.c: Fixed assignment to predicate inside of assert statement

2011-09-22  twu

    * VERSION: Updated version number

    * gsnap.c: Fixed typo in help statement

    * table.c, uinttable.c: Allowing retrieval of keys to work, even if table is
      empty

    * substring.c: Allowing case where nothing is found in splicesites_iit,
      because it is for introns and not splicesites

    * splicetrie.c: Fixed case where splicetrie_obs is not NULL, but
      splicetrie_max is NULL, which occurs if the splicing file is for introns,
      and not splicesites

    * splicetrie_build.c: Fixed memory leak in building splicetrie for introns
      splicing file

2011-09-20  twu

    * cappaths.c, spliceclean.c: Moved cappaths and spliceclean programs to
      GSTRUCT repository

    * Makefile.dna.am, genecompare.c: Moved program genecompare to GSTRUCT
      repository

    * Makefile.dna.am: Moved cappaths to GSTRUCT repository

    * Makefile.dna.am, splicegene.c, spliceturn.c: Moved spliceturn and
      splicegene to GSTRUCT repository

2011-09-17  twu

    * gsnap.c: Provided further clarification in help statement about
      min-localsplice-endlength

    * gsnap.c: Checking that min_distantsplicing_end_matches is greater than or
      equal to kmer size.  Clarified some help statements.

    * README: Added recommendation to use known splice sites, rather than known
      introns

    * README: Clarified that a given set of known splice sites can find
      alternative splicing.

    * except.c: Fixed Except_advance_stack to return a value if pthreads not
      available

    * Makefile.dna.am: Moved instructions for spliceclean and splicealt to
      GSTRUCT repository

    * psl_introns.pl.in: Removed extraneous "v" at beginning of line

2011-09-14  twu

    * VERSION: Updated version number

    * index.html: Updated page to show version 2011-09-14

    * inbuffer.c, sequence.c, shortread.c, shortread.h: Revised read procedures
      to handle multiple files correctly

2011-09-13  twu

    * pair.c, pair.h, samprint.c: For SAM output of GMAP alignments, printing
      correct value of NH for number of hits

    * stage3.c, stage3.h: Added parameter for min_intronlength

    * gmap.c, gsnap.c: Added parameter for min_intronlength

    * Makefile.dna.am, bam_pileup.c, bam_tally.c, bamread.c, bamread.h,
      gsnap_extents.c, gsnap_splices.c: Moved files to gstruct

    * stage3.c: Reduced value of MIN_NONINTRON from 50 to 9 to avoid declaring
      short introns as indels

    * pair.c: Fixed Pair_print_sam to work properly for chimeric alignments

    * stage3.c: Cleaning up gaps and indels from ends at end of stage 3

    * stage1hr.c: Fixed debugging statement

2011-09-09  twu

    * VERSION: Updated version number

    * dynprog.c: Fixed computation of lband and rband in find_best_endpoint and
      find_best_endpoint_to_queryend

    * dynprog.c: Added protections against length1 being negative

2011-09-08  twu

    * index.html: Made changes for 2011-09-07 version

2011-09-07  twu

    * samprint.c: Removed almost all unused parameters

    * outbuffer.c, stage3.c, stage3.h: Removed most unused parameters

    * pair.c, pair.h, stage3.c: Removed almost all unused parameters

    * pair.c: Fixed compiler messages about comparison of signed and unsigned
      ints

    * compress.c, compress.h: Fixed compiler messages about comparison of
      unsigned and signed ints

    * svncl.pl: Made changes to fix merges of words between lines and preserve
      original numbers of spaces

    * VERSION: Updated version number

    * shortread.c: For input error involving line that is too long, printing
      accession where problem occurred.

    * Makefile.am: Including full set of psl and gtf parsing programs with or
      without fulldist

    * genome.c: Added include line for genomicpos.h

    * Makefile.dna.am: Included genomicpos.c and genomicpos.h for
      extents_genebounds

    * README: Made changes to reflect new gtf_introns program

    * Makefile.am, configure.ac, gtf_introns.pl.in: Added gtf_introns program. 
      Also putting psl_introns back into the public distribution.  Made changes
      accordingly in README file.

    * dynprog.c, dynprog.h, stage3.c: When searching for gappairs_alt using
      probabilities, bounding the search based on a score threshold computed
      from the original score

    * stage3.c: For GSNAP, no trimming of noncanonical ends based on
      probabilities, since need to compare fwd and rev directions.  Stopped
      final trimming of short end exons.  For gappairs_alt, accepting if it
      results in high-probability splice sites.  For pick_cdna_direction, using
      separate donor and acceptor scores and using alignment score again.

    * stage3.c: Put final pass to find canonical introns before trimming of dual
      breaks at ends

    * stage3.c: Fixed problem with trimming dual breaks where it was trimming
      indels. In trimming noncanonical exons at end, reduced NONCANONICAL_ACCEPT
      from 20 to 15, and added NONCANONICAL_PERFECT_ACCEPT.  In
      pick_cdna_direction, turned off use of indel_alignment_score, and added
      nmatches - nmismatches - 3*nindels with MATCHES_SIGDIFF after use of
      totalintronscore.

    * pair.c: Counting nindels correctly near splice sites

    * dynprog.c: Counting nindels correctly near splice sites

    * gtf_splicesites.pl.in: Allowing GTF file to use tag gene_id instead of
      gene_name

    * stage1hr.c: Fixed masking of oligos for cmet and atoi modes

    * gsnap.c: Added 'S' flag to getopt command.  Removed 'R' flag from getopt
      and from help message.

    * datadir.c: Fixed error message to remove the word default

    * stage3.c: Peeling back 1 pair in a dual break (previously turned off) to
      avoid having a gap on either side.

2011-09-06  twu

    * dynprog.c, dynprog.h, stage3.c: Changed bridge_intron_gap to have an
      explicit parameter for use_probabilities_p.  Using indel_alignment_score
      now in pick_cdna_direction.

    * splicetrie.c, splicetrie.h: Providing contlength as parameter when making
      3' splicejunctions

    * genome.c, genome.h: Added functions for Genome_fill_buffer_blocks that do
      not print final null at end of string, needed for making splicejunctions.

    * dynprog.c, dynprog.h: Fixed creation of splicejunctions.  For 5'
      splicejunctions, not printing final null at end of string.  For 3'
      splicejunctions, printing distal sequence at splicejunction[contlength].

2011-09-03  twu

    * atoiindex.c, cmetindex.c: Masking to oligomer indices to given index1part
      size

2011-09-02  twu

    * gmap.c: Fixed bug in pairalign where min_matches not be adjusted downward
      to MIN_MATCHES

2011-09-01  twu

    * stage3.c: Fixed bug where longer end of dual break was being trimmed, not
      shorter end

    * dynprog.c: Allow for cDNA insert of up to 3 bp at splice site

    * dynprog.c, dynprog.h, gmap.c, gsnap.c, stage3.c: Introduced
      --microexon-spliceprob flag and allowing microexons only if one of the
      splice sites exceeds this value

    * stage3.c: Always keeping gappairs if finalp is true (was forcep)

    * dynprog.c: Always using splice site probabilities to find introns if
      finalp is true, and allowing indels nearby

    * stage3.c: Added a factor for dual break query jump to avoid dual breaks at
      end with small query jumps

    * gmap.c: Fixed indentation

    * scores.h: Added negative points in pathscore for non-canonical intron or
      for when cdna direction is indeterminate

    * pair.c: Added negative points in pathscore for non-canonical intron or for
      when cdna direction is indeterminate

    * chimera.c: Not allowing chimeric transition into a gap

    * stage1hr.c: Using new interface to Stage3_compute

    * gsnap.c: Using new interface to Stage3_setup

    * gmap.c: Added --nosplicing flag.  Fixed memory leak when matches <
      min_matches.

    * stage3.c, stage3.h: Made splicingp a static variable.  Added a step to
      remove dual breaks from the ends of an alignment.

    * stage2.c: Turning off link back to grand_fwd_hit when splicingp is false

    * stage2.c: Using macros for diffdist_penalty under splicing and
      non-splicing cases

    * stage2.c: Consolidated loops for use_shifted_canonical_p == true and ==
      false. Removed compiler branches when SHIFT_EXTRA is not defined.

2011-08-31  twu

    * stage3.c: In trimming noncanonical exons from end, requiring end intron to
      be canonical and have donor prob or acceptor prob >= 0.9.

    * chimera.c, chimera.h, pair.c, pair.h, stage3.c, stage3.h: Prohibiting
      chimeric join at a query position containing a gap

    * gsnap.c: Added comment in --help output about how to turn off terminal
      alignments

    * stage1hr.c: Using terminal_threshold in paired-end reads

    * gsnap.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h: Replaced
      terminal_penalty with terminal_threshold

2011-08-30  twu

    * gmap.c: Fixed entry for --pairalign in long_options

    * gmap.c: If min_matches exceeds MIN_MATCHES, use MIN_MATCHES

    * outbuffer.c, pair.c, pair.h, stage3.c, stage3.h: In compressed output,
      printing accession of usersegment instead of null dbversion

    * gmap.c: Implemented --pairalign flag for aligning a pair of sequences via
      stdin

    * splicetrie_build.c: Fixed compiler warning about unused variable

    * stage3.c: Improved debugging output

    * genome.c, gmap.c, inbuffer.c, inbuffer.h, sequence.c, sequence.h:
      Implemented --cmdline flag to align two sequences provided on the command
      line

    * shortread.c: Changed warning message when /1 or /2 endings not found

    * access.c: Changed warning message for Macs

    * stage3.c: Fixed add_querypos_offset, which previously excluded gap pairs

    * genome.c: Fixed compiler warnings about comparing ints and unsigned ints

    * indexdb.c: Printing genomesubdir and then individual index file names in
      monitoring message

    * indexdb.c: Using commas in initial monitoring message

    * genome.c: Using commas in initial monitoring message.  Allowing allocation
      if mmap not available.

    * gsnap.c: Modified messages about RNA-Seq and DNA-Seq

    * stage1hr.c: Put GMAP modes on a single line in monitoring message

    * indexdb.c: Restored debugging messages

    * iit-read.c: Casting all size_t to (unsigned long) in error messages

    * access.c: Added check for failure of fread, which happens with Macs on
      large genomes

2011-08-29  twu

    * pair.c: Fixed case of a negative distance in printing GMAP alignment
      beyond chromosomal bounds

    * substring.c, substring.h: Using new interface to Pair_print_gsnap

    * segmentpos.c: Fixed compiler warning about comparing int and unsigned int

    * oligo.c: Commented out unused procedures for dibase

    * indexdb_hr.c: Fixed compiler warning about comparing int and unsigned int

    * stage1hr.c: Using new interfaces to Stage3end_remove_overlaps and
      Pair_print_gsnap

    * stage3hr.c, stage3hr.h: Removed unused parameters in
      Stage3end_remove_overlaps

    * pair.c, pair.h: Fixed bug in GSNAP standard output in printing GMAP
      alignments beyond chromosomal bounds

    * stage1hr.c: For finding GMAP mapping bounds using segments, checking
      plus_nsegments and minus_nsegments > 0, rather than plus_segments and
      minus_segments == NULL.

2011-08-28  twu

    * VERSION: Updated VERSION

    * pair.c: Switched from aaphase_g to aaphase_e, since aaphase_e correctly
      codes for all three positions of the stop codon

    * config.site: Removed references to samtools

2011-08-27  twu

    * gsnap.c, shortread.c, shortread.h: Added flags --fastq-id-start and
      --fastq-id-end.  Stripping Illumina paired-end endings more intelligently.

2011-08-26  twu

    * dynprog.c, dynprog.h, splicetrie.c, stage3.c: Removed some unused
      parameters

    * dynprog.c, dynprog.h, stage3.c: Removed code for INTRON_HELP

    * gmap.c: Changed author list

    * dynprog.c, dynprog.h, splicetrie.c, splicetrie.h: Removed references to
      gbuffer

    * gsnap.c: Fixed warning messages for -N and -s.  In --help message,
      notifying user that full pathnames are allowed.

    * stage3.h: Providing accessor commands for chrnum, chrstart, and chrend

    * stage3.c: Fixed bug in determining coordinates for Stage3_mergeable

    * gmap.c: Modified some debugging statements for chimeras

2011-08-19  twu

    * stage1hr.c: Adding at least querylength beyond distal mappingstart or
      mappingend to obtain distal genomicstart or genomicend

    * oligoindex.c: Added to size of genomicdiag by 1.  Added assertion about
      exceeding those bounds.

    * gsnap.c: Added warning messages about interpretation of -N and -s flags

    * genome_hr.c: Fixed bugs preventing program from compiling

    * gmap_build.pl.in: Not providing -s flag to fa_coords

2011-08-16  twu

    * archive.html, index.html: Updated for version 2011-08-15

    * COPYING: Changed Developer

    * gmap_setup.pl.in: Removed instructions about gmapdb_lc and
      gmapdb_lc_masked

    * README: Added default value for MAX_READLENGTH

    * README: Revised for new features

    * indexdb.c: Added warning message if no gammaptrs file is produced

    * gmapindex.c: Allocating an extra two chars in the offsets file names for
      the basesize

    * archive.html, index.html: Changes made for 2011-03-28 version

    * fa_coords.pl.in: Limiting number of warning messages about duplicate
      contigs

2011-08-15  twu

    * atoiindex.c, cmetindex.c: Improved monitoring messages

    * setup1.test.in: Changed tests for new gamma file format

    * Makefile.am, setup.ref12123positions.ok, setup.ref123positions.ok: Changed
      tests for new gamma file format

    * atoiindex.c, cmetindex.c, indexdb.c: Handling special case where
      index1part == basesize by not writing gammaptrs file and reading
      offsetscomp file directly into offsets.

    * atoiindex.c, cmetindex.c: Modified procedures to work with new compressed
      offsets file format

    * indexdb.c: Handling case where kmer == basesize

2011-08-14  twu

    * gmap_setup.pl.in: Removed -S flag and added -s flag

    * gmap_build.pl.in: Changed message to indicate that default order is chrom
      order

    * fa_coords.pl.in: Removed -S flag

    * gmapindex.c: Made chrom sort order the default

    * gmap.c, gsnap.c: Added --splicingdir flag

    * gsnap_splices.c: Turned off warning messages about non-canonical splices

    * bam_tally.c: Fixed warning message output going to stdout

    * bam_tally.c: Fixed printing of print_allele_counts_simple.  Allocating and
      freeing tallies within parse_bam procedure for each chromosome.

    * indexdb.c: Added missing closing brace

    * gsnap_extents.c: Using find_strand procedure from gsnap_splices, which
      trusts strand from SAM output

    * spliceturn.c: Fixed eliminatep to be indexed by universal IIT index

2011-08-13  twu

    * indexdb.c, indexdb.h, indexdb_hr.c, indexdbdef.h: Allowing backward
      compatibility with pre-gamma genomic indices.  Using littleendian and
      bigendian versions of gamma procedures.  Implemented more compatibility
      with bigendian machines.

    * genome_hr.c, genome_hr.h: Instead of allocated/mmapped versions of gamma
      procedures, creating littleendian and bigendian versions

    * spliceclean.c: Changed wording of monitoring messages from "Resolve" to
      "Choose". Providing count information even when cannot choose between fwd
      and rev.

    * spliceturn.c: Printing monitoring message about number of splices
      eliminated

    * bam_tally.c: Improved warning messages for genotypes inconsistent with
      reference allele

    * atoiindex.c: Using offsetscomp instead of offsets in variable names.

    * cmetindex.c: Using offsetscomp instead of offsets in variable names.

    * snpindex.c: Fixed bug with freeing gammaptrs_filename and
      offsetscomp_filename too early.  Using offsetscomp instead of offsets in
      variable names.

    * indexdb.h: Removed unused procedures

    * indexdb.c: Checking for rare case that ctr == 0 after all gammas read, and
      not advancing ptr in that case

    * bam_tally.c: Added Tally_T structure to simplify data structures and speed
      up program

    * bam_tally.c: Removed quality_score_constant.  Handling empty quality
      strings correctly.

    * bamread.c: Handling empty quality strings correctly

    * indexdb.c, indexdb_hr.c: Handling an offsetscomp_access condition that is
      not possible, to eliminate compiler warnings

    * gmap.c, stage1hr.c: Reduced value of minendexon from 12 to 9, since we are
      using nmatches - nmismatches.  Results in much better results at ends.

    * stage3hr.c: Restored usage of score before nmatches in remove_overlaps
      procedures

    * stage3.c: For trimming at ends, using nmatches - nmismatchs to evaluate. 
      Fixed bug in pick_cdna_direction where value for cdna_direction not
      assigned correctly.  Indels for bad introns, using requiring each end
      probability to be greater than 0.9, and taking alternate gappairs if
      nmismatches is less.

    * Makefile.dna.am, Makefile.gsnaptoo.am, VERSION, access.h, atoiindex.c,
      cmetindex.c, config.site.rescomp.prd, config.site.rescomp.tst,
      genome_hr.c, genome_hr.h, gmap.c, gmap_build.pl.in, gmap_setup.pl.in,
      gmapindex.c, gsnap.c, iit-read.c, indexdb.c, indexdb.h, indexdb_hr.c,
      indexdbdef.h, pmapindex.c, snpindex.c, splicetrie_build.c, src, trunk,
      types.h, util: Merged revisions 44539 to 44852 from
      branches/2011-08-09-elias-gamma, implementing gamma coding to represent
      offsets in genomic indices

2011-08-11  twu

    * stage1hr.c: Put GMAP pairsearch back in front of distant splicing. 
      Characterizing GMAP pairsearch results according to quality, and updating
      either nconcordant or nsalvage.  Distant splicing done if nconcordant is
      0. Terminals done if both nconcordant and nsalvage are 0.

    * stage3.c: Not using nnoncanonical in pick_cdna_direction.  Restored
      assignment of SENSE_NULL if no canonical site is found.

2011-08-10  twu

    * stage3hr.c: In Stage3end_remove_overlaps and Stage3pair_remove_overlaps,
      using nmatches rather than score as the primary measure

    * samprint.c, stage1hr.c, stage3hr.h: Introduced new hittype DISTANT_SPLICE
      and not trying to do GMAP alignment on those

    * stage1hr.c: Moved distant splicing ahead of GMAP pairsearch

    * stage3hr.c: Added debugging information

2011-08-09  twu

    * substring.c: Trimming terminals with fixed -3 mismatch score, while
      allowing other ends to be controlled with user-specified
      trim_mismatch_score.

    * dynprog.c: Using probabilities to find splice sites only if finalp is true

2011-08-08  twu

    * bamread.c: Added missing #endif statement

    * stage3.c: Limiting SENSE_NULL only to ties between fwd and rev

    * stage3.c: Preventing semicanonical splices at end from being trimmed. 
      Using product of probabilities to decide whether an indel is next to a bad
      intron

    * dynprog.c: If canonical intron cannot be found, using probabilities to
      find best splice junction

    * bamread.c, bamread.h: Added function Bamread_splice_strand

    * samprint.c: Making cigar_noncanonical_splices_p true

    * sequence.c, shortread.c: Made fixes in new handling of eoln situations

    * stage3hr.c, stage3hr.h, substring.c, substring.h: Using runlength IIT for
      resolving multiple mappings

    * spliceturn.c: Sorting splices in order of observed counts, and eliminating
      in that order

    * snpindex.c: Fixed coordinates in error messages

    * gsnap.c: Added option for using runlength IIT to resolve multiple mappings

    * bam_tally.c: Added option for printing runlengths

    * bam_tally.c: Printing genotype.  Added --diffs-only flag.

2011-08-07  twu

    * dynprog.c: Providing separate rewards for GC-AG and AT-AC introns, with
      stronger reward for GC-AG.

    * stage3.c: Not removing bad non-canonical exons at end.  Computing combined
      probability score for donor and acceptor splice sites.

    * spliceturn.c: Fixed program to not depend on distinction between known and
      new splices

    * gsnap_splices.c: Added --minsupport flag

    * gmap.c: Added break after case 'z'

2011-08-06  twu

    * stage3hr.c: Turned off TALLY_RATIO, and checking instead for presence or
      absence of overlap

    * gsnap_splices.c: Added --mincount flag

    * gsnap.c: Adding .iit to splicesites file when searching locally

    * bam_pileup.c: Printing accessions at start and end of reads

    * indexdb.c: Checking for full offsets_suffix, not just "offsets"

    * dynprog.c, dynprog.h, stage3.c: Fixed bug in assigning the wrong value to
      splicingp.  For indels next to bad introns, checking the alternative to
      see if it is free of mismatches.

    * Makefile.dna.am, Makefile.gsnaptoo.am, atoiindex.c, cmetindex.c,
      indexdb.c, indexdb.h, snpindex.c: Created a general Indexdb_get_filenames
      procedure and using it for snpindex, cmetindex, and atoiindex, so they
      work on all k-mer types

    * stage3hr.c, substring.c, substring.h: Removed some unused parameters and
      variables

    * outbuffer.c, stage3.c, stage3.h: Removed some unused parameters

    * stage3.c: Not calling pick_cdna_direction when splicingp is false

    * bam_pileup.c: Initial import into SVN

2011-08-05  twu

    * outbuffer.c: Restored Paths and Alignments sections to "gmap -4" output
      (continuous by exon).

    * VERSION: Updated version number

    * stage3hr.c: In Stage3end_gene_overlap, initializing foundp

    * iit-read.c: In IIT_gene_overlap, initializing allocp and freeing matches.

    * gtf_genes.pl.in: Revised ends and starts for genes on minus strand.

    * psl_genes.pl.in: Fixed 0-basis of starts.  Revised ends and starts for
      genes on minus strand.

    * psl_genes.pl.in: Added headers for gene format

    * Makefile.am, configure.ac: Revised set of files distributed

    * Makefile.am, gtf_genes.pl.in, psl_genes.pl.in: Added psl_genes and
      gtf_genes programs

    * gmap.c, iit-read.c, stage1.c, stage1.h: Removed unused parameters

    * gmap.c, gregion.c, stage1.c, stage1.h: Removed unused parameters

    * inbuffer.h: Removed parameter pc_linefeeds_p

    * shortread.h: Removed braces

    * sequence.c: Removed call to find_bad_char, since we are checking for '\r'
      directly before '\n'

    * shortread.c: Removed call to find_bad_char, since we are checking for '\r'
      directly before '\n'

    * sequence.c, shortread.c: Added checks so we don't read p[-1] when the
      first character in the string is already '\n'

    * sequence.c: Checking for carriage return before every line feed

    * shortread.c: Checking for carriage return before every line feed

    * gsnap.c, inbuffer.c, shortread.h: Removed --pc-lines option

    * Makefile.am, dbsnp_iit.pl.in, fa_coords.pl.in, gmap_compress.pl.in,
      gmap_process.pl.in, gmap_uncompress.pl.in, gtf_splicesites.pl.in,
      md_coords.pl.in, psl_introns.pl.in, psl_splices.pl.in,
      psl_splicesites.pl.in: Stripping CR-LF from input files

2011-08-04  twu

    * gsnap.c, iit-read.c, iit-read.h, pair.c, pair.h, stage3hr.c, stage3hr.h,
      substring.c, substring.h: Added option to favor multi-exon genes

    * gmap.c, gsnap.c: Checking for valid int and float arguments

    * stage3hr.c: Fixed bug in resolve_multimapping procedures

    * stage3hr.c: Fixed bug in not initializing antistranded_penalty

    * gsnap.c, iit-read.c, iit-read.h, pair.c, pair.h, stage1hr.c, stage3hr.c,
      stage3hr.h, substring.c, substring.h: Added -g flag and genes_iit.  Added
      procedures for resolving multimapping using known genes and tally.

    * gmap.c: Making call to Splicetrie_setup, so -s flag works for known splice
      sites

    * Makefile.am, Makefile.dna.am, Makefile.gsnaptoo.am, Makefile.three.am,
      coords1.test.in, iit.test.in, setup1.test.in: Fixed "make check" so it
      works for Cygwin on Windows, where copying of programs from src does not
      work

2011-08-03  twu

    * dynprog.c, dynprog.h, stage3.c: Computing splice site probabilities when
      user genomic segment is provided

    * stage3.c: In assign_gap_types, using known splicesites_iit to assign
      splice site probabilities of 1.

    * pair.c, pairdef.h, pairpool.c, stage3.c: In addition to trimming
      noncanonical exons close to the end, trimming bad canonical exons close to
      the end.  Now computing splice site probabilities in assign_gap_types.

    * dynprog.c: Checking for indel plus bad intron only when finalp is true,
      because earlier passes may need some time to iterate to reach a final
      solution.

    * stage3.c: Checking for pairs being NULL before calling Pair_trim_ends

    * gmap.c, pair.c, pair.h, stage1hr.c, stage3.c, stage3.h, stage3hr.c,
      stage3hr.h: Using matches post-trim for deciding if the alignment has
      sufficient quality, but using nmatches_pretrim for ranking and scoring
      purposes.

    * stage3.c: Turned final pass 6 back on, which was inadvertently turned off

    * dynprog.c, pair.c, pair.h, pairdef.h, pairpool.c: Protecting pairs at end
      against trimming by GMAP if they are found by splicetrie at known splice
      sites

    * stage3.c: Not running Dynprog_single_gap if queryjump or genomejump of a
      dual break is equal to 1, since that just leads to two indels.

    * pair.c: For trimming of ends, changed penalty for indel score from -6 to
      -4.

    * dynprog.c: Corrected coordinates for splice site probabilities and
      dinucleotides. Disallowing indels near splice sites if either probability
      is less than 0.9.

    * stage3.c: Keeping non-canonical intron if there is sufficient exon
      evidence at the end.  Iterating trimming of non-canonical introns at the
      end.

    * pair.c: Printing "method:gmap" even if assertions are turned off

    * dynprog.c: Checking probability of intron found by bridge_intron_gap and
      discarding the solution if it finds both an indel and a bad intron.

2011-08-02  twu

    * chrom.c, diag.c, diag.h, dynprog.c, gmap.c, oligoindex_hr.c, outbuffer.c,
      pair.c, pair.h, smooth.c, stage1.c, stage1hr.c, stage2.c, stage3.c,
      stage3.h: Removed various unused parameters

    * VERSION, config.site.rescomp.prd, config.site.rescomp.tst: Revised version
      number

    * stage1hr.c: Fixed debugging statements

    * substring.c: Added a general test of goodness for a substring based on its
      numbers of matches and mismatches.

    * stage3.c: Restored trimming of non-canonical end exons, but removed code
      that trimmed exons less than 20 bp when known splicing was available.

    * iit-read.c, iit-read.h: Added function IIT_exists_with_divno_typed_signed

    * stage1hr.c: Providing an allowance for GMAP score when want_high_quality_p
      is true.  Turning off use of score as primary criterion in choosing
      splices, since it does not take advantage of known splicing.

    * stage3.c: Not using nmismatches in pick_cdna_direction.  If
      splicesites_iit is available, assigning known splicesites a probability of
      1.0.

    * stage1hr.c, stage1hr.h: When antistranded_penalty has a value, using
      mismatches plus penalty to decide between sense and antisense, rather than
      using probabilities.

    * stage3.c: Changed to_queryend_p to be true for distalmedial_ending, since
      it is comparing alternatives.

2011-08-01  twu

    * stage3hr.c, stage3hr.h: Adding antistranded_penalty to score

    * stage3.c: In pick_cdna_direction, using presence of indels in combination
      with bad intron

    * stage1hr.c, stage1hr.h: Using antistranded penalty to determine to force
      GMAP to look for antisense result.  Requiring GMAP to be high quality in
      all cases. Basing GMAP quality on nmismatches plus gap opens.  Choosing
      best result among all paired types, so concordant no longer predominates
      over others.

    * samflags.h: Added comment to show some common flags

    * gsnap.c: Added parameter for antistranded penalty

    * chrom.c, chrom.h, gmapindex.c, gsnap_extents.c, gsnap_splices.c,
      gsnap_terms.c, iit-read.c, iit_store.c, iitdef.h, segmentpos.c,
      segmentpos.h, spliceclean.c: Introducing new chrom sort in addition to
      previous numeric_alpha sort

    * chrom.c: Fixed bugs in parsing out initial "chr" from strings

    * gsnap.c: Changed default for all gmap parameters from 2 to 3

    * stage1hr.c: Added macros add_bounded and subtract_bounded to keep
      computations within chromosomal bounds

    * gmap.c, stage2.c, stage2.h: Created a specialized procedure for
      score_querypos when splicing is true and no shifted canonicals are used

    * oligoindex.c: Using only 8-mers for oligoindices_major in GSNAP for stage
      2

2011-07-31  twu

    * config.site.rescomp.tst, configure.ac, gmap_build.pl.in, gsnap.c,
      gtf_splicesites.pl.in, psl_splicesites.pl.in, src, stage1hr.c, stage1hr.h,
      stage3hr.c, stage3hr.h, trunk, util: Merged revisions 44034 to 44047 from
      branches/2011-07-31-gmap-then-terminals

    * stage1hr.c: For GMAP halfmapping, when overlap is found, take widest
      possible starting point between the overlap calculation and the normal
      calculation

    * stage3.c: Added gappairs in debugging statements

    * shortread.c, shortread.h, stage1hr.c: In computing GMAP halfmapping,
      checking for existence of primers and extending GMAP region if they exist

    * stage3hr.c, stage3hr.h: Added function Stage3end_best_score_paired

    * stage1hr.c: Running GMAP pairsearch only on ends with scores better than
      those already paired

    * gmap.c, gsnap.c: Printing arguments before they are parsed

    * stage2.c: When shifted_canonical_p is false, not computing rev scores,
      since they are the same as the fwd scores

    * stage2.c: Improved debugging statements

    * gmap.c, stage1hr.c, stage2.c, stage2.h, stage3.c: Added parameter
      use_shifted_canonical_p.  Using now only for cross-species alignment in
      GMAP.

    * stage3hr.c, stage3hr.h: Added function Stage3pair_sort_bymatches.  For
      substitutions with 0 mismatches, classifying hit as EXACT rather than SUB,
      so duplicates are eliminated properly.

    * stage1hr.c, stage1hr.h: Allowing multiple concordant results to undergo
      GMAP improvement, up to max_gmap_improvement.  Sorting results by matches
      before GMAP improvement.

    * gsnap.c: Introduced separate parameter for max_gmap_improvement.  Hid
      pairexpect and terminal-penalty parameters.

    * stage1hr.c: Fixed errors in find_terminals with analysis of mismatches and
      use of floors

    * stage1hr.c: Requiring high quality GMAP unpaired method when we observe a
      paired toolong alignment

    * gsnap.c: Made halfmapping,unpaired,improve the default GMAP method

    * stage3hr.c, stage3hr.h: Scoring GMAP based on total number of matches. 
      Implemented Stage3end_best_score.

    * stage1hr.c: Using new test based on Stage3end_best_score to avoid
      terminals in anticipation of GMAP halfmapping.  Allowing poor quality GMAP
      in GMAP improvement.  Filtering results by optimal score before GMAP
      improvement using an infinite cutoff.

    * stage3.c: In pick_cdna_direction, allowing bad-scoring canonical introns
      to determine sense

    * Makefile.dna.am, Makefile.gsnaptoo.am, gmap.c, sense.h, stage1hr.c,
      stage3.c, stage3.h, stage3hr.h: Created new header file sense.h. 
      Returning sensedir from pick_cdna_direction and Stage3_compute.

    * gsnap.c, stage1hr.c, stage1hr.h: Introduced separate parameter for
      trigger-score-for terminals

    * stage1hr.c: Turned off option to avoid terminals if halfmapping
      anticipated later

    * stage3.c: Increased threshold for trying microexon from 0 acceptable
      mismatches to 2 in high quality sequences

    * stage1hr.c: Applying Stage3pair_optimal_score after GMAP improvement step

    * pair.c, pair.h, samprint.c, stage3hr.c, substring.c, substring.h:
      Implemented computation of MAPQ scores for GMAP alignments

    * mapq.c, mapq.h: Moved some constants to mapq.h, so pair.c can access them

    * gsnap.c, stage1hr.h: Changed name of GMAP method from concordant_uniq to
      improvement

2011-07-30  twu

    * stage1hr.c: Conducting search for terminals even if gmap_halfmapping_p is
      true, if both single ends have no hits so far

    * splicetrie.c, splicetrie.h: Checking internal exon region at splice site
      before doing a search for a short-end splice.

    * oligoindex_hr.c: Removed assertions about sequencepos

    * stage1hr.c: In using segments to bound GMAP region, looking at querypos5
      and querypos3 to help decide whether to extend mapping region by
      shortsplicedist.

    * stage3.c: In pick_cdna_direction, no longer using indel_alignment_score

    * gsnap.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h: Introducing
      separate parameters for GMAP methods.  Sorting singlehits5 and singlehits3
      before running GMAP halfmapping/unpaired.

    * gmap.c, gsnap.c, oligoindex_hr.c, oligoindex_hr.h, stage1hr.c, stage1hr.h,
      stage2.c, stage2.h, stage3.c: Merged revisions 43984 to 43994 from
      branches/2011-07-30-oligoindex-mapping-region to introduce mappingstart
      and mappingend in addition to genomicstart and genomicend for finding
      oligoindex mappings in stage 2

    * pair.c: In trimming, counting an indel only as a single mismatch

    * stage3.c: Turning off the step to remove noncanonical introns, since it
      fails in some cases

    * stage1hr.c: Not doing terminals if GMAP pairsearch or halfmapping is
      available

    * stage2.c: Ignore log message for 43986.  Correct log message should be:
      Introduced NEAR_END_LENGTH to define ends of reads where we can ignore
      EXON_DEFN.

    * stage2.c: Not doing terminals if GMAP pairsearch or halfmapping is
      available

    * gsnap.c: Made halfmapping,cuniq the default for gmap-mode.

    * gmap.c: Reduced values of CHIMERA_SLOP

2011-07-29  twu

    * stage3hr.c: For single-end reads, favoring non-ambiguous alignments over
      ambiguous ones when they have identical genomicstarts or genomicends.

    * dynprog.c: In Dynprog_end5_known and Dynprog_end3_known, if extension not
      found to query end and if ambiguous splicing not found, then doing dynamic
      programming again to best end, rather than to query end.

    * pair.c, pair.h, stage3.c: Trimming of ends of GMAP alignments

    * stage1hr.c: Allowing very poor alignments to be reported by GMAP method,
      now that we have trimming at ends

    * gsnap.c, stage1hr.c, stage1hr.h: Avoiding duplication of chr marker
      segments and chr marker segment at the beginning.  Passing chromosome_iit
      and nchromosomes into Stage1hr_setup.

2011-07-28  twu

    * stage1hr.c: Using binary search on segments to bound region for GMAP
      alignments

2011-07-27  twu

    * stage1hr.c: Created debugging version that identifies plus_segments and
      minus_segments within GMAP halfmapping region

    * stage2.c: Re-using result of find_shifted_canonical when leftpos remains
      the same

    * gsnap.c: Made default for GMAP halfmapping with 2 candidates

    * genome_hr.c: Added comments in splicesite_positions that offset - 1 is
      verified

    * stage1hr.c: Fixed issues with fast_level and cutoff_level for very short
      reads, where fast_level < 0

    * stage1hr.c: Made plus_segments, plus_nsegments, minus_segments, and
      minus_nsegments fields within the Stage1_T object, so they can be used
      later in limiting range for GMAP alignments

    * genome_hr.c, genome_hr.h, stage2.c: Implemented lookup as needed of the
      previous dinucleotide from the genomic blocks

2011-07-26  twu

    * stage1hr.c: Added chr marker segments to indicate boundaries between
      chromosomes and simplify inner loops for localsplicing and indels

    * Makefile.dna.am: Removed gbuffer.c and gbuffer.h from file lists

    * stage3.c, stage3.h: Multiple revisions to pick_cdna_direction

    * stage2.c: Requiring exon length > EXON_DEFN for canonical splicing only in
      middle of queryseq

    * gsnap.c, stage1hr.c, stage1hr.h: Allowing control over individual gmap
      modes

    * chimera.c, dynprog.c, dynprog.h, extents_genebounds.c, genome.c, genome.h,
      get-genome.c, gmap.c, gsnap_tally.c, iit_plot.c, match.c, pair.c,
      sequence.c, sequence.h, splicetrie.c, splicetrie.h, splicing-score.c,
      substring.c: Making complement in place.  Using new interface to
      Genome_get_segment.

2011-07-21  twu

    * Makefile.am, gtf_splicesites.pl.in: Added gtf_splicesites program

    * config.site.rescomp.tst: Updated version number

    * VERSION: Updated version number

    * indexdb.c: Fixed error message for PMAP

    * config.site.rescomp.tst, gsnap.c, indexdb.c, outbuffer.c, outbuffer.h,
      resulthr.c, resulthr.h, splicealt.c, splicetrie.c, splicetrie.h,
      splicetrie_build.c, splicetrie_build.h, src, stage1hr.c, stage1hr.h,
      stage3hr.c, stopwatch.c, substring.c, trunk, util: Merged revisions 43003
      to 43362 from branches/2011-07-15-fast-knownsplices in creating splicecomp
      and creating specialized procedures for find_spliceends for shortends and
      distant splicing

    * stage2.c: Fixed bug in older canonical dinucleotides procedure that
      overwrite -1 values in initial positions

    * stage1hr.c: Revised comments

    * Makefile.dna.am: Added command for splicealt

    * psl_splicesites.pl.in: Fixed warning messages

    * psl_introns.pl.in: Fixed warning messages

    * gmap_build.pl.in: Added initial definition for -B flag

2011-07-17  twu

    * stage2.c: Fixed problem in get_last, needed by find_shifted_canonical,
      when first few positions lack a value of -1.

2011-07-13  twu

    * VERSION: Revised version number

    * genome-write.c: Added fix for genomes in PC-DOS file format

    * VERSION, atoiindex.c, cmetindex.c, config.site.rescomp.prd, gmap.c,
      gmap_build.pl.in, gmap_setup.pl.in, gmapindex.c, gsnap.c, indexdb.c,
      oligo.c, src, stage1.c, stage1hr.c, stage1hr.h, stage3.c, stage3hr.c,
      stage3hr.h, trunk, util: Merged revisions 42540 through 42858 from
      branches/2011-07-08-index-14mers to handler 13-mers and 14-mers, and to
      fix various bugs

2011-07-08  twu

    * samprint.c: Using new interface to Pair_print_sam

    * outbuffer.c, pair.c, pair.h, stage3.c, stage3.h: Using usersegment
      accession in SAM and GFF3 output when -g flag is specified.

    * goby.h, gsnap.c, outbuffer.c, shortread.c, shortread.h, stage3hr.c,
      stage3hr.h, substring.h: Merged external changes for Goby from 2011-07-01
      and 2011-07-08

    * Makefile.gsnaptoo.am: Added files for oligoindex_hr.c and oligoindex_hr.h

    * goby.c: Applied external patch from 2011-07-08

    * Makefile.dna.am, VERSION, config.site.rescomp.tst, genome_hr.c,
      genome_hr.h, gmap.c, gsnap.c, oligoindex.c, oligoindex.h, oligoindex_hr.c,
      oligoindex_hr.h, src, stage1hr.c, stage1hr.h, stage2.c, stage2.h,
      stage3.c, stage3hr.c, stage3hr.h, trunk, util: Merged revisions 42282 to
      42511 from branches/2011-07-05-oligoindex-hr to speed up GMAP oligoindex
      and provide options for GMAP

    * oligoindex.c: Stop initializing all diagonals.  Initialize only when
      needed.

    * splice-sites-hr.pl: Added -S flag for semicanonical splice sites

    * indexdb.c: Fixed Indexdb_new_genome for PMAP

    * gmap.c: Changed default index1part for PMAP

2011-07-07  twu

    * splice-sites-hr.pl: Initial import into SVN

2011-07-06  twu

    * shortread.c: Allows for non-digit, then "1" or "2" for paired-end reads

2011-07-05  twu

    * dynprog.c: Added protection against negative genomic coordinates in
      dynamic programming at 5' and 3' ends

    * shortread.c: Modified error statement

    * stage1hr.c: Adding querylength to genomicbound in cases where no overlap
      is found, just in case the overlap is not found.

    * stage1hr.c: Requiring high quality when aligning concordant unique hits
      with GMAP

2011-07-04  twu

    * stage3.c: Trimming end exons if less than 20 bp and known splicing is
      available

    * stage1hr.c: Improved debugging statements for GMAP alignments

    * splicetrie.c: Counting mismatches correctly, without penalty, when known
      splicing exceeds observed distances

    * gsnap.c, stage3hr.c, stage3hr.h: Adding ambiguous matches to nmatches when
      favor_ambiguous_p is true, which happens if we have known splicing without
      observed distances

    * dynprog.c, dynprog.h: Implemented find_best_endpoint_to_queryend

    * stage3.c: Trimming semi-canonical exons at end also

    * splicetrie.c: Fixed bug in failing to push coordinates for ambiguous cases

    * pair.c: Fixed symbol for rev semi-canonical pair in debugging output

    * iit_store.c: Improved error message when parsing coords

    * iit_store.c: Printing entire problematic line when a parsing error occurs

2011-07-03  twu

    * stage3.c: Revised pick_cdna_direction to count semicanonical splices, and
      to use nmatches - nmismatches

2011-07-02  twu

    * stage3hr.c: Fixed bug in always eliminating second hit in
      Stage3end_remove_overlaps

    * Makefile.am, setup.ref123positions.ok, setup.ref3positions.ok,
      setup1.test.in, setup2.test.in: Made changes for renaming of ref3positions
      to ref123positions

    * gmap.c, gsnap.c, stage2.c, stage2.h: Added setup for stage 2 to handle
      GMAP alignments without splicing

    * pair.c: Putting "0M" between adjacent deletion and insertion in CIGAR
      string

    * gsnap.c, stage1hr.c, stage1hr.h: Providing --allow-gmap flag to control
      whether GMAP alignments are allowed

2011-07-01  twu

    * stage3.c: Adding gap holders before nonconcordant exon trimming.  Checking
      if nonconcordant end exon is less than halfway from end.  In picking cDNA
      direction, checking only for presence or absence of nonconcordant or
      concordant introns.

    * stage2.c: Put back diffdist_penalty

    * stage1hr.c: Using better genomicbounds when running GMAP alignments. 
      Introduced check for very bad GMAP alignments (nmatches < querylength/2).
      Comparing GMAP against original hit for aligning concordant uniques with
      GMAP.  Trying top hits with GMAP to find concordant pairs, rather than
      checking to see if the total number of hits is less than a threshold.

    * pair.c, pair.h, shortread.c, stage3hr.c, stage3hr.h, substring.c,
      substring.h: Added procedures for computing better genomicbounds on GMAP
      alignments, based on overlap between the paired ends

    * gsnap.c, splicetrie.c, splicetrie.h: Added option for amb_closest_p
      behavior, where shortest intron among ambiguous ones is picked

    * genome-write.c: Added index1part as parameter to some procedures

2011-06-30  twu

    * stage3hr.c: Allowing terminal ends to win on the basis of nmatches,
      instead of score

    * stage3.c: Added pass 6a to remove noncanonical end exons

    * stage2.c: Restored NINTRON_PENALTY_MISMATCH from 4 to 8

    * stage1hr.c: Generalized minimum querylength for one-miss algorithm to
      handle 15-mers.  Order is now GMAP, terminal 1, terminal 2, and distant
      splicing, with terminals done if found_score > trigger_score_for_gmap.

    * gmap.c, gsnap.c, iit-read.c, iit-read.h, outbuffer.c, outbuffer.h: Added
      flags for read group library and platform in SAM headers

    * compress.c, compress.h, genome-write.c, genome-write.h, gmapindex.c:
      Allowing for 15-mer genomic indices when writing an uncompressed genome
      using a file

    * spanningelt.c: Generalized from 12-mers to 15-mers

2011-06-29  twu

    * gmap_build.pl.in: Fixed installation for 12-mer and 15-mer indices

    * gmap.c, gsnap.c: Added -B 5 option to allocate offsets file

    * Makefile.dna.am, access.h, atoiindex.c, block.c, block.h, cmetindex.c,
      gdiag.c, gmap.c, gmap_build.pl.in, gmap_setup.pl.in, gmapindex.c, gsnap.c,
      indexdb.c, indexdb.h, indexdb_dump.c, indexdb_hr.c, indexdb_hr.h,
      indexdbdef.h, oligo-count.c, oligo.c, oligo.h, oligop.c, oligop.h,
      outbuffer.c, pmapindex.c, snpindex.c, spanningelt.c, splicetrie.c, src,
      stage1.c, stage1.h, stage1hr.c, stage1hr.h, stage2.c, stage3.c, stage3.h,
      stage3hr.c, stage3hr.h, substring.c, substring.h, trunk, util: Merged
      revisions 41633 to 41936 from branches/2011-06-22-index-15mers to allow
      for 15-mers in genomic indices

2011-06-24  twu

    * stage1hr.c: Computing query_compress if necessary before deciding whether
      to perform halfmapping GMAP on concordant unique

    * pair.c: Fixed bug in printing start: instead of end: when endtype2 is END

2011-06-23  twu

    * config.site.rescomp.prd, config.site.rescomp.tst, src, stage1hr.c, trunk,
      util: Merged revisions 41618 to 41631 from
      branches/2011-06-22-gmap-earlier to move GMAP algorithm before distant
      splices

2011-06-22  twu

    * dynprog.c, dynprog.h, gmap.c, gsnap.c, iit-read.c, intron.c, intron.h,
      stage1hr.c, stage1hr.h, stage3.c, stage3.h, stage3hr.c, stage3hr.h: Merged
      revisions 41516 to 41609 from branches/2011-06-14-terminals to try GMAP up
      to 5 times before terminals if no concordant matches can be found.

2011-06-21  twu

    * dynprog.c, dynprog.h, gmap.c, iit-read.c, iit-read.h, maxent_hr.c, pair.c,
      pair.h, splicetrie.c, splicetrie.h, stage1hr.c, stage2.c, stage3.c,
      stage3.h, stage3hr.c, stage3hr.h, substring.c, substring.h: Merged
      revisions 41410 to 41516 from branches/2011-06-14-terminals. Applying GMAP
      for halfmapping multiple and unpaired unique results. Allowing ambiguous
      splice ends for GMAP alignments.  Fixed computation of splice junctions. 
      Allowing canonical exons to be found for short exons in GMAP alignments. 
      Improved pick_cdna_direction.  Made fixes to GSNAP output for GMAP
      alignments.

2011-06-18  twu

    * src, stage3hr.c: Merged change from branches/2011-06-14-terminals to check
      for subsumption in paired alignments

2011-06-17  twu

    * samprint.c, stage1hr.c, stage3hr.c, stage3hr.h, substring.c, substring.h:
      Merged revisions 41223 to 41410 from branches/2011-06-14-terminals to use
      lexicographic comparison in Stage3end_remove_duplicates; to prevent known
      splicing from extending past chromosomal bounds; to prevent end indels
      from going past right end of chromosome; to iterate through both
      mismatch_positions_cont and mismatch_positions_shift simultaneously in end
      indel procedures; and to compute nmatches over entire substring.

2011-06-14  twu

    * genome.c: Allowing fill_buffer_simple procedures to fill past the left end
      of the genome

    * splicetrie.c, splicetrie.h, stage1hr.c: Preventing short-overlap splicing
      from going past chromosomal boundaries

    * VERSION: Updated version

    * gmap.c: Increased default chimera margin from 20 to 40

    * gmap.c, src, stage3.c, stage3.h, trunk, util: Merged revisions 41185 to
      41214 from branches/2011-06-13-gmap-merge.  Merging chimeric parts when
      possible.

    * config.site.rescomp.tst, maxent.c, src, stage3hr.c, trunk, util: Merged
      revisions 40955 to 41210 from releases/internal-2011-06-09

    * dynprog.c, src, stage1hr.c, stage3hr.c, stage3hr.h, trunk, util: Merged
      revisions 40682 to 41210 from releases/internal-2011-06-06

    * stage1hr.c: Turning on NEW_TERMINALS branch

    * shortread.c, shortread.h: Added function Shortread_find_overlap

2011-06-12  twu

    * stage1hr.c: Added hooks for computing terminals at zero penalty if
      necessary

2011-06-11  twu

    * stage3hr.c: Allowing use of Stage3end_substringD and Stage3end_substringA
      by half splices

    * samprint.c, stage3hr.c, substring.c, substring.h: Merged changes from
      releases/internal-2011-06-09 to change internal representation of splice
      from substring1 for donor and substring2 for acceptor.  Now substring1 and
      substring2 are in query order.  Needed to avoid problems when a splice was
      labeled both as donor/acceptor and as acceptor/donor.

2011-06-10  twu

    * gsnap.c: Checking for value of adapter stripping flag.  Turning on adapter
      stripping by default.

2011-06-09  twu

    * gmap.c, gsnap.c: Joining worker threads instead of detaching them, so
      Inbuffer_free can be called safely

    * gmap.c, stage3.c, stage3.h: Merge chimeric parts into a single continuous
      alignment if possible.

    * VERSION: Updated version

    * gmap.c: Allowing chimera switchpoint to occur one base pair earlier

    * chimera.c: Improved debugging statements

    * genome.c: Made Genome_fill_buffer refer to its local genome argument, not
      the global one.  Needed to fix a bug in snpindex.

    * Makefile.dna.am, Makefile.gsnaptoo.am, compress.h, dynprog.h, outbuffer.c,
      pair.c, pair.h, pairpool.h, samprint.c, splicetrie.h, splicetrie_build.h,
      stage3.c, stage3.h: Printing XT flag for translocation information in SAM
      output of both GMAP and GSNAP

    * chimera.c, chimera.h, gmap.c: Changed algorithm for finding chimera
      boundary in GMAP to maintain best number of mismatches, and then to find
      highest splice site probabilities within that range

2011-06-08  twu

    * gsnap.c: Fixed mode flag to take a required argument

    * gmap.c, outbuffer.c, outbuffer.h: Added .transloc split output file for
      GMAP

    * gmap.c: Hiding -s flag from help output

    * gmap.c, stage3.c, stage3.h: Revising pairarray genomepos coordinates of
      GMAP chimeras to be chromosomal coordinates, so SAM output is correct

    * pair.c: Implemented hard clipping in SAM output for GMAP chimeras

2011-06-06  twu

    * samprint.c: Made the sign of insertlength for a translocation depend on
      the concordant substring

    * VERSION: Updated version number

    * stage3hr.c: Fixed computation of pair_insert_length when there is no
      overlap

    * stage1hr.c: Added debugging statements

    * stage1hr.c: Corrected privatep flags and memory freeing for halfmapping
      unique cases solved by GMAP.

    * outbuffer.c: Corrected argument list for GMAP when MEMUSAGE is turned on

    * stage3hr.c, stage3hr.h: Added function Stage3end_effective_chrnum

    * samprint.c: For mates that are translocations, using the effective chrnum
      in printing the mate location

    * resulthr.c: Fixed bug in assigning UNPAIRED_TRANSLOC category

    * stage1hr.c: Added checks for new pair from Stage3pair_new being NULL

2011-06-05  twu

    * stage3.c: Placed a limit on iterations of building ends using known
      splicing

    * src, trunk, util: Merged property changes on subdirectories from
      branches/2011-06-04-gmap-genomicseg

    * VERSION, config.site.rescomp.prd, config.site.rescomp.tst: Updated version
      number

    * dynprog.c, gmap.c, pair.c, stage1hr.c, stage3.c, stage3hr.c, stage3hr.h:
      Merged changes from revision 40649 to 40663 from
      branches/2011-06-04-gmap-genomicseg to provide correct bounds on GMAP
      alignment in GSNAP and to improve various issues in alignment, including
      close indels

2011-06-03  twu

    * stage3hr.c: Changed paired_seenp back to paired_usedp in
      Stage3end_remove_duplicates, because not all pairs are seen in previous
      pair_up procedures, resulting in a fatal bug.

    * config.site.rescomp.prd, config.site.rescomp.tst: Updated version number

    * VERSION: Updated version number

    * gmap.c, splicetrie.c, splicetrie.h, stage1hr.c, stage3.c, stage3.h: Making
      use of jump_late_p

    * dynprog.c, dynprog.h: Added provision for jump_late_p.  Fixed issue in
      jump_penalty where it was not consistent with jump_penalty_init.  Now both
      procedures compute extend*length.

    * pair.c: Fixed printing of dashes in GSNAP standard output

    * dynprog.c, dynprog.h, gmap.c, stage1hr.c, stage3.c, stage3.h: Allowing
      close combinations of insertions and deletions, by allowing onesidegapp to
      be false and letting extraband_single equal 3 instead of 0.  Controlled by
      --allow-close-indels flag in GMAP.  Default set to be on in GMAP and in
      GSNAP.

2011-06-02  twu

    * stage1hr.c: Not performing Stage3end_remove_duplicates on exact matches,
      which should not be necessary.

    * stage3hr.c: In Stage3end_remove_duplicates, checking against paired_seenp,
      instead of paired_usedp, for speed.

    * stage3hr.c: Reverted back to revision 40489 of Stage3_pair_up_concordant,
      which does has the pairing procedures inline.

    * stage3hr.c: Attempt to have different lists for old and new hits, but this
      seems to slow down the program.

    * stage3hr.c: Moved parts of Stage3_pair_up_concordant into separate
      procedures

    * stage1hr.c, stage3hr.c, stage3hr.h: Performing GMAP on concordant unique
      results where one end is of type TERMINAL

    * gsnap.c: Changed default indel penalty from 1 to 2

    * stage3hr.h: Formatting change

    * stage3hr.c, substring.c, substring.h: Using nchimera_novel in
      Stage3end_remove_overlaps

    * stage3hr.c: In Stage3pair_remove_overlap, favoring longer insert lengths,
      if all else is equal

    * pair.c: Moved MD string for SAM output before NH tag to be consistent with
      other GSNAP SAM output

2011-06-01  twu

    * stage1hr.c, stage3hr.c, stage3hr.h, substring.c, substring.h: Making a
      distinction between Stage3end_remove_duplicates and
      Stage3end_remove_overlaps

    * stage3hr.c: Reverted to old method of finding pair insert length, where
      all substrings are checked.

    * stage1hr.c: In pairing algorithm, moved short-overlap splicing and distant
      splicing into a single singlesplicing class, so duplicates are handled
      properly.

    * gsnap.c: Added documentation for --use-tally flag

2011-05-30  twu

    * inbuffer.c, inbuffer.h: Changed nspaces and nread to unsigned int

    * gmap.c, gsnap.c, outbuffer.c, outbuffer.h: Made output buffer size a
      user-definable parameter

    * gmap.c, gsnap.c, outbuffer.c, outbuffer.h: Made more changes to output
      thread.  Made noutput a local variable. Clearing backlog in ordered output
      when necessary.

    * stage1hr.c: Added a dinucleotide check for repetitive sequences

    * gmap.c, gsnap.c, mem.c, mem.h, outbuffer.c, request.c, result.c,
      resulthr.c, sequence.c, shortread.c, stage1hr.c, stage1hr.h, stage3.c,
      stage3hr.c, substring.c: Replaced LEAKCHECK system with MEMUSAGE system

    * list.c, list.h: Added specialized procedures for using specific memory
      pools for memusage

    * inbuffer.c: Added comment

    * diagpool.c, diagpool.h, pairpool.c, pairpool.h: Added procedures for
      reporting memory usage.  Using memory from keep portion.

    * outbuffer.c: Cleaned up pthread code for output thread.  Added MAXQUEUE to
      clear out outbuffer.

2011-05-28  twu

    * config.site.rescomp.tst: Added -Wextra to CFLAGS

    * gsnap.c, stage3hr.c: Eliminating hitpair duplicates based on hittypes of
      ends.  Allowing MAPQ score to go as high as 96.

    * gsnap.c, stage1hr.c, stage3hr.c, stage3hr.h: Implemented mapq-unique-score

    * AUTHORS, COPYING, INSTALL, MAINTAINER, Makefile.am, Makefile.dna.am,
      Makefile.gmaponly.am, Makefile.gsnaptoo.am, Makefile.pmaptoo.am,
      Makefile.three.am, Makefile.util.am, NEWS, README, VERSION, access.c,
      access.h, acinclude.m4, acx_mmap_fixed.m4, acx_mmap_variable.m4,
      acx_pthread.m4, add_rpk.c, align.test.in, align.test.ok, archive.html,
      assert.c, assert.h, atoi.c, atoi.h, atoiindex.c, backtranslation.c,
      backtranslation.h, bam_tally.c, bamread.c, bamread.h, bigendian.c,
      bigendian.h, block.c, block.h, bool.h, bootstrap.dna, bootstrap.gmaponly,
      bootstrap.gsnaptoo, bootstrap.pmaptoo, bootstrap.three, boyer-moore.c,
      boyer-moore.h, builtin.m4, cappaths.c, changepoint.c, changepoint.h,
      chimera.c, chimera.h, chop_primers.c, chrnum.c, chrnum.h, chrom.c,
      chrom.h, chrsegment.c, chrsegment.h, chrsubset.c, chrsubset.h, cmet.c,
      cmet.h, cmetindex.c, color.c, color.h, comp.h, complement.h, compress.c,
      compress.h, config, config.guess, config.site, config.site.rescomp.prd,
      config.site.rescomp.tst, config.sub, configure.ac, convert.t.c,
      coords1.test.in, coords1.test.ok, cum.c, datadir.c, datadir.h, datum.c,
      datum.h, dbsnp_iit.pl.in, ddsgap2_compress.pl, defs, dev, diag.c, diag.h,
      diagdef.h, diagnostic.c, diagnostic.h, diagpool.c, diagpool.h, dibase.c,
      dibase.h, dibaseindex.c, doublelist.c, doublelist.h, dynprog.c, dynprog.h,
      except.c, except.h, exonscan.c, expand.m4, extents_genebounds.c,
      fa.iittest, fa_coords.pl.in, fopen.h, fopen.m4, gbuffer.c, gbuffer.h,
      gdiag.c, geneadjust.c, genecompare.c, geneeval.c, genome-write.c,
      genome-write.h, genome.c, genome.h, genome_hr.c, genome_hr.h,
      genomepage.c, genomepage.h, genomeplot.c, genomicpos.c, genomicpos.h,
      genuncompress.c, get-genome.c, getopt.c, getopt.h, getopt1.c, gmap.c,
      gmap_build.pl.in, gmap_compress.pl.in, gmap_process.pl.in,
      gmap_reassemble.pl.in, gmap_setup.pl.in, gmap_uncompress.pl.in,
      gmap_update.pl.in, gmapindex.c, goby.c, goby.h, gregion.c, gregion.h,
      gsnap-fetch-reads.pl, gsnap-fetch-reads.pl.in, gsnap-remap.pl,
      gsnap-remap.pl.in, gsnap.c, gsnap_best.c, gsnap_concordant.c,
      gsnap_extents.c, gsnap_fasta.c, gsnap_filter.c, gsnap_iit.c,
      gsnap_multiclean.c, gsnap_splices.c, gsnap_tally.c, gsnap_terms.c,
      gsnapread.c, gsnapread.h, hint.c, hint.h, iit-read.c, iit-read.h,
      iit-write.c, iit-write.h, iit.test.in, iit_dump.c, iit_fetch.c, iit_get.c,
      iit_get.out.ok, iit_pileup.c, iit_plot.c, iit_store.c, iit_update.c,
      iitdef.h, iittest.iit.ok, inbuffer.c, inbuffer.h, index.html, indexdb.c,
      indexdb.h, indexdb_dibase.c, indexdb_dibase.h, indexdb_dump.c,
      indexdb_hr.c, indexdb_hr.h, indexdbdef.h, internal-2011-02-27, interval.c,
      interval.h, intlist.c, intlist.h, intlistdef.h, intpool.c, intpool.h,
      intron.c, intron.h, lgamma.c, lgamma.h, list.c, list.h, listdef.h,
      littleendian.c, littleendian.h, ltmain.sh, madvise-flags.m4, maint,
      map.test.ok, mapq.c, mapq.h, match.c, match.h, matchdef.h, matchpool.c,
      matchpool.h, maxent.c, maxent.h, maxent_hr.c, maxent_hr.h, md5-compute.c,
      md5.c, md5.h, md_coords.pl.in, mem.c, mem.h, memchk.c, memory-check.pl,
      mmap-flags.m4, mode.h, nmath.c, nmath.h, nr-x.c, nr-x.h, oligo-count.c,
      oligo.c, oligo.h, oligoindex.c, oligoindex.h, oligop.c, oligop.h,
      orderstat.c, orderstat.h, outbuffer.c, outbuffer.h, pagesize.m4, pair.c,
      pair.h, pairdef.h, pairingcum.c, pairingflats.c, pairinggene.c,
      pairingstrand.c, pairingtrain.c, pairpool.c, pairpool.h, parserange.c,
      parserange.h, pbinom.c, pbinom.h, pdl_smooth.c, pdldata.c, pdldata.h,
      pdlimage.c, perl.m4, plotdata.c, plotdata.h, plotgenes.c, plotgenes.h,
      pmapindex.c, psl_introns.pl.in, psl_splices.pl.in, psl_splicesites.pl.in,
      random.c, random.h, rbtree.c, rbtree.h, rbtree.t.c, reader.c, reader.h,
      reads.c, reads.h, reads_dump.c, reads_store.c, request.c, request.h,
      result.c, result.h, resulthr.c, resulthr.h, revcomp.c, sam_merge.pl.in,
      sam_restore.pl.in, samflags.h, samprint.c, samprint.h, samread.c,
      samread.h, scores.h, segmentpos.c, segmentpos.h, segue.c, separator.h,
      seqlength.c, sequence.c, sequence.h, setup.genomecomp.ok,
      setup.idxpositions.ok, setup.ref3positions.ok, setup1.test.in,
      setup2.test.in, share, shortread.c, shortread.h, sim4_compress.pl,
      sim4_uncompress.pl, smooth.c, smooth.h, snpindex.c, spanningelt.c,
      spanningelt.h, spidey_compress.pl, spliceclean.c, spliceeval.c,
      splicefill.c, splicegene.c, splicegraph.c, splicescan.c, splicetrie.c,
      splicetrie.h, splicetrie_build.c, splicetrie_build.h, spliceturn.c,
      splicing-scan.c, splicing-score.c, src, ss.chr17test, ss.her2, stage1.c,
      stage1.h, stage1hr.c, stage1hr.h, stage2.c, stage2.h, stage3.c, stage3.h,
      stage3hr.c, stage3hr.h, stopwatch.c, stopwatch.h, struct-stat64.m4,
      subseq.c, substring.c, substring.h, svncl.pl, table.c, table.h,
      tableint.c, tableint.h, tableuint.c, tableuint.h, tally.c, tally.h,
      tally_exclude.c, tally_expr.c, tallyadd.c, tallyflats.c, tallygene.c,
      tallyhmm.c, tallystrand.c, tests, translation.c, translation.h, trial.c,
      trial.h, trunk, types.h, uintlist.c, uintlist.h, uinttable.c, uinttable.h,
      util, whats_on: Restored gmap trunk subdirectory

    * VERSION: Updated version

    * substring.c: Computing MAPQ on entire substring, not on trimmed portion

    * dynprog.c, dynprog.h, gmap.c, stage1hr.c, stage3.c, stage3.h: For genomic
      GMAP alignments in GSNAP, not assigning any canonical reward, not
      computing pairs_rev, and not scoring introns.

2011-05-27  twu

    * splicetrie.c, splicetrie.h, stage1hr.c: Removed unused parameter
      splicetypes

    * gsnap.c, stage1hr.c, stage1hr.h: Removed unused parameters, including
      queryptr and queryrc

    * Makefile.dna.am, Makefile.gsnaptoo.am, dynprog.c, dynprog.h, genome.c,
      genome.h, genome_hr.c, genome_hr.h, gmap.c, gsnap.c, mapq.c, mapq.h,
      maxent_hr.c, maxent_hr.h, oligoindex.c, outbuffer.c, outbuffer.h, pair.c,
      pair.h, samprint.c, samprint.h, splicetrie.c, splicetrie.h,
      splicetrie_build.c, splicetrie_build.h, src, stage1hr.c, stage1hr.h,
      stage3.c, stage3.h, stage3hr.c, stage3hr.h, substring.c, substring.h:
      Merged revisions 40182:40234 from branches/2011-05-27-no-block-vars to
      reduce number of parameters

    * VERSION: Updated version number

    * dynprog.c, dynprog.h, splicetrie.c, splicetrie.h, stage1hr.c, stage3.c,
      stage3.h: Restored complete searching of known splicesites for dynamic
      programming of ends

2011-05-26  twu

    * stage1hr.c: Created hybrid procedure for performing dynamic programming at
      5' and 3' ends with known splicing

    * dynprog.c, dynprog.h, splicetrie.c, splicetrie.h, stage3.c, stage3.h:
      Created hybrid procedure for performing dynamic programming at 5' and 3'
      ends with known splicing

    * dynprog.c, dynprog.h, splicetrie.c, splicetrie.h, stage3.c, stage3.h:
      Wrote faster procedure for performing dynamic programming at 5' and 3'
      ends with known splicing, but does not handle distal indels.

    * inbuffer.c: Performing chopping of adapters only after paired-end
      alignment fails to give concordant or paired result.

    * gsnap.c, request.c, request.h, shortread.c, shortread.h: Performing
      chopping of adapters only after paired-end alignment fails to give
      concordant or paired result.

    * stage1hr.c: Removed query as a parameter.  Changed knownsplice limits.

    * uintlist.c, uintlist.h: Added procedure Uintlist_to_string

    * mapq.c, mapq.h, stage3hr.c, stage3hr.h, substring.c, substring.h: Removed
      query as parameter to procedures

    * genome_hr.c, genome_hr.h: Removed query as parameter to some procedures

2011-05-25  twu

    * stage3hr.c: Moved assertions about private5p and private3p to correct
      place

    * gsnap.c, inbuffer.c, request.c, request.h, shortread.c, shortread.h: When
      potential paired-end adapter is found, checking alignment first without
      chopping adapters, and then if no concordant or paired alignments are
      found, then re-aligning with adapters chopped.

    * stage3hr.c: Removing only duplicates that have not been used yet in a pair

    * stage1hr.c: Doing Stage3pair_privatize before Stage3pair_eval

    * pair.c: Added NH tag for GMAP alignments in GSNAP

    * get-genome.c: Enabling re-use of contig_iit

    * shortread.c: Fixed bug in printing pairedend fasta.  Was printing both
      revcomp and forward sequence for queryseq2.

    * stage1hr.c, stage3hr.c, stage3hr.h: Reduced amount of memory copying in
      making Stage3pair_T objects

2011-05-24  twu

    * get-genome.c, parserange.c, parserange.h: Made operation of get-genome
      from stdin more efficient by making only one open of chromosome_iit and
      contig_iit

    * VERSION: Updated version

    * gsnap.c: Added message to indicate when alignment is starting

    * stage1hr.c: Doing pairing only when individual alignments are performed

    * outbuffer.c: Fixed debugging statement

    * gmap.c: Added information to --help output on the -f flag about other
      output types

    * gsnap.c: Changed default value of genome_unk_mismatch_p to be 1

    * samprint.c: Fixed sign insert size when read and mate have identical
      chrpos

2011-05-23  twu

    * VERSION: Updated version

    * samprint.c: Added NH flag to indicate number of paths

    * gsnap_concordant.c: Defined concordance to allow for overlapping reads

    * stage1hr.c: Introduced DEBUG4K for known doublesplicing

    * dynprog.c, dynprog.h, gmap.c, intlist.c, intlist.h, splicetrie.c,
      splicetrie.h, stage3.c, stage3.h: Removing duplicate results from
      splicetrie when SNPs are allowed

    * samprint.c: Fixed bug in printing cigar for two-thirds shortexon on minus
      strand

    * gmap.c: Removed include of mode.h

    * Makefile.dna.am, Makefile.gsnaptoo.am, atoi.c, atoi.h, atoiindex.c,
      genome_hr.c, genome_hr.h, gmap.c, gsnap.c, indexdb.c, indexdb.h, mode.h,
      stage1hr.c, stage1hr.h, substring.c, substring.h: Using Mode_T instead of
      cmetp.  Incorporated atoi mode.

    * oligo.c, oligo.h: Removed Oligo_setup

    * convert.t.c: Initial import into SVN

    * gsnap_fasta.c: Added code stub for handling BAM input

    * gsnap.c: Added a thread-specific key for storing the request, and
      accessing it with the signal handler, which no longer throws an exception.

    * stage3.c: Checking for case in distalmedial comparison where medial
      location extends past given genomicseg.

    * stage1hr.c: Replaced indirect function calls with direct calls to
      read_oligos_cmet and read_oligos_standard.

    * oligo.c: Replaced indirect function calls with direct calls to oligo_read
      and oligo_revise.  Not handling dibasep anymore.

    * genome_hr.c, genome_hr.h: Replaced indirect function calls with static
      inline procedures

    * stage1.c: Removed dibase parameter in calling Reader_new

    * stage3hr.c: Removed assertion check for plusp equality in
      pair_insert_length.  For splice translocations, redefining plusp based on
      substring_for_concordance.

    * gsnap.c: Fixed output of query when exception occurs

    * except.c: Fixed handling of exceptions by removing unnecessary call to
      Except_advance_stack.

2011-05-22  twu

    * gsnap.c: Removed dibasep and cmetp as parameters.

    * stage1hr.c, stage1hr.h: Removed dibasep as a parameter.  Also eliminated
      cmetp as a parameter.

    * substring.c, substring.h: Removed dibasep as a parameter

    * stage3hr.c, stage3hr.h: Removed dibasep as a parameter

    * splicetrie.c, splicetrie.h: Removed dibasep as a parameter

    * reader.c, reader.h: Removed dibasep as a parameter

    * oligo.c, oligo.h: Removed dibasep as a parameter.  Added setup procedure
      to assign procedure for dibase operation.

    * mapq.c, mapq.h: Removed dibasep as a parameter

    * genome_hr.c, genome_hr.h: Removed dibasep as a parameter

2011-05-21  twu

    * genome_hr.c, genome_hr.h, gsnap.c, mapq.c, mapq.h, splicetrie.c,
      splicetrie.h, stage1hr.c, stage3hr.c, stage3hr.h, substring.c,
      substring.h: Setting block_diff procedure in genome_hr.c during setup, and
      removing many uses of the cmetp variable.

    * dynprog.c: Include header for splicetrie.h

    * cmet.c, cmet.h, genome_hr.c: Moved mark_a, mark_c, mark_g, and mark_t data
      and procedures from cmet.c to genome_hr.c

2011-05-20  twu

    * Makefile.gsnaptoo.am: Made files for GMAP and GSNAP match those in
      Makefile.dna.am

    * Makefile.dna.am: Minor rearrangement of filenames

    * samprint.c: Fixed printing of SAM output for translocations

    * stage3hr.c: Using both hit5 and hit3 end points in hitpair_equal_cmp.  Put
      tally ahead of score in ranking subsumed hitpairs.

    * splicetrie.c: Constraining max_mismatches_allowed to be less than
      one-third of the end length

    * substring.c: Added header file for pair.h

    * stage3hr.c: Not using absdifflength bingo at all

    * gsnap.c: Removed references to pairlength deviation

    * stage3.c: In peel_leftward and peel_rightward, when running into a second
      gap, transferring endgappairs first before transferring peeled pairs.

    * dynprog.c: Using List_push_existing instead of Pairpool_push_existing to
      save on memory

    * stage3hr.c: Using only best splice within constraints and not pairlength
      in resolving ambiguous inside splices

    * stage1hr.c: Fixed definition of collect_all_p for shortexons

    * splicetrie.c, splicetrie.h: Removed old code.  Implemented collect_all_p
      in Splicetrie_search_left and Splicetrie_search_right procedure.

2011-05-19  twu

    * stage1hr.c, stage3hr.c, stage3hr.h: Requiring concordant pairs to have a
      non-zero insert length

    * stage1hr.c, stage3hr.c, stage3hr.h: Recording number of ambiguous matches
      after known splicing, and subtracting from nmatches when ambiguous inner
      splicing yields no candidates.

2011-05-18  twu

    * gmap.c, stage1hr.c, stage2.c, stage2.h, stage3.c: Allowing stage 2 to
      favor either left or right part of genomicseg

    * gsnap.c: Using the same value for middle and end indel penalties.  Changed
      flags to allow only one indel penalty to be specified.

    * stage3hr.c: In Stage3pair_remove_duplicates, allowing for ties within
      cluster. Using hittype to rank hitpairs in hitpair_equal_cmp, but not for
      distinguishing hitpairs in hitpair_equal_no_hittype_cmp.

    * stage3hr.c: Fixed bug in using hitpair_equal_cmp

    * stage3hr.c: Using same procedure, hitpair_equal_cmp (previously called
      hitpair_position_cmp), both for sorting and for recognizing equal
      hitpairs.

    * stage3hr.c: In Stage3pair_remove_duplicates, added hittype in sorting and
      removing exact duplicates.  Going through clusters separately from left
      and right and checking for subsumption against initial alignment, not the
      previous one.

    * stage3hr.c: In Stage3pair_remove_duplicates, using tally within clusters.
      Removing absdifflength bingo from Stage3pair_optimal_score.

2011-05-17  twu

    * README, config.site, configure.ac: Setting default value of MAX_READLENGTH
      to be 200

    * gsnap.c: Providing value of MAX_READLENGTH in printing --version output

    * dibase.c, inbuffer.c, mapq.c, shortread.c, stage3hr.c, substring.c:
      Removed unnecessary includes of stage1hr.h, needed previously to obtain
      MAX_READLENGTH

    * Makefile.dna.am: Providing MAX_READLENGTH to gsnap.  Provided files for
      bam_fasta.

    * Makefile.gsnaptoo.am, README, config.site, configure.ac, dibase.c,
      gsnap.c, inbuffer.c, mapq.c, reads_store.c, samprint.c, shortread.c,
      stage1hr.c, stage1hr.h, stage3hr.c, substring.c: Changed MAX_QUERYLENGTH
      to MAX_READLENGTH and allowing value to be defined as an argument to
      configure

    * samprint.c, shortread.c, shortread.h: Printing chopped primers in SAM
      output

    * stage3hr.c: Moved code for resolving inside ambiguous splices to separate
      procedures.  Allowing mate of a GMAP alignment to resolve its inside
      ambiguous splice.

    * dynprog.c, dynprog.h, gmap.c, splicetrie.c, splicetrie.h, stage1hr.c,
      stage3.c, stage3.h: Limiting region of known splice extension for GMAP
      alignments in GSNAP involving paired-end reads.  Region now cannot extend
      past mate.

2011-05-16  twu

    * stage3hr.c: Allowing overlapping of paired-end reads when resolving
      ambiguous splices on insides

    * dynprog.c, dynprog.h, gmap.c, stage1hr.c, stage3.c, stage3.h: Counting
      ambiguous end matches in stage 3 alignment

    * substring.c: Hid debugging statement

    * gsnap.c: Using user-provided dir for tally IIT when available

    * substring.c, substring.h: Implemented a multiclean procedure using a tally
      IIT file

    * gsnap.c, stage1hr.c, stage3hr.c, stage3hr.h: Implemented a multiclean
      procedure using a tally IIT file

2011-05-15  twu

    * stage3hr.c: Not using hitpair type in making comparisons across multiple
      alignments.  Using subsumption instead of overlap in
      Stage3pair_remove_duplicates.

    * stage3hr.c: Changed removal of Stage3pair_T duplicates within overlapping
      clusters from an O(n^2) algorithm to an O(n) algorithm

2011-05-13  twu

    * stage1hr.c: Added debugging statement

    * stage3hr.c: Assigning plusp for translocations based on overall
      genomestart and genomeend.  Setting substring_low and substring_high for
      translocations to be the part that is concordant.

    * samprint.c: Fixed bug in printing of translocations

    * gsnap.c: Added options --query-unk-mismatch and --genome-unk-mismatch, and
      made both default false, meaning that query N and genome N no longer count
      as mismatches

    * genome_hr.c, genome_hr.h: Added options --query-unk-mismatch and
      --genome-unk-mismatch, and made both default false, meaning that query N
      and genome N no longer count as mismatches

2011-05-12  twu

    * samprint.c, stage3hr.c, stage3hr.h: Handling case where clipping of
      overlap removes entire alignment

    * pair.c: Fixed bug in number of dashes in GSNAP output on deletions

    * substring.c: Fixed GSNAP and SAM output for bisulfite alignments

    * stage1hr.c: Eliminating cases with bad GMAP alignments, either with
      non-canonical splices or with too many mismatches

    * stage3.c: On extend_ending5 and extend_ending3, returning dynamic
      programming results, even if finalscore is negative

2011-05-11  twu

    * snpindex.c: Checking for presence of IIT file at destination, and
      providing a better reminder message

    * snpindex.c: Added reminder message at end to install IIT file

    * gsnap.c: Added warnings under --use-cmet flag if cmet index files are not
      present

    * substring.c: Removed references to MAX_END_DELETIONS

    * stage1hr.c, substring.c: Allocating gbuffer when it exceeds the amount
      allocated statically

    * stage3hr.c, substring.c, substring.h: Added preference in removing
      duplicates for known splice sites over novel ones

    * gsnap.c: Fixed documentation for --clip-overlap flag

    * outbuffer.c, pair.c, pair.h, samprint.c, samprint.h, stage3hr.c,
      stage3hr.h, substring.c, substring.h: Performing search for correct
      hardclipping boundary.  Computing chrpos and mate_chrpos in advance of
      printing SAM output.  For Pair_binary_search, performing forward and
      backward search of middlei to avoid gaps.  Fixed computation of overlap in
      some cases involving GMAP alignments.

2011-05-10  twu

    * samprint.c: Made logic of print_cigar follow that of print_md_string

    * outbuffer.c, samprint.c, shortread.c, stage3hr.c: Fixes made to MD string
      with hard clipping of overlaps

    * pair.c: Fixed infinite loops in binary search procedures

2011-05-09  twu

    * resulthr.c: Removed unused variable

    * pair.c, pair.h, samprint.c: Performing hard clipping by computing a
      subsequence on pairarray

    * stage3hr.c: Allowing for NULL arguments in Stage3end_substring_low and
      Stage3end_chrnum, now possible in samprint.c procedures

    * stage1hr.c: Rewrote calculation for genomicseg

    * stage3hr.c: Fixed calculation of insert length involving GMAP alignment

    * samprint.c: Fixed printing of SAM chromosomal pos

    * pair.c: Fixed printing of SAM chromosomal pos

    * pair.c, pair.h, samprint.c: Further implementation of hard clipping for
      overlapping paired-end reads

2011-05-07  twu

    * pair.c: Fixed bug caused by wrong order of parameters

    * gsnap.c, outbuffer.c, outbuffer.h, pair.c, pair.h, samprint.c, samprint.h,
      stage3.c, stage3hr.c, stage3hr.h, substring.c, substring.h: Added code for
      hardclipping overlaps between paired ends.  Improved computation of insert
      lengths involving GMAP alignments.  Increased default shortsplicedist to
      200000.

    * gmap.c: Changed default shortsplicedist to 200000

    * get-genome.c: Added -E option for printing exons for gene maps

    * genome.c: Made changes to perror statements

2011-05-06  twu

    * samprint.c: Made changes to MD string to handle hard clipping

2011-05-05  twu

    * stage1hr.c: Reduced genomicseg for GMAP from pairmax + shortsplicedist to
      just pairmax

    * dynprog.c: Added a new debugging category for known splicing at ends

    * outbuffer.c, samprint.c, samprint.h, stage3hr.c, stage3hr.h: Computing
      cigar strings to allow for hard clipping

    * pair.c, pair.h, stage3.c: Fixed SAM flags when printing GMAP alignment in
      GSNAP

    * bam_tally.c: Made bam_tally work on entire genome

    * README, chrom.c, chrom.h, fa_coords.pl.in, gmap_build.pl.in,
      gmap_process.pl.in, gmap_setup.pl.in, gmapindex.c: Made changes for
      fa_coords to sort chromosomes in .coords file, for gmap_process to provide
      universal coordinate information to gmapindex, and for gmapindex to sort
      based on this order.  Ignoring leading "chr" in sorting chromosomes.

2011-05-04  twu

    * chrom.c: Ignoring leading "chr" in chromosome name for sorting purposes

2011-05-03  twu

    * stage1hr.c: Fixed bug in calling Substring_chrhigh

2011-05-02  twu

    * gsnap.c, stage1hr.c, stage3hr.c, stage3hr.h, substring.c, substring.h:
      Storing both chroffset and chrhigh in Stage3end_T and Substring_T objects.
       Checking chromosomal boundaries when performing GMAP algorithm in GSNAP.

2011-05-01  twu

    * gmap_build.pl.in: Added Id property

    * gmap_build.pl.in: Added a -w flag for sleeping between steps

2011-04-27  twu

    * splicetrie.c: Removed unused variables

    * goby.c, gsnap.c, outbuffer.c, pair.c, pair.h, resulthr.c, resulthr.h,
      samprint.c, samprint.h, stage1hr.c, stage1hr.h, stage3.c, stage3.h,
      stage3hr.c, stage3hr.h: Changes in handling of translocations: (1) Created
      new "_transloc" output files.  (2) Removing XT flag from SAM output.  (3)
      Enforcing reported translocations to be unique.  (4) Creating a new
      category for translocations in pair_up procedure.

    * gmap.c: Fixed bug in calling Genome_blocks on a user-provided segment

    * diag.c: Added debugging information about minactive and maxactive at ends
      of query

2011-04-26  twu

    * stage2.c: Not checking for pct_coverage or ncovered when querylength < 150

    * tally_expr.c: Removed dependence on pre-computed total in tally IIT file

    * README: Showing examples from both hg18 and hg19 in retrieving known
      splicesite tracks from UCSC

    * gsnap.c, stage1hr.c, stage1hr.h: Removed min_localsplicing_end_matches
      parameter.  For short overlaps, now checking only that endlength >=
      support.

    * pair.c: Not printing first read or second read bit in GMAP samse output

2011-04-25  twu

    * shortread.c: Fixed bug in printing queryseq in SAM output when
      hardclipping is present

    * samprint.c: Formatting changes

    * pair.c: Removed warning message when splicesite not found in GMAP

    * gsnap.c: Changed documentation for -N

2011-04-22  twu

    * parserange.c: Added warning message if divstring not found in IIT file

    * get-genome.c, iit_get.c: Removed extra linefeed introduced in old IIT
      versions

    * stage1hr.c: Added check for NULL pairarray

2011-04-21  twu

    * Makefile.dna.am, dynprog.c, dynprog.h, gmap.c, indexdb_hr.c, sequence.c,
      stage3.c: Made changes so PMAP would compile

    * Makefile.dna.am, dynprog.c, dynprog.h, genome.c, genome.h, gmap.c, goby.c,
      goby.h, gregion.c, gregion.h, gsnap.c, iit-read.c, maxent.c, maxent_hr.c,
      outbuffer.c, pair.c, pair.h, pairdef.h, resulthr.c, samprint.c,
      samprint.h, sequence.c, sequence.h, shortread.c, shortread.h,
      splicetrie.c, splicetrie.h, src, stage1.c, stage1.h, stage1hr.c,
      stage1hr.h, stage3.c, stage3.h, stage3hr.c, stage3hr.h, substring.c,
      substring.h, translation.c, translation.h, trunk, util: Merged revisions
      38122 to 38539 from branch 2011-04-14-halfmapping-gmap

2011-04-15  twu

    * bam_tally.c: Changed colon to tab when printing chromosomal coordinates

    * genome_hr.c, gsnap.c, src, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h,
      trunk, util: Merged revisions 37902 to 38171 from
      branches/2011-04-10-end-indels

2011-04-14  twu

    * bam_tally.c: Fixed bug in iterating through list in position_printable_p

    * bam_tally.c: Added -n and -X flags to control depth and variant strands
      required. Added -B flag to control block format output.

    * bam_tally.c: Changed -A flag into separate -C and -Q flags to print
      details about cycles and quality scores

    * stage3hr.c: Allowing optimal_score procedures to consider terminal scores
      if all alignments are terminal

    * VERSION, dynprog.c, dynprog.h, gmap.c, intron.c, intron.h, maxent.c,
      maxent.h, src, stage3.c, stage3.h, trunk, util: Merged 38078:38120 from
      branch 2011-04-13-gmap-knownsplicing

2011-04-13  twu

    * snpindex.c: Added variables for bigendian machines

2011-04-10  twu

    * stage1hr.c: Using function Genome_fill_buffer_blocks for debugging

    * config.site.rescomp.prd: Revised version number

    * genome.c, genome.h: Added function Genome_fill_buffer_blocks

    * substring.c: Made fixes to printing of SNPs in GSNAP output

    * Makefile.am, README, configure.ac, psl_introns.pl.in: Added psl_introns
      program.  Explaining in README file about known site-level and known
      intron-level splicing.

    * gmap.c, outbuffer.c, pair.c, pair.h, stage3.c, stage3.h: Added option for
      -f introns output

2011-04-09  twu

    * gsnap.c, iit-read.c, iit-read.h, interval.c, interval.h, splicetrie.c,
      splicetrie.h: Added code to allow known splicing based on introns, rather
      than splice sites

2011-03-29  twu

    * bam_tally.c: Fixed bug in checking too early for chrpos_high > alloc_high

    * VERSION: Updated version number

    * cmetindex.c: Made program work on bigendian machines

    * snpindex.c: Made program work on bigendian machines

2011-03-28  twu

    * stage3hr.c, stage3hr.h, substring.c, substring.h: Moved definition of
      Hittype_T from substring.h to stage3hr.h

    * VERSION, config.site.rescomp.tst, goby.c, goby.h, gsnap.c, inbuffer.c,
      inbuffer.h, outbuffer.c, samprint.c, samprint.h, src, stage3hr.c,
      substring.c, trunk, util: Merged changes 36746 through 37246 from branch
      2011-03-17-goby-paired-end

2011-03-27  twu

    * resulthr.c: Fixed bug in assignment of translocationp for single-end reads

2011-03-26  twu

    * gmap.c, gsnap.c: Added clarification about memory mapping in message

    * bamread.c: Fixed a memory leak caused by unnecessary copying of read
      string from BAM.

2011-03-25  twu

    * Makefile.dna.am, bamread.c, bamread.h, gsnap_splices.c: Added bam_splices
      program

    * bam_tally.c: Fixed bug with non-initialized count_plus or count_minus

    * bam_tally.c: Fixed bug in extracting genomic reference nt from Genome_T. 
      Added option for signed counts.

    * Makefile.dna.am, configure.ac: Added Automake conditional to control when
      bam_tally can be made

    * bamread.c: Added compiler directives to protect code when samtools is not
      available

    * bam_tally.c: Fixed usage statement

    * bam_tally.c: Added --pairmax option

    * bam_tally.c: Fixed help message and added some printing options

    * bamread.c: Stopped printing of chromosomes to stdout

    * Makefile.dna.am: Added compiler commands for bam_tally

    * bam_tally.c: Added clipping at ends of requested genomic region

    * samread.c, samread.h: Added function Samread_print_cigar

    * bam_tally.c: Implementation of working version

    * bam_tally.c: Implementation of overall alloc and block structure

    * bam_tally.c, bamread.c, bamread.h: Implemented memory freeing procedures

2011-03-24  twu

    * bam_tally.c: Initial import into SVN

2011-03-19  twu

    * gsnap.c: Rearranged some lines

    * gmap.c: Added --quality-protocol flag and 'j' flag to set to quality print
      shift

    * gmap.c, outbuffer.c, outbuffer.h: Added --quiet-if-excessive option to
      GMAP

    * gsnap.c, outbuffer.c: Adding globals for invert_first_p and
      invert_second_p to stage3hr.c

    * stage1hr.c, stage3hr.c, stage3hr.h: Determining effective_chrnum,
      genomicstart, and genomicend for splice translocations based on inner
      substrings.  No longer generating copies for each substring when chrnum ==
      0.

2011-03-18  twu

    * outbuffer.c: Changed a 0 to a false

    * README: Added explanation of dbsnp_iit program and output reporting for
      translocations

    * Makefile.am, configure.ac, dbsnp_iit.pl.in: Added dbsnp_iit program

    * stage3.h: Fixed declaration

    * resulthr.c: Put debugging statements into debug macro

    * outbuffer.c, pair.c, pair.h, resulthr.c, resulthr.h, samprint.c,
      samprint.h, stage3.c, stage3hr.c, stage3hr.h: Removed separate fp_transloc
      file.  Adding (transloc) string to GSNAP output, and XT flag to SAM output
      for translocation results.

    * substring.c: Added error message for endtype_string

    * outbuffer.c, resulthr.c, resulthr.h, samprint.c, stage3hr.c: Removed
      SINGLEEND_TRANSLOCATION and PAIREDEND_TRANSLOCATION types

2011-03-11  twu

    * README: Added more information about the --gunzip option, about the
      command-line usage for paired-end reads, and about extended FASTA inputs.

    * README: Added information about -s flag for psl_splicesites

    * VERSION: Changed version number

    * snpindex.c: Added option to limit number of warning messages

    * snpindex.c: Fixed warning messages that previously reported the wrong SNPs
      and coordinates that were problematic

2011-03-10  twu

    * gsnap.c, mem.c, outbuffer.c, shortread.c: Enabled LEAKCHECK in GSNAP to
      check for memory leaks

    * gmap_build.pl.in: Fixed bug in creating .maps subdirectory

2011-03-09  twu

    * VERSION: Updated version

    * README: Added information about latest syntax for running snpindex

    * stage1hr.c, stage1hr.h: Passing new parameter nsplicepartners_skip

    * stage3hr.c, stage3hr.h: Eliminating splice translocations if a
      non-translocation exists

    * outbuffer.c, outbuffer.h, resulthr.c, resulthr.h, samprint.c, samprint.h:
      Providing a translocation result type and printing split output to a new
      file

    * indexdbdef.h: Removing unused macro definition

    * gsnap.c, splicetrie.c, splicetrie.h: Providing a minimum intron length in
      building the splicetrie

    * snpindex.c: Providing user options to specify sourcedir and destdir

    * cmetindex.c: Fixed amount of space allocated for filename

2011-03-06  twu

    * gmap.c, gsnap.c: Changed warning message about memory mapping

    * stage1hr.c: Removed a conversion for bigendian machines in
      Batch_init_simple.

    * spanningelt.c: Added a necessary conversion for bigendian machines

    * indexdb.c, indexdb_hr.c: Making FILEIO access to positions look the same
      as MMAPPED access for bigendian machines

    * bigendian.c, littleendian.c: Using unsigned char instead of char

2011-03-04  twu

    * inbuffer.c: Initializing value of pc_linefeeds_p

    * gmap.c, gsnap.c: Changed advice message about -B 3 and -B 4

    * iit_store.c: Using 2^32-1 as a constant instead of 2^32

    * stage1hr.c: Added additional places where Bigendian_convert_uint should be
      applied

    * bigendian.c: Removed monitoring message

2011-03-03  twu

    * stage3hr.c: Sorting paired-end reads by insert length

    * gsnap.c: Removed --dibase flag from --help output

    * inbuffer.c, shortread.c, shortread.h: Added field for pc_linefeeds_p. 
      Changed variable name from pc_line_feeds_p.

    * gsnap.c, inbuffer.c, inbuffer.h, shortread.c, shortread.h: Added option to
      strip PC line feeds from input

    * sequence.c: Enabled GMAP to read FASTQ files

2011-03-02  twu

    * gsnap_fasta.c: Made the default behavior to print all sequences

    * pair.c: Fixed problem with double tabs in SAM output.  Now printing NM tag
      in SAM output.

    * config.site.rescomp.prd, config.site.rescomp.tst: Changed version number

    * VERSION: Changed version number

    * sam_merge.pl.in: Printing nomapping lines from original GSNAP output

    * Makefile.am, configure.ac, sam_restore.pl.in: Added program sam_restore

    * spliceturn.c: Added option to print splices, rather than splicesites

    * samread.c, samread.h: Added functions to print modified SAM reads

    * gsnap_splices.c: Trusting SAM splice directions by default.  Added an
      explicit variable to indicate if the splice is canonical.

    * gsnap_multiclean.c: Added a flag -C to pick either concordant or
      non-concordant behavior. Allowing nonmapped queries to be printed, if no
      other alignment is available.

    * gsnap_filter.c: Modified to print nonmapped SAM entries.  Removed
      inconsistencies in printing some lines to fp_one and some to fp_many.

    * gsnap_fasta.c: Prints the query from the SAM line with the most matches
      (i.e., not hardclipped).  Added an option --oneway to print both ends of a
      paired-end read in the same direction.

    * gsnap_concordant.c: Modified to print nonmapped SAM entries, and to add
      mate information for concordant pairs.  Code follows that in
      gsnap_multiclean.c

    * splicetrie.c: Increased value of MAX_DUPLICATES from 100 to 1000

    * gsnap.c: Checking for case where splicesites_iit has no sites
      corresponding to given genome

    * pair.c: Fixed MD string to print genomic nt, rather than query nt

2011-03-01  twu

    * pair.c: Implemented MD string in SAM output for GMAP

2011-02-27  twu

    * spliceturn.c: Added --new flag to print only new splices

2011-02-26  twu

    * spliceclean.c: Added break after case 0 in getopt

    * substring.c, substring.h: Fixed insert length calculation to be based on
      genomicstart and genomicend.  Removed querylength_adj field.

    * stage3hr.c: Preventing terminal alignments from setting minscore in
      Stage3_optimal_score and Stage3pair_optimal_score

    * stage1hr.c: Fixed and simplified calculation of floor_left and floor_right
      for diagonals

    * Makefile.am, configure.ac, psl_splices.pl.in: Added psl_splices program

    * sam_merge.pl.in: Including inserted query segment in computing number of
      matches.

    * spliceturn.c: Eliminating only new splices (numeric labels).  Searching
      for nearest surrounding known splices.

    * spliceclean.c: Printing original label for each splice

    * gsnap_splices.c: Added flag to require canonical splices.  Checking for
      canonical dinucleotides regardless of sam XS string.

    * samprint.c: Fixed bug in MD string for shortexon.  Added debugging
      statements.

    * stage1hr.c, stage3hr.c, stage3hr.h, substring.c, substring.h: Added
      querylength_adj to compensate for indels when computing insert length

    * pair.c: Fixed bug in tokens where Ilength was being printed instead of
      Dlength

2011-02-25  twu

    * spliceturn.c: Printing intron lengths.  Added labels to output when
      splices are turned.

    * shortread.c: Requiring first file to have "/1" and second file to have
      "/2" if slashes are present

    * samread.c: Allowing for XS:A:? to indicate unknown splice direction

    * pair.c: Changed minimum intron length for non-concordant splice in cigar
      string from 100 to 20

    * gsnap_tally.c: Changed default handling of quality scores to be Sanger
      protocol

    * gsnap_splices.c: Using available XS flag in SAM output.  Printing
      non-directional splices as both forward and reverse.  Printing
      non-canonical dinucleotide pairs.

    * gsnap_multiclean.c: Skipping, rather than aborting on, concordant pairs
      with different numbers of hits, due to translocations

    * gmap.c: Changed flag for printing noncanonical splices in cigar string

    * samprint.c, stage3hr.c, substring.c, substring.h: Fixed MD string to
      exclude part that is soft-clipped

    * spliceclean.c, tally.c, tally.h: Added default-count option.  Fixed bug
      where splice occurred beyond extents.  Fixed some memory leaks.

2011-02-24  twu

    * psl_splicesites.pl.in: Added missing parentheses

    * Makefile.am, configure.ac, sam_merge.pl.in: Added sam_merge program

    * README: Added description of gmap_build

    * gsnap.c, mapq.c: Made sanger the default for quality protocol

    * shortread.c: Fixed bug in chopping paired-end reads of different lengths

2011-02-23  twu

    * sequence.c: Fixed bug in skipping initial '<', '>', or '+' in quality
      string

    * gsnap_concordant.c: Requiring chr strings in the two ends to be equal

    * pair.c: Printing XS:A:? when splice direction is not known, because it is
      non-canonical

    * sequence.c, sequence.h: Added compiler directives to hide quality string
      from PMAP

    * gsnap_fasta.c: Printing extended FASTA with quality strings for GMAP
      output

    * gmap.c, outbuffer.c, outbuffer.h, pair.c, pair.h, sequence.c, sequence.h,
      stage3.c, stage3.h: Implemented ability to read extended FASTA with
      quality strings and print them in SAM format

    * mapq.c: Added recommendation to use --quality-protocol=sanger

    * gsnap_concordant.c, samread.c, samread.h: Printing altered mapq scores

    * gmap.c, outbuffer.c, outbuffer.h, pair.c, pair.h, stage3.c, stage3.h:
      Added flag to print non-concordant splices as N in SAM cigar string,
      rather than as D

    * gsnap_concordant.c, samread.c, samread.h: Added calculation and printing
      of insert length

    * gsnap.c: Added information about quality protocols to --help output

2011-02-22  twu

    * shortread.c: Fixed bugs in handling gzipped paired-end files

    * exonscan.c, extents_genebounds.c, gdiag.c, geneadjust.c, get-genome.c,
      gsnap_extents.c, gsnap_splices.c, gsnap_tally.c, gsnap_terms.c,
      iit_plot.c, pairinggene.c, segue.c, snpindex.c, splicefill.c,
      splicegene.c, splicegraph.c, splicescan.c, spliceturn.c, splicing-scan.c,
      splicing-score.c, tally_expr.c, tallygene.c: Changed parameter for
      Genome_new from batchp to access mode

    * psl_splicesites.pl.in: Added -R flag to report non-canonical splice sites

    * gmap_build.pl.in: Fixed name of maps subdirectory

    * sequence.c, shortread.c: Fixed bugs further in closing NULL file pointer

2011-02-21  twu

    * psl_splicesites.pl.in: Fixed bugs in syntax.  Added -s flag to specify
      start column.

    * fa_coords.pl.in, gmap_build.pl.in, gmap_process.pl.in, util: Merged -r
      35283:35500 from branches/gmapindex-multifile/util

    * Makefile.am: Added psl_splicesites to the list of files to be cleaned

    * Makefile.am, README, configure.ac, psl_splicesites.pl.in: Added
      psl_splicesites program to process UCSC alignment tracks into a splicesite
      file.

    * sequence.c, shortread.c: Fixed bug from trying to close a NULL file
      pointer

    * README, VERSION, config.site.rescomp.tst, gsnap.c, interval.c, maint,
      mapq.c, mapq.h, memory-check.pl, samprint.c, splicetrie.c, splicetrie.h,
      src, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h, substring.c,
      substring.h, trunk: Merged revisions 35346:35468 from
      branches/tentative-splices to store and resolve ambiguous splice ends

    * outbuffer.c: Added warning messages when an output file cannot be written

2011-02-17  twu

    * mapq.c: Changed allowable range of quality scores to go from 0 to 96

    * gsnap.c: Changed default min_shortend from 1 to 2

    * stage1hr.c: Removed unused code for old maxent procedures

    * splicetrie.c, splicetrie.h, stage1hr.c: Providing splicesites to
      Splicetrie_find_short procedures, useful for debugging

2011-02-16  twu

    * stage3hr.c: Removed debugging statement

    * stage1hr.c: Restored ability to find short-overlap splicing in 1-2 bp at
      ends of read

    * stage3hr.c: For insert length of 0, setting absdifflength to be infinite

    * sequence.c, shortread.c: Closing files when multiple ones are provided on
      the command line

    * pair.c: Implemented printing of intron distances in splice sites (-f 6)
      output

    * gsnap.c, interval.c, interval.h, splicetrie.c, splicetrie.h, stage1hr.c,
      stage1hr.h: Implemented usage of known splice distances for single splices

    * get-genome.c: Printing output correctly for version 5 IIT files with
      information in rest of header

    * stage1hr.c: Removed unnecessary checks for nsplicesites > 0

    * stage1hr.c: Computing and storing known splicesites_i for each segment
      once

2011-02-15  twu

    * shortread.c: Removed abort left in for debugging

    * shortread.c: Fixed bug in selecting region of short read to look for
      adapter stripping

    * stage3hr.c: Fixed indentation

    * gsnap_concordant.c: Fixed procedure to report all concordant pairs with
      correct distance and orientation

    * gsnap.c, inbuffer.c, shortread.c, shortread.h: Simplified procedure for
      adapter stripping using a linear algorithm, instead of dynamic
      programming.

    * Makefile.dna.am, Makefile.gsnaptoo.am: Revised instructions for cmetindex

    * cmetindex.c: Enabled -F and -D flags for specify source and destination
      directories.  Added --version and --help flags.

    * gmap_build.pl.in: Added -B flag to optionally specify bindir

    * gmap_setup.pl.in: Modified usage statement to include GSNAP

    * Makefile.am, configure.ac, gmap_build.pl.in: Added gmap_build program

    * VERSION: Updated version

    * README: Added statement about usage of -m flag

    * gsnap_concordant.c: Fixed typo leading to wrong output file

    * outbuffer.c: Fixed typo

    * stage3.c, stage3.h: Allowing flags for GMAP to indicate SAM output is
      paired-end

    * shortread.c: Allowing extended FASTA format to include a quality string

    * sequence.c: Removed debugging statement

    * samflags.h: Clarified comment

    * pair.c, pair.h: Allowing flags for GMAP to indicate SAM output is
      paired-end. Printing XS flag for strand direction.

    * outbuffer.c, outbuffer.h: Added variables for indicating SAM output is
      paired-end

    * gsnap_terms.c: Using procedure in samread.c for computing chrpos_high.

    * gsnap_multiclean.c, samread.c, samread.h: Added file variable for printing
      altered flags.  Added procedure for computing chrpos_high.

    * gsnap_filter.c: Added program for sam_filter

    * gsnap_fasta.c: Handling GMAP and GSNAP output correctly in a single
      procedure

    * gsnap_extents.c: Enabling GMAP indexdb for sam_extents

    * gsnap_concordant.c: Recomputing all SAM flags

    * gmap.c: Changed format names to samse and sampe

    * Makefile.gsnaptoo.am: Include maxent_hr.c and .h for GMAP.  Removed
      maxent.c and .h from GSNAP.

    * Makefile.dna.am: Include maxent_hr.c and .h for PMAP.  Included programs
      sam_fasta and sam_concordant.

2011-02-14  twu

    * gsnap_concordant.c: Added file for concordant_mult.  Printing concordant
      results in adjacent pairs of SAM lines.

2011-02-13  twu

    * gsnap_concordant.c: Initial import into SVN

    * gsnap_fasta.c: Printing extended FASTA output for GMAP, using '>' and '<'

    * gsnap_fasta.c: Provided separate output types for GMAP and for GSNAP

    * pair.c, sequence.c, sequence.h: Enabled reading of extended FASTA using
      '>' and '<' to indicate first and second reads, and putting information in
      flag of SAM output.

2011-02-12  twu

    * stage3hr.c: Implemented a different method for using bingo pairlengths, by
      calculating a minscore for those pairlengths with the bingo characteristic

    * stage3hr.c: Using pairlength_deviation to eliminate pairs, even if
      non-overlapping

2011-02-11  twu

    * gsnap_extents.c, gsnap_iit.c, gsnap_splices.c, gsnap_tally.c,
      gsnap_terms.c: Changed defaults of concordant and unique to be false in
      all programs

    * gsnap_fasta.c: Added printing of quality strings.  Implemented -A flag to
      print all sequences.

    * stage1hr.c: Rearranged order of singlesplice_minus procedure

    * gsnap_terms.c: Fixed check of concordance and uniqueness for last sequence

    * shortread.c: Moved return statement to correct place

    * gmap.c, outbuffer.c: Added compiler directives for case when pthreads not
      available

    * datadir.c: Changed warning message about needing to recompile GMAP package

    * outbuffer.c, samprint.c, samprint.h, stage3hr.c, stage3hr.h: Split
      fp_paired_uniq into separate files for inversions, scrambles, and long
      inserts

    * gsnap.c, substring.c, substring.h: Removed notion of termdonor and
      termacceptor typeints

2011-02-10  twu

    * samprint.c: Printing insert length for paired alignments.  Changed method
      for determining sign.

    * substring.c, substring.h: Added functions for finding overlaps and insert
      lengths between two substrings

    * stage3hr.c: Changed criterion for scramble to be the absence of any
      overlap in the wrong relative positions.  Revamped computation of insert
      length to look for overlapping substrings.

    * inbuffer.c: Removed second check of nleft == 0 when initially it is not

    * substring.c: Added other fields in Substring_T that were not being copied.
       Removed splicesites_offset from Substring_T object.

    * gsnap.c, outbuffer.c, outbuffer.h, stage1hr.c, stage3hr.c, stage3hr.h,
      substring.c, substring.h: Added compiler directives for using new
      maxent_hr procedures.  Fixed problem in substring.c where chimera_knownp_2
      was not being copied.

    * maxent_hr.c: Using jump tables based on shift

    * maxent_hr.c: Removed duplicate calls in reading genome_blocks

    * stage3hr.h: Fixed definition of sense consistency for inversion pairs

2011-02-09  twu

    * stage3hr.c, stage3hr.h: Changed splicing sense test to work for inversion
      pairs

    * stage1hr.c: Distinguished a binary_search procedure to be used for
      bigendian computers in processing positions from the indexdb file.

    * stage1hr.c: Added missing code for computing nmismatches for one type of
      splice end

    * Makefile.dna.am, maxent_hr.c, maxent_hr.h, stage1hr.c: Implemented fast
      calculation of maxent splice site probabilities

    * stage1hr.c: Removed trimpos calculation from find_spliceends.  Not useful
      when we can compute short-overlaps.

    * Makefile.dna.am, gsnap_best.c, gsnap_fasta.c: Added programs for
      extracting alignment with best MAPQ score and converting alignment output
      to FASTA.

    * stage1hr.c: Using genome-based splice site detection for splice ends

    * gsnap.c: Fixed name of flag suboptimal-levels in help statement

    * shortread.c: Fixed bug in not allocating space for final '\0' to contents.
      Commented out check for PC line feeds.

    * genome_hr.c: Fixed excessive shift in calculating high_halfbit

2011-02-08  twu

    * stage1hr.c: Put back checks for zero nsegments

    * outbuffer.c: Some output seems to be missed on occasion.  Rewrote to use
      ndone and noutput.

    * stage1hr.c: Making all loops on segments go to segments[nsegments] instead
      of nsegments-1

    * stage1hr.c: Implemented novel double splice detection using new
      genome-based splice site detection.  Removed leftspan/rightspan test and
      replaced with counting mismatches.

    * outbuffer.c: Fixed outbuffer to check for donep flag, and for inbuffer to
      signal when donep is set

2011-02-07  twu

    * genome_hr.c: Fixed bug in dealing with high halfbit

    * stage1hr.c: Fixed memory leak caused by computing floors twice

    * stage1hr.c: Raised minimum splice prob support to 0.80.  Extending range
      for single splicing to 2 nt from each end.  Implemented double splice
      detection involving known splice sites.

    * stage3hr.c: Eliminating identical Stage3_T pairs properly

    * outbuffer.c: Fixed bug that caused GMAP to handle maxpaths parameter
      incorrectly

2011-02-06  twu

    * genome_hr.c, genome_hr.h, stage1hr.c, substring.c: Implemented working
      procedure for finding splice sites from compressed genome, and merging
      with known sites.  Using this procedure to find single splices.  Merged
      single-splice procedures for plus and minus strand, and moved handling of
      plus and minus strands inside of Substring_T procedures.

2011-02-05  twu

    * genome_hr.c, genome_hr.h: Implemented fast determination of splice site
      locations

    * stage1hr.c: Removed unused variables

    * genome_hr.c: Added tables for splice site positions

    * dev: New directory for developer work

    * stage1hr.c: Integrated multiple procedures for merging heaps to find
      segments into a single procedure (plus a specialized one for terminals
      only). Removed separate Splicesegment_T object and using a general
      Segment_T object.

    * stage1hr.c: Divided single splicing, known double splicing, and novel
      double splicing into separate procedures.

2011-02-04  twu

    * gsnap.c, stage1hr.c, stage1hr.h: Provided flag for detecting novel double
      splices, and turned the feature off by default.

    * stage1hr.c: Implemented faster method for finding double splices. 
      Commented out code no longer valid for setting splice_pos_start and
      splice_pos_end in finding single splices.

    * stage1hr.c: Increased speed of finding local splices by storing leftmost
      and rightmost querypos.  Hiding double-splicing for now.

2011-02-03  twu

    * stage1hr.c, substring.c, substring.h: Handling splicesites_offset in
      donor, acceptor, and shortexon Substring_T types.  Handling two values of
      splicesites_i in shortexon.

    * stage1hr.c: Implemented detection of double-splicing at novel splice
      sites. Integrated detection of single-splicing and double-splicing. 
      Removed some unused code based on USE_CHARS rather than nucleotides.

    * stage3hr.h: Added missing declaration of function

    * outbuffer.c: Finishing up printing of remaining output

    * stage1hr.c: Offset knowni arrays by +1, so we can clear by setting to 0,
      rather than by setting to -1.

2011-02-02  twu

    * outbuffer.c, pair.c, pair.h: Now GMAP prints nomapping results in SAM
      format

    * pair.c: Fixed printing of splice site scores for antisense cDNAs

    * stage1hr.c: Removed restriction on finding terminals only when nconcordant
      was 0.

    * gsnap.c, src, stage1hr.c, stage1hr.h, trunk: Merged r33262:34617 from
      branch suboptimal-alignments, adding parameter for terminal length, and
      not using 10*maxpaths for computation

    * config.site.rescomp.tst: Updated version number

    * VERSION: Updated version number

    * README: Updated description to include information about paired alignments
      and the advantages of known splice sites

    * stage1hr.c: Added better debugging statements.  Renamed "shortend"
      procedures to "short-overlap".

    * splicetrie.c: Requiring that 3 * nmismatches < nmatches to report a true
      search result

    * gsnap.c, outbuffer.c, resulthr.c, resulthr.h, samprint.c, samprint.h,
      stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h: Implemented three types of
      alignment: concordant, paired, and unpaired, with three subtypes of
      paired: inversion, toolong, and scramble.  Detecting paired alignments in
      Stage3_pair_up_concordant. Converting unpaired uniq to paired uniq when
      appropriate.

    * stage3hr.c: Adding information about unpaired type (interchrom, toolong,
      scramble, inversion) for unpaired_uniq results

    * outbuffer.c: Changed type for nread and ncomputed fields from bool to int

    * gsnap.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h: Added parameter
      for pairlength_deviation

    * outbuffer.c: Protecting print loops with surrounding lock and unlock
      instructions. Removed debugging flag.

    * Makefile.dna.am, Makefile.gsnaptoo.am, Makefile.three.am, gmap.c, gsnap.c,
      inbuffer.c, inbuffer.h, ioboard.c, ioboard.h, outbuffer.c, outbuffer.h:
      Fixed bug where multithreading was hanging.  Moved IOBoard_T information
      to Outbuffer_T.

2011-02-01  twu

    * stage3hr.c: Rewrite of Stage3_pair_up_concordant to get all concordant
      pairs

    * gmap.c, gsnap.c: Not printing program name as an arg

    * gmap.c, gsnap.c: Printing version and calling arguments to stderr

    * stage3hr.c: Using a pointer instead of a count to mark paired_seenp

    * outbuffer.c: Using RRlist_T to represent queue for ordered output

    * outbuffer.c: Replaced doubly linked list with singly linked list for queue

    * stage3hr.c: Added additional check to prevent negative insert lengths

2011-01-31  twu

    * outbuffer.c: Storing results in a queue, instead of a list

    * Makefile.dna.am: Removed reads_store and reads_dump

    * stage3hr.c: Removed keyword "quality:" from output

    * shortread.c: Fixed bug that removed all quality strings

    * stage3hr.c: Fixed bug in finding concordance between overlapping ends of
      read

    * indexdb.c: Fixed bug in compiler directive for MMAP

2011-01-29  twu

    * goby.c, goby.h, gsnap.c, inbuffer.c, inbuffer.h, samprint.c, shortread.c,
      shortread.h, stage3hr.c: Simplified procedures in shortread.c. 
      Implemented parsing of barcodes.

    * mapq.c, mapq.h, substring.c: Fixed calculation of MAPQ with separate
      coordinates for checking genomic string and quality string

2011-01-28  twu

    * shortread.c, shortread.h: Initial import into SVN.  Contains Sequence_T
      functions specific to GSNAP.

    * Makefile.dna.am, Makefile.gsnaptoo.am, Makefile.three.am, chop_primers.c,
      genome.c, goby.c, goby.h, gsnap.c, inbuffer.c, outbuffer.c, reads_store.c,
      request.c, request.h, samprint.c, samprint.h, sequence.c, sequence.h,
      stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h, substring.c, substring.h:
      Separated Sequence_T functions into Sequence_T and Shortread_T

    * gmap.c, outbuffer.c, outbuffer.h: Made outbuffer work for PMAP by removing
      references to sam_header_p and related variables

    * gsnap.c: Removed old sam.h include

    * substring.c: Turned off debugging

    * spliceclean.c: Version 34373 was an accidental reversion.  Going back to
      version 34369, where we are adding use of genebounds_iit and adding
      functionality for resolving splice directions

    * spliceturn.c: Version 34374 was an accidental reversion.  Going back to
      version 34369, where information goes to stderr.

    * splicegene.c: Version 34375 was an accidental reversion.  Going back to
      version 34369, which actually does stop fixing of terminalp in acceptors
      where next donor is terminal.

    * splicefill.c: Version 34377 was an accidental reversion.  Going back to
      version 34369, which uses tally, adds smoothing, does not use slopes to
      find edges, and does not check for edgedistance.

    * pair.c: Using new samflags.h

    * Makefile.dna.am, Makefile.gsnaptoo.am, Makefile.three.am, gsnap_extents.c,
      gsnap_multiclean.c, gsnap_splices.c, gsnap_tally.c, gsnap_terms.c, sam.c,
      sam.h, samflags.h, samprint.c, samprint.h: Change file name from sam.c to
      samprint.c.  Moved definitions of SAM flags to samflags.h.

    * splicefill.c: Removed smoothing.  Using slopes to find edges.  Checking
      for edgedistance.

    * splicegene.c: Stopped fixing of terminalp in acceptors cases where next
      donor was terminal

    * spliceturn.c: Providing information to stdout about splices that are
      turned

    * spliceclean.c: Removed use of genebounds_iit and functionality for
      resolving splice directions

    * changepoint.c: Changed function for both ends, but not used anyway

    * Makefile.dna.am, Makefile.gsnaptoo.am, Makefile.three.am, blackboard.c,
      blackboard.h, changepoint.c, chop_primers.c, gmap.c, gsnap.c,
      iit_pileup.c, inbuffer.c, inbuffer.h, ioboard.c, ioboard.h, outbuffer.c,
      outbuffer.h, reads_get.c, reqpost.c, reqpost.h, request.c, request.h,
      result.c, result.h, resulthr.c, resulthr.h, sequence.c, sequence.h,
      spliceclean.c, splicefill.c, splicegene.c, spliceturn.c, src, stage3.c,
      stage3.h, tableuint.c, tableuint.h, tally_exclude.c: Merging changes to
      threads system from new-threads branch

    * indexdb.c: Removed extraneous allocation of memory for offsets

    * pair.c, pair.h, stage3.c, stage3.h: Using a single parameter for
      sourcename for GFF3 output

    * substring.c: Fixed calculation of region to check for MAPQ scoring

    * mapq.c: Added check for wrong segment to check in computing MAPQ

2011-01-24  twu

    * result.c: Altered debugging statements

    * gmap.c: Fixed memory leak in chimera detection

2011-01-21  twu

    * gmap.c: Fixed case where best0 or best1 was duplicated in rest of
      stage3list

    * result.c: Added debugging statements

    * gmap.c: Removed debugging comment

    * stage3.c, stage3.h: Added function Stage3_identity_cmp to help with
      chimera detection

    * gmap.c: Removed check for chimeras based on alignment break.  Handling
      cases where the same stage3 object is in both lists.

    * chimera.c, pair.c, pair.h: Simplified Pair_matchscores and computing over
      querylength.  In Chimera_bestpair, check for cases where the same stage3
      object is in both lists.

2011-01-20  twu

    * Makefile.gsnaptoo.am: Added chimera.c to build of gmap

    * VERSION: Updated version to 2011-01-21

    * gsnap.c: Always creating a .nomapping file with --split-output option

    * stage1hr.c: Changed debugging statements for shortexon

    * splicetrie.c: Changed debugging statements

    * sequence.c: Not printing space at end of accession

    * gsnap.c: Turning on splicetrie precomputation by default

    * gmap.c: Fixed bug in separating chimeric paths

    * gmap.c: Not sorting first part of stage3list when chimera is present

    * Makefile.dna.am: Added uintlist.c to gsnap_iit

    * chimera.c: Made detection of alignment break work again

    * splicetrie.c: Implemented handling of duplicate leaves

2011-01-19  twu

    * splicegene.c: Handling genebounds.iit as input

    * gsnap.c: Added --sam-headers-batch option

    * gsnap_iit.c: Changed output to look like gene map format

    * gsnap_extents.c: Fixed handling of non-spliced reads in sam_extents

    * sam.h: Added constant for clearing NOT_PRIMARY bit

    * sam_tally.c: Removed from CVS

    * gsnap_multiclean.c, samread.c, samread.h: Implemented printing of altered
      flag

    * gsnap_terms.c: Made program provide same output with SAM input. 
      Implemented filtering for concordant pairs.  Removed filtering by
      max_endlength.

    * gsnap_tally.c: Implemented filtering for concordant pairs

    * gsnap_splices.c: Made program provide same output with SAM input

    * gsnap_extents.c: Made program with SAM input

2011-01-18  twu

    * gsnap_multiclean.c: Turned off debugging statements

    * Makefile.dna.am, gsnap_multiclean.c: Implemented sam_multiclean

2011-01-16  twu

    * gsnap_multiclean.c, multiclean.c: Renamed file

2011-01-15  twu

    * gsnap_tally.c: Added check for concordantp in SAM input.  Fixed bug in
      initializing a variable.

    * sequence.c: Made paired adapter detection more stringent, allowing only 1
      mismatch

    * gsnap.c, sam.c, sequence.c, sequence.h, stage3hr.c: Fixed bugs in printing
      full quality string in GSNAP output

    * gsnap.c, sam.c, sequence.c, sequence.h, stage3hr.c: Printing full quality
      string (not chopped for adapter) in GSNAP output

2011-01-10  twu

    * stage3.c: Fixed compilation for PMAP

    * gmap.c: Added compiler directives to hide SAM output which is not used in
      PMAP

    * translation.c: Added compiler directives to hide functions that are not
      used in PMAP

    * oligop.c: Fixed compiler warnings about array index being char

    * Makefile.dna.am: Removed bam_pileup from being made

    * gmap.c: Added documentation for new output flags

    * gsnap.c: Changed output flag from -7 to --split-output

    * chimera.c, chimera.h, genome.c, get-genome.c, gmap.c, iit-read.c,
      iit-read.h, md5-compute.c, pair.c, pair.h, revcomp.c, segmentpos.c,
      segmentpos.h, sequence.c, sequence.h, stage1.c, stage3.c, stage3.h,
      subseq.c, translation.c, translation.h: Implemented split output to files

    * iit-read.c: Fixed bug in handling NULL IITs

    * gmap.c, pair.c, pair.h, sequence.c, sequence.h, stage3.c, stage3.h:
      Implemented printing of chimeras in SAM output

    * gmap.c, pair.c, pair.h, result.c, result.h, stage3.c, stage3.h,
      translation.c, trunk: Merged all changes from chimera branch

    * Makefile.pmaptoo.am: Update commands

    * Makefile.dna.am: Added commands for bam_pileup

2011-01-08  twu

    * gmap.c, stage3.h: Added new debugging point for result after all cycles.

    * stage3.c: Not forcing solution for dual breaks.  Using separate maxiter
      limits.

2011-01-07  twu

    * stage3.c: Changed comments for fix_adjacent_indels

2011-01-06  twu

    * Makefile.three.am: Added files to GSNAP

    * pair.c: Changed debugging output for Pair_dump to show the comp

    * stage2.c: Added a check for all zero scores when trying to find alignment
      end point

    * stage3.c: Added a final cleaning of ends

    * stage3.c: Added procedure to fix adjacent indels

2011-01-05  twu

    * gmap.c, pair.c, pair.h, segmentpos.c, segmentpos.h, stage3.c, stage3.h:
      Removed references to zerobasedp

    * pair.c: Using last_querypos and last_genomepos explicitly instead of
      prev->querypos and prev->genomepos.  Fixed issues with SAM output.

2011-01-04  twu

    * gmap.c: Added compiler directives to prevent PMAP from seeing SAM output
      code

    * backtranslation.h: Fixed typo in declaration

    * gsnap.c: Fixed comment

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Printing headers and
      read-groups in SAM output

2011-01-03  twu

    * MAINTAINER: Updated instructions for ChangeLog

    * config.guess: Update of config.guess by latest autoconf

    * INSTALL: Update of INSTALL message by latest autoconf

    * stage3hr.c: Added assertions about sign of nindels

    * gmap_setup.pl.in: Handling case where user gives -d argument with trailing
      slash

    * gsnap.c: Added missing break after -o flag

2010-12-23  coryba

    * gsnap_tally.c: changed compiler directives to get gmap build to work

    * sam.c: *minor change to have the MD field output a 0 after the deletion if
      an insertion is adjacent to a deletion **IGB can now parse gsnap's SAM
      output

2010-12-16  twu

    * gsnap.c, mapq.c, sequence.c: Added flag --quality-protocol

2010-12-13  twu

    * stage1hr.c: Fixed bugs in storing splicesites_i

2010-12-10  twu

    * pair.c: Fixed bug in dealing with EXTRAEXON_COMP

    * gsnap_tally.c: Added flag for minimum mapq

    * gsnap.c, mapq.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h,
      substring.c: Merged r32485:32693 from branch gsnap-trim-penalty into the
      trunk

2010-12-09  twu

    * config.site.rescomp.tst: Updated to include with_samtools

    * bamread.c: Hid declaration of bam_init_header_hash when samtools is not
      enabled

2010-12-07  twu

    * substring.c: Implemented marking of methylation changes

    * stage1.c: Performing a single uniqueness step at end

    * stage2.c: Using global or local winner for end of stage 2

    * indexdb_dibase.c: Using Access_mode_T for Indexdb_new_genome

    * indexdb.c: Minor fixes

    * gregion.c, gregion.h: Providing hooks for Gregion_filter_clean

    * gmap.c, gsnap.c: Using allocate as default mode if mmap not available

2010-12-06  twu

    * gsnap_tally.c: Returning mapping quality from SAM and BAM inputs

    * gmap.c: Improved default information for --batch feature in --help

    * get-genome.c: Fixed mapping labels from stdin

    * bamread.c, bamread.h, gsnap_extents.c, gsnap_splices.c, gsnap_terms.c,
      samread.c, samread.h: Returning mapping quality from SAM and BAM inputs

    * gsnap.c: Changed default memory access to be level 2

2010-12-04  twu

    * stage3hr.c: Disallowing concordant pairs between two terminal alignments

    * stage1hr.c, stage3hr.c, stage3hr.h: Placed restriction on terminal
      alignments to have fewer than allowed mismatches within region after
      trimming

    * stage3hr.c: Changed Stage3pair_remove_duplicates to resolve overlaps using
      absdifflength

    * gsnap.c: Changed --help output to show default batch mode of 4

    * gmap.c: Providing more batch modes in GMAP

    * access.h, genome.c, genome.h, gsnap.c, indexdb.c, indexdb.h: Providing
      more batch modes in GSNAP

2010-12-03  twu

    * stage1hr.c: Made done_level always less than or equal to user_maxlevel

2010-12-02  twu

    * samread.h: Added Id tag

    * sam.c: Changed terminal alignments to use soft clipping, since hard
      clipping information appears to be removed in making BAM files.

    * parserange.c, parserange.h: Implemented simple parser for regions

    * gsnap_tally.c: Implemented limited region for indexed BAM files in
      bam_tally.  Added -P flag for printing probabilities.

    * bamread.c, bamread.h: Implemented indexed BAM files

    * Makefile.dna.am: Added parserange.c and .h to bam_tally

2010-12-01  twu

    * Makefile.dna.am, bamread.c, bamread.h, gsnap_tally.c: Implemented
      bam_tally.  Changed standard tally output back to previous format.

    * config.site, configure.ac: Made changes to include samtools library

2010-11-30  twu

    * Makefile.dna.am, Makefile.gsnaptoo.am, Makefile.three.am, blackboard.c,
      blackboard.h, gmap.c, gsnap.c, sequence.c, sequence.h: Implemented the
      ability to uncompress gzip files by GSNAP

    * README, config.site, configure.ac: Made changes to reflect a new zlib
      option

2010-11-29  twu

    * gsnap.c: Fixed bug in output to multiple files where GSNAP single-end
      nomapping goes to stdout.

2010-11-24  twu

    * get-genome.c: Fixed stdin input to get-genome for non-map requests

2010-11-22  twu

    * Makefile.dna.am, Makefile.pmaptoo.am, Makefile.three.am: Added uinttable.c
      and uinttable.h to pmap

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am,
      Makefile.pmaptoo.am, Makefile.three.am: Added uinttable.c and uinttable.h
      to gmap

    * stage2.c: Fixed bug in determining overall grand winner

    * sam.c: Moved read group field to be first

    * iit-read.c, iit-read.h: Implemented print_comment option

    * gmap.c: Providing nchrs to stage1 procedure

    * gregion.c, gregion.h: Implemented extentstart and extentend for comparing
      gregions.  Added code for a Gregion cleaning step.

    * stage1.c, stage1.h: Added hooks for a Gregion cleaning step

2010-11-19  twu

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Implemented --print-comment
      for map output.  Removed old code for universal coordinate IIT files.

    * genome.h, stage3hr.h: Formatting changes

    * goby.c, goby.h, gsnap.c, sequence.c, sequence.h: Changes made for new Goby
      code

2010-11-18  twu

    * substring.c: Always initializing trim_left and trim_right

    * pdl_smooth.c: Initial import into svn

    * sam.c: Made fixes in printing mate information

    * spliceturn.c: Initial import into svn

    * multiclean.c: Initial import into svn

    * splicing-scan.c: Combining splice and terminal splicesites

    * Makefile.dna.am: Removed hexamer-score.c and .h from extents_genebounds

    * extents_genebounds.c: Added debugging information

    * tally_expr.c: Using new interface to IIT_annotation.  Providing option to
      print gc-content.

    * Makefile.dna.am: Removed tally_exclude from bin files

    * Makefile.dna.am: Removed iit_pileup from bin files

    * fopen.m4: Added _cv_ to all variable names

    * Makefile.am: Added ACLOCAL_AMFLAGS

    * VERSION: Updated version

    * bootstrap.dna, bootstrap.gmaponly, bootstrap.gsnaptoo, bootstrap.three:
      Using autoreconf.  Added --install to some files to allow building from
      svn.

    * sam.c: For unpaired_uniq, performing sorting first and then selecting mate
      for each end.

    * sam.c: Restored null mate for unpaired_mult

    * sam.c: Providing mate information in unpaired_mult

    * iit-read.c: Printing tabs in SAM headers

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am,
      Makefile.three.am: Changes to Makefile.am files

2010-11-17  twu

    * gsnap.c: Added a flag for --no-sam-headers

    * resulthr.c, resulthr.h: Added a printing command for resulttype

    * sam.c: For unmapped reads, always providing a mate if available

    * sequence.c, sequence.h: Added ability to print GMAP alignments in SAM
      output format

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Added ability to print GMAP
      alignments in SAM output format

    * gsnap.c, substring.c, substring.h: Added --show-refdiff option

    * README: Added further information about SNP-tolerant alignment and
      wildcard SNPs.

    * README: Made changes in instructions for -V and -v flags

2010-11-16  twu

    * gsnap.c, iit-read.c, iit-read.h, sam.c, sam.h: Implemented SM and RG
      fields.

    * gsnap.c: Added warning about paired-end output in Goby

    * goby.c, goby.h: Using new interface to sequence.h

    * datadir.c: Minor formatting change

    * get-genome.c, sequence.c, sequence.h: Handling printing of wildcard SNPs

    * sequence.c, sequence.h: Changed name of procedure

    * revcomp.c: Added flag for --byline

    * reads_store.c: Fixed bug in freeing memory too early

    * gsnapread.c: Reading quality string based on presence of third tab

    * gsnap.c: Removed short versions of some flags

    * sam.c: Using nmismatches_refdiffs in NM output

    * stage3hr.c, stage3hr.h: Fixed trimming based on SNPs.  Computing different
      types of nmismatches.

    * substring.c, substring.h: Fixed trimming based on SNPs.  Computing
      different types of nmismatches.

    * add_rpk.c, exonscan.c, genecompare.c, plotgenes.c, tally.c, tallygene.c:
      Using new interface to IIT_annotation

    * genome_hr.c, snpindex.c: Enabled representation of wildcard SNPs

    * get-genome.c: Added -V flag to specify a directory for alternate genome
      information

2010-11-15  twu

    * substring.c, substring.h: Added computation of mapping quality

    * gsnap.c, mapq.c, mapq.h, sam.c, stage1hr.c, stage3hr.c, stage3hr.h: Added
      computation of mapping quality

2010-11-11  twu

    * sequence.c, sequence.h: Fixes to printing of query sequences for failed
      alignments

    * goby.c, goby.h, gsnap.c: Always shutting down Protobuf if compiled in. 
      Calling gobyAlEntry_appendTooManyHits, even under quiet-if-excessive
      option. Changes to flag descriptions.

    * genome_hr.c, genome_hr.h, stage1hr.c, stage3hr.c, stage3hr.h, substring.c,
      substring.h: Marking all mismatches by using query_compress,
      genome_blocks, and snp_blocks.

2010-11-10  twu

    * goby.c, goby.h, gsnap.c, sam.c, sam.h, stage3hr.c, stage3hr.h: Allowing
      for three paired-end orientations instead of circular option. Added
      --fails-as-input flag.  Fixed issues with handling --failsonly option.

    * Makefile.gsnaptoo.am: Added blank line

    * Makefile.gmaponly.am: Added parserange.c and parserange.h

    * iit-read.c, iit-read.h: Revised IIT_annotation to handle version 5 IIT
      files

    * iit_get.c: Using new interface to IIT_annotation

    * genome.c, genome.h: Added procedures for returning ntcounts in a segment

    * gmap.c: Using long options without short options for --version and --help

    * pair.c: Fixed output of -f 8 format

    * sequence.c, sequence.h: Added procedures for printing GSNAP queries

2010-11-09  twu

    * goby.c, goby.h: Added functionality for Goby file formats

    * configure.ac: Added hooks for Goby compile-time option

    * config.site: Added information for Goby compile-time option

    * README: Added comments for FASTQ files, -z flag, and Goby functionality

    * Makefile.dna.am, Makefile.gsnaptoo.am, Makefile.three.am, gsnap.c,
      stage3hr.c, stage3hr.h: Added functionality for Goby file formats

    * gsnap_tally.c: Fixed problem with underflow in taking exp() of log
      likelihood

    * gsnap_tally.c: Added flag for using a constant quality score.  Printing
      1-p instead of p.

2010-11-08  twu

    * get-genome.c: Making only a single open of genome or genomealt

    * genome.c: Using new interface to IIT_annotation

    * get-genome.c: Using new interface to IIT_annotation

2010-11-04  twu

    * gsnap_terms.c: Added flags and parameters for mincount, min_endlength, and
      max_endlength.

2010-10-31  twu

    * reads_get.c: Made several changes in parsing

    * gsnap.c, sam.c, sam.h, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h,
      substring.c, substring.h: Made SNP and splicesite parameters local to
      Substring procedures

2010-10-29  twu

    * gsnap_tally.c: Added -A flag for controlling printing of ref details. 
      Removed unused global parameters.  Fixed bug in retrieving genomic
      reference.

2010-10-28  twu

    * sam.c: Added XS flag to indicate splice direction

    * configure.ac: Additions needed for new libtool version

    * bootstrap.gsnaptoo: Running full set of autoconf programs

    * iit.test.in: Revised version of test

    * config.guess, config.sub: New version of libtool programs

    * config.guess, config.sub, ltmain.sh: Previous version of libtool programs

    * gsnap_tally.c: Added computation of genotype probabilities

    * indexdb_dibase.c, indexdb_dibase.h: Initial import into SVN

    * setup.ref3positions.ok: Initial import into SVN

    * gsnap_tally.c: Sorting shifts and quality scores

    * gsnap_tally.c: Keeping track of and reporting shifts and quality for
      reference matches

2010-10-27  twu

    * list.c: Added tentative code for dealing with NULL lists in List_to_array

    * chop_primers.c: Using new interface to Sequence_print_header

    * translation.c, translation.h: Added ability to start CDS from a given
      position

    * tally_expr.c: Added ability to show mincount

    * tally.c, tally.h: Added functions Tally_mean_double and Tally_quantile

    * seqlength.c: Using new interface to Sequence_print_digest

    * parserange.c: Fixed bug in returning coordstart

    * pair.c: Using new interface to Sequence_print_digest

    * md5-compute.c: Using new interface to MD5_print

    * iit_store.c: Storing rest of header in annotation.  Using new interface to
      IIT_write.

    * iit_get.c: Changed stats to compute mean over entire width, not just
      non-zero positions

    * gsnap_iit.c: Using new interface to Gsnapread_parse_line

    * gsnap_tally.c: Subtracting 64 from quality scores, as standard for
      Illumina

    * gsnap_extents.c, gsnap_splices.c, gsnap_terms.c: Using new interface to
      Samread

    * gsnap_tally.c: Printing quality scores relative to highest one seen

    * sam.c: Changed separator for extra fields to be a tab, rather than a
      space.

2010-10-26  twu

    * gsnap.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h, substring.c,
      substring.h: Implemented trim-mismatch-score for controlling trimming

    * samread.c, samread.h: Implemented retrieval of quality string

    * gsnapread.c, gsnapread.h: Implemented retrieval of quality string

    * gsnap_tally.c: Printing mismatch information by position and quality

    * gmapindex.c: Using new interface to IIT_write

    * gmap.c: Protecting against calling List_to_array with an empty list

    * get-genome.c: Fixed bug introduced by new default snps_mode

    * diag.c: Protecting against call to List_to_array on an empty list

    * stage3hr.c, stage3hr.h: Reversing quality string in GSNAP output when
      necessary, and using quality shift.

    * gsnap.c: Fixed memory leak when npaths is zero.  Reversing quality string
      in GSNAP output when necessary.

2010-10-25  twu

    * gsnap_tally.c: Changed output format to show all signed query positions

    * gsnap_tally.c: Changed output format to show all query positions

    * gsnap_tally.c: Incorporated sam_tally into this source code

2010-10-24  twu

    * splicetrie.h: Changed Splicetrie_dump

    * splicetrie.c: Changed Splicetrie_dump.  Handling case where pos5 == pos3
      in short-exon splicing.  Added debugging statements.

    * stage1hr.c: Fixed a bug in handling one case of ambiguous splice ends in
      short-exon splicing.

    * splicetrie.c: Allowing only one mismatch at most for searching at ends in
      short-exon splicing when ends are 16 nt or shorter.

    * splicetrie.c: Combined Trie_new and Trie_output into a single procedure

2010-10-23  twu

    * splicetrie.c: Removed debugging statement

    * gsnap.c, splicetrie.c, splicetrie.h, stage1hr.c, stage1hr.h: Enabled
      computation of splice tries on the fly

    * gsnap.c, splicetrie.c, splicetrie.h: Divided Splicetrie_build process into
      two steps, with one computing nsplicepartners.

    * gsnap.c, splicetrie.c, splicetrie.h: Using unsigned ints rather than char
      * to store splicestrings and compute tries.

2010-10-22  twu

    * splicetrie.c: Ignoring cases where splice site has an N

    * stage3hr.c: Changed assertion to use effective_chrnum rather than chrnum

    * stage1hr.c: Using new interface to Splicetrie procedures.  Revised
      parameters for distant splicing.

    * splicetrie.c, splicetrie.h: Checking short-end and short-exon splicing
      against extension

    * gsnap.c: Automatically setting pairmax if not specified for RNA-Seq

2010-10-20  twu

    * stage3hr.c: Changed ambiguous splice procedure to remove longer splice

    * stage1hr.c: Using new interfaces to Splicetrie procedures.

    * splicetrie.c, splicetrie.h: Fixed various bugs.  Implemented separate
      procedures for short-ends and for longer ends (needed for short-exon
      alignments).

2010-10-19  twu

    * splicetrie.c, splicetrie.h, stage1hr.c: Checking entire subtree against
      splicefrags when using alternate genome and reaching a non-leaf with no
      string remaining.  Removed unused parameters.

    * stage1hr.c: Using new interface to Splicetrie_dump

    * get-genome.c: Changed flags for using SNPs

    * genome.c, genome.h: Added function Genome_fill_buffer_simple_alt

    * splicetrie.c, splicetrie.h: Fixed use of nmismatches from splicefrags. 
      Fixed use of alternate genome.  Using 4 bytes instead of 2 bytes for
      reloffsets.  Not using suboptimal separation.

2010-10-18  twu

    * stage1hr.c, stage3hr.c, stage3hr.h, substring.c, substring.h: Removed
      chrhigh from Substring_T and Stage3_T objects, and removed from segment
      objects in stage 1.

    * gsnap.c, splicetrie.c, splicetrie.h, stage1hr.c: Completed transition to
      using splicetries.  Removed unnecessary variables and code.

    * genome_hr.c, genome_hr.h, gsnap.c, splicetrie.c, splicetrie.h, stage1hr.c,
      stage1hr.h: Enabling use of splicefrags with splicetrie.  Enabled
      processing of alternate alleles.

2010-10-17  twu

    * Makefile.dna.am, Makefile.gsnaptoo.am, gsnap.c, splicetrie.c,
      splicetrie.h, stage1hr.c, stage1hr.h: Implemented tries for short-end
      splicing

2010-10-15  twu

    * gsnapread.c, gsnapread.h: Returning number of mismatches

    * stage3.c, stage3.h: Added ability to specify where CDS begins

    * gmap.c: Added ability to specify where CDS begins

    * get-genome.c: Added -A flag for dumping entire genome.  Handling -m flag
      correctly for stdin input.

2010-10-14  twu

    * pair.c: Implemented printinf of coverage, identity, and phases in GFF
      output

    * iit-write.c, iit-write.h, iitdef.h: Implemented version 5 of IIT format,
      which allows different pointer sizes for labels and annotations

    * gsnap.c, iit-read.c, iit-read.h, md5.c, md5.h, resulthr.c, resulthr.h,
      sam.c, sam.h, sequence.c, sequence.h, stage3hr.c, stage3hr.h, substring.c,
      substring.h: Enabled printing of output into multiple files

    * stage1hr.c: Allowing 1 mismatch in shortexon end, but requiring a
      separation of 2 from next best alignment.  Consolidated code into
      find_left_splice and find_right_splice.

    * gsnap.c: Changed default quality-shift to be 0

    * stage3hr.c, stage3hr.h: Implemented calculation and printing of MD string

    * substring.c, substring.h: Implemented calculation and printing of MD
      string

    * sam.c: Implemented calculation and printing of MD string

2010-10-13  twu

    * gsnap_tally.c: Fixed bug in freeing data.  Setting min_readlength to 0. 
      Using new interface to Gsnapread.

2010-10-06  twu

    * spliceclean.c: Added ability to print excluded splices

    * spliceclean.c: In resolving splice direction, using a 10-to-1 threshold
      and checking adjacent splices if necessary.

    * gsnap.c: Turned on indels by setting default indel-penalty to be 1.

2010-10-04  twu

    * stage1hr.c: Added restriction on number of mismatches allowed in short
      exons

2010-10-03  twu

    * spliceclean.c: Added ability to resolve between competing splices based on
      fwd and rev extents.  Added ability to print endpoints and midpoints. 
      Added flag to bypass cleaning step.

    * stage3hr.c: Allowing pair overlaps when splices are involved.  Using new
      way of computing low and high for pairs.

2010-09-30  twu

    * gsnap_extents.c: Initial creation

    * Makefile.dna.am: Added extents_genebounds

2010-09-29  twu

    * spliceclean.c: Added ability to print runlengths and splicesites.  Added
      ability to filter based on uniqueness, concordance, or maxminsupport.

    * extents_genebounds.c: Initial creation

    * Makefile.dna.am: Added multiclean, gsnap_extents, and gsnap_terms

    * gsnap_terms.c: Initial creation of gsnap_terms

2010-09-22  twu

    * iit_dump.c: Implemented printing of IIT in runlength or integral output

    * gsnap.c, sam.c, sam.h, sequence.c, stage3hr.c: Fixed handling of circular
      reads and implemented printing of SAM output for circular reads.

    * gmap.c, stage3.c, stage3.h, translation.c, translation.h: Added feature to
      start protein coding sequence from first query position.

2010-09-20  twu

    * splicegene.c: Added the ability to output genes as well as paths

2010-09-08  twu

    * mem.c: Added comment about use of LEAKCHECK

    * list.c: Removed unused variable

    * iit-read.c, iit-read.h, iit_dump.c: Added sort functionality for iit_dump

    * snpindex.c: Using -V flag to allow user to specify destination directory

    * substring.c: Added check to avoid checking for mismatches past end of
      string

    * stage1hr.c: Simplified computation of leftbound and rightbound in
      short-end splicing

    * stage1hr.c: Using different stopi for novel and known splicing.  Fixed
      possible bug in reading past mismatches_left and mismatches_right.  Fixed
      calculation of chrend in finding right bound for short-end splicing.

2010-09-04  twu

    * splicegene.c: Incorporated cappaths functionality

    * splicegene.c: Removed global variables related to linear fitting

    * splicegene.c: Fixed memory leaks.  Added filtering based on mean number of
      splices.

    * splicegene.c: Removed global variables

2010-09-03  twu

    * splicegene.c: Added ability to handle all chromosomes in a single run. 
      Fixed some memory leaks.

    * gsnap.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h, substring.c,
      substring.h: Introduced -V flag for specifying snpsdir, and now using -v
      flag for indicating SNPs file.  Removed geneprob option and procedures.

    * stage1hr.c, stage3hr.c, substring.c, substring.h: Made terminals extend to
      beginning and end of read, with trimming starting from there.  Endtypes
      based on presence of trimming.

2010-09-02  twu

    * gsnapread.c, sam.c, stage1hr.c, stage3hr.c, stage3hr.h, substring.c,
      substring.h: Added left and right endtypes to Substring_T object, and
      using them for printing exact, substitution, and terminal alignments. 
      Renamed variables in Hittype_T enum.  Added ambiguous alignments. 
      Restored usage of score in Stage3_remove_duplicates.  Using number of
      mismatches to compute nmatches in Stage3_T objects.  Revised computation
      of terminal alignments.

2010-09-01  twu

    * gsnap.c, stage1hr.c, stage1hr.h: Introduced min_shortend as a parameter
      with flag -l.  The find_left_splice and find_right_splice procedures now
      compete with extension.

2010-08-31  twu

    * gmap.c, stage3.c, stage3.h: Introducing sense_filter in addition to
      sense_try.  Counting non-canonical introns, rather than canonical ones to
      determine sense, and adding a small penalty for introns to bias against
      short exons.

    * stage1hr.c: Using new parameter to turn off concordant translocations with
      terminal alignments.  Clarified usage of query, queryuc_ptr, and queryrc.

    * stage3hr.c, stage3hr.h: Added flag to control concordant translocations

    * genome_hr.c, genome_hr.h: Fixed bug in handling fragments when query
      length is 16.  Removed query parameter from Genome_trim_left and
      Genome_trim_right procedures.

    * stage1hr.c: Stopped placing restrictions on stopi in finding splice ends.
      Requiring minimum endlength for short end splicing.

    * stage1hr.c: Fixed bug with donor, acceptor, and shortexons that were NULL.
       Fixed logic with novel splice sites in local splicing.

2010-08-26  twu

    * stage1hr.c: Fixed bug attempting to make shortexon of length 0

2010-08-25  twu

    * splicing-scan.c: Initial import into SVN

    * Makefile.util.am: Renamed revcomp program to rc

    * Makefile.gsnaptoo.am: Added gsnapread.c and gsnapread.h for gsnap_tally

    * Makefile.dna.am: Added rc and splicing-scan

    * get-genome.c: Removed unused parameter

    * gsnap_splices.c, gsnapread.c: Allowing program to handle short exon
      alignments with multiple splices

    * parserange.c: Added check for coordinate lengths that exceed 32 bits

    * substring.c: Commented old location of sub: field in donor and acceptor
      substrings

    * stage3hr.c, stage3hr.h: Including chrhigh in substrings

    * stage1hr.c: Including chrhigh in segments and substrings.  Implemented
      usage of splice distance in short exon alignments.

    * gsnap_iit.c, gsnap_splices.c, gsnap_tally.c, gsnapread.c, gsnapread.h:
      Gsnapread_parse_line returns information about types of endpoints

    * substring.c, substring.h: Including chrhigh as a field in Substring_T

2010-08-24  twu

    * sam.c, stage1hr.c, stage3hr.c, stage3hr.h, substring.c, substring.h:
      Implemented shortexon alignment

    * gsnap.c: Changed message for reading splicesites IIT file

    * genome_hr.c: Fixed bug in using flags for shortend splicing

2010-08-23  twu

    * gsnap.c: Enabled reading of a local splicesite file

2010-08-19  twu

    * stage1hr.c: Added check for query_compress to be non-NULL before
      find_terminals for single-end alignment

    * stage1hr.c: Fixed bug where query_compress needed to be computed before
      finding terminals

2010-08-18  twu

    * iit_store.c: Using string_compare and string_hash functions from table.c

    * iit-write.c: Moved position of free() statement

    * iit-read.c: Fixed debugging output

    * genome_hr.c, genome_hr.h, gsnap.c, stage1hr.c, stage1hr.h: Using
      splicefrags to increase speed of finding short-end splicing

    * stage3hr.c: Setting nindels to be zero for a terminal alignment

2010-08-13  twu

    * gsnap.c, indexdb.c, indexdb.h, indexdb_hr.c, indexdb_hr.h, spanningelt.c,
      spanningelt.h, stage1hr.c, stage1hr.h: Allowing GSNAP to run when
      positions are read as FILEIO.

    * stage1hr.c, stage3hr.c, stage3hr.h, substring.c, substring.h: Using
      splicesites array rather than splicesites_iit in short-end splicing

    * stage1hr.h: Increased MAX_QUERYLENGTH from 200 to 500

2010-08-10  twu

    * indexdb_dump.c: Added file left out in SVN conversion

    * indexdb_dump.c: Undo addition to wrong directory

    * indexdb_dump.c: Added file left out in SVN conversion

    * stage1hr.c: Removed requirement for nconcordant == 0 in deciding to
      compute local splices and short-end splices.

2010-08-06  twu

    * reads.c, reads_store.c: Eliminating labelorder in file format.  Cleaned up
      memory leaks.

    * reads.c: Improved speed of dumping procedure

    * reads.c, reads_get.c, reads_store.c: Allowing either 4-byte or 8-byte
      label and read pointers

2010-08-05  twu

    * Makefile.dna.am, reads.c, reads.h, reads_get.c, reads_store.c: Enabled
      compression of reads

    * Makefile.dna.am, reads.c, reads.h, reads_store.c: Using a div structure in
      file format

    * Makefile.dna.am, reads.c, reads.h, reads_dump.c, reads_get.c,
      reads_store.c: Using our own file format for storing reads, rather than
      BerkeleyDB

    * iit-read.c: Fixed bug in fileio reading of annotations

    * access.c, access.h, add_rpk.c, assert.c, assert.h, backtranslation.c,
      backtranslation.h, bigendian.c, bigendian.h, blackboard.c, blackboard.h,
      block.c, block.h, bool.h, boyer-moore.c, boyer-moore.h, cappaths.c,
      changepoint.c, changepoint.h, chimera.c, chimera.h, chop_primers.c,
      chrnum.c, chrnum.h, chrom.c, chrom.h, chrsegment.c, chrsegment.h,
      chrsubset.c, chrsubset.h, cmet.c, cmet.h, cmetindex.c, color.c, color.h,
      comp.h, complement.h, compress.c, compress.h, cum.c, datadir.c, datadir.h,
      datum.c, datum.h, diag.c, diag.h, diagdef.h, diagnostic.c, diagnostic.h,
      diagpool.c, diagpool.h, dibase.c, dibase.h, dibaseindex.c, doublelist.c,
      doublelist.h, dynprog.c, dynprog.h, except.c, except.h, exonscan.c,
      fopen.h, gbuffer.c, gbuffer.h, gdiag.c, geneadjust.c, genecompare.c,
      geneeval.c, genome-write.c, genome-write.h, genome.c, genome.h,
      genome_hr.c, genome_hr.h, genomepage.c, genomepage.h, genomeplot.c,
      genomicpos.c, genomicpos.h, genuncompress.c, get-genome.c, getopt.c,
      getopt.h, getopt1.c, gmap.c, gmapindex.c, gregion.c, gregion.h, gsnap.c,
      gsnap_iit.c, gsnap_splices.c, gsnap_tally.c, gsnapread.c, gsnapread.h,
      hint.c, hint.h, iit-read.h, iit-write.c, iit-write.h, iit_dump.c,
      iit_fetch.c, iit_get.c, iit_plot.c, iit_store.c, iit_update.c, iitdef.h,
      indexdb.c, indexdb.h, indexdb_hr.c, indexdb_hr.h, indexdbdef.h,
      interval.c, interval.h, intlist.c, intlist.h, intlistdef.h, intpool.c,
      intpool.h, intron.c, intron.h, lgamma.c, lgamma.h, list.c, list.h,
      listdef.h, littleendian.c, littleendian.h, match.c, match.h, matchdef.h,
      matchpool.c, matchpool.h, maxent.c, maxent.h, md5-compute.c, md5.c, md5.h,
      mem.c, mem.h, memchk.c, nmath.c, nmath.h, nr-x.c, nr-x.h, oligo-count.c,
      oligo.c, oligo.h, oligoindex.c, oligoindex.h, oligop.c, oligop.h,
      orderstat.c, orderstat.h, pair.c, pair.h, pairdef.h, pairingcum.c,
      pairingflats.c, pairinggene.c, pairingstrand.c, pairingtrain.c,
      pairpool.c, pairpool.h, parserange.c, parserange.h, pbinom.c, pbinom.h,
      pdldata.c, pdldata.h, pdlimage.c, plotdata.c, plotdata.h, plotgenes.c,
      plotgenes.h, pmapindex.c, random.c, random.h, rbtree.c, rbtree.h,
      rbtree.t.c, reader.c, reader.h, reqpost.c, reqpost.h, request.c,
      request.h, result.c, result.h, resulthr.c, resulthr.h, revcomp.c, sam.c,
      sam.h, sam_tally.c, samread.c, samread.h, scores.h, segmentpos.c,
      segmentpos.h, segue.c, separator.h, seqlength.c, sequence.c, sequence.h,
      smooth.c, smooth.h, snpindex.c, spanningelt.c, spanningelt.h,
      spliceeval.c, splicegene.c, splicegraph.c, splicescan.c, splicing-score.c,
      stage1.c, stage1.h, stage1hr.c, stage1hr.h, stage2.c, stage2.h, stage3.c,
      stage3.h, stage3hr.c, stage3hr.h, stopwatch.c, stopwatch.h, subseq.c,
      substring.c, substring.h, table.c, table.h, tableint.c, tableint.h,
      tallyadd.c, tallyflats.c, tallygene.c, tallyhmm.c, tallystrand.c,
      translation.c, translation.h, trial.c, trial.h, types.h, uintlist.c,
      uintlist.h, uinttable.c, uinttable.h: Added keyword property for Id

    * tally_expr.c: Fixed bug in reporting number of exons and in skipping exons

    * stage3hr.c: Improved debugging statements

    * stage3.c: Fixed bug when ngap was larger than gaps in dual_break

    * samread.c: Added old but unused code

    * iit-read.c, iit-read.h: Added function IIT_get_typed_signed

    * gsnap_splices.c: Added parameter for shortsplicedist

    * gsnapread.c, gsnapread.h: Added function Gsnapread_accession

    * gsnap_tally.c: Fixed bug in using advance_one_hit

    * Makefile.dna.am, gsnap_iit.c: Created gsnap_iit

2010-08-04  twu

    * Makefile.dna.am, reads_get.c, reads_store.c: Created programs reads_store
      and reads_get.

    * splicefill.c: Using median filtering as a first step

    * splicefill.c: Removed probabilistic calculations

    * splicefill.c: Version with probabilistic calculations

2010-08-03  twu

    * splicefill.c: Using tally information to find edges.  Using Poisson and
      exponential models.

    * iit-read.c, iit-read.h, snpindex.c: Providing messages about chromosomes
      in the genome and in the SNPs IIT file

2010-08-02  twu

    * Makefile.dna.am, splicefill.c: Initial creation of splicefill program

2010-08-01  twu

    * gsnap_tally.c, gsnapread.c, gsnapread.h: Able to separate low and high
      ends of paired-end reads

    * Makefile.dna.am, gsnap_tally.c: Using parsing functions in gsnapread.c

    * Makefile.dna.am, gsnap_splices.c, gsnapread.c, gsnapread.h: Moved parsing
      functions to gsnapread.c

2010-07-30  twu

    * spliceclean.c: Preserving information in rest of header

    * gsnap_splices.c: Printing maxminsupport and nconcordant information

    * Makefile.dna.am, spliceclean.c: Enabled spliceclean to handle all
      chromosomes.  Using tables to store splices.

    * spliceclean.c: Fixed bugs in parsing input

    * spliceclean.c: Added procedure to free memory

    * gsnap_splices.c: Fixed bug from freeing table keys too early

    * gsnap_splices.c: Enabled program to handle all chromosomes in a single run

2010-07-29  twu

    * Makefile.dna.am, gsnap_splices.c, iit-read.c, uinttable.c, uinttable.h:
      Using a table to store splice sites in gsnap_splices.c

    * gsnap_splices.c: Removed -F and -R flags for separate strands

    * Makefile.dna.am, gsnap_splices.c, sam_splices.c: Integrated sam_splices.c
      and gsnap_splices.c into a single file

    * mem.c: Removed unused variable

    * iit-read.c: Removed unused code

    * genome.c: Removed unused variable

    * blackboard.c: Returning bool type explicitly

    * substring.c: Removed unused code

    * sequence.c: Resolving compiler warning about type casting

    * gsnap_splices.c, sam_splices.c, spliceclean.c: Allowing -s flag to print
      annotations about known splicesites

2010-07-28  twu

    * struct-stat64.m4: Added missing m4 file

    * Makefile.am, cvs2cl.pl, svncl.pl: Replace cvs2cl.pl with svncl.pl

    * CVSROOT: Removed CVSROOT directory

2010-07-27  twu

    * assert.h: Changed compiler variable

    * VERSION, config.site.rescomp.prd, index.html: Revised for 2010-07-27
      release

    * bootstrap.dna: Using autoreconf

    * README: Modified statement about -m flag and about types in SNP IIT files

    * MAINTAINER: Added statement about assert.h

    * tally_expr.c: Standardized output format

    * gsnap.c: Made -q flag work correctly for single-thread mode.  Printing run
      time at end of each run.

    * gmap.c: Calling correct exception for a sigtrap

    * Makefile.dna.am, Makefile.gsnaptoo.am: Using datadir in snpindex

    * iit-read.c, iit-read.h: Fixed IIT_index function

    * snpindex.c: Using datadir.  Fixed error messages.

    * stage3hr.h, substring.c, substring.h: Removed fields for halfintrons.

    * stage3hr.c: Fixed bug in removing duplicates.  Removed fields for
      halfintrons.

    * stage1hr.c, stage1hr.h: Implemented short-end splicing for known splice
      sites

2010-07-26  twu

    * mem.c: Changed monitoring statement to print only in debug mode

    * iit-read.c, iit-read.h: Added procedure for typed and signed intervals
      based on divno

    * gsnap.c: New interface to stage 1 procedures

2010-07-24  twu

    * VERSION, index.html: Revised for 2010-07-23 release

    * spliceclean.c: Processing forward and reverse splices separately

    * gsnap.c: Fixed bug where -a flag modified trim_maxlength

    * assert.h: Turned off assertion checking

    * Makefile.dna.am: Added tally_exclude

    * substring.c: Modified debugging statements for trimming

    * stage3hr.c: Added debugging statements

    * iit-read.c, iit-read.h: Added function IIT_interval_sign

2010-07-22  twu

    * tally_expr.c: Allowing printing over all positions

    * tally_expr.c: Allowing multiple tallies

    * gsnap.c, sam.c, sam.h, sequence.c, sequence.h: Fixed handling of quality
      scores to match that of sequence.  Added -j flag to specify amount of
      shift for quality scores.

2010-07-21  twu

    * setup1.test.in: Putting test chromosome in subdirectory

    * setup2.test.in: Revised test for new gmapindex, but test not being used
      currently

    * iit.test.in: Not testing for diff in iittest.iit

    * align.test.ok, coords1.test.ok, map.test.ok: Changed expectations to match
      latest program output

    * iittest.iit.ok: Using latest IIT version

    * Makefile.am: Using ref3offsets and ref3positions instead of idxoffsets and
      idxpositions

    * acx_mmap_fixed.m4, acx_mmap_variable.m4: Added stdlib.h and unistd.h
      headers

    * bootstrap.dna, bootstrap.gsnaptoo, bootstrap.three,
      config.site.rescomp.prd, config.site.rescomp.tst: Initial import into CVS

    * config.site.gne: Removed old config file

    * acinclude.m4: Including builtin m4 code

    * MAINTAINER: Added notes about checking Bigendian behavior

    * archive.html, index.html: Revised for 2010-07-20 release

    * configure.ac: Better checking for VERSION

    * bootstrap.pmaptoo: Added --force flag

    * bootstrap.gmaponly: Added autoreconf step

    * README, VERSION: Changed for 2010-07-20 release

    * gmap_process.pl.in: Removed check for contig version

    * gmap_update.pl.in: Not updating chromosome or contig IIT files

    * gmap_setup.pl.in: Providing -q and -Q flags for GMAP and PMAP indexing
      intervals.

    * gsnap-fetch-reads.pl, gsnap-fetch-reads.pl.in, gsnap-remap.pl,
      gsnap-remap.pl.in: Initial import into CVS

    * gsnap_splicing.pl: Program is superseded by C program gsnap_splices

    * gsnap_splicing.pl: Various changes.  Program is superseded by C program
      gsnap_splices.

    * gmap_compress.pl.in, gmap_reassemble.pl.in, gmap_uncompress.pl.in,
      md_coords.pl.in: Using "use warnings" instead of "-w" flag

    * fa_coords.pl.in: Handling duplicate occurrences of a chromosome.  Limiting
      number of warnings.

    * Makefile.am: Added gmap_update

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Implemented -f 4 GFF estmatch
      format based on patch from Shaun Jackman and Eoghan Harrington of British
      Columbia Genome Sciences Centre.

    * chimera.c: Commented out problematic code, to be resolved later

    * get-genome.c: Fixed coordinates when retrieving map file contents

    * cum.c, dibaseindex.c, geneadjust.c, pairingtrain.c, splicegraph.c,
      tallyadd.c, tallygene.c, tallystrand.c: Initial import into CVS

    * pairingstrand.c, tallyhmm.c: Using new Parserange_universal function

    * tally.c, tally.h: Treating counts as long ints

    * splicegene.c: Changed algorithm

    * spliceeval.c: Removed unused code

    * plotgenes.c, plotgenes.h: Several changes, including trying to resolve
      fatal errors

    * pdldata.c, pdldata.h: Implemented Pdldata_new and Pdldata_write

    * pairinggene.c: Counting found splices as flats

    * pairingflats.c: Changed algorithm for finding flat regions

    * pairingcum.c: Treating high and low reads separately

    * oligo-count.c: Using new interface to Reader_new.

    * lgamma.c, lgamma.h: Handling counts as long ints

    * hint.c, hint.h: Changed models

    * geneeval.c: Using new Parserange_universal function

    * genecompare.c: Separate output for forward and reverse chromosome strands.

    * gdiag.c: Removed some output.  Using new interfaces to IIT_read.

    * dibase.c, dibase.h, exonscan.c: Change in algorithm

    * chimera.c: Using Path_matchscores instead of Stage3_matchscores

    * cappaths.c: Using xintercepts instead of slopes

    * boyer-moore.c, boyer-moore.h: Added procedures for chop_primers.c

    * add_rpk.c: Change of output format

2010-07-20  twu

    * stage1hr.c: Tightened requirements further for splice site probabilities
      on distant splicing.

    * stage3hr.c: Using nmatches to filter pairs containing terminal alignments

    * gsnap.c: Changed advice on RNA-Seq settings for -m.

    * archive.html, index.html: Released version 2010-03-10

    * substring.c, substring.h: Computing nmatches directly

    * stage3hr.h: Removed score parameter from Stage3_new_terminal

    * stage3hr.c: Selecting best among terminal alignments.  Computing nmatches
      directly.

    * stage1hr.c: Changed algorithm for finding terminal alignments.  Requiring
      distant splicing to have high splice probabilities.

    * sam_splices.c: Computing readlengths on each end of splice separately

    * gsnap.c, gsnap_splices.c: Added debugging code

2010-07-19  twu

    * stage1hr.c: Using sequences as numeric in some cases

    * maxent.c, maxent.h: Added procedures to handle sequences as numeric

    * gsnap.c: Added a comment to the --help message

    * genome_hr.c, genome_hr.h: Added a procedure to retrieve a dinucleotide

    * genome.c, genome.h: Added a procedure to retrieve sequences as numeric

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am,
      Makefile.pmaptoo.am: Revised files and programs as needed

2010-07-16  twu

    * stage3hr.c: Requiring that dual translocations be concordant only across
      the same two chromosomes.

    * smooth.c: Conserving listcells where possible

    * oligoindex.c, oligoindex.h: Removed computation of fingerprint

    * list.c, list.h: Implemented List_transfer_one and List_push_existing

    * gsnap.c: Performing trimming by default

    * dynprog.c: Ensuring that finalscore is assigned in Dynprog_genome_gap.

    * stage3hr.c, substring.c, substring.h: Providing a minlength parameter to
      Substring_new, so end indels do not get eliminated.

    * chop_primers.c: Initial import into CVS

    * sam_tally.c: Trimming uses -3 for mismatches and resets negative scores to
      zero. Handling hard clipping.

    * gsnap_tally.c: Trimming uses -3 for mismatches and resets negative scores
      to zero

    * gsnap_splices.c: Sorting splices using both ends.

    * sam_splices.c: Handling AT-AC introns.  Sorting splices using both ends.

    * samread.c, samread.h: Returning acc in parsing line

    * sam.h: Renamed NOT_PRIMARY bit

    * sam.c: Implemented hard clipping of sequences for SAM output.  Enabled
      printing of distant splices onto two separate lines.  Using NOT_PRIMARY
      bit in flag.

    * sequence.c, sequence.h: Implemented hard clipping of sequences for SAM
      output

    * stage3.c: Removed unused procedures.  Conserving listcells when possible.

    * stage2.c: Removed unused procedures

    * gmap.c: Removed references to Intpool_T

    * pairpool.c: Setting initial value for state

    * matchpool.c, matchpool.h: Implemented Matchpool_free_memory procedure

    * mem.c, mem.h: Added procedures for computing memory usage

    * stage3hr.c, substring.c, substring.h: Now trimming from both ends of
      terminal alignment.  Explicitly specifying which ends to trim.

    * substring.h: Replaced Substring_T with T

    * substring.c: Allowing Substring_new to return NULL if trimmed alignments
      are poor. Replaced Substring_T with T.  Resetting score to zero when it
      becomes negative in trimming.

    * stage1hr.c, stage3hr.c: Allowing Substring_new and Stage3_new to return
      NULL if trimmed alignments are poor.

    * substring.c: Changed mismatch score from -1 to -3 for trimming

    * stage1hr.c, stage3hr.h: Added notion of ambiguous splices.

    * stage3hr.c: Added notion of ambiguous splices.  Fixing removal of
      duplicates.

2010-07-15  twu

    * stage3hr.c, stage3hr.h: Implemented Stage3_substring_low

    * samread.c: Added debugging comments

    * sam.c, sam.h: Moved flag constants to sam.h.  Using Stage3_substring_low
      to print chromosomal pos.

    * sam_splices.c: Simplified loop

    * gsnap_splices.c: Having lines_gc return NULL

    * gsnap_tally.c: Fixed trimming.  Turning off trimming by default.

    * sam_tally.c: Initial import into CVS

2010-07-14  twu

    * sam_splices.c, samread.c, samread.h: Fixed bug in specifying allowed
      dinucleotides.  Moved parsing procedures to samread.c.

2010-07-13  twu

    * sam_splices.c: Initial import into CVS

2010-07-11  twu

    * spliceclean.c: Changed variable names

2010-07-10  twu

    * stage2.c, stage2.h, stage3.h: Removed stage2 fingerprint

    * gmap.c: Added freeing of pairpool and diagpool memory at certain
      intervals.

    * pair.c, pair.h, stage3.c: Moved HMM code from pair.c to stage3.c

    * pairpool.c, pairpool.h: Implemented Pairpool_free_memory function

    * diagpool.c, diagpool.h: Implemented Diagpool_free_memory function

    * gsnap.c: Added ability to remove adapters from paired-end reads. 
      Providing option for maxlength on trimming.

    * gmap.c: Using Stage2_scan method to rank gregions.  Providing additional
      diagnostic options.

    * diag.c, diag.h, diagpool.h: Added ability to allocate memory for
      diagonals, rather than using diagpool

    * tally_expr.c: Fixed bug in using IIT index

    * substring.h: Added handling of terminal reads

    * substring.c: Using trimming maxlength.  Fixed printing of sequences with
      adapters.

    * stage3hr.c: Fixed identification of duplicates.  Using total matches to
      compare results, rather than score.

    * stage3.c, stage3.h: Using an HMM to find bad sections and fixing resulting
      dual breaks.

    * stage2.c, stage2.h: Added Stage2_scan procedure.  Providing diagonals for
      diagnostic purposes.  Computing a fingerprint.

    * stage1.c: Using a boolean to see if weight exists rather than depending on
      floating point value

    * sequence.h: Added handling of finding adapters.  Computing sequence
      quality for trimming.

    * sequence.c: Fixed bug where fastq quality line begins with ">".  Added
      removal of adapters from paired-end data.

    * sam.h: Removed genome from argument lists

    * sam.c: Fixed bugs in coordinates, epecially involving trimmed reads.
      Handling terminal reads.

    * result.c, result.h: Added ability to report intermediate gregions or
      diagonals

    * oligoindex.h: Added computation of fingerprint

    * oligoindex.c: Added necessary clearing of oligoindex.

    * pairdef.h, pairpool.c: Added Pair_goodness_hmm procedure.

    * pair.c, pair.h: Added Pair_goodness_hmm procedure.  Added printing of
      stage2 fingerprint.

    * orderstat.c: Removed reliance on a floating point equality

    * mem.c, mem.h: Added leak check procedures

    * match.c, match.h, matchdef.h: Using a boolean to record whether weight is
      zero or not, rather than relying on floating point

    * indexdb_hr.c: Added comment

    * indexdb.c: Fixed printf procedure

    * iit-read.h: Removed unused IIT_print prototype

    * iit-read.c: Fixed print_record procedure

    * gsnap_tally.c: Fixed trimming procedure.  Added reference nucleotide in
      all lines. Fixed processing of all chromosomes.

    * gsnap_splices.c: Fixed parsing.  Made uniquep false by default.  Added
      info about nextensions and nunique.

    * gregion.c, gregion.h: Added fields ncovered and source, plus function
      Gregion_cmp

    * get-genome.c: Removed unused function print_map

    * genome.c, genome.h: Added function Genome_get_char

    * dynprog.c: Added space for formatting

    * stage1hr.h: Setting a maxlength on trimming

    * stage1hr.c: Finding terminals rather than halfintrons.  Fixed case where
      splice ends are adjacent in genome.

2010-07-02  twu

    * stage3hr.h: Added support for a terminal alignment.

    * stage3hr.c: Added support for a terminal alignment.  Removed
      halfintron_support field.

2010-05-28  twu

    * iit_store.c: Fixed issues with removing and re-inserting null divstring.

2010-05-26  twu

    * stage1hr.c: Added trim_maxlength.  Added nmismatches to halfintron
      alignments.

    * stage3hr.h: Added trim_maxlength.

    * stage3hr.c: Added trim_maxlength.  Checking pairlength on samechr_single
      to see if concordant.

2010-05-21  twu

    * iit-read.c, iit-read.h, stage3.c: Fixed printing of chromosome in map
      results

2010-05-20  twu

    * stage3hr.c: Finding concordant pairs against translocations with chrnum ==
      0, by making copies for each chrnum and storing in effective_chrnum.

2010-05-17  twu

    * substring.c, substring.h: Added halfintron support field.

    * stage3hr.c, stage3hr.h: Implemented sense consistency in paired-end
      alignments

    * stage1hr.c: Fixed bugs in previous implementation of half introns

2010-05-16  twu

    * stage1hr.c, stage3hr.c: Implemented new way of handling half introns, by
      storing best half intron for sense and for antisense

2010-05-14  twu

    * resulthr.c, resulthr.h, stage1hr.c, stage3hr.c, stage3hr.h: Added
      procedure for finding samechr pairs if no concordant ones found. Revised
      result types to include PAIREDEND_SAMECHR_SINGLE and
      PAIREDEND_SAMECHR_MULTIPLE.

2010-05-13  twu

    * stage1hr.c: Added conditional compilation statements for filtering
      halfintrons

    * gsnap.c, stage3hr.c, stage3hr.h: Handling failsonly and nofails flags for
      paired-end data.  Printing FASTQ format for failsonly on single-end data.

2010-04-17  twu

    * iit-write.c: Fixed bug in freeing data when number of intervals is zero

2010-04-12  twu

    * iit-read.c: Commented out IIT_index function

    * sam.c: Fixed situation where query has no mapping and mate is an
      interchromosomal splice

2010-04-05  twu

    * tally_expr.c: Initial import into CVS

2010-04-02  twu

    * iit_get.c: Added allele information to -T option

2010-03-24  twu

    * gsnap.c, sequence.c, sequence.h: Implemented processing of FASTQ files

    * gmap.c: Using new interface to blackboard.c

    * blackboard.c, blackboard.h: Added input2 to Blackboard_T object

    * stage3hr.c, stage3hr.h: Fixed classification of paired-end reads when one
      or both ends have a translocation.

2010-03-10  twu

    * stage3hr.c: Revised half_intron_score.  Using that score when comparing
      overlapping half_introns with one another.

    * gsnap.c, stage1hr.c, stage1hr.h: Added parameter for
      min_distantsplicing_identity

2010-03-09  twu

    * stage1hr.c: Providing querylength information when making Stage3_T splice
      objects

    * stage3hr.c, stage3hr.h: Adding a penalty to half-intron alignments based
      on the amount of sequence that was not aligned.

    * stage3hr.c: Changed output for samechr results

    * substring.c: Printing sub:0 instead of exact

    * stage1hr.c: Checking for exact matches that cross chromosomal boundaries

2010-03-08  twu

    * resulthr.c: Making all paired reads of type concordant

    * stage3hr.c: Added printing of samechr as a special case of
      PAIREDEND_AS_SINGLES_UNIQUE.

    * sam.h: Added mate information to nomapping result.

    * sam.c: Removed unused code.  Fixed printing of query string.  Added mate
      information to nomapping result.

    * gsnap_tally.c: Handling new output format for GSNAP

    * gsnap.c: Using new interface for SAM_print_nomapping

    * README: Added more information about GSNAP features and output

2010-03-05  twu

    * iit-read.c, iit-read.h: Added function IIT_dump_sam

    * gsnap.c: Renamed resulttypes

    * resulthr.c, resulthr.h: Added resulttype PAIREDEND_AS_SINGLES_UNIQUE

    * substring.c, substring.h: Added function Substring_match_length

    * stage3hr.h: Computing chrnum, chroffset, genomicstart, and genomicpos at
      Stage3_T level for splices.

    * stage3hr.c: Pairing up at each successive score level.  Computing chrnum,
      chroffset, genomicstart, and genomicpos at Stage3_T level for splices.

    * stage1hr.c: Fixed bug allowing deletion to extend past genomicpos 0. 
      Fixed cases where known splicing occurs near end of sequence.  Removing
      duplicate hits before pairing up ends.

    * sam.c: Made multiple changes to generate correct SAM output

2010-03-01  twu

    * substring.c, substring.h: Removed unnecessary parameters during printing

    * stage3hr.h: Removed unnecessary parameters.

    * stage3hr.c: Added support information to splices, and using it to select
      best half introns.  Removing unnecessary parameters during printing. 
      Checking for abort in pairing process, based on local counts.

    * stage1hr.c: Added support information in making splices.  Not checking for
      sufficiency for half introns.  Using an abort_pairing_p flag, and when
      true, recomputing ends as singles.

    * splicing-score.c: Using parserange module.  Allowing range to be
      specified.

    * iit-read.h: Removed unused parameter

    * iit-read.c: Changed format strings to eliminate compiler warnings

    * genome.c: Added parentheses around some conditional statements

2010-02-26  twu

    * stage3.c: Removed unused parameters from print functions

    * sequence.c: Handling sequence at end of file without line feed

    * reader.c: Commented out unused code

    * gsnap.c: Added flags for SAM and quiet-if-excessive.  Dropped flags for
      probability thresholds.

    * datadir.h: Added external interface for a function

    * sam.c: Fixed bug where numbers of deletions was being reported as a
      negative number

    * genome_hr.c, genome_hr.h, stage1hr.c: Removed computation of snpdiffs by
      genome_hr

2010-02-25  twu

    * genome_hr.h: Added code for performing trimming.  Using macros for
      clearing and setting outside regions in start and end blocks.

    * genome_hr.c: Added code for performing trimming.  Using macros for
      clearing and setting outside regions in start and end blocks.

    * stage1hr.c: Added trimming of splice ends to avoid extending into region
      of many mismatches.  Saving all splice ends that have sufficient sequence
      and probability support.

2010-02-23  twu

    * substring.c: Fixed printing of splices.  Fixed bugs in retrieving SNP
      information.

    * stage3hr.h: Returning found score from all functions that create a
      Stage3_T object

    * stage3hr.c: Fixed computation of pair length.  Fixed search for concordant
      pairs.

    * stage1hr.h: Removed unused parameters

    * stage1hr.c: Using found score rather than found number of mismatches. 
      Fixed cases where indel pos was outside of query range.

    * spanningelt.c: Fixed typecast error

    * sam.c, sam.h: Implemented SAM output for paired-end reads

2010-02-13  twu

    * resulthr.c, resulthr.h, stage1hr.c, stage3hr.c, stage3hr.h, substring.c,
      substring.h: Changed output format to have separate columns for alignment
      information and pair information.  Standardized output routines. Three
      categories for paired-end reads: concordant, samechr, and unpaired.

2010-02-12  twu

    * sam.c, sam.h, stage1hr.c, stage3hr.c, stage3hr.h, substring.c,
      substring.h: Rearranged and cleaned up code for making substrings

2010-02-10  twu

    * gmap_process.pl.in: Removed code that removed version numbers on
      accessions

2010-02-03  twu

    * indexdb.c: Fixed string formatting

    * snpindex.c: Fixed some printing statements

    * get-genome.c: Changed call to parserange to match new interface

    * uintlist.c, uintlist.h: Added Uintlist_find command

    * table.c, tableint.c: Added stdlib.h header file

    * stage3.h: Added genome to print_alignment for splice sites scores in
      output

    * stage3.c: Allowing null gaps again

    * stage2.c: Added separate data types for a 1-dimensional matrix and
      2-dimensional matrix representation

    * stage1hr.c: Prevented splicing unless both dinucleotides are present

    * stage1.c: Removed extensions of gregions

    * sequence.c: Commented out unused functions

    * resulthr.c, resulthr.h: Renamed result type to PAIRED_AND_PAIRABLE

    * parserange.c, parserange.h: Implemented parse_query function

    * pair.c, pair.h: Added donor and acceptor scores to output

    * orderstat.c, orderstat.h: Added functions for long int

    * oligoindex.c, oligoindex.h: Added parameter oned_matrix_p

    * nr-x.h: Added ppois functions

    * nr-x.c: Added ppois functions.  Fixed bug in pbinom for zero observed
      counts.

    * list.c, list.h: Rewrote function for List_insert

    * intlist.c: Handling case of empty list better for conversion to string

    * interval.c, interval.h: Added functions for sorting intervals by position

    * indexdb.c: Added debugging statements

    * iit_plot.c: Using new interface to Genome_new

    * iit_get.c: Implemented statistics function.  Using long int for tally
      IITs. Using parserange module.

    * iit-read.h: Added function for divlength

    * iit-read.c: New implementation of sorting of intervals by position

    * gmapindex.c: Increased expected table size for number of chromosomes. 
      Stopping warning messages after 100 printed.

    * gmap.c: Added genome parameter to Stage3_print_alignment

    * get-genome.c: Using parserange module.  Implemented flanking segments.

    * genome_hr.c: Removed unused variables for certain compile-time conditions

    * genome-write.c: Stopping warning messages after 50 are printed

    * gdiag.c: Formatting changes

    * except.c: Using pointers to exception frame objects

    * dynprog.c: Reduced PAIRED_OPEN penalty from -24 to -18

    * diag.h: Added function Diag_range

    * diag.c: Reduced EXTRA_BOUNDS parameter

    * datadir.c: Fixed bug where insufficient buffer space was provided for one
      string

    * backtranslation.h: Removed void in formal parameter lists

    * backtranslation.c: Casting character array indices to ints

2010-02-02  twu

    * splicegene.c: Attempted to find genebounds on all sites

2010-02-01  twu

    * splicegene.c: Implemented finding and reporting of alternate splice forms

    * splicegene.c: Differentiated donor and acceptor sites.  Handling reverse
      strand in reverse direction.  Noting conflicts when either endpoint is
      close to an endpoint on the other.

2010-01-31  twu

    * splicegene.c: Completely new rewrite based on pairinggene.c.  Attempt to
      assign genebounds based on tally high and tally low.

2010-01-30  twu

    * splicegene.c: Using tally high and low.  Added hooks for alternate splice
      site.

    * spliceclean.c: Performing validation based on ratio of count to maxcount
      over region

2010-01-29  twu

    * spliceclean.c: Using less memory.  Attempted validation of splices based
      on envelope.

    * spliceclean.c: Initial import into CVS

    * pairingcum.c: Implemented filtering based on significance at endpoints

2010-01-28  twu

    * pairingcum.c: Added computation on floors as well as ceilings

2010-01-25  twu

    * pairinggene.c: Testing flat regions against the splice IIT to determine if
      they are intron-like.  Also adding splice edges to the original list. 
      Splices will therefore need to be filtered.

    * pairinggene.c: Reverted to previous version using only observed GSNAP
      splices

    * pairinggene.c: Improved algorithm for distinguishing between intergenic
      flats and intron flats.

    * geneeval.c: Initial import into CVS

    * pairinggene.c: Improved algorithm for detecting intergenic regions.  For
      flats, we can use a loose criterion without a level threshold, because of
      the ordering constraint.  We are using both edges from flats and from
      gsnap splices.  We added a procedure for distinguishing between intergenic
      regions and long exons based on the counts_tally.

2010-01-24  twu

    * pairinggene.c: Using iblocks instead of nblocks to control exon segments,
      so essentially all combinations of introns are considered

    * pairinggene.c: Reading in edges from the splices_iit file, presumably
      after filtering

    * pairinggene.c: Attempt to get more edges by looking up splice edges when a
      flat does not yield clean ones

    * cappaths.c: Added analysis of slopes and attempt to find a flat region

    * pairinggene.c: Fixed bug with negative unsigned int

    * pairinggene.c: For objective function, using the count of observed splices
      from GSNAP.

    * pairinggene.c: Eliminated concept of an eblock (or exon block).  Trying
      all intron combinations, since intergenic blocks are sufficient to contain
      the search space.

    * pairinggene.c: Fixed bug where an up was a terminal, which hid the
      downstream down. Added some debugging code.

    * pairinggene.c: Added checking of edges based on genome splice sites

    * pairinggene.c: Made intergenic regions go between flats, and increased the
      length requirement.  Using auto_exonlength for adding exons.

    * pairinggene.c: Restricted intergenic blocks to be between adjacent down to
      up edges

    * pairinggene.c: Reordered procedures to minimize memory usage

    * pairinggene.c: Implemented a new algorithm for constructing the graph,
      using various blocks and building the graph in stages

    * tally.c: Added functions for the median and for adding a runlength to an
      existing count

2010-01-23  twu

    * pairinggene.c: Fixed error in formula for computing down edge

    * splicing-score.c: Initial import into CVS

    * pairingcum.c: Fixed a bug where the cum was being put at the wrong
      position, causing the down edge to be 1 position too small.

    * pairinggene.c: Implemented trimming of ends

    * pairinggene.c: Implemented a new test for intergenic regions based on
      finding a long flat region in the counts, which should not happen in an
      exon.

    * pairinggene.c: Added a test for sharpness based on an area ratio

    * pairinggene.c: Fixed dynamic programming procedure

    * pairinggene.c: Keeping a min-max test on whether introns are acceptable,
      but using mean levels of introns and exons for scoring.

    * pairinggene.c: Using zero-based check on pairingfull to test for
      intergenic regions. Added a greedy addition of introns.

    * pairinggene.c: Attempt to use pairing full information and gradual
      downsloping to find UTRs.

2010-01-22  twu

    * pairinggene.c: Using intron level minus exon level to determine edges with
      greater sensitivity.  Implemented scores as double, rather than int,
      although currently using mincount and maxcount.

    * pairinggene.c: Changed from onepath dynamic programming to multiple paths
      with terminals.  Using explicit objects for exons and introns.

    * pairinggene.c: Implemented finding of initial ups

    * pairinggene.c: Initial import into CVS.  Dynamic programming based on
      splicegene.c

2010-01-21  twu

    * spliceeval.c: Implemented computation of reception zone and init/term
      status of splice sites

2010-01-20  twu

    * gsnap.c, stage1hr.c, stage3hr.c, stage3hr.h: Implemented trimming of ends
      of sequences

    * stage1hr.c: Allowing GC-AG splicing as well as GT-AG.  Using a sliding
      scale of splice site probabilities based on alignment support.

    * stage3hr.c, stage3hr.h: Added code for using a geneprob IIT file to assist
      in finding splice sites

    * gsnap.c: Added a -g flag for using a geneprob IIT file to assist in
      finding splice sites

    * tally.c, tally.h: Added function Tally_mean()

    * tallyflats.c: Analyzing both fwd and rev tallies and storing in a single
      IIT file

    * splicegene.c: Using variability in pairing.unk rather than tallyflats to
      determine intragenic regions

    * spliceeval.c: Computing slopes internally, rather than relying upon
      pairingflats

    * pairingflats.c: Added median smoothing

    * lgamma.c, lgamma.h: Added ppois function

2010-01-19  twu

    * genecompare.c: Initial import into CVS

    * geneeval.c: Changed name to genecompare.c

    * geneeval.c: Added ability to handle comment lines in gene

2010-01-18  twu

    * lgamma.c, lgamma.h, random.c, random.h: Initial import into CVS

    * tally.c, tally.h: Added functions

    * geneeval.c: Printing goldstandard information in comment line

    * cappaths.c: Using pairing fwd and rev iits

    * spliceeval.c: Removed unused code.  Added procedures for merging
      pairingflats.

    * splicegene.c: Added a check for validity tally flats by looking at tally
      information

    * tallyflats.c: Keeping track separately of zero regions and flat regions. 
      Changed parameters.

    * gsnap_splices.c: Removed unused code

    * gsnap_tally.c: Added flags for picking specific strands and for forced
      trimming at ends

    * pairingstrand.c: Initial import into CVS

    * pairingflats.c: Storing regions and then printing them.  Have three
      states, for zero, flat, and bumpy.

    * pairingcum.c: Print all run lengths, even those with level 0

2010-01-17  twu

    * splicegene.c: Using tallyflats to determine boundaries for donor to
      acceptor

    * splicegene.c: Removed donorprob and acceptorprob.  Recording and printing
      all extra information from each splice.  Removed unused paths code.

    * tallyflats.c: Initial import into CVS

    * pairingflats.c: Initial import into CVS

2010-01-16  twu

    * spliceeval.c: Added a intron_transition buffer at the ends of each intron,
      where level changes are ignored.

    * splicegene.c: Using a gap test on pairing IITs to determine whether to
      link donor to previous acceptor.

    * spliceeval.c: Now computing statistics based on edge finding using Poisson
      model and number of consecutive zeroes.

2010-01-15  twu

    * spliceeval.c: Printing mean pairing levels of each splice

2010-01-13  twu

    * tallyhmm.c: Integrated parserange and tally modules.  Removed hints. 
      Added edge detection.  Simplified state model.

    * tally.c, tally.h: Implemented an exon test and a scanning solution for
      pairing information.

    * splicegene.c: Using an exon test to determine if we can join splices

2010-01-12  twu

    * littleendian.c: Initial import into CVS

    * bigendian.c: Created distinct function names for 64-bit procedures.  Added
      procedures for OUTPUT_BIGENDIAN.  Fixed compiler warning messages about
      truncating unsigned ints to chars.

    * bigendian.h: Created distinct function names for 64-bit procedures

    * geneeval.c: Initial import into CVS

    * cappaths.c: Initial import into CVS

2010-01-09  twu

    * tally.c, tally.h: Initial import into CVS

    * pairingcum.c: Initial import into CVS

2010-01-07  twu

    * splicegene.c: Computing exonbounds for each donor

2010-01-05  twu

    * tallyhmm.c: Using edges rather than edgepairs

    * parserange.c, parserange.h, spliceeval.c: Initial import into CVS

    * splicegene.c: Added iterative method to remove conflicting splices

2010-01-04  twu

    * splicegene.c: Computing one path over forward and one path over reverse
      strands, instead of collecting terminals

2010-01-03  twu

    * splicegene.c: Added reading and printing of probability values.  Added
      debugging statements for Paths_remove_dominated

2009-12-29  twu

    * stage1hr.c, stage1hr.h: Added separate stage for half introns.  Added hook
      for geneprob_iit eval.

2009-12-22  twu

    * splicegene.c: Initial import into CVS

    * gsnap_splices.c: Added command for dumping graph

    * gsnap.c, stage3hr.h: Added ability to print output in SAM format

    * stage3hr.c: Added ability to print output in SAM format.  Fixed bug in
      identifying pairing.

2009-12-17  twu

    * exonscan.c: Added function for writing edges

2009-12-10  twu

    * stage1hr.c: Fixed bug in insertion at end of query sequence.  Removed
      requirement for HALF_INTRON_END_LENGTH.  Made separate done levels for 5'
      and 3' ends in paired alignment.

2009-12-04  twu

    * gsnap_tally.c: Added ability to run on forward or reverse complement
      strand only

    * gsnap_tally.c: Added ability to run on all chromosomes

2009-11-25  twu

    * stage1hr.h: Added new masktypes

    * stage1hr.c: Created a single procedure for omit_oligos.  Altered xfirst
      and xlast calculation.

2009-11-21  twu

    * stage1hr.c: Made slight efficiency improvements in accessing floor->score
      array

2009-11-18  twu

    * stage2.c: Combined features of versions 235 and 237 for both GMAP and PMAP
      to work.

    * stage2.h: Updated interface

    * stage2.c: Fixed bug where processed was updated too soon

    * pairpool.c, pairpool.h: Added function Pairpool_transfer_n

    * orderstat.c: Commented out debugging function

    * gmap.c, oligoindex.c: Restored variables specific to gmap

    * oligoindex.c, oligoindex.h: Added major and minor oligoindices

    * gmap.c: Added Oligoindex_clear_inquery in all cases

    * stage2.c: Restored stage 2 to working condition

2009-11-06  twu

    * maxent.c, maxent.h: Added functions for reporting log odds scores

    * littleendian.h: Added interface for WRITE_UINT

    * list.c: Added check for NULL in List_truncate

    * iit_fetch.c: Added flag for computing cumulative total of an iit.  Removed
      unused variables.

    * iit_get.c: Added flags for computing mean and overall total of tally iit.

2009-11-04  twu

    * add_rpk.c: Initial import into CVS

2009-10-30  twu

    * exonscan.c, hint.c, hint.h, tallyhmm.c: Using edgepair and splice
      information in transitions, and tally and pairing information in
      emissions.  Providing separate training information for transitions and
      emissions.

2009-10-27  twu

    * hint.c, hint.h: Initial import into CVS

2009-10-26  twu

    * stage3.c: Removed unused variables

2009-10-14  twu

    * pair.c: Fixed bug in PSL output

2009-10-08  twu

    * exonscan.c, tallyhmm.c: Multiple changes.  Version used for rGASP
      submission 2.

2009-10-03  twu

    * gsnap.c, stage1hr.c, stage1hr.h: Allowing user to specify max mismatches
      as a fraction of read length

    * stage3hr.c, stage3hr.h: Made printing of score and insert length more
      consistent.  Made filtering of paired hits by score and duplicates
      consistent with filtering of single hits.

    * resulthr.c, resulthr.h: Removed Pairedresult_T type

2009-10-02  twu

    * stage3hr.c: Made printing of insert length consistent for paired-end reads

    * gsnap.c, stage1hr.c, stage1hr.h: Added parameters for minimum end matches
      for local and distant splicing

    * spanningelt.c: Made intersection procedures remove duplicates

    * snpindex.c: Formatting change

    * gsnap.c: Added parameters for second part of novel splicing and half
      intron minimum support

    * genome_hr.c, genome_hr.h: Returning ncolordiffs

    * gbuffer.h: Added procedures for allocing and freeing contents

    * blackboard.c: Fixed problem with hanging when using -q batch feature

    * stage1hr.c: Made min_end_matches work on middle indels

    * stage3hr.h: Added printing of colordiffs and score.

    * stage3hr.c: Added printing of colordiffs and score.  Fixed problem with
      printing splice on second, inverted read.

2009-10-01  twu

    * stage1hr.h: Added half_intron_min_support parameter.

    * stage1hr.c: Added half_intron_min_support parameter.  Fixed bug where
      deletion indels were mixed up with colordiffs.  Fixed bug where splice
      junctions were evaluated past beginning of genome.

2009-09-22  twu

    * tallyhmm.c: Uses hints from splices iit and altexons iit files.  Added
      median filtering.

2009-09-21  twu

    * exonscan.c: Added ability to get splice sites from splices iit and
      altexons iit file

    * tallyhmm.c: Adding information from splices_iit and altexons_iit files

    * tallyhmm.c: Implemented two-strand solution as default, with ability to
      force 1-strand solution.  Provided hooks for splices and altexons iit
      files.

    * gsnap_tally.c: Added flag for handling 2-base encoded GSNAP output

    * gsnap_splices.c: Eliminated printing of overlapping paths.

    * gsnap_splices.c: Fixed various bugs

2009-09-20  twu

    * gsnap_splices.c: Added ability to find alternate skipped or extra exons at
      each acceptor.

    * gsnap_splices.c: Initial import into CVS

    * tallyhmm.c: Implemented faster way of computing running percentiles

    * tallyhmm.c: Implemented ability to read lambda parameters from a file. 
      Attempted to add a SINGLE exon state and allow transitions from NON to
      SINGLE even when no edges were present.

    * gsnap_tally.c: Had program determine own trimming based on scoring matches
      and mismatches from the ends.

2009-09-19  twu

    * iit_get.c: Added -M flag for reporting mean of a region in a tally IIT
      file.

    * gsnap_splicing.pl: Initial import into CVS

    * exonscan.c: Printing information about sharp edges

2009-09-18  twu

    * exonscan.c: Fixed bug in recording history.  Added hook for allowing GC
      donor site.  Added splice model probability to name of splice site.

    * tallyhmm.c: Added flag for printing lambdas

    * tallyhmm.c: Added ability to handle multiple sites at the same position,
      by making a mixture of transition tables.  Wrote down transition table
      explicitly.

    * tallyhmm.c: Added smoothing to estimation of lambdas.  Added routines for
      printing genes.

    * tallyhmm.c: Consolidated separate fivefwd, fiverev, threefwd, and threerev
      sites back into up and down sites.

    * tallyhmm.c: Working version of Viterbi algorithm, but still need output of
      segments.

2009-09-17  twu

    * tallyhmm.c: Initial import into CVS

    * segue.c: Attempt to use objective function based on sum of counts,
      relative to threshold.

    * segue.c: Reduced states to be much simpler, where only one strand can be
      coding at a time.

    * segue.c: Added functions for printing genes by exons.

    * segue.c: Fixed lookback lengths between sites.  Added flag for specifying
      knownsites iit.

2009-09-16  twu

    * segue.c: Optimizing using mean square error.  Simplified code for
      traversing graph.

    * segue.c: Fixed bug with computing cumulative gammln.  Version works on
      test data set.

    * segue.c: Complete rewrite to handle both strands simultaneously

2009-09-15  twu

    * exonscan.c: Using LR test to take all acceptable gene ends.  Using
      separate end bounds for finding gene ends.

    * exonscan.c: Using both edge algorithms, stepfunction and linear fit.  Made
      different objects for Edge_T and Diff_T.  Using goodness-of-fit instead of
      xintercept for finding gene ends.

    * exonscan.c: No longer using bootstrap method, but relying on testing of
      sites using goodness of fit.  Evaluating missing edges for both ups and
      downs based only on greedy splice sites, and then performing both testing
      of sites and tracing.

    * exonscan.c: Using x-intercepts instead of step function to detect edges

    * exonscan.c: Added hooks for a history-recording mechanism.

2009-09-14  twu

    * exonscan.c: Fixed some bugs with array indices.  Added flags for
      debugging.

    * segue.c: Using splice model scores to evaluate introns

    * exonscan.c: Made numerous tweaks to the scanning algorithm.  Incorporated
      finding of ends into scanning, using x-intercepts.  Always finding ends
      when an edge with a splice lacks a match.

2009-09-13  twu

    * exonscan.c: Implemented two-phase method on stepfunction results, first
      picking steps with highest probabilities, and then bootstrapping
      neighboring steps.

    * exonscan.c: Allowed best prob again for stepfunction results.  Fixed bug
      in code in scanning procedure.  Distinguishing between donor and acceptor
      types for matching edges.

    * exonscan.c: Large numbers of changes.  Implemented scanning method,
      testing at positions with good splice site scores, for finding other ends.
       Using adjacency information to decide whether to scan.  Implemented
      testing procedures for ends.  Removed unused code.

    * exonscan.c: Implemented a Gibbs sampling method to speed up identification
      of changepoint, but reverted back to testing goodness of fit exhaustively
      over a limited range.

    * exonscan.c: Implemented a strategy of finding edges only for those that
      appear to be missing.  Using changepoint to find those edges, with
      maximizing goodness of fit.

2009-09-12  twu

    * exonscan.c: Made reasonably good step function based on log scale.

    * exonscan.c: Implemented rampfunction as anchored to a step result.

    * exonscan.c: Implemented a ramp detector using linear fitting, but too
      sensitive

2009-09-11  twu

    * exonscan.c: Using a cumulative tally to speed up computation of segment
      means

    * exonscan.c: Added hooks for a redo changepoint step

    * segue.c: Implemented traversal of minus strand.  Implemented reading of
      splicepairs.

    * segue.c: Implemented scoring of exons using log likelihood.  Implemented
      dynamic programming and printing of paths.

    * exonscan.c: Added splice sites based on analyzing local data, using
      methodology from splicescan.

2009-09-10  twu

    * splicescan.c: Implemented posterior log odds calculations.

    * exonscan.c: Added filtering of other ends.  Cleaned up unused code.

    * exonscan.c: Made output format consistent with that of splicescan

    * segue.c: Initial import into CVS

    * exonscan.c: Added finding of nearest good splice sites.

    * exonscan.c: Method based on finding exons.  However, will need to switch
      to a dynamic programming method.

    * exonscan.c: Initial import into CVS

2009-09-09  twu

    * splicescan.c: Added options for separate output files, training mode only,
      and random output.

2009-09-08  twu

    * stage1hr.c: Fixed algorithm for end indels.  Provided hooks for 2-base
      encoding.

    * splicescan.c: Fixed calculations

2009-09-07  twu

    * splicescan.c: Added ability to use a known splice site IIT file

2009-09-06  twu

    * splicescan.c: Initial import into CVS

2009-09-03  twu

    * stage1hr.c: Fixed bug where singlehits5 and singlehits3 not being
      initialized. Set limits on local splicing hits and attempts.

2009-09-02  twu

    * stage3.c, stage3.h: Allowing a re-do of stage 2 for bad exons in middle

2009-08-31  twu

    * gsnap.c: Using single-end hits already computed when paired alignments not
      found.

    * gmap.c: Added minor oligoindices

    * changepoint.c: Added comment

    * stage3hr.c, stage3hr.h: Introduced faster pair-up procedure.  Sorting
      paired-end solutions by score.

    * stage1hr.h: For paired-end alignment, returning single-end hits.

    * stage1hr.c: Fixes to paired-end alignment: (1) stopping when excessive
      splicing hits or paired hits found, (2) using new pair_up procedure, (3)
      fixed pairing code, (4) returning single-end hits.  For dibase alignment,
      skipping spanning set.

    * iit_store.c: Using total label and annotation lengths to decide if format
      should use 8-byte quantities.

    * iit_get.c: Added flag to explicitly indicate coordinate is a label.  Added
      flag to print all zeroes in tally mode.

2009-08-29  twu

    * stage3hr.c, stage3hr.h: Taking a splicing penalty for all splices.  Added
      code for marking dibase mismatches.

    * stage1hr.c, stage1hr.h: Made procedure work for 2-base encoded reads

    * oligo.c: Added code to read 2-base encoded queries

    * reader.c, reader.h: Added field to indicate if Reader_T is for dibase
      queries

    * littleendian.h: Added code for handling 8-byte quantities

    * iit-read.c, iit-write.c, iitdef.h: Added version 4 format, which uses
      8-byte quantities to store label pointers and annotation pointers.

    * gsnap_tally.c: Added trimming on left and right

    * gsnap.c: Added flag for 2-base mode.  Added local splice penalty.

    * genome_hr.c, genome_hr.h: Provided hooks for dibase procedures

    * genome.c, genome.h: Provided exposure to uncompress_mmap directly from
      blocks, needed by dibase procedures.

    * dibase.c, dibase.h: Initial import into CVS

    * compress.c: Added code for compressing 2-base color genomes, but not
      necessary.

    * bigendian.c, bigendian.h: Added functions for 8-byte quantities

    * access.c: Changed types in debugging statements for off_t

2009-08-21  twu

    * oligo.c: If state is invalid, skipping forward until a valid state is
      found

    * sequence.h: Added FILE * parameter for oneline outputs.

    * sequence.c: Added FILE * parameter for oneline outputs.  Added hooks for
      skipping dashes, but appears to be buggy.

    * gsnap.c: Added flag to turn off output (quiet) if too many are found.

    * stage1hr.c: Classified half introns as long distance

    * stage1hr.c: Moved half introns after distant splicing.  Set fast_level to
      be 1, if user hasn't already specified it.

2009-08-19  twu

    * gmap_setup.pl.in: Using "use warnings" instead of -w flag

    * stage3hr.h: Added quiet-if-excessive flag.

    * stage3hr.c: Fixed problem where total_nmismatches not being set for
      indels. Making printing of excessive paths consistent with single-end
      behavior.

    * stage1hr.c: Fixed problem where pair_up function was creating circular
      loops by calling List_append more than once.

    * list.c, list.h: Added function List_dump

2009-08-17  twu

    * gsnap-to-iit.c, gsnap_tally.c: Renamed gsnap-to-iit.c to gsnap_tally.c

    * stage1hr.c: Fixed bug where program tried to find deletions at end
      extending past coordinate 0U.

2009-08-14  twu

    * stage3hr.c: Revised paired-end output to show npaths and indication of
      paired or unpaired.

    * bigendian.c, gsnap.c, mem.c: Fixed compiler warnings from -Wall

    * iit-read.c: Fixed compiler warnings from -Wall

    * iit-read.c: Fixed bug where divno not checking the last div.

    * sequence.h: Added a function to the interface

    * sequence.c: Fixed compiler warnings from -Wall

    * genome.c: Fixed compiler warnings from -Wall

    * genome.c: Using SNP_FLAGS for getting alternate genome

    * indexdb.c: Fixed compiler warnings from -Wall

    * indexdb.c, indexdb.h: Added procedure for reading with diagterm and
      sizelimit

    * indexdb_hr.c: Fixed compiler warnings from -Wall

    * indexdb_hr.c: Providing information about nmerged

    * maxent.h: Defined a variable to specify maximum storage required

    * maxent.c: Added code for computing splices from revcomp sequences

    * cmet.c: Added a missing type

    * genome_hr.c, stage3hr.c: Fixed compiler warnings from -Wall.

    * stage1hr.h: Added Floors_free() to interface.

    * stage1hr.c: Fixed bug where unsigned int * assigned to signed int *. 
      Fixed compiler warnings from -Wall.

2009-08-04  twu

    * list.c, list.h: Added function List_truncate

    * pair.c, pair.h: Added function Pair_fracidentity_max

    * stage3.h: Added some interfaces

    * stage3.c: Forward/reverse decision based on local scoring around each
      intron. Distal/medial step now truncates distal exon at best point, and
      iterates.  When edges cross in changepoint step, now chopping shortest
      end.

    * stage2.c: Allowing rightward and leftward shifts in finding shifted
      canonical introns.  Fixed bug in scoring for reverse introns.  Adjusted
      scoring for canonical introns.

    * stage1.h: Imposing a size limit on position lists, so large ones are
      ignored.

    * stage1.c: Imposing a size limit on position lists, so large ones are
      ignored. Finding best solutions for each level of numbers of exons.

2009-07-30  twu

    * stage3.c: Using existing pairs/path in end exons, rather than recomputing
      in distal/medial calculation.  Moved distal/medial after changepoint.

    * stage3.h: Moved distal/medial calculation to be after changepoint

    * README: Added information about processing reads from bisulfite-treated
      DNA

    * gsnap.c, stage3hr.c, stage3hr.h: Added printing of SNP information

    * stage1hr.c: Making correct decision on when to find splice ends for half
      introns

    * gmap.c: Added indexdb_size_threshold.  Made -9 flag do checking, but not
      print full diagnostics.

    * dynprog.c: Made gap penalties at ends the same as for middle

    * diag.c: Added debugging statement

    * Makefile.gsnaptoo.am: Included snpindex

2009-07-29  twu

    * README: Added information about providing information to GSNAP about known
      splice sites and SNPs

    * gsnap.c: Increased default max_middle_insertions from 6 to 9

    * stage1hr.c: Checking entire query for nsnpdiffs when snp_blocks is present

2009-07-07  twu

    * stage1.c: In find_best_path, calculating median of segments and requiring
      that medians ascend or descend.  Adjusting scores for overlaps between
      segments.

2009-07-01  twu

    * gsnap.c, stage1hr.c, stage1hr.h: Added separate probability thresholds for
      local and distant splicing

    * stage1hr.c, stage1hr.h: Re-implemented paired-end alignment

2009-06-30  twu

    * gsnap.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h: Introduced a
      penalty for distant splicing

    * gsnap.c: Introduced masktype

    * stage3hr.c, stage3hr.h: Introduced chimera_prob field for Stage3_T object.
       Increased distantsplicing penalty from 1 to 2.

2009-06-29  twu

    * stage1hr.c: For novel splice sites in local splicing, requiring canonical
      dinucleotides plus sufficient probability score in either donor or
      acceptor.  Fixed bug in recognizing plus antisense splicing. Restricted
      half introns to known splice sites.

    * stage1hr.h: Added masktype

    * stage1hr.c: Added masktype.  Added back half introns.

    * stage1hr.c: Merged finding of distant splice pairs using known or novel
      splice sites.

2009-06-28  twu

    * stage1hr.c: Consolidated finding of splice pairs using known or novel
      splice sites.  Making a single call to retrieve genomic segment for local
      splicing.

2009-06-26  twu

    * stage1hr.c: Removed unused tournament and middle_indel_p code

    * stage1hr.c: Using floors for novel distant splicing

    * stage1hr.c: Using floors for finding novel local splicing

    * stage3hr.h: Added field for paired_up

    * stage3hr.c: Added field for paired_up.  Removing duplicates that differ in
      indel gap length.

2009-06-25  twu

    * stage1hr.h: Implemented paired-end alignment

    * stage1hr.c: Implemented paired-end alignment.  Fixed computation of floors
      for middle indels.  Fixed computation of find_segments_all for novel
      splicing.

2009-06-18  twu

    * Makefile.dna.am, Makefile.gsnaptoo.am: Removed segmentpool files from
      Makefile.am

    * gsnap.c, segmentpool.c, segmentpool.h, stage1hr.c, stage1hr.h: Removed all
      references to segmentpool

    * stage1hr.c: Removed code for Segmentpool_T

    * segmentpool.c, segmentpool.h: Removed some fields

    * stage1hr.c: Fixed bug resulting from resetting nmismatches_all
      unnecessarily

    * stage3.c: Fixed bug in computing goodness_rev

2009-06-09  twu

    * dynprog.c: Increased penalties for mismatch at ends and for opening indels
      around introns.

    * gsnap.c: Increased default definition of shortsplicedist from 200000 to
      500000.

    * stage1hr.c: Fixed bugs in dealing with empty plus_segments or
      minus_segments.

2009-06-08  twu

    * stage1hr.c: Created variables for faster retrieval of floor scores. 
      Reporting half introns only if both local and distant known splicing fail.

    * stage1hr.c: Fixed computation of floors, floor_xfirst, and floor_xlast

2009-06-07  twu

    * stage1.c: Fixed bug in debugging variables

    * stage1hr.c: Implemented code that does not use Segmentpool_T object

    * pair.c: Treating ambiguous characters as mismatches for computing
      matchscores

    * gmap.c: Proving an option for splicesites output.  Allowing use of a SNP
      genome version.

    * dynprog.c: Giving ambiguous characters a negative score in GMAP, but not
      PMAP

    * stage3.c: Computing direction using just canonical introns and indel
      openings

    * stage1hr.c: Removed middle_indel_p field in Segment_T object

2009-06-06  twu

    * segmentpool.c, segmentpool.h, stage1hr.c: Removed floor from the
      Segmentpool_T object

    * segmentpool.c, segmentpool.h: Added a procedure for pushing without any
      floors

    * stage3hr.c: Added a penalty for distant splicing

    * stage1hr.c: Performing local and distant splicing in separate levels

2009-06-05  twu

    * pair.c, pair.h, stage3.h: Added a function for printing splicesites

    * stage3.c: Reinstated checking of goodness to determine direction, but now
      considering just canonical introns and indels.  Added a final call to
      assign_gap_types after trimming.

    * stage1hr.c: Small improvements to code for binary_search and dual_search

2009-06-04  twu

    * stage1hr.c: Made improvements in code for dual_search by removing lowi and
      lowj and updating pointers for positions1 and positions2.

    * stage1hr.c: Using single splicesites list for novel local splicing

    * stage1hr.c: Implemented slightly more efficient code for dual_search.

    * gsnap.c, stage1hr.c, stage1hr.h: Improved speed of finding known
      splicesites by doing one dual_search for all splice types.

2009-06-03  twu

    * stage1hr.c: Revised dual_search procedure to handle overlapping
      splicesites and positions correctly.

    * genome_hr.c: Fixed bug in handling pos5 for Genome_mismatches_left.

    * stage1hr.c: Fixed dual_search so it handles all overlapping splicesites
      and intervals

2009-06-02  twu

    * stage1hr.c: Implemented faster code for finding novel splice ends

    * stage1hr.c: Changed Floors_T to be just a single set of scores.  Using
      floors to prune known splice ends.

2009-06-01  twu

    * stage3hr.c: Removed genomiclength from Stage3_T object.  Using chrnum of 0
      to indicate distant splicing.

    * stage1hr.c: Removed oldindels code

2009-05-30  twu

    * stage1hr.c: Using compressed nucleotide-level alignment for end indels.
      Preventing firstbound and lastbound from going past read boundaries.

2009-05-29  twu

    * stage1hr.c: Fixed assignment of shortdistancep in splice pairs.  Fixed
      assignments of prior penalties.

2009-05-25  twu

    * stage3hr.c: Eliminating duplicates where genomicstart and genomicend are
      equal

    * stage1hr.c: Excluding splice positions at ends in novel local splicing

    * genome_hr.c: Fixed bug in mismatches_right_snps where startdiscard was not
      being applied

    * stage3hr.h: Added genomicend to Stage3_T object

    * stage3hr.c: Made removal of duplicates work for splicing by adding
      genomicend to Stage3_T object.  Made removal of duplicate splice ends
      faster.

    * stage1hr.c: Eliminating splice ends where splice position occurs too close
      to the beginning.  Fixed triage to treat novel splicing and known splicing
      equally, and to give preferences to substitutions over indels over
      splicing when hits are found at each type.

2009-05-24  twu

    * gsnap.c: Passing only one splice prob to stage 1

    * stage3hr.c: Lookin up splicesites iit only if site was known

    * stage1hr.h: Passing only one splice prob.

    * stage1hr.c: Implemented finding of novel distant splice pairs.  Fixed bug
      in dual_search.

2009-05-23  twu

    * stage1hr.c: Implemented novel local splicing, which includes known splice
      sites

    * indexdb_hr.c, indexdb_hr.h, spanningelt.c, stage1hr.c: Implemented gallop
      search

2009-05-22  twu

    * stage1hr.c, stage1hr.h: Implemented a new flow through the different
      algorithms.

    * gsnap.c: Made shortsplicedist an unsigned int.  Changed name of spliceprob
      to minspliceprob.

    * stage3hr.c: Using total number of mismatches to score spliced reads

    * stage1hr.c: Implemented dual intersection method for finding known splice
      sites

    * genome_hr.c, genome_hr.h: Added substring parameters to
      Genome_count_mismatches_limit

2009-05-21  twu

    * stage1hr.h: Changed name from spliceprob to minspliceprob

    * stage1hr.c: Moved mismatches, indels, and splicing into a single
      procedure.  Using firstbound and lastbound for half introns.  Added
      provisions for a stretch procedure which uses a spanning set with
      nrequired = 1.

    * stage2.c: Modified debugging output

    * oligoindex.c: Removed unnecessary clearing step

    * gmap.c: Fixed bug where program failed to clear oligoindices after a poor
      or repetitive sequence.

2009-05-18  twu

    * genome_hr.c, gsnap.c: Enabled methylation mode on snp databases

    * indexdb.c: Improved pre-loading messages for snp databases

    * snpindex.c: Changed naming convention for snp databases

    * stage1hr.c: Fixed bug in calling new substitution with fixed value for
      cmetp.

    * cmetindex.c: Made the program work for snp databases

2009-05-17  twu

    * stage3hr.c, stage3hr.h: Stage3 now handles all marking of mismatches. 
      Implemented marking of methylation for indels.

    * stage1hr.c: Moved functions for counting and marking mismatches to
      stage3hr.c

    * gsnap.c: Removed call to specify methylation printing

    * genome.c, genome.h: Removed function for signaling methylation printing

2009-05-16  twu

    * stage1hr.h: Providing second indexdb and size_threshold to procedures.

    * stage1hr.c: Omitting frequent 12-mers in the middle and poly-AT 12-mers at
      the ends.  Performing another round without omitting 12-mers if necessary.
      Added first implementation for handling methylation data.

    * oligo.c, oligo.h: Changed definition of repetitive to mean only shifts of
      1, 2, or 3 nucleotides.  Added procedure to mark frequent oligos, but not
      used.

    * indexdb.c, indexdb.h: Added procedure to compute indexdb mean size.

    * gsnap.c: Added flag to deal with methylation data.  Passing size_threshold
      to stage 1 procedure.

    * genome_hr.c, genome_hr.h: Added procedures to deal with methylation data.

    * cmetindex.c: Creating two indexdb's, one for plus strand and one for minus
      strand. Moved conversion tables to cmet.c.  Removed conversion of genome.

2009-05-14  twu

    * cmet.c, cmet.h: Initial import into CVS

    * cmetindex.c: Initial import into CVS.  Implements reverse genome.

2009-05-13  twu

    * iit-read.c: Added warning for use of IIT_string_from_position

    * stage2.c: Fixed bug in using wrong indexsize for a given oligoindex

    * oligoindex.c, oligoindex.h: Added a procedure to return indexsize

    * get-genome.c: Fixed printing of coordinates

    * stage1hr.c, stage1hr.h: Changed polyat to omitted.  Created separate
      procedure to mark omitted, which omits repetitive oligos except at the
      ends, except for poly-AT at the ends.

    * stage3hr.c, stage3hr.h: Made removal of duplicates faster

    * stage1hr.c, stage1hr.h: Added ability to handle methylation data.  Using
      simplified version of Genome_fill_buffer that does not check chromosome
      bounds.

    * snpindex.c: Changed name of SNP genome file from genome to genomecomp.

    * genome.c, genome.h, gsnap.c: Added ability to handle methylation data

2009-05-11  twu

    * gsnap.c: Made min_end_matches a user-adjustable parameter.  Made
      maxchimerapaths the same as maxpaths.

    * stage1hr.h: Made min_end_matches a user-adjustable parameter

    * stage1hr.c: Fixed computation of end indels so it finds maximal length
      from end. Made min_end_matches a user-adjustable parameter.  Removed
      allocation of polyat outside of 0..query_lastpos.

2009-05-10  twu

    * stage1hr.c: Fixed bug in turning off end indels.  Implemented faster
      method for computing firstbound and lastbound for xfirst and xlast
      computation.

2009-05-08  twu

    * stage3hr.c: Fixed sorting so it uses hittype, and not indel separation

    * oligo.c, oligo.h: Added function Oligo_mark_repetitive

    * stage1hr.c: Fixed computations of xfirst and xlast in presence of
      repetitive oligos.  Increased speed of computing nmismatches_long in end
      indels.

    * genome_hr.c, genome_hr.h: Modified Genome_mismatches_left and
      Genome_mismatches_right to take pos5 and pos3 as arguments.

    * stage1hr.c: Fixed floor formulas again.  Generalized idea of polyat to
      mean all repetitive oligos.  For middle indels, computing middle floor
      explicitly when polyat oligos are present.  For end indels, computing
      firstbound and lastbound to handle cases with polyat oligos at the ends. 
      Reordered compute_end_indels to starting computing from 1 deletion.

2009-05-06  twu

    * spanningelt.c, spanningelt.h, stage1hr.c: Removed unused code

    * spanningelt.c, spanningelt.h: Added code for spanning set computation of
      end indels, but not used.

    * gsnap.c, stage1hr.h: Added floors_array

    * stage1hr.c: Made changes to floors: (1) Made floor_middle formula handle
      middle indels, (2) Created Floors_T object to precompute floors and handle
      polyat oligomers.  Fixed computation of end indels, now can handle
      mismatches.  Fixed bug in computing max_indel_sep.  Added code for
      possible fast computation of end indels, but not used.

2009-05-05  twu

    * stage1hr.c: Replaced arithmetic expression for smallesti with if
      statement.

    * stage3hr.c: Changed sorting order so non-indel alignments rank higher than
      indel alignments.

    * stage1hr.c: Computing floors between two segments in finding middle indels

    * stage1hr.c: Added limit to number of middle indels found

2009-05-01  twu

    * stage1hr.c: Implemented incremental execution of fast mismatch algorithm.

    * stage1hr.c: Fixed setting of indel separation in triage.  Prevented
      boostpos from being a compoundpos.  Turned off tournament tree, since it
      was causing a crash.

    * spanningelt.c: Fixed bug occurring when all spanningelts have no positions

2009-04-30  twu

    * stage1hr.c: Fixed bug with setting mismatch levels for suboptimal results.
      Solving all multiple_mm solutions in a single run.

    * stage3hr.c: Fixed bugs in Stage3_remove_duplicates

    * stage3hr.h: Added function for counting number of optimal hits.

    * stage3hr.c: Fixed problem with undesired removal of second splice site
      within a given genomic region.  Added function for counting number of
      optimal hits.

    * stage1hr.c: Removed code for REFINE_MISSES.  Added back missing statement
      setting duplicates_possible_p.

    * gsnap.c: Removed minlevel and maxlevel and replaced with suboptimal
      mismatches. Made sort always happen.  Changed flag name from invertp to
      circular-output.

    * stage1hr.c, stage3hr.c, stage3hr.h: Using score in sorting procedure. 
      Added provision for minlevel in Stage3_optimal_score.

    * stage1hr.c, stage1hr.h: Refined miss_querypos5 and miss_querypos3
      boundaries.  Implemented triage for minlevel_mismatches and
      maxlevel_mismatches instead of minlevel and maxlevel, and accounted for
      fast mismatch algorithm.

2009-04-27  twu

    * gmapindex.c: Allowing contigs with a single nucleotide

    * spanningelt.c, spanningelt.h: Removed boosterset idea and returning only
      the minscore within the spanningset.

    * stage1hr.c: Removed all recursion from identify_multimiss_iter.  Added
      feature to modify spanningset list and update a counter when a spanningelt
      is empty.  Removed boosterset idea and restored a single boostpos.
      Correctly implemented fast multimiss algorithm.

2009-04-26  twu

    * spanningelt.c, spanningelt.h, stage1hr.c: Created separate scores for
      candidate generation and for pruning. Implemented idea of a boosterset,
      instead of a single boostpos, but seems to be slower.

    * Makefile.dna.am, Makefile.gsnaptoo.am, indexdb_hr.c, indexdb_hr.h,
      spanningelt.c, spanningelt.h, stage1hr.c: Created formal Spanningelt_T
      object and rewrote algorithms to use it.

2009-04-24  twu

    * stage1hr.c: Preliminary implementation of a multimiss algorithm
      generalized from the onemiss algorithm.

2009-04-23  twu

    * stage3hr.c: Fixed bug that resulted in duplicate outputs

    * stage1hr.c: Reverting to previous version

    * stage1hr.c: Implemented vertical solution for find_segments_multiple_mm,
      which handles each querypos one at a time, but result is much slower.

    * stage1hr.c: Removed code from before DELAY_READING.  Implemented
      tournament trees, which require slightly fewer instructions than heaps.

2009-04-22  twu

    * Makefile.gmaponly.am, Makefile.pmaptoo.am: Included changepoint files.

    * Makefile.dna.am: Included changepoint files.  Included indexdb_dump
      program.

    * bigendian.c: Added code to output files in bigendian format

    * stage3.c, stage3.h: Parameterized TRIM_END_PVALUE.  Fixed map feature of
      GMAP for new IIT format.

    * stage3hr.c: Loosened criteria for duplicate hits that was eliminating
      overlapping matches with the same number of mismatches.

    * indexdb_hr.c, indexdb_hr.h, stage1hr.c: Using binary_threshold instead of
      parent_ndiagonals

    * indexdb.c: Fixed bug for bigendian machines

    * iitdef.h: Changed type of divsort to be int, apparently for compiler
      warnings?

    * iit-read.c, iit-read.h: Implemented algorithm for map feature of GMAP to
      use new IIT format

    * gmap.c: Using divint crosstable for map feature.

2009-04-21  twu

    * stage1hr.c: Implemented a delay in converting positions to diagonals until
      needed.

2009-04-08  twu

    * stage3.c: Using number of matches to trim ends, not total length

2009-04-04  twu

    * indexdb_hr.c, stage1hr.c: Made exact and sub-1 code work correctly on
      bigendian machines without having to copy memory.

2009-04-03  twu

    * gmap.c, stage3.c, stage3.h: Modified -H flag to let user control
      minendexon length

    * stage1hr.c: Skipping computation on poly-A or poly-T sequences

    * stage3.c: Added check for null pairs before generating matchscores

    * pair.c, pair.h: Revised procedures for producing matchscores

    * gsnap.c: Adding number of paths to output.  Removed check for inplace
      being possible.

    * snpindex.c: Added comment

    * indexdb.c, indexdb.h: Removed procedures that create sentinels.

    * indexdb_hr.c: Not using sentinels.  For compoundpos, always reading in
      place and converting to bigendian when needed.

    * stage1hr.c, stage1hr.h: Not using sentinels.  For exact and sub:1, always
      reading in place and converting to bigendian when needed.

2009-04-02  twu

    * stage1.c: Added limits on number of gregions to speed up program

    * stage3.c, stage3.h: Using changepoint algorithm and iterative trimming of
      ends to improve ends of alignment.

    * indexdb.c, indexdb.h: Added hooks for sentinel in indexdb files

    * gregion.c, gregion.h: Rewrote support filtering to use either a fixed
      difference (for longer sequences) or a percentage difference (for shorter
      ones).  For extending sequences, using querylength for adequate support or
      short support.

    * gmap.c: Improved documentation for --help

    * genome-write.c: Always print out number of bad characters

    * changepoint.c, changepoint.h: Modified procedures to ignore -1 values in
      input

2009-03-31  twu

    * stage1hr.c: Using heaps for nomiss and onemiss, but not for exact. 
      Replacing NULL lists with sentinels when necessary.

    * stage1.c: Implemented limit on number of gregions before finding unique
      ones, to prune nonspecific, slow sequences.

2009-03-26  twu

    * stage1hr.c: Using pointers and relying on sentinels to advance through
      lists.

    * stage1hr.c: Removed old code

    * stage1hr.c: Changed sub:1 recursive procedures to iterative

    * stage1hr.c: Reverting to previous version

    * stage1hr.c: Attempt to use information from third and later lists to
      advance first list

    * stage1hr.c: Using results of second list to speed up intersection

    * stage1hr.c: Implemented a faster version of performing intersection for
      exact matches.

    * stage1hr.c: Starting exact matches with intersection of first two lists.

2009-03-25  twu

    * stage1hr.c: Made non-heap compoundpos_find procedure the default

    * indexdb_hr.c, indexdb_hr.h: Implemented a non-heap version of searching
      through a union of positions.

    * indexdb_hr.c: Added hooks for handling indexdb with sentinels.  Removed
      unused code.

    * stage1hr.c: Implemented iterative version of find_exact_aux.  Depending on
      sentinel to increase speed of loop.

2009-03-24  twu

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Fixed printing in psl format
      when user provides a segment

    * compress.c, compress.h, genome-write.c: Fixed reporting of non-ACGTNX
      characters

    * gmap.c, stage3.c, stage3.h: Removed -k flag and trimexonpct parameter

    * iit_fetch.c: Added ability to compute ratios from pdl files

    * iit-read.c, iit-read.h: Provided procedures for dumping version 1 IITs

    * get-genome.c: Fixed dump output of contigs

    * compress.c: Reduced number of error messages for non-ACGTNX characters

    * stage3.c: No longer using non-canonical introns for trimming end exons,
      only binomial test.  Fixed bad behavior for theta values close to 1.0. Not
      reporting alignments with fewer than 20 matches.

2009-03-19  twu

    * iit_fetch.c: Added hook for splices iits

    * plotgenes.c, plotgenes.h: Added function for handling splices.  Made sure
      nbins > 0.

    * plotgenes.c, plotgenes.h: Added function Plotgenes_fetch_points.  Renamed
      some functions.

2009-03-18  twu

    * gmap_setup.pl.in: Gives files on command line to fa_coords and
      gmap_process, which can then add linefeed if necessary to lines.

    * gmap_process.pl.in: Allowed program to read from either stdin or files on
      command line. In the latter case, it adds linefeed if necessary to lines.

    * fa_coords.pl.in: Re-indented program.  Allowed program to read from either
      stdin or files on command line.

    * iit_fetch.c: Implemented handling of PDL files.  Added -s flag to specify
      sample number.

    * stage3.c: Trimming using a binomial test on end exons

    * gdiag.c, genome.c, genome.h, get-genome.c, gsnap-to-iit.c, gsnap.c,
      indexdb.c, indexdb.h, oligo-count.c, snpindex.c: Modified programs to take
      a snp_root argument to -V

    * gmap.c: Added "Processed" message to stderr at end of batch run

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am,
      Makefile.pmaptoo.am: Updated Makefiles

    * pair.c, pair.h: Added function Pair_fracidentity_simple

    * pbinom.c, pbinom.h: Initial import into CVS

2009-03-17  twu

    * gsnap.c: Considering too many paths as a failure type for the --nofails
      and --failsonly flags

2009-03-10  twu

    * stage1.c: Added variable needed in debugging

    * plotgenes.c, plotgenes.h: Renamed functions relating to fetching

    * iit_fetch.c: Removed code relating to printing

    * iit-read.c: Fixed issues for bigendian machines and for fileio access

    * datadir.c, datadir.h, gmap.c: Added extra functionality to show available
      databases and map files

    * iit_fetch.c: Initial import into CVS.  Copied from iit_plot.c

    * blackboard.c, changepoint.c, compress.c, diag.c, dynprog.c,
      genome-write.c, genome.c, get-genome.c, gmap.c, gmapindex.c, gregion.c,
      iit-read.c, iit-write.c, indexdb.c, indexdb_hr.c, intpool.c, oligo.c,
      oligoindex.c, oligoindex.h, pair.c, reader.c, sequence.c, smooth.c,
      stage1.c, stage2.c, stage3.c, translation.c: Removed unused variables
      based on SGI compiler warnings

    * iit-read.c: Fixed reading of labels and annotations using fileio on
      bigendian machines.

    * bigendian.c, bigendian.h: Added command for reading uint using fileio

2009-03-09  twu

    * stage3.c: Fixed bug where gap was left at 3' end before extending the end.

    * stage1hr.c: Fixed counting of mismatches on revcomp sequences

    * indexdb_hr.c: Made heapsize an int, rather than unsigned int, in all
      procedures

    * indexdb.c: Moved variable declarations above debugging statement to
      satisfy SGI compiler.

    * gsnap.c: Changed variable names involving -q flag to "part_"

    * get-genome.c, iit_get.c: Printing divstring only if ndivs > 1

    * iit-read.h: Added ability to retrieve divstring from universal
      coordinates.

    * iit-read.c: Added ability to retrieve divstring from universal
      coordinates.  Fixed bug occurring during reading annotatinos using fileio.

    * iit-write.c: Fixed bug relating to use of null annotlist to indicate
      altstrain IIT.

2009-03-06  twu

    * pair.c, pair.h, stage3.c: Fixed bug where -P and -Q flags were printing
      C-to-N on antisense cDNAs.

2009-02-20  twu

    * gmap_setup.pl.in: Added FILE_ENDINGS variable

    * get-genome.c: Removed debugging flag

    * sequence.c: Improved handling of blank lines

    * indexdb.c, snpindex.c: Changed offsets and positions to occur at modulo 0
      intervals based on chrpos, not universal position.

    * iit_get.c: Added feature to print results from tally types of IITs

    * iit-read.c: Fixed bug in re-fetching matches based on index

    * gsnap.c: Cleared flags for batch and novelsplicing

    * types.h: Removed an extraneous open brace

    * stage3hr.c, stage3hr.h: Calculating splice site model score at print time
      for all splice sites.

    * stage1hr.c: Providing sense information for donor and acceptor substrings.
      Testing if duplicate matches are possible due to minlevel and eliminating
      them.

2009-02-05  twu

    * stage3hr.c, stage3hr.h: Distinguishing between splice objects that require
      copying of substrings and those that do not.

    * stage1hr.c: Incorporated splice site probabilities into finding splice
      sites by distance.

    * stage1hr.c: Initial implementation of finding splice pairs by distance

    * gsnap.c: Retrieving and printing known splicesite information at print
      time.

    * iit-read.c, iit-read.h: Added function IIT_get_typed_with_divno

    * stage3hr.c, stage3hr.h: Providing chroffset information to Substring_T
      object.  Retrieving and printing known splicesite information at print
      time.

    * stage1hr.c: Providing chroffset information to Substring_T object

    * stage1hr.c, stage1hr.h: Implemented faster method for applying known
      splice sites

    * gsnap.c: Implemented faster method for applying known splice sites

2009-02-04  twu

    * stage1hr.c, stage1hr.h: Fixed bug when allvalidp5 or allvalidp3 is false
      in paired end reads. Implemented Stage1_retrieve_splicesites.

    * resulthr.c, resulthr.h: Renamed paired_translocation as paired_as_singles

    * iit-read.c: Fixed bug in evaluating nexactmatches

    * get-genome.c: Made retrieval of map information work with universal
      coordinates.

    * stage3hr.c: Fixed bug where second read of paired_as_singles was not being
      printed

    * gsnap.c: Renamed paired_translocation to paired_as_singles

    * genome_hr.c: Now requiring query to match either reference or alternate
      allele at SNPs.  Otherwise, it counts as a mismatch.

2009-02-03  twu

    * get-genome.c: Added feature to print snp information

    * gdiag.c, gsnap-to-iit.c, iit_plot.c: Using new interface to Genome_new

    * stage3hr.c: Eliminating novel splice site when it duplicates a known
      splice site

    * stage1hr.c: Fixed bug where plus multiple mismatches are dropped when
      minus batches are all empty.  Added flexibility to floor_xfirst and
      floor_xlast to allow for indels adjacent to end 12-mers.  Changed
      condition endpoint for indels at ends.  Using genome_hr procedure to count
      mismatches for indels.  Finding all shortdistance splices with known
      splice sites first, before finding novel splice sites.

    * snpindex.c: Writing revised version of genome.  Skipping cases where snp
      type is inconsistent with reference genome.  Taking snps_iit as a
      command-line argument.

    * sequence.c, sequence.h: Added Sequence_print_two function for snps

    * gsnap.c: Using genomealt instead of snps_iit

    * gmap.c: Switched -v and -V flags.  Using new interface to Genome_new.

    * genome_hr.c: Corrected calculation of mismatches_right.  Corrected offset
      and now subtracting number of leading zeroes.  Using clz_table instead of
      log_table.  Improved debugging statements.

2009-02-02  twu

    * genome_hr.c, genome_hr.h, stage1hr.c, stage1hr.h: Using genomealt instead
      of snps_iit

    * genome.c, genome.h: Added ability to read Genome_T object as alternate or
      snp only versions.

    * gdiag.c, oligo-count.c: Using new interface to Indexdb_new_genome

    * gmapindex.c, pmapindex.c: Removed altstrain code

    * indexdb.c, indexdb.h: Storing positions only at 0 mod 3.

    * gsnap.c: Made batch loading the default for multiple input sequences. 
      Testing for both new names and old names of reference offsets and
      positions files.  Made flag for splicing refer to novel splicing.

    * gmap.c: Made batch loading the default for multiple input sequences. 
      Testing for both new names and old names of reference offsets and
      positions files.

    * get-genome.c: Added debugging statement

    * genome_hr.c: Fixed retrieval of intervals from snps_iit file, which are
      1-based.

    * stage1hr.c, stage1hr.h: Implemented snp differences for splicing and exact
      matches.  Allowing identification of novel splicing in addition to known
      splice sites.

    * stage3hr.c: Implemented reporting of snp differences for indels.

    * snpindex.c: Fixed bug in using chromosomal position instead of universal
      position. Using parameterized suffix for reference offsets and positions
      files.

2009-01-30  twu

    * snpindex.c: Initial import into CVS

2009-01-29  twu

    * genome_hr.c: In Genome_mismatches_left and Genome_mismatches_right, adding
      a 'sentinel' mismatch position to list if haven't reached max_mismatches.

    * stage1hr.c: Implemented tolerance and reporting of snp differences for
      novel splice sites.

2009-01-28  twu

    * stage3hr.c, stage3hr.h: Added ability to print number of SNP differences
      separately.  Thie feature not yet implemented for indels though.

    * stage1hr.c, stage1hr.h: Added ability to tolerate known SNPs and count
      differences at those sites separately.  Thie feature not yet implemented
      for novel splices though.

    * segmentpool.c, segmentpool.h: Changed name of chrlow to chroffset

    * iit-read.c: Fixed computation of divint_crosstable

    * genome_hr.c, genome_hr.h, gsnap.c: Added ability to tolerate known SNPs
      and count differences at those sites separately.

    * gsnap-to-iit.c: Increased buffer sizes

    * get-genome.c: Made get-genome work on map files

    * plotgenes.c: Edited comments

    * gsnap.c: Provided user with the ability to set parameters for size of
      middle and end insertions and deletions.

2009-01-22  twu

    * stage1hr.c: Added steps to remove duplicate paired-end results

    * stage1hr.c: Fixed memory leak

    * gsnap.c: Increased default maxpaths from 20 to 100.  Added -e flag to
      --help output.  Providing max_mismatches parameter to paired-end
      procedure.

    * stage3hr.h: Added function Stage3_remove_old.

    * stage3hr.c: Revised definition of paired-end length to go from
      beginning-of-read to beginning-of-read.  Added function Stage3_remove_old.

    * stage1hr.c, stage1hr.h: Passing max_mismatches parameter for paired reads

    * indexdb_hr.c: Fixed bug where heapify was performed after binary_search
      used up all available diagonals in a batch.

2009-01-21  twu

    * gmap_setup.pl.in: Fixed bug in escaping a variable

    * pagesize.m4: Made comment line clearer

    * builtin.m4: Initial import into CVS.

    * Makefile.am: Added gmap_reassemble

    * fa_coords.pl.in: Made -S flag the default.  Added -C flag to look
      explicitly for chromosomal information.

    * md_coords.pl.in: Added check for unmapped contigs

    * gmap_setup.pl.in: Maded -S flag the default behavior.  Added -C and -O
      flags.  Added clean procedure when making coords.genome.

    * stage3hr.c, stage3hr.h: Including label as part of Substring_T

    * stage1hr.h: Added procedures for finding splices against known splicesites
      iit.

    * stage1hr.c: Added procedures for finding splices against known splicesites
      iit. Corrected computation of distances on inversions.

    * indexdb.c: Cleaned code to ensure gsnap finds the right offsets file

    * iit-write.c: Added check for a null typestring

    * iit_dump.c: Fixed debugging output

    * iit-read.h: Added procedures to search based on divint and to get a
      crosstable of divints.

    * iit-read.c: Fixed IIT_debug.  Added procedures to search based on divint
      and to get a crosstable of divints.

    * gsnap.c: Added flags for maxmismatches, splicing penalties, and splicing
      iit. Added flags for failsonly and nofails in output.

    * gregion.c: Added abort if genomicend < genomicstart

    * gmapindex.c: Eliminated reading of strain information and assignment to
      contigtypelist.  Increased size of chrpos string from 100 to 8192.

    * gmap.c: Reformatted output for --help

2009-01-15  twu

    * stage1hr.c: Created user-specified parameters for splicing probabilities
      and length.

    * stage1hr.c: Fixed bug in printing coordinates of splicing results on minus
      strand

2009-01-14  twu

    * gsnap.c: Added flags for excluding failed alignments, or limiting to those

2009-01-13  twu

    * stage1hr.c: Added additional check to prevent straddling across
      chromosomes

    * indexdb_hr.c, indexdb_hr.h, stage1hr.c: Implemented more efficient way of
      ignoring extensions past beginning of genome.

2009-01-08  twu

    * stage1hr.c: Hacks put in to exclude diagonals that are less than
      querylength

    * stage1hr.c: Fixed issues with wrong indel_pos chosen in middle insertions,
      and not checking up to specified number of indels.

2008-12-24  twu

    * indexdbdef.h: Reverted to version 1.2

    * indexdb.c: Reverted to version 1.121

    * indexdb.c, indexdbdef.h: Attempt to use a compressed indexdb file

2008-12-22  twu

    * stage1hr.c: Reading floor 2 during find_segments_multiple_mm.  Returning
      min_mismatches_seen from find_onemiss_matches.

    * indexdb_hr.c: Put check for size of compoundpos outside of loop.

    * stage1hr.c: Added bounds on location of mismatch in onemiss search

2008-12-21  twu

    * stage1hr.c: Reverted back to version 1.106 that has hanging compoundpos
      positions for exact and onemiss matches.

    * stage1hr.c: Version of stage 1 with hooks for disallowing compoundpos
      positions that hang over ends.  However, this appears to add 40% to number
      of instructions.

    * stage1hr.c: Setting pointers->compoundpos to NULL after it becomes empty,
      to prevent further computation on it.

    * indexdb_hr.c, indexdb_hr.h: Added function Compoundpos_intersect

    * stage1hr.c: Eliminated compoundpos positions in creating segments from
      multiple mismatches.  Delayed sorting of segments until needed for middle
      insertions and deletions.  Setting floor to zero in cases where poly-AT is
      present.  For end indels, computing oligomer_start and oligomer_end based
      on results of actual mismatches found.

2008-12-20  twu

    * stage1hr.c: Fixed bug in debugging statement

    * gmapindex.c: Added more compiler checks to hide alternate strain code

    * Makefile.util.am: Added program all-orfs

    * Makefile.dna.am, Makefile.gsnaptoo.am: Removed chrsubset.c from gsnap
      sources

2008-12-19  twu

    * stage3hr.c, stage3hr.h: Using left instead of genomicpos5 for creating
      Stage3_T objects.

    * stage1hr.c: Using left instead of genomicpos5 for creating Stage3_T
      objects. Consolidated code for plus and minus segments.  Changed parameter
      list for find_segments_multiple_mm to prepare for finding hits within that
      procedure.

    * stage1hr.c: Clarified calculations of floors

2008-12-17  twu

    * stage1hr.c: Using init and search routines for Compoundpos_T objects

    * separator.h: Changed coordinate separator from "--" to ".."

    * intlist.c, intlist.h: Added function Intlist_sort_ascending()

    * indexdb_hr.c, indexdb_hr.h: Implemented init and search routines for
      Compoundpos_T objects

    * iit-write.c, iit_store.c: Added monitoring output

    * stage1hr.c: Clarified processing of pointers in search for onemiss
      matches.

    * stage1hr.c: Allowing spanning 12-mers for exact and onemiss searches to go
      in either forward or reverse direction, and picking the optimal direction.

    * stage1hr.c: Allowing compoundpos positions to be used for boosting, by
      merging them during search for exact matches.

    * stage1.c: Fixed a bug where the querypos of sentinel was set incorrectly. 
      Now using querylength, not -1.  Added a check to prevent gregions with
      negative values for genomicstart.

    * indexdb_hr.c, indexdb_hr.h: Removed partner_diagonals from Compoundpos_T
      object and removed reduce function.

    * stage1hr.c: Fixed potential problem with sentinel.  The querypos part of
      sentinel now set to querylength, not -1, to guarantee it stops the loop.
      Introduced Pointers_T object to simplify exact and onemiss code.

2008-12-16  twu

    * stage1hr.c: Introduction of Compoundpos_T object for speeding up
      computation in exact and onemiss algorithms

    * intlist.c, intlist.h: Added Intlist_insert_second() function

    * indexdb_hr.c, indexdb_hr.h: Introduction of Compoundpos_T object and
      operations

2008-12-15  twu

    * intlist.c: Made cell_ascending() and cell_descending() static.

    * genome_hr.c, genome_hr.h: Created Genome_count_mismatches_limit.  Also
      added code for a oneloop version of Genome_count_mismatches.

    * gsnap.c: Removed chrsubset feature

    * stage3hr.c, stage3hr.h: Clarified that Substring_new_donor and
      Substring_new_acceptor should receive forward query sequence.

    * stage1hr.c: Removed querylength from call to select_positions_for_exact().

    * stage1hr.h: Removed Chrsubset_T object.

    * stage1hr.c: Using new call to Genome_count_mismatches_limit.  Replaced
      uses of queryseq with queryuc_ptr and queryrc.  Introduced query_lastpos
      to replace multiple calculations of (querylength - INDEX1PART).  Removed
      Chrsubset_T object.

2008-12-14  twu

    * stage1hr.c: Fixed onemiss algorithm so it handles short reads less than
      2*INDEX1PART in length.  Changed occurrences of oligobase to INDEX1PART. 
      Removed oligobase and querylength from Stage1_T object.

    * genome_hr.c, genome_hr.h: Made Genome_count_mismatches more efficient, by
      using pointers and stepping through query and genome blocks sequentially.

2008-12-13  twu

    * stage1hr.c: Implemented new method for identifying single mismatches,
      similar to that for finding exact matches.

    * result.h: Added a new failure type for short sequences

    * pmapindex.c: Changed default index1interval from 3 to 6

    * oligo.c: Added a comment.

    * oligo-count.c: Using revised interface to indexdb.c.

    * indexdb_hr.c, indexdb_hr.h: Removed addition of a diagterm for lookups
      involving a left or right shift.

    * indexdb.c, indexdb.h: Changed some function names.  Added function to
      determine if inplace reading is possible.  Added parameter to require
      sampling of 3 in indexdb.

    * gmap.c: Using revised interface to indexdb.c.  Added check and message for
      sequences shorter than INDEX1PART.

    * gdiag.c: Using revised interface to indexdb.c

    * block.c: Using revised function names in indexdb.c

    * segmentpool.c, segmentpool.h: Removed break5 and break3 from Segmentpool_T
      object.

    * stage1hr.c: Removed break5 and break3 from Segmentpool_T object

    * stage1.c: Providing correct adjustment to diagonals for the minus strand,
      by adding the length of the oligomer.

2008-12-12  twu

    * stage3hr.c, stage3hr.h: Added function to compare Stage3_T objects by
      genomic location

    * gsnap.c: Added flag to sort results by genomic location

    * stage1hr.c: No longer saving segments during check for single mismatches.
      Checking and saving substitution hits within each heap merge.

    * gsnap.c: Added user flag for setting indel penalty

    * stage1hr.c, stage1hr.h: Made indel_penalty a parameter adjustable by the
      user.

2008-12-11  twu

    * stage1hr.c: Moved around code for special cases that prevent searching for
      end indels at beginning or end of the sequence.

    * gsnap.c: Added information about whether inplace reading of indexdb is
      possible.  Added information to version command.

    * segmentpool.c, segmentpool.h: Added floor, floor_xfirst, and floor_xlast
      fields to the Segment_T object.

    * stage1hr.c: Removed separate lists of segments by floor.  Keeping only a
      single list of plus segments and of minus segments, with floor information
      stored in the Segment_T object.

    * stage1hr.h: Providing information about whether inplace reading of
      diagonals is possible.

    * stage1hr.c: Delayed addition of diagterm until after search for exact
      matches.  Allowing reads of diagonals from indexdb to be inplace when
      possible

    * types.h: Added check for size of unsigned long long as an 8-byte word

    * stage1hr.c: Using 64-bit words, if available, to speed up comparison of
      batches in heap merge.

    * stage1hr.c: Replaced calls to List_head, List_next, Intlist_head, and
      Intlist_next with primitives.

2008-12-10  twu

    * Makefile.pmaptoo.am: Revised source files

    * Makefile.gsnaptoo.am: Added gsnap-to-iit program.  Added segmentpool.

    * Makefile.gmaponly.am: Added chrom.c to iit utilities

    * Makefile.dna.am: Removed test programs for Compress_T procedures

    * Makefile.dna.am: Added test programs for Compress_T procedures.  Added
      segmentpool.

    * segmentpool.c, segmentpool.h: Initial import into CVS

    * gsnap.c, stage1hr.c, stage1hr.h: Added segmentpool

    * stage1hr.c: Enforcing diagonals to be within chromosomal bounds.  Removed
      unused code.

    * genome.c: Fixed check for chromosome bounds

    * genome_hr.c, genome_hr.h: Removed checks for crossing of chromosome
      boundaries.  Relying upon calling procedures to enforce this.

2008-12-08  twu

    * gsnap.c: Added flags for minlevel and maxlevel.  Cleaned up unused flags.

    * genome_hr.c, genome_hr.h: Made functions return maximum number of
      mismatches if they cross a chromosome bound.

2008-12-05  twu

    * stage1hr.c: On end indels, checking to see if indel_pos is non-positive. 
      Passing chromosome_iit to Genome_mismatches_left and
      Genome_mismatches_right.

    * gsnap.c: Added statement at end of batch processing to indicate number of
      queries processed.

2008-12-03  twu

    * subseq.c: Added U and l flags

    * stage1hr.c: For middle indels, putting indel at leftmost genomic position.
       Fixed filtering criteria for end indels.  Counting mismatches and left
      and right to identify candidates for end indels.

    * stage1.c: Added debugging statements

    * gdiag.c, gsnap-to-iit.c: Using new interface to Genome_fill_buffer

    * gmap.c: Fixed genomiclength for user-provided genomic sequence.  Stopped
      trimming of sequence.

    * diag.c: Loosened criteria for MAX_DIAGONALS and MIN_SCORE.

2008-11-26  twu

    * genome_hr.c: Made Genome_mismatches_left and Genome_mismatches_right fill
      mismatch_positions entries 0..max_mismatches.

    * stage1hr.c: Implemented new algorithms for middle insertions and
      deletions, using Genome_mismatches_left and Genome_mismatches_right.

2008-11-25  twu

    * stage1hr.c: Using new interface to Genome_count_mismatches

    * genome_hr.c, genome_hr.h: Added functions Genome_mismatches_left and
      Genome_mismatches_right. Added builtin bit-vector functions.

    * genome_hr.c, genome_hr.h: Allowed specification of pos5 and pos3 in
      Genome_count_mismatches

2008-11-24  twu

    * genome_hr.h: Using new Compress_T object.

    * genome_hr.c: Using new Compress_T object.  Removed unused code.

    * stage1hr.c: Using new Compress_T object

    * stage3hr.c: Fixed memory leak

    * compress.c, compress.h: Introduced Compress_T object

    * genome_hr.c, genome_hr.h: Initial entry into CVS

    * gsnap.c: Added flag for handling circular-end reads

    * stage3hr.c, stage3hr.h: Making a single invertp work on paired-end and
      circular-end reads

    * stage1hr.c: Using direct comparison against compressed genome to count
      mismatches

    * genome.c, genome.h: Added function Genome_blocks.  Made Genome_fill_buffer
      return nunknowns.

    * compress.c, compress.h: Added functions Compress_new and Compress_shift

2008-11-20  twu

    * sequence.c, sequence.h: For circular-end reads, keeping reverse complement
      of queryseq2, but swapping queryseq1 and queryseq2.

    * stage1hr.h: Placed local exon-exon mappings after multiple substitutions
      and indels in the hierarchy of levels.

    * stage2.c: Commented out unused procedure

    * stage3.c: Added debugging statement

    * stage3hr.c, stage3hr.h: Enabled printing of circular-end reads

2008-11-14  twu

    * stage1hr.c: Allowing mismatches with splicing

2008-11-12  twu

    * gsnap.c, stage1hr.h: Removed unused parameters

    * stage1hr.c: Using new single-end read algorithms for paired-end reads. 
      Fixed problems with query sequences that contain non-ACGT characters.

    * stage3hr.c: Fixed problems with printing inverted sequence for paired-end
      reads

2008-11-11  twu

    * gmap_reassemble.pl.in: Initial entry into CVS

    * stage3hr.c: Fixed bug in Stage3_remove_duplicates

    * stage1hr.c: Revised splicing parameters.  Fixed calculation of maxfloor.

2008-11-10  twu

    * stage3hr.c: Favoring substitutions over equivalent indels in removing
      repeats.

    * stage1hr.c: Treating max_middle_insertions and max_middle_deletions
      separately in solving middle indels.  Removed scores from
      compute_end_indels.  Not resetting min_mismatches after single_mm, because
      of effect of poly_at oligos.

    * gsnap.c, stage1hr.h: Allowing separate parameters for middle and end
      insertions and deletions.

    * stage3hr.c: Added check and warning messages if observed mismatches is
      different from the number expected

    * stage1hr.c: Introduced floor system for computing indels.  Defined
      calculation of middle and end indels more clearly, with separate
      parameters for middle and end insertions and deletions.

2008-11-06  twu

    * stage1hr.c: Made fixes for splicing to work

    * indexdb_hr.h: Removed obsolete functions

    * indexdb_hr.c: Fixed masking of left shifts

    * indexdb.c: Commented out warning message for multiple index files

    * gsnap.c: Partially implemented minlevel and maxlevel controls for Stage1.
      Removed references to Stage3chimera_T objects

    * resulthr.c, resulthr.h: Removed references to Stage3chimera_T objects

    * stage3hr.h: Implemented new structure for Stage3 objects: single reads may
      have one or more substrings.

    * stage3hr.c: Implemented new structure for Stage3 objects: single reads may
      have one or more substrings.  Modified print procedure for indels to allow
      for mismatches.

    * stage1hr.h: Removed chimerap variable since Stage3 single reads are all of
      the same type now.

    * stage1hr.c: Fixed polyat assessment at ends of query.  Storing first and
      last diagonals and computing mismatches on both.  Changed ptr->indels to
      be consistently positive for insertions and negative for deletions. Using
      new Stage3 objects.  Solving middle indels with mismatches. Using minlevel
      and maxlevel to control computing behavior on different alignment types.

2008-11-04  twu

    * stage1hr.h: Made max_insertions and max_deletions parameters.  Added
      minlevel and maxlevel.

    * stage1hr.c: Cleaned up procedures for single mismatches and multiple
      mismatches. Added oligobase to minus diagonals to prevent negative
      coordinates. Made max_insertions and max_deletions parameters.  Added
      minlevel and maxlevel.

2008-10-28  twu

    * md_coords.pl.in: Revised instructions to user

2008-10-24  twu

    * stage3.c: In comparing paths_fwd and paths_rev, using just number of
      matches

    * stage2.c: Also performing stage2 if there is a sufficient value for
      ncoverage

    * stage1.c: Removed matchsize and matchinterval from Stage1_T object, and
      allowing option in scan_ends of iterating on different matchsizes.  In
      removal of repeated oligomers, now also removing neighboring oligomers. 
      Now filtering gregions by support.

    * reader.c: Added fields so Reader_reset_ends resets correctly

    * gregion.c, gregion.h: Added function to filter by support

    * gmap.c: Fixed error message for -z flag

    * diag.c, diag.h: Returning ncovered from Diag_update_coverage

    * block.c, block.h: Removed high-resolution option

2008-10-23  twu

    * stage3.c: Handling case where gap is at beginning of path.  Trimming end
      exons until a canonical intron is reached.

    * stage1.c: Identifying repeated oligos at the outset

    * pair.c: Made counting of ambiguous matches more uniform

    * gsnap-to-iit.c: Added information about unique positions.  Added ability
      to halt at a given position.

    * gregion.c: Modified print statement

2008-10-10  twu

    * pair.c: Made N's in query sequence align as mismatches in GMAP.

    * gmapindex.c: Removing "chr" from chrsubset file

    * stage1hr.c: Tightened criteria for finding exon-exon junctions.  Not
      reading 10- or 11-mers at ends if the 12-mer is invalid.

    * stage3hr.c: Made macros for text constants

    * match.c, match.h: Added function Match_print

    * gsnap.c: Changed default of trim flag to be false

    * gmap.c: Added jobdiv capability to GMAP

2008-10-02  twu

    * blackboard.c: Simplified the fix for the hang for input done with no
      inputs

2008-10-01  twu

    * blackboard.c: Fixed hang that occurs when no input was ever received,
      which happens with the jobdiv option when the input has fewer sequences
      than the first batch modulus.

2008-09-26  twu

    * iit_get.c: Allowing retrieval of labels that contain colons, by checking
      first to see if the first part of the label is a divstring.

    * iit-read.c, iit-read.h: Added function to determine divint without reading
      entire IIT.

2008-09-24  twu

    * stage3.h: Added PRE_ENDS as a debugging endpoint

    * stage3.c: Modified solutions at ends.  First, we decide between distal and
      medial, with distal penalized for non-canonical introns.  Then, we simply
      extend the ends without peelback and permitting an initial gap.

    * stage2.c: Introducing a minimum pct_coverage

    * oligoindex.c, oligoindex.h: Allowed suffnconsecutive to be a different
      value in each level of resolution.

    * match.c, match.h: Moved function Match_get_coords to gregion.c

    * gregion.h: Added fields for weight and support.

    * gregion.c: Added fields for weight and support.  Duplicate gregions are
      now resolved in favor of the gregion with the greatest weight, or if
      equal, the greatest support.

    * gmap.c: Increased extraband at end from 3 to 6

    * dynprog.c: Allowing a gap to start the alignment of end5 and end3. 
      Introducing a parameter init_jump_penalty_p to control this.

    * diag.c: Replaced 0 with 0U in some cases

    * stage1.c: Using weights on matches and on gregions to focus on genomic
      regions with most specificity.

2008-09-19  twu

    * stage1.c: Added penalty for intron length in find_best_path to reduce
      excessively large regions.  If segments are used, then clearing gregions
      and starting over.

2008-09-16  twu

    * stage1hr.c: Fixed bug with false positives on middle indel.  Fixed bug
      with combinations of insertions and deletions in
      find_segments_multiple_mm.

2008-09-15  twu

    * gmap.c: Allowing multiple paths for alignment against user-provided
      segment. Explicitly recomputing goodness over all stage3 objects. 
      Allowing user to specify direction of introns.

    * stage2.c: Giving points for indexsize-equivalent number of matches if it
      starts a new chain.

    * stage1hr.c: Fixed problem with insertions in first 12-mer.  Now treating
      as a mismatch, as we did for insertions in the last 12-mer.

    * oligoindex.h: Removed debug_graphic_p from argument list

    * oligoindex.c: Fixed memory leak

    * md5-compute.c: Added ability to handle multiple input files

    * diag.c, diag.h, diagdef.h: Computing scores for each diagonal and
      requiring a minimum score

2008-09-09  twu

    * stage1hr.c: Fixed bug in exact match to end of chromosome, resulting in
      negative coordinates of the next chromosome.

    * stage3.h: Added function for recomputing goodness

    * stage3.c: Made widebandp true on all single gap solutions.  Extending 5'
      and 3' ends, rather than comparing distal with medial, when defect rate is
      high.  Recomputing goodness using just matches if best hit is poor.

2008-09-08  twu

    * diag.c, diag.h: Moved some functions from oligoindex.c to diag.c

    * oligoindex.c, oligoindex.h: Implemented different mapping resolutions by
      using multiple oligoindices.  Using a separate lookback for each
      resolution.

    * stage2.c, stage2.h: Implemented different mapping resolutions by using
      multiple oligoindices.

2008-09-04  twu

    * configure.ac: Added check for stat64

    * acinclude.m4: Including config/acx_mmap_fixed.m4,
      config/acx_mmap_variable.m4, and config/struct-stat64.m4.

    * VERSION: Updated version

    * README: Augmented instructions for new gmap_setup flags and made mention
      of GSNAP.

    * dynprog.c, dynprog.h: New functions added for dealing with an internal gap

    * indexdb.c: Fixed problem in reading offsets and positions file based on
      interval of 6.

    * gmap.c: Made default canonical mode to be 1

    * stage3.c: Reverted to revision 1.300 with newer code kept for stage3debug.

    * stage2.c: Reverted to revision 1.221 with newer code kept for converting
      oligomers to nucleotides

    * smooth.h: Removed stage2_indexsize

    * smooth.c: Reverted to revision 1.41, plus removal of stage2_indexsize

    * oligoindex.h: Reverted to revision 1.47, plus most recent wobble masking
      and code for multiple oligoindices

    * oligoindex.c: Reverted to revision 1.108, plus most recent wobble masking
      and code for multiple oligoindices

    * diagpool.c: Removed initialization for bestscore and prev fields

    * diagdef.h: Removed score, bestscore, and prev fields

    * diag.h: Reverted to revision 1.5 with some functions moved from
      oligoindex.c.

    * diag.c: Reverted to revision 1.7 with some functions moved from
      oligoindex.c.

    * stage3.h: Calling stage 2 directly

    * stage3.c: More attempts to rearrange steps

    * stage2.c, stage2.h: Bypasses former stage 2 and returns best path of
      diagonals, converted to nucleotides

    * smooth.c: Changed function for finding internal shorts

    * oligoindex.c, oligoindex.h: Changed Oligoindex_get_mappings to return a
      list of diagonals

    * iit-read.h: Added comments to explain arguments

    * gmap.c: Having stage2 return a path

    * diagpool.c: Added initialization for bestscore and prev

    * diagdef.h: Added fields for bestscore and prev

    * diag.c, diag.h: Added functions Diag_compare_querystart and Diag_best_path

2008-08-16  twu

    * diag.c, diag.h, gmap.c, oligoindex.c, oligoindex.h, stage2.c, stage2.h:
      Implementation of oligoindex step at multiple resolutions

2008-08-15  twu

    * stage2.c: Rearranged procedures in preparation for multiple oligoindices.

    * oligoindex.c, oligoindex.h: Moved various functions from oligoindex.c to
      diag.c.  Added various variables to Oligoindex_T struct.  Rearranged
      procedures in preparation for multiple oligoindices.

    * diag.c, diag.h: Moved various functions from oligoindex.c to diag.c

    * stage2.h: Added a version of stage 2 that can be called from within stage
      3.

    * stage2.c: Using active hits, instead of minactive and maxactive bounds. 
      Added hooks for relying upon splice site scores.  Made conversion to
      nucleotides handle arbitrary masks.  Added penalty for diffdistance not a
      multiple of 3.  Added a version of stage 2 that can be called from within
      stage 3.

    * stage1hr.c: Exiting if a single polyat 12-mer found, to prevent false
      indels from being found in find_segments_multiple_mm.

    * oligoindex.h: Computing active hits around each diagonal, instead of
      minactive and maxactive bounds.

    * oligoindex.c: Added wobble masking.  Computing dominance by using scores,
      based on number of diagonals overlapping each querypos.

    * indexdb_hr.c: Added masking for all left shifts

    * indexdb.c: Fixed problem where highest resolution indexdb was not being
      used

    * gmap.c: Using new interface to Oligoindex_set_inquery

    * diag.c, diag.h, diagdef.h: Added score to Diag_T object

    * block.c: Added error message

2008-08-11  twu

    * oligoindex.c, oligoindex.h: Passing character strings to procedures,
      rather than Sequence_T objects.

2008-08-10  twu

    * gmap.c: Made changes to debug requests from stage3

    * stage3.c: Rearranging steps to improve cross-species performance.  Work
      still in progress.

2008-08-08  twu

    * stage1hr.c: Removed old code

    * stage1.c: Made heap and segment algorithm work for PMAP

    * binarray.c, binarray.h: Removed binarray source code

    * sequence.c: Redefined trim_end for PMAP to exclude the terminal stop codon
      added

    * pmapindex.c: Including index1interval in filename for PMAP databases

    * matchpool.c: Removed old code that referred to positions, not diagonals

    * match.c: Simplified a procedure

    * indexdbdef.h: For PMAP, allowed index1interval to be determined by
      available databases

    * indexdb_hr.c, indexdb_hr.h: Moved Indexdb_read_no_subst command to
      indexdb.c

    * indexdb.c, indexdb.h: Moved Indexdb_read_no_subst command here.  Including
      index1interval into filename for PMAP databases.

    * gmap.c: Changed variable name from samplingp to lowidentityp

    * block.c: Bypassing oligo.c and calling Indexdb commands directly

2008-08-06  twu

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am,
      Makefile.pmaptoo.am, stage1.c, stage1.h: Removed binarray

2008-08-05  twu

    * binarray.c, binarray.h, stage1.c: Transitioning away from bins and toward
      segments.  Intermediate code contains both sets of functions.

2008-08-01  twu

    * block.c, block.h, gregion.c, gregion.h, matchpool.c, matchpool.h,
      stage1.c: Just before change to using diagonals, with directives
      indicating changes

2008-07-31  twu

    * gsnap.c: Changed batch specification so it runs from 0 to n-1.

    * stage1hr.c: Changed hierarchy of results to be exact, sub:1, local
      splicing, half introns, sub:2, sub:3, sub:4, indels, distant splicing. 
      Increased speed for computing splice ends.  Limiting nmismatches for each
      splice end, so not checking nmismatches for splicing after that.

    * gsnap.c: Reduced default maxpaths to 20 and maxchimerapaths to 2

2008-07-30  twu

    * stage1hr.c: Improved identification of repetitive oligos

    * sequence.c: Better handling of FASTA files that end with blank lines

2008-07-29  twu

    * stage1hr.c, stage1hr.h: Implemented different sizes for insertions and
      deletions

    * stage3hr.c, stage3hr.h: Added function Stage3_remove_duplicates

    * stage1hr.c: Made 12-mer mod 3 strategy work for multiple mismatches,
      indels, and exon-exon junctions.

    * stage1hr.c: Removed special variables for -2, -1, querypos+1, and
      querypos+2. Removed middle_indel_p.

2008-07-28  twu

    * stage1hr.c: Made paired reads use new 12-mer strategy for exact and 1-sub

    * stage1hr.h: Changed variable name to expected_pairlength

    * datadir.c: Improved error message when genome db not found

    * indexdb_hr.c, indexdb_hr.h, intlist.c, intlist.h, stage1hr.c: Implemented
      faster version of exact and 1-sub using 12-mers

2008-07-26  twu

    * indexdb_hr.c: Removed oligo_hr.h and oligo_hr.c.  Added code for reading
      left and right subst of 1 and 2 nts.

    * oligo_hr.c, oligo_hr.h: Removed oligo_hr.h and oligo_hr.c

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am,
      Makefile.pmaptoo.am, block.c, indexdb.c, indexdb.h, stage1hr.c: Removed
      oligo_hr.h and oligo_hr.c.

    * indexdb_hr.h: Initial import into CVS

2008-07-18  twu

    * stage3hr.c: Fixed handling of trimming for inverted hits.  Fixed handling
      of hits that have negative genomic coordinates.

    * stage1hr.c: Fixed handling of trimming at ends

    * pair.c: Changed output to show "genome" instead of "chr"

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am,
      Makefile.pmaptoo.am, diagnostic.c, diagnostic.h, gmap.c, result.c,
      result.h, stage1.c, stage1.h: Added Diagnostic_T to hold information

    * chimera.c, chimera.h, get-genome.c, iit_plot.c, match.c, match.h,
      stage3.c: Using new interface to Genome_get_segment

    * genome.c, genome.h: Printing out-of-bounds characters on all cases where
      coordinates exceed chromosomal boundaries.

2008-07-07  twu

    * stage1hr.c: Added comment

    * stage1.c: Added high-resolution sampling

    * oligo.c, oligo.h: Removed burden of leftreadshift to caller

    * indexdb.c, indexdb.h: Added function to provide indexing interval

    * block.c, block.h: Added high-resolution behavior to Block_T object

    * gmap.c: Added hybrid behavior for finding canonical introns: low reward
      for high-identity sequences and high reward otherwise.

    * stage1.h: Removed obsolete functions

    * stage1.c: Renamed variables

    * pair.c, pair.h, stage3.c: Printing separate runtimes for stage2
      diagonalization and alignment

    * stage2.h: Computing separate runtimes for stage2 diagonalization and
      alignment.

    * stage2.c: Reinstating limitation on maximum number of active hits. 
      Computing separate runtimes for stage2 diagonalization and alignment.

    * stage1.c, stage1.h: Reporting whether sampling was used

    * gmap.c: Using smaller stage 2 indexsize when stage 1 sampling is done

    * plotgenes.c, plotgenes.h: Added ability to handle values

    * pdldata.c: Using Access_mmap function

    * gdiag.c, gsnap-to-iit.c: Using new interface to Genome_fill_buffer

    * subseq.c: Added initial '>' to header

    * stage3.c: Using new interface to IIT_print

    * stage1.c: Removed references to Matchpair_T

    * pmapindex.c: Removed -l as an input flag

    * oligo.c, oligo.h: Added code for identifying repetitive oligos

    * match.c, match.h: Added code for dealing with pairs of matches

    * matchpair.c, matchpair.h: Removed Matchpair_T code

    * indexdb.h: Restoring previous definition of sufficient support

    * iit_update.c: Using new interface to IIT_read

    * iit_plot.c: Handling values, in addition to counts and genes

    * gregion.c, gregion.h: Added fields to Gregion_T

    * gmap.c: Interpreting optarg as strings, not integers

    * get-genome.c: Removed -F and -R flags.  Using -R flag for relative
      coordinates.

    * block.h: Separated interfaces for GMAP and PMAP

    * block.c: Added hook for removing repetitive oligos

    * binarray.c: Taking all boxes in final step.  Reduced debugging output.

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am,
      Makefile.pmaptoo.am: Added binarray.c and .h and removed matchpair.c and
      .h

    * matchpair.c: Added code for bins

    * stage1.c: Added two levels of ntopboxes

2008-07-03  twu

    * binarray.c, binarray.h, stage1.c: Implemented working version of binarray
      algorithm

    * Makefile.util.am, revcomp.c, seqlength.c, subseq.c: Added utility programs
      for internal use

    * binarray.c, binarray.h: Initial import into CVS

2008-07-01  twu

    * stage1.c, stage1.h: Initial implementation of bins

2008-06-30  twu

    * stage3.c: Added ability to print relative coordinates

    * stage1hr.c: Improved handling of heaps.  Added code for handling
      out-of-bounds conditions.

    * sequence.c, sequence.h: Added command for printing revcomp of sequence

    * interval.c: Added debugging statements

    * indexdb_hr.c: Replaced separate variables for heapsize and delta into a
      single header.  Added code for doing all reads, then doing all writes.

    * indexdb.c: Added debugging statements

    * iitdef.h: Storing separate mmap pointers for parts of IIT

    * iit-read.c, iit-read.h: Added ability to print relative coordinates

    * gmap.c: Removed -R flag

    * gsnap.c: Added ability to handle input sequence in batches

    * genome.c, genome.h: Changed out-of-bounds symbol to be '*'.

2008-06-25  twu

    * gmap.c: Made low reward for canonical sequences to be the default

    * get-genome.c: Fixed calculation of genomiclength

    * iit-read.h: Removed unused function.

    * iit-read.c: Now doing memory mapping of pointers rather than reading all
      of them. Fixed bug in reporting second chromosomal coordinate.  Fixed bug
      in sorting segments by coordinate.

2008-05-20  twu

    * indexdb_hr.c: Made process_heap inline.  Removed delta from Batch_T.

2008-05-19  twu

    * indexdb_hr.c: Various code introduced to improve speed of heapify
      operation

2008-05-09  twu

    * access.c, access.h: Fixed mmap calls with offset so offset is on a page
      boundary

    * stage3hr.c, stage3hr.h: Added new functions for filtering and sorting
      chimeras.  Fixed calls of scrambled exons.

    * stage1hr.c: Major efficiency improvements in heapify and other heap
      functions for merging diagonals

    * indexdb_hr.c: Major efficiency improvements in heapify and other heap
      functions for merging batches

    * stage1hr.c: Changed filtering methodology for exon-exon junctions

    * indexdb_hr.c: Using pointers to memory-mapped positions file, and adding
      shift-plus-diagterm as heap builds the final array of positions.

2008-05-07  twu

    * indexdb_hr.c: Restored previous version

    * indexdb_hr.c: Attempt to reduce D2 cache miss rate, but actually increases
      it by 10x.

2008-05-06  twu

    * stage3hr.c: Using correct type for Stage3chimera_t objects

    * stage1hr.c: Set chimerap flag correctly

    * indexdb_hr.c: Faster counting of entries in cases where duplicates are not
      allowed

    * indexdb.c: Minor syntactic changes

    * gsnap.c: Turned off reading of labels for map iit files

2008-05-05  twu

    * gmapindex.c, pmapindex.c: Providing chromosome_iit to procedures for
      writing offset and position files

    * stage3hr.c, stage3hr.h: Values for chrnum are pre-computed rather than
      computed here

    * stage1hr.c: Using new interfaces to Genome_fill_buffer and Stage3_new
      routines

    * indexdb.c, indexdb.h: No longer storing oligomers at ends of chromosomes

    * iit-read.c, iit-read.h, iitdef.h: Providing specific fields for memory
      mapping of labels and annotations.  Reading all pointers for labels and
      annotations.

    * genome.c, genome.h: Trimming correctly at chromosome boundaries. 
      Returning chrnum.

    * access.h: Added function to mmap at a particular offset.

    * access.c: Added function to mmap at a particular offset.  Added check for
      struct stat64.

    * stage1hr.c: Searching for indels only if substitution fails

    * gsnap.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h: Added trimming of
      mismatches at ends of substitutions

2008-04-25  twu

    * stage3hr.c, stage3hr.h: Printing information about paired result type and
      about structural variations in spliced reads.

    * stage3.c: Removed include of maxent.h

    * stage1hr.c, stage1hr.h: Added hierarchy of paired result types.  Checking
      for cross repetitiveness.

    * sequence.c: Improved debugging statements

    * resulthr.c, resulthr.h: Storing information about paired result type

    * iit_plot.c, plotgenes.c, plotgenes.h: Fixed handling of new IIT map format

    * pair.c: Changed output format for IIT-readable files (-f 7)

    * list.c, list.h: Added function of List_to_array that reports list length

    * iit-read.c: Fixed handling of flanking intervals

    * gsnap.c: Adding information about paired result type and providing
      information about max number of paired paths.

    * Makefile.gsnaptoo.am: Using tables for IITs.  Removed iit_update.

    * Makefile.dna.am: Using tables for IIT.  Removing gdiag and iit_update.

2008-04-24  twu

    * iit_get.c: Fixed bug in handling queries from stdin

2008-04-22  twu

    * stage3hr.c: Slight improvement in efficiency in eliminating duplicates or
      dominated paired end solutions.

    * dynprog.c: Reduced mismatch penalty for low quality sequences.  Equalizing
      extension penalty for single gaps, regardless of sequence quality.

    * maxent.c: Added debugging statements

    * stage3hr.c: Fixed bugs in eliminating duplicate or dominated paired-end
      results

    * iit-read.c: Fixed memory leak for entire IIT structure

    * stage3.c: In dual break, peeling pairs first.

    * stage3.c: Improved handling of dual breaks by scanning genomic segment

2008-04-21  twu

    * iit_store.c: Fixed bug in handling intervals without divs

    * iit-write.c: Added error message if total_nintervals is zero.

    * iit-read.c: Modified output for IIT_dump

    * fa.iittest, iit_get.out.ok: Modified IIT input/output for new interval
      format

    * stage3hr.c, stage3hr.h: Added code for printing half introns.  Now storing
      chrnum when Stage3_T objects are computed.  Using chrnum to determine
      whether two paired ends are connectable.

    * stage1hr.c: Using scores to determine whether indel beats substitution. 
      Added code for finding half introns.  Now storing chrnum when Stage3_T
      objects are computed.

    * indexdb_hr.c: Added code, not currently used, for using doubles to find
      longer oligomers.

2008-04-15  twu

    * stage1hr.c, stage1hr.h: Increased MAX_INDELS, and using it instead of
      hard-coded 3

    * plotdata.c, segmentpos.c, stage3hr.c: Using new interface to IIT_label

    * plotgenes.c, plotgenes.h, stage3.c: Using new interface to IIT_get and
      IIT_label

    * table.c, table.h: Added functions Table_string_compare and
      Table_string_hash

    * pmapindex.c: Using new interface to IIT_read

    * match.c, pair.c: Using new interface to Chrnum_to_string

    * indexdb.c: Using IIT_total_nintervals

    * indexdbdef.h: Moved definition of Indexdb_T to a separate file

    * iitdef.h: Added fields for whether labels were read, and for offsets to
      various parts of the iit file.

    * iit_store.c: Using new version for reporting intervals

    * iit_dump.c, iit_plot.c: Using new interface to IIT_read

    * iit_get.c: Using new interface to IIT_get and IIT_read.  Added ability to
      center annotations at a given column.

    * iit-write.c: Fixed bugs for divs with no intervals

    * iit-print.c, iit-print.h: Moved IIT_print procedures back to iit-read.c.

    * iit-read.c, iit-read.h: Fixed bug in handling divs with no intervals. 
      Allowing memory mapping of labels and intervals and their pointers (in
      addition to annotations).  Moved IIT_print procedures back to this file.

    * gsnap.c: Providing flag for user to specify consecutive matches, to
      control speed

    * gsnap-to-iit.c: Removed flag for old GSNAP version output format

    * gmapindex.c: Using tables to provide information to IIT_write

    * get-genome.c, gmap.c: Using new interface to IIT_get and IIT_read

    * chrnum.c, chrnum.h, chrsubset.c, gdiag.c, genomepage.c, genomeplot.c:
      Using new interface to IIT_label

    * genome-write.c: Using new interface to IIT_get

2008-04-10  twu

    * gregion.c, match.c, matchpool.c: Made IIT_get_one pass additional
      parameter

2008-04-01  twu

    * stage1hr.c: Various methods to improve speed, including separate
      processing for plus and minus strands, use of threshold_noligomers and a
      user-specified threshold_score for finding segments for multiple
      mismatches.

    * stage1hr.c: Removed old code based on fixed (nonrecursive) oligosize

    * stage1hr.h: Changed variable names

    * stage1hr.c: Using new variable names for paired-end lengths.  Generalized
      mask for oligosize.

    * gsnap.c: Removed -a flag and replaced it with -S flag.  Changed flags for
      paired-end lengths.

2008-03-31  twu

    * chrnum.c, chrom.c, chrom.h, chrsubset.c, segmentpos.c: Using new interface
      to IIT routines with divs.

    * get-genome.c: Moved Chrom_string_from_position function to iit-print.c

    * stage3hr.h: Changed variable names for paired-end lengths.

    * stage3hr.c: Using new interface to IIT routines wiht divs.  Changed
      variable names for paired-end lengths.

    * stage1hr.c: Made indel alignments extend inward from ends as far as
      possible.

    * stage1hr.c: Added new routine for computing indels without using dynamic
      programming matrix.  Maximizes matches from left to right.

2008-03-27  twu

    * iit-print.c, iit-print.h, iit-read.c, iit-read.h, iit-write.c,
      iit-write.h, iit_get.c, iit_store.c, iitdef.h: Introduced version 3 of IIT
      format, to handle multiple divs.

2008-03-20  twu

    * Makefile.dna.am, Makefile.gsnaptoo.am: Removed block_hr and blockdef files

    * pmapindex.c: Removed both uppercase and lowercase flags, and added -l flag
      to make the distinction

    * stage3hr.c: Changed order of output so type of match comes before genomic
      location

    * stage1hr.c: Handling short reads with lowercase characters.  Using
      Oligo_hr functions rather than Block_T functions.

    * sequence.c, sequence.h: Added functions to handle short reads with
      lowercase characters

    * oligo_hr.c, oligo_hr.h: Moved leftreadshift step out of oligo_hr functions

    * oligo-count.c: Using new interface to Block_new

    * indexdb_hr.c: Removed checking for duplicates

    * indexdb.c, indexdb.h: Added ability to mask lowercase characters in genome

    * gsnap.c: Made program work for query sequences with lower case

    * gmapindex.c: Removed uppercase and lowercase flags and added -l flag. 
      Making ".masked" indexdb files for masked genomes (where lowercase nts not
      indexed).

    * genome.c, genome.h: Changed name of variable

    * block.c, block_hr.c, block_hr.h, blockdef.h: Restored definition of
      Block_T to block.c

2008-03-06  twu

    * gsnap.c: Using new interfaces to Stage1 procedures

    * stage1hr.c: Deleted debugging statements that give a seg fault

    * stage1hr.c, stage1hr.h: Generalized procedures to use arbitrary oligosize

    * stage1.c: Using new interface to Block_new

    * block.c, block.h, block_hr.c, blockdef.h, oligo.c, oligo.h, oligo_hr.c,
      oligo_hr.h: Generalized procedures to handle arbitrary oligosize

    * indexdb_hr.c: Fixed bugs in adding wildcard nucleotides

    * indexdb.c: Fixed bug in recognizing index file at interval 6

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am: Added new
      source files

    * stage3hr.c: Generalized print procedures to handle arbitrarily long reads

    * stage1hr.c, stage1hr.h: Added recursive procedures for paired end reads

    * stage1.c: Using original GMAP calls to Block_T procedures

    * oligo.c, oligo.h, oligo_hr.c, oligo_hr.h: Moved GSNAP-specific procedures
      to a separate file

    * intlist.c, intlist.h: Added function Intlist_ascending_by_key

    * indexdb_hr.c: Moved GSNAP-specific procedures to a separate file.

    * indexdb.h: Using "id<number>" as file suffix for offsets and positions
      files.

    * indexdb.c: Moved definition of Indexdb_T object to a separate file. 
      Separated GSNAP-specific procedures to a separate file.  Using
      "id<number>" as file suffix for offsets and positions files.

    * gmapindex.c: Removed -e flag for specifying subindexing

    * block_hr.c, block_hr.h: Made separate file for GSNAP-specific procedures

    * blockdef.h: Put Block_T definition into a separate file

    * block.h: Removed Block_T procedures specific to GSNAP

    * block.c: Put Block_T definition into a separate file.  Removed GSNAP
      parameters for GMAP calls to Block_T procedures.

2008-03-04  twu

    * stage1hr.c: Implemented recursive method for finding exact matches. 
      Binary search not yet added.

2008-03-03  twu

    * Makefile.am, cvs2cl.pl: Made maintainer Perl machine-independent

    * fa_coords.pl.in, gmap_process.pl.in, gmap_setup.pl.in, md_coords.pl.in:
      Made different make commands for gmapdb_highres and gmapdb_lowres

    * Makefile.dna.am, Makefile.gmaponly.am, Makefile.gsnaptoo.am: Customized
      each Makefile.am for its specific task

2008-02-29  twu

    * gmapindex.c, iit-read.c, segmentpos.c: Using new interface to obtain
      strings from Chrom_T objects

    * chrom.c, chrom.h: Restricted criteria for considering initial part of
      chromosome string as numeric.  Now storing initial string directly.

    * gsnap.c: Using new interface to print commands

    * stage3hr.c, stage3hr.h: Changed output to be more uniform, in a 1-column
      format

2008-02-28  twu

    * list.c: Added include of string.h

    * iit_plot.c: Made program able to print counts

    * iit-read.c: Added more informative error messages when offset appears
      incorrect relative to filesize.  Removed output of type in print_record.

    * gsnap-to-iit.c: Handles new GSNAP output format.  Handles remapping to
      genome.

    * get-genome.c: Made program work correctly on chromosomally tagged IIT map
      files

    * genomepage.c, genomepage.h: Removed sequence as a parameter

    * pair.c, pair.h, stage3.c: Modified output of exon map

    * plotgenes.c, plotgenes.h: Added function for printing counts

    * Makefile.dna.am, Makefile.gsnaptoo.am, blackboard.c, blackboard.h, gmap.c,
      gsnap.c, params.c, params.h, reqpost.c, reqpost.h: Removed Params_T object

2008-02-26  twu

    * gsnap-to-iit.c: Handling new version of gsnap output (after remapping).

    * gsnap-to-iit.c: Added -b flag to specify blocksize.  Made default
      blocksize 10000.

2008-02-14  twu

    * iit_plot.c, plotgenes.c, plotgenes.h: Fixed printing of genes in ascii
      format

2008-02-08  twu

    * plotgenes.c, plotgenes.h: Added binning by pixel.  Removed allgenesp for
      plot_counts.

2008-02-07  twu

    * gsnap-to-iit.c, plotgenes.c: Modified count format for IITs to store
      information in batches

    * plotgenes.c: Added printing of alternate counts.  Fixed problem for calls
      to IIT_get_typed.

    * gsnap-to-iit.c: Initial import into CVS

2008-02-06  twu

    * iit_plot.c: Increased top margin.  Added -V flag for handing count data.

    * plotgenes.c, plotgenes.h: Added function for plotting count data. 
      Handling signs for both versions 1 and 2 of IIT files.

    * iit-read.h: Added interface for IIT_version()

    * iit-read.c: Added abort statement for negative coordinates

    * sequence.c: Added functions for skipping sequences

    * indexdb.c: Commented out some information output to stderr

    * iit_get.c: If iit file not found, try adding ".iit" suffix

    * stage3hr.c: Printing distances for spliced reads only if distance value is
      nonzero

    * stage1hr.c: Fixed calculation of distances in spliced reads

2008-02-05  twu

    * Makefile.gmaponly.am, Makefile.gsnaptoo.am, Makefile.pmaptoo.am: Added
      compiler commands for iit_plot

    * iit_plot.c: Taken from mapplot.c in gdp.

    * genomepage.c, genomepage.h: Extracted commands from gdata-write in gdp.

    * plotgenes.c, plotgenes.h: Incorporated changes from gdp.  Improved
      plotting capabilities.

    * list.c, list.h: Incorporated changes from gdp.  Added List_from_string.

    * color.c: Incorporated changes from gdp.  Removed yellow.

2008-01-30  twu

    * gsnap.c: Limited reporting of exon-exon paths.  Added -E flag to turn off
      finding of exon-exon solutions.

    * genome.c, genome.h: Made Genome_fill_buffer return a false value if it
      goes into negative genome coordinates.

    * stage1hr.c: Skipping cases that result in negative genomic coordinates. 
      Skipping cases of finding first indels when alignment doesn't extend to
      the end.

    * stage3hr.c, stage3hr.h: Made fixes for handling exon-exon junctions

    * stage1hr.c: Fixed problems in handling various combinations of
      sense/antisense and plus/minus strands for exon-exon junctions.

2008-01-29  twu

    * gmap.c: Made finding canonical introns the default.  Made -X flag take an
      argument.

2008-01-17  twu

    * stage1hr.c, stage3hr.c, stage3hr.h: Improved algorithm for finding and
      ranking chimeras

2008-01-15  twu

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Added output in IIT exon map
      format

    * stage1hr.c, stage3hr.c, stage3hr.h: Added printing of number of mismatches
      for chimeras

2008-01-14  twu

    * dynprog.c: Added type cast for memset.

    * stage1hr.c: Reduced max mismatches to 4.  Penalized mismatches further in
      finding breakpoints for chimeras.

    * stage3hr.c: Reporting breakpoint coordinates for chimeras

    * stage1hr.c: Increased penalty for mismatches to help find correct
      breakpoint for chimeras

2008-01-12  twu

    * Makefile.gmaponly.am, Makefile.gsnaptoo.am, Makefile.pmaptoo.am,
      stage1hr.c, stage3hr.c, stage3hr.h: Added probabilistic calculations of
      splice sites

2008-01-11  twu

    * gsnap.c, stage1hr.c, stage1hr.h, stage3hr.c, stage3hr.h: Implemented code
      for identifying chimeras

    * resulthr.c, resulthr.h: Added a new type for chimeras

2008-01-09  twu

    * stage1hr.c: Fixed typo in variable name

    * resulthr.c, resulthr.h, stage3hr.c, stage3hr.h: Added the ability to
      report paired-end cases that fail to co-localize

    * gsnap.c: Added the ability to report paired-end cases that fail to
      co-localize

    * gmap.c: Cleaned up some code

    * gsnap.c, stage1hr.c, stage1hr.h: Added -o flag to specify optimum length

    * gsnap.c: Added -I flag for specifying inversion of second read of paired
      end read

    * sequence.c, sequence.h: Added procedure for printing revcomp of a short
      read

    * stage3hr.c, stage3hr.h: Provided options for printing second read either
      in original direction or as reverse complement.

    * stage1hr.c: Fixed various memory leaks

2008-01-08  twu

    * gsnap.c: Added flag to print all solutions, either for single read or for
      paired end read.

    * stage3hr.c, stage3hr.h: Added procedures for sorting results of single
      read mappings

    * stage1hr.c, stage1hr.h: Added ability to print all solutions in single
      read

    * stage3hr.c, stage3hr.h: Added sorting of results by closeness to optimal
      distance

    * gsnap.c: Removed unused variables.  Removed instant printing feature.

    * stage1hr.c, stage1hr.h: Removed instant printing feature

    * resulthr.c, resulthr.h: Generalized Result_T object so it can print either
      single or paired end results

    * sequence.c, sequence.h: Implemented procedure for reading short reads,
      either single or paired ends.

    * request.c, request.h: Enabled storage of paired reads in Request_T object

    * stage3hr.c, stage3hr.h: Implemented routines for storing and printing
      paired ends

    * stage1hr.c: Implemented separate strategy for handling reads with poly-A
      or poly-T 12-mers.  In such cases, need to test 12-mers exhaustively.

2008-01-07  twu

    * stage1hr.c, stage1hr.h: Initial implementation of mapping for paired
      reads.  For consistency, changed indel to be same rank as sub:2 for single
      reads.  Generalized separator used in printing results.

2008-01-04  twu

    * stage1hr.c: Separated single read strategy into separate components

    * sequence.c: Fixed a memory leak.

    * stage3hr.c, stage3hr.h: Added a stage3 procedure specific for GSNAP

    * sequence.c, sequence.h: Added a read procedure that converts input to
      uppercase

    * gsnap.c, resulthr.c, resulthr.h: Made GSNAP algorithm return results
      rather than printing them

    * Makefile.gmaponly.am, Makefile.gsnaptoo.am, Makefile.pmaptoo.am: Removed
      gregion.c and added stage3hr.c to GSNAP build

    * stage1hr.c, stage1hr.h: Made algorithm return results rather than printing
      them.  Fixed a bug in handling cases with mismatches on both ends.

2007-12-19  twu

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Added -4 flag for printing
      alignments per exon

    * gsnap.c: Removed unused code

    * stage1hr.c: Removed unused header files and objects

    * stage1.c, stage1.h: Added function Stage1_size()

    * resulthr.c, resulthr.h: Added specialized Result_T for GSNAP

    * reqpost.h: Added conditional include of resulthr.h for GSNAP

    * params.c, params.h: Removed obsolete fields

    * matchpair.c, matchpair.h: Removed obsolete functions

    * iit-read.c: Removed warning message about not finding a file

    * stage3.h: Made maponly mode work with Gregion_T objects.

    * stage3.c: Fixed bug where genomicuc_ptr was NULL.  Made maponly mode work
      with Gregion_T objects.

    * gregion.c, gregion.h: Added fields to Gregion_T for maponly mode.

    * gmap.c: Restored old maponlyp code.  Added error message if pthreads fails
      on operating system.

    * genuncompress.c: Added flag to print one character per line

    * blackboard.c, blackboard.h: Added function to see if blackboard is done

    * Makefile.gmaponly.am, Makefile.gsnaptoo.am, Makefile.pmaptoo.am: Added
      commands for GSNAP

2007-12-07  twu

    * pair.c: Fixed bug with trim_end, now an exclusive coordinate rather than
      an inclusive one.

    * cvs2cl.pl: Added changelog program to CVS

    * gmap.c: Changed calls to Stage1_compute to match new interface

    * stage1hr.h: Removing unused parameters

    * stage1hr.c: Corrected positions of 12-mers for sequences shorter than 36
      nt. Reduced final threshold score to 12.  Checking for repetitive
      sequence.

    * stage1.c, stage1.h: Separated stage 1 low-resolution procedure from
      high-resolution procedure.

    * block.c, block.h, indexdb.c, indexdb.h, oligo.c, oligo.h: Added procedure
      for counting number of genomic positions for a given oligomer

    * gsnap.c: Now calling Stage1hr_compute directly.  Removed some unused code.

    * gmap.c: Restored maponly mode

2007-12-06  twu

    * stage1hr.c: Initial attempt to generalized procedure to handle oligomers
      shorter than 36, using initial testing of 3 12-mers.

2007-12-02  twu

    * stage1hr.c: Fixed bugs in computation and printing of middle indels. 
      Fixed bug when best_querypos (in terms of npositions) was -1.

2007-12-01  twu

    * stage1hr.c: Added strategy of using most specific oligomer to drive search
      for exact matches.

    * stage1hr.c: Added keep_score parameter to find_segments.

    * indexdb.c: Made heapify faster.  Hard-coded left_nts and right_nts to be 1
      in read_shifted.

    * genome.c: In Genome_fill_buffer, checking for negative starting
      coordinate, and filling with N's if necessary.

    * stage1hr.c: Limited dynamic programming to just the non-matching oligomer,
      whenever possible.

2007-11-30  twu

    * stage1hr.c: Added a triplet matching step with binary search to find exact
      matches.  Fixed a bug in find_segments in handling the last diagonal.

    * stage1hr.c: Changed output format to show substitutions, insertions, and
      deletions.  Made speed improvements in heap algorithm.

2007-11-29  twu

    * gsnap.c: Simplified code for handling short reads.  Stopped usage of
      oligoindex.

    * stage1hr.c: Implemented version that handles indels.  Some speed
      improvements in reporting exact matches when found.

2007-11-28  twu

    * stage1hr.c: Removed unused code

    * stage1hr.c, stage1hr.h: Working version implemented for 36-mers, allowing
      for substitutions

    * stage1.h: Taking queryseq as an argument for Stage1_compute (needed for
      gsnap).

    * stage1.c: Using new interface to Block_process_oligo

    * Makefile.am: Makefile.am now generated by bootstrap from other files

    * stage2.c: Added debugging statements

    * sequence.c, sequence.h: Added procedure Sequence_print_oneline

    * rbtree.c, rbtree.h, rbtree.t.c: Initial import into CVS

    * result.c, result.h: Added procedure Result_blank

    * params.c, params.h: Removed truncstep

    * oligoindex.c: Added correct calculation of badoligos

    * oligo.c, oligo.h: Providing diagterm information to lookups from indexdb

    * indexdb.c, indexdb.h: Changed high-resolution indexdb to be subclassified
      by adjacent nucleotides, rather than by phase.

    * gregion.c, gregion.h: Initial import into CVS

    * gsnap.c: Adding separate main program for gsnap.

    * block.h: Added function Block_skipto.  Giving diagterm information to
      Oligo_lookup.

    * block.c: Added function Block_skipto.  Revised coordinates assigned to
      last_querypos.  Giving diagterm information to Oligo_lookup.

    * Makefile.gmaponly.am, Makefile.pmaptoo.am: Added hooks for gsnap

    * fa_coords.pl.in: Improved handling of cases where chromosome is not parsed

    * gmap_setup.pl.in: Added -H flag to generate high-resolution gmap dbs.

2007-11-26  twu

    * iit_store.c: Fixed bug in handling GFF files

2007-11-14  twu

    * indexdb.c, indexdb.h: Implemented precise positioning by organizing
      composite positions according to phase

2007-11-13  twu

    * result.c, result.h: Remove stage 1 diagnostic information

    * matchpair.c, matchpair.h: Making matchpair generate gregion as output from
      stage 1

    * gmap.c: Using new interface to stage 1.  Removed maponly output.

    * Makefile.gmaponly.am, Makefile.pmaptoo.am, stage1hr.c, stage1hr.h: Moved
      high-resolution stage 1 algorithm to a different file

    * stage1.c, stage1.h: Eliminated diagnostic fields.  Made interface for
      low-resolution version compatible with high-resolution version.

2007-11-03  twu

    * stage3.c, stage3.h: Removed matchpairend and Stage3_direct procedure

    * stage1.c, stage1.h: Reverting back to 2007-09-28 version

    * pmapindex.c: Changed order of arguments in a function call

    * params.c, params.h: Added slots for truncstep and chromosomal transitions.

    * list.c, list.h: Added functions List_insert and List_reinsert.

    * indexdb.c, indexdb.h: Added function Indexdb_shiftedp.  For
      high-resolution indexdbs, added code to merge batches using either a queue
      or a heap.

    * iit-read.c, iit-read.h: Added function IIT_transitions_subset.

    * gmapindex.c: Added -e flag to specify high-resolution genomic indices

    * chrsubset.c, chrsubset.h: Added function Chrsubset_transitions.  Added
      assumption to Chrsubset_includep.

    * chrnum.c, chrnum.h: Added function Chrnum_print_position

    * block.h: Added function Block_donep.

    * block.c: Improved debugging output.  Added function Block_donep.

    * access.h: Added function to report if file exists.

    * access.c: Improved error messages.  Added function to report if file
      exists.

2007-10-16  twu

    * stage1.c: Refined high-resolution algorithm

2007-10-11  twu

    * orderstat.c: Included appropriate header files for memcpy

2007-10-08  twu

    * reader.c: Made reader go all the way to the ends of the sequence

    * sequence.c: Fixed computation of trimlength

    * indexdb.c, indexdb.h: Implemented read and write procedures for new
      genomic index format (trading off position resolution for adjacent
      nucleotide contents).

2007-10-07  twu

    * stage1.c: Implemented mapping at ends

    * stage1.c: Completed initial mapping from middle outward

2007-10-06  twu

    * stage1.c: Added computation of best subpaths

2007-10-03  twu

    * stage1.c: Implemented high-resolution mapping, and arbitrarily long
      matches for the middle of the sequence outward.

2007-09-30  twu

    * stage1.c: Attempt to use diagonals to find genomic position

2007-09-29  twu

    * genome.c, genome.h: Added Genome_totallength function

    * stage1.c, stage1.h: Added procedure to match doubles of truncated indexdb
      entries

2007-09-28  twu

    * gmap_setup.pl.in: In -S mode (treating each contig as a chromosome),
      turning off sorting of chromosomes and contigs.

    * gmapindex.c: Added -S flag to turn off sorting of chromosomes and contigs

    * table.c, table.h, tableint.c, tableint.h: Added ability to return keys
      sorted by timeindex

    * stage1.c, trial.c, trial.h: Changes made to scan query sequence from
      middle outward

    * VERSION: Updated version

2007-09-27  twu

    * gmap.c: Fixed bug for -f 9 and -E output when no paths were found

2007-09-26  twu

    * VERSION: Updated version

    * index.html: Revised features for 2007-09-26 version

    * gmap_update.pl.in: Made new IIT file permissions the same as the old
      permissions

    * gmap_update.pl.in: Made new IIT file permissions the same as the old
      permissions

    * iit-read.c: Added error messages to various conditions in IIT_read

2007-09-25  twu

    * sequence.c: Fixed reading of sequences with multiple PC line feeds

2007-09-20  twu

    * stage1.c: Kept code that depended on USE_MATCHPOOL and removed alternate
      (old) code

    * block.c, block.h: Put save variables inside Block_T object

2007-09-19  twu

    * VERSION: Updated version number

    * MAINTAINER: Added reminder to do cvs tag

    * iit-read.c, iit-read.h, iit-write.c: Moved compute_flanking procedure from
      iit-read.c to iit-write.c

    * Makefile.am, configure.ac, gmap_update.pl.in: Added gmap_update program

    * Makefile.am: Added compile instructions for iit_update

    * iit-write.c: Made stringlen of type off_t (to handle annotations of length
      greater than can be handled by int).  Added check to make sure stringlen
      is non-zero.

    * iit-read.c: Made stringlen of type off_t (to handle annotations of length
      greater than can be handled by int)

    * archive.html, index.html: Made changes for 2007-09-20 release

2007-09-18  twu

    * Makefile.gmaponly.am, Makefile.pmaptoo.am, iit-read.c, iit-read.h,
      iit-write.c, iit-write.h, iit_update.c: Implemented iit_update program

    * iit_store.c: Added -v flag to specify desired version

2007-09-17  twu

    * oligoindex.c, stage2.c: Changed R output for diagonal graphics

2007-09-12  twu

    * gmap.c: Added a check to make sure we don't push NULL for Stage3_T object.

    * dynprog.c: Fixed bug in Dynprog_dual_break; need to compute matrix scores
      only to the minimum of length1 and length2.

2007-09-11  twu

    * dynprog.c: Fixed problem where Dynprog_dual_break was exiting
      unnecessarily; need to be concerned only about shorter distance.

    * stage3.c: Added cDNA direction to debugging statements

    * iit_get.c, stage3.c: Added sign argument for getting flanking entries

    * pair.c: Added provision in PMAP to limit coverage to 100% (could exceed
      previously because of implicit stop codon added at end of query sequence).

    * iit-read.c, iit-read.h: Added a sign argument for getting flanking entries

    * get-genome.c: Added flags for accessing from map files entries of a
      particular direction or tag

    * stage1.c: Performing filtering based on clustersize only if too many
      entries and at least one cluster is large.

2007-09-04  twu

    * stage1.c: Removed filtering based on too many matching pairs

2007-08-30  twu

    * gbuffer.c, gbuffer.h, gmap.c: Removed unused code and parameters from
      Gbuffer_T

    * gmap.c: Allocating memory for genomicseg only as needed

2007-08-28  twu

    * blackboard.c, blackboard.h, gmap.c, sequence.c, sequence.h: Added ability
      to read input from multiple sequence files

    * oligoindex.h: Changed calls to reset oligoindex

    * oligoindex.c: Fixed hang that resulted when no oligomer positions were
      found.  Eliminated an extra call to Oligoindex_set_inquery.

    * stage2.c: Changed call to Oligoindex to reset after tally

    * stage1.c: Modified debugging output

    * match.c, mem.c: Enhanced debugging output

    * stage2.c, stage2.h: Returned to previous algorithm for finding shifted
      canonical dinucleotides, but now allocating memory dynamically.

    * gbuffer.c, gbuffer.h: Removed pre-allocated memory for finding shifted
      dinucleotides

    * stage2.c: Attempt to conserve memory used in finding shifted canonical
      dinucleotides.  However, results in speed penalty.

2007-08-26  twu

    * gbuffer.c, gbuffer.h: Removed unused matchscores variable and unnecessary
      memory allocation.

2007-08-24  twu

    * gmap_uncompress.pl.in: Added a missing space in the output

2007-08-23  twu

    * gmap_uncompress.pl.in: Added coordinates output (with flag '-f 9')

2007-08-22  twu

    * pair.c: Fixed potential divide-by-zero bug

2007-08-20  twu

    * gmap_setup.pl.in: Added a .SUFFIXES: command at top to prevent unexpected
      behaviors

2007-08-18  twu

    * stage2.c: Added step to recover when all scores at a querypos are
      negative, by continuing from grand result.

2007-08-16  twu

    * pair.c, pair.h, stage2.c, stage2.h, stage3.c: Computing defect rate in
      middle of stage 3, instead of in stage 2

2007-08-15  twu

    * oligoindex.c: Restored amino acid alphabet to 20 from 18.

    * oligoindex.c: Fixed typo in variable name

    * stage2.c: Inactivated limit on number of active hits

    * Makefile.gmaponly.am, Makefile.pmaptoo.am: Added orderstat.c and
      orderstat.h to code

    * orderstat.c, orderstat.h: Modified procedures to compute order statistics
      in place and for both doubles and ints.

    * oligoindex.c: Computing overabundance based on upper percentile of
      non-zero counts

    * doublelist.h: Added Id info to header

    * gmap.c: Fixed memory leak when user segment is provided

    * orderstat.c, orderstat.h: Added orderstat to CVS

    * oligoindex.c, oligoindex.h: Trial to eliminate limit on maxoligohits

    * stage2.c: Improved output for graphical debugging

    * oligoindex.c: Improved debugging output

2007-08-13  twu

    * stage2.c: Fixed problem with debugging output

    * stage1.c: Added pruning by path sizes

    * matchpair.c, matchpair.h: Added a procedure for finding path size of a
      given matchpair

2007-07-16  twu

    * Makefile.gmaponly.am, Makefile.pmaptoo.am: Created two specialized
      Makefile.am files

    * Makefile.am: Preparing for iit and genome libraries

    * bootstrap, bootstrap.gmaponly, bootstrap.pmaptoo: Created separate
      bootstrap routines for gmap and gmap-plus-pmap

    * VERSION: Updated version number

    * iit-read.c: Computing alphas and betas for iit_dump

    * iit-read.c: Computing alphas and betas only when needed for flanking

    * gmapindex.c, iit-read.c, iit-read.h, iit-write.c, iit-write.h, iit_get.c,
      iit_store.c, iitdef.h: Added fields for annotation in IITs

    * indexdb.c: Added monitoring information

2007-06-25  twu

    * genome-write.c, segmentpos.c: For version 2 IITs and later, getting sign
      directly from IIT, rather than from annotation.

    * get-genome.c, plotgenes.c: Providing sortp parameter to IIT_get

    * iit_store.c: Added -v flag to print IIT version

    * iit_get.c: Added -U flag to indicate unsigned results

    * genome.c: Added comment

    * gmapindex.c: No longer writing segment length in contig IITs

    * iit-write.c: Writing alphas and betas for correct calculation of flanking
      intervals.

    * iit-read.c, iit-read.h: Using alphas and betas for correct calculation of
      flanking intervals. Added functions IIT_types, IIT_get_all, and
      IIT_get_all_typed.

    * interval.h: Added interface for Interval_sign

    * iitdef.h: Added space for alphas and betas, needed for correct calculation
      of flanking intervals

2007-06-22  twu

    * dynprog.h: Defined UNKNOWNJUMP to be used for temporary gapholders during
      stage 3 calculations.

    * dynprog.c: Returning NULL on all failures, without gapholders (which are
      now inserted by calling procedures in stage 3).  Allowing 5' and 3'
      extensions to work to maxlength allowed.

2007-06-21  twu

    * iitdef.h: Added version to IIT_T

    * interval.c: Storing sign for each interval

    * iit-read.c, iit-read.h, iit-write.c, iit-write.h: Introduced version 2
      format, which stores sign for each interval.  Not using annotation anymore
      to represent sign.  Added function IIT_find_multiple.

    * pairpool.c: Improved debugging statements

    * gdiag.c, get-genome.c, gmap.c, iit-read.c, iit-read.h, iit_get.c,
      interval.c, interval.h, plotgenes.c, segmentpos.c, stage3.c: Added ability
      to sort intervals by coordinates in IIT_get routines

    * mem.c: In comments, showing how TRAP should be defined

    * stage3.c: Whenever dynprog procedure returns NULL, make sure to put back
      peeled pairs and insert a gapholder.  Fixes a bug in BQ672778 against
      hg18. Jumps in gapholders now calculated only in certain procedures.

2007-06-07  twu

    * stage3.c: Removed abort commands on peels that run into gaps

    * dynprog.c: Expanded on comment

2007-06-04  twu

    * VERSION, index.html: Updated version

    * dynprog.c: Removed insertion of gapholder for a single gap that is too
      long to solve.

2007-06-02  twu

    * stage1.c: Added debugging statement to signal end of stage 1

    * dynprog.c: Eliminated allocation of temporary Dynprog_T objects

    * pair.c: Now printing query_skip in -A and -S output

2007-05-29  twu

    * dynprog.c: Lowered gap penalties for single gaps.  Fixed bug in solving
      dynamic programming for lower-case input sequences.

    * stage3.c: Added procedures for cleaning non-matches at ends of alignment,
      which are always called.

    * stage3.c: Removing all nonmatches at 5' and 3' ends

2007-05-25  twu

    * VERSION: Updated version

    * index.html: Made changes to reflect 2007-05-25 version

    * pair.c, pair.h, stage3.c: Added coverage and identity information to GFF3
      output

    * archive.html, index.html: Made changes to reflect 2007-05-25 version

2007-05-24  twu

    * configure.ac: Checking both fixed and variable mapping for mmap

    * fa_coords.pl.in: Fixed problem in parsing lines containing the word
      "chromosome"

    * stage3.c: Fixed bug in solving dual breaks

    * pair.c: Fixed PSL output so query and target gaps are computed directly
      from the block starts and lengths.

    * gmap.c: Added flag -j for showing dual breaks

    * dynprog.c: Fixed bug where solution of dual break exceeded minimum gap

2007-05-15  twu

    * stage3.h: Added do_final_p parameter to Stage3_compute

    * stage3.c: Incorporating procedure to trim bad middle exons

    * stage1.c: Performing salvage if total number of matches is relatively low

    * smooth.c: Added to exon length in smoothing for short exons

    * pair.c: Added test code to print information about extra exons

    * intron.c: Removing call to abort.

    * dynprog.c: Added code to bridge dual break with rewards for canonical
      introns. Tweaked some parameters, including less penalty for gap
      extensions.

2007-04-26  twu

    * mem.c: Added error messages for memory allocation problems

    * gmap.c: Added -X flag for heavily favoring canonical and semi-canonical
      introns

2007-04-23  twu

    * gmap.c: Made strict translation the default again

    * indexdb.c: Added "U" to integers in bit operations

    * genome.c: Using two arrays instead of one for translate.

    * compress.c: Using two arrays instead of one for translate.  Added various
      abort checks.

    * translation.c: Removed unnecessary checks of extraexonp

    * pair.c: Fixed Pair_dump_one so it handles extraexonp flag

    * pairpool.c: Fixed bug in assigning extraexonp

    * pair.c: Changed add_intronlengths slightly

    * acx_mmap_variable.m4: Moved AC_DEFINE out of macro, to be called
      explicitly in configure.ac

    * acx_mmap_fixed.m4: Added macro for testing mmap with MAP_FIXED

    * gmap.c: Made frameshift-tolerant translation the default

    * pair.c: Changed output of CDS in gff3 mode to produce an in-frame protein
      sequence

    * translation.h: Added strictp for PMAP.

    * translation.c: Added strictp for PMAP.  Handling extraexonp items in
      alignment.

    * stage3.c: Giving extraexonp information to pairpool procedures for
      gapalign items

    * pair.h: Added procedure for computing fractional error.

    * pair.c: Added provisions for handling extraexonp flag.  Added procedure
      for computing fractional error.

    * pairpool.c, pairpool.h: Added provisions for handling extraexonp flag

    * pairdef.h: Added flag for extra cDNA exon

    * comp.h: Added comp for extra cDNA exon

    * stage3.h: Added strictp for PMAP.

    * stage3.c: Added procedures for trimming internal exons with poor matches,
      and for finding extra exons in a dual break.  Added strictp for PMAP.

    * dynprog.c, dynprog.h: Added procedures for finding extra exons in a dual
      break

    * compress.c: Provided more informative error message

    * oligoindex.c: Handled an arithmetic error caused by divide by zero

    * gmap.c: Added flag -H for handling trimming middle exons and reporting of
      dual breaks.  Removed flag -j.  Allowed strictp to be used in PMAP.

2007-04-17  twu

    * align.test.ok, map.test.ok: Made test output match current output

    * acx_mmap_variable.m4, configure.ac: Added check for mmap using
      MAP_VARIABLE (because AIX fails on MAP_FIXED)

    * gmap.c: Fixed global variables not used in PMAP

    * stage2.c: Fixed check for negative scores to work for PMAP

2007-04-16  twu

    * stage1.c: Placing bound on number of samples taken over query sequence

    * stage2.c: For very long sequences, pruning based on clear coverage

    * oligoindex.c, oligoindex.h: Added computation of clear coverage (percent
      of query sequence covered by relatively few diagonals).

    * matchpair.c: Added debugging statements

2007-04-06  twu

    * stage2.c: Added restriction on distance for grand lookback.  Added check
      on nactive for scoring at querypos.

    * stage2.c: Added nactive as a filter in stage 2

2007-04-02  twu

    * stage2.c: Added comment about a way to restrict debugging output

    * iit-read.c: Added start/end information to endpoints in dumping counts

2007-03-22  yunli

    * modules: *** empty log message ***

    * modules: *** empty log message ***

    * modules: *** empty log message ***

2007-03-08  twu

    * stage2.c: Quitting if totalpositions is zero

    * gmap.c: Enabled table output (-f 9) for relative alignment mode (-w).

2007-03-03  twu

    * stage2.c: Fixed bug which led to the partial fill problem in filling
      oligomers

2007-03-02  twu

    * Makefile.am: Added pthread_libs for iit utilities

2007-03-01  twu

    * gdiag.c: Added printing of centromere regions.  Printing marginals more
      efficiently.

    * Makefile.am: Added chrnum and chrsubset files to gdiag

    * iit-read.c, iit-read.h: Made IIT_transitions function return signs

2007-02-28  twu

    * gdiag.c: Added flag for ignoring main diagonal.  Fixed problem with
      printing revcomp diagonals.  Added code for computing different types of
      patterns.

2007-02-21  twu

    * gdiag.c: Added hooks for user to enter chromosomal subsets

    * complement.h: Added a character code string that doesn't convert to
      uppercase, for gdiag.

2007-02-20  twu

    * gdiag.c: Added ability to use map iit files.  Skipping over masked regions
      in determining lookback.

    * gdiag.c: Fixed bug in retrieving last part of sequence from gmapdb. 
      Providing flag to ignore lowercase (e.g., masked) characters in query.

    * gdiag.c: Added ability for user to provide genomic segment

    * Makefile.am: Added iit-write source files for gdiag

    * gdiag.c: Fixed bug where genomestart could be less than genomeend in a
      diagonal.  Made separate procedures for updating forward and revcomp
      diagonals.

    * indexdb.c, indexdb.h: Added procedure IIT_read_inplace for gdiag.

    * iit-write.h: Added procedure IIT_new to allow creation and use of iit in
      the same program.

    * iit-write.c: Added procedure IIT_new to allow creation and use of iit in
      the same program.  Simplified code for Node_fwrite.

    * iit-read.c, iit-read.h: Added procedure IIT_transitions

2007-02-19  twu

    * gdiag.c: Added a ring structure to increase speed

2007-02-18  twu

    * genome.c, genome.h: Added procedures for gdiag

    * gdiag.c: Made speed improvements by not storing full 24-mers, but rather
      storing results of previous 12-mers

    * gdiag.c: Added calculation of diagonals, ability to read query from
      gmapdb, and storage of intervals.

2007-02-17  twu

    * Makefile.am, gdiag.c: Added program gdiag

2007-02-12  twu

    * gmap.c: Increased parameter for maxoligohits

    * stage3.c: Lowered parameter for intronlen

    * stage2.h: Removed unused function

    * stage2.c: Changed distance penalty to consider both gendistance (now
      linearly, instead of logarithmically) and querydistance (quadratically). 
      Using both maxnconsecutive and pct_coverage to decide whether to continue
      with stage 2.

    * stage1.c: Reduced parameter for number of trials

    * pair.c: Fixed calculation of coverage for PMAP

    * oligoindex.h: Moved parameters here

    * oligoindex.c: Implemented algorithm for PMAP.  Allowing a diagonal to
      dominate only if it is completely consecutive.

2007-02-09  twu

    * iit-read.c, iit-read.h: Added function to dump labels

    * gmap.c: Fixed bugs with map iit files: bad test for distinguishing between
      universal map files and chromosomal map files, and incorrectly checking
      map tags against chromosomal iit.

    * oligoindex.c, oligoindex.h: Added computation of percent coverage by
      diagonals

2007-02-08  twu

    * access.c: Added a debugging statement

    * gmap.c: Fixed floating point error when trimoligos is zero

    * gmap.c, oligoindex.c, oligoindex.h, stage2.c, stage2.h: Added graphical
      debugging output for stage 2

    * smooth.c: Distinguishing use of genomejump and queryjump lengths in
      pre-single-gap smoothing versus post-single-gap smoothing.

2007-02-07  twu

    * gmap.c: Fixed floating exception when sequence has no oligos

    * stage2.c: Initializing guide in 5' trim region, until first hits are
      found.

    * gmap.c: Changed default pruning behavior to be no pruning.

    * oligoindex.c: Made speed improvements in scanning diagonals.  Removed old
      code for computing maxconsecutive.

    * oligoindex.h, stage2.c: Changed name of variable

    * oligoindex.c: Eliminated convex hull algorithm and implemented method
      based on ordering of diagonals.

    * diag.c, diag.h: Removed unused procedures

    * oligoindex.c: Implemented a convex hull algorithm to determine minactive
      and maxactive bounds.

    * diag.c, diag.h: Added a procedure to sort diagonals based on closeness to
      origin

2007-02-06  twu

    * oligoindex.c, oligoindex.h, stage2.c: Restored computation of
      maxgoodconsecutive to filter out bad stage1 candidates

    * stage2.c: Allowing fill of nucleotides to occur even when
      querypos/lastquerypos or genomepos/lastgenomepos are too close.

    * oligoindex.c: Added new procedure for determining dominance among
      diagonals

    * diag.c, diag.h: Added procedure for sorting by nconsecutive

    * stage2.c: Using minactive and maxactive to bound current querypos, and
      active to determine available hits for previous querypos.

    * oligoindex.c, oligoindex.h: Computing diagonals inside
      Oligoindex_get_mappings procedure. Implemented simple dominance procedure.

    * diag.c, diag.h, diagdef.h, diagpool.c, diagpool.h: Added fields for
      nconsecutive and dominancep

    * oligoindex.c: Changes in parameters

    * stage2.c: Changes to debugging output

2007-02-05  twu

    * oligoindex.c: Speed improvements by inlining calls to Intlist accessors

    * stage2.h: Removed unused function

    * oligoindex.h, stage2.c: Using length as a criterion instead of
      nconsecutive for proceeding to dynamic programming

    * oligoindex.c: Reduced requirement for nconsecutive in scanning diagonals. 
      Keeping cumulative track of highest and lowest diagonals.  Added
      extra_bounds to diagonal bounds.

    * Makefile.am, diag.c, diag.h, diagdef.h, diagpool.c, diagpool.h, gmap.c:
      Adding Diag_T and Diagpool_T objects for scanning diagonals

    * oligoindex.c, oligoindex.h, stage2.c, stage2.h: Scanning diagonals to set
      bounds on active oligomers

    * Makefile.am, gmap.c, intpool.c, intpool.h, oligoindex.c, oligoindex.h,
      stage2.c, stage2.h: Added Intpool_T object to manage storage for Intlist_T
      objects

    * gmap.c: Using new interface to Stage3_compute

    * stage2.c: In dynamic programming, added a lookback to the grand best
      querypos and hit

    * intlist.c, intlistdef.h: Provided exposure to internal structure of
      Intlist_T

2007-02-04  twu

    * oligoindex.c, oligoindex.h, stage2.c: Implemented faster algorithm for
      identifying active stage 2 oligomers.

    * stage2.h: Removed unused procedures

    * oligoindex.c, oligoindex.h, stage2.c: Implemented procedures to skip over
      unused mappings, based on active

2007-02-02  twu

    * gmap.c, oligoindex.c, oligoindex.h, stage2.c, stage2.h: Implemented new
      stage 2 procedure.  Now using oligoindex at minindexsize and filtering
      those hits according to a local search. Initial search is based on
      maxindexsize.  Uncovered ends of the alignment receive a looser local
      search criterion.  Increased stage 2 lookback from 60 to 100.

    * translation.c: Fixed bug where first cDNA amino acid appeared under a cDNA
      space.

    * stage1.c: Adding one more trial for long sequences

    * pair.h, stage3.h: Computing coverage and now trimmed coverage at print
      time.

    * pair.c: Computing coverage and now trimmed coverage at print time.  Added
      output line for trimmed coverage.  Added trim information in compressed
      (-Z) output.  Adjusting output of trim boundaries based on alignment.

    * stage3.c: Computing coverage and now trimmed coverage at print time. 
      Increased parameter for minintronlength.

    * gmap.c: Removed -X (cross-species) flag

2007-02-01  twu

    * oligoindex.c: Added code for 18-amino-acid alphabet

    * gmap.c: Made user_stage1p false

    * stage2.c: Trying to make penalties consistent across different cases

2007-01-31  twu

    * stage3.c: Initialized variables in Stage3_T object

    * pair.c: Fixed memory leak in gff exon mode (-f 2)

2007-01-07  twu

    * stage3.c: If both single and dual gap solutions are canonical, picking
      solution with best score.

2007-01-06  twu

    * dynprog.c: Made reward for final canonical intron uniform across defect
      rates. Boosted reward for final semicanonical intron to match that for
      canonical intron.

2007-01-05  twu

    * pair.c: Fixed dinucleotide output in compressed (-Z) format when
      user-provided genomic segment has lower-case characters.

2007-01-04  twu

    * stage2.c: Reduced value of EQUAL_DISTANCE, to favor better local alignment
      over longer global alignment

    * stage3.c: Counting exons only after gaps filled in

    * pair.c, pair.h: Added procedure for counting exons after gaps filled in

2007-01-03  twu

    * dynprog.c: Made one-sided gap behavior true only for single gaps and end
      gaps

    * stage3.c: Removed fix_pmap_holes function and all references to it

2006-12-18  twu

    * index.html: Updated version

    * VERSION: Updated version

    * translation.c: Prevented assignment of incomplete last codon on cDNA side
      in strict mode

    * stage1.c: Removed unused variables

    * matchpair.c: Increased EXTRA_SHORTEND

    * gmap.c: Reduced default trimexonpct.  Changed bandwidths for single and
      gap gaps.

    * dynprog.c: Added onesidegap behavior, which allows gaps on either genomic
      or cDNA side, but not both.  Added concept of fixeddestp, which is not
      true for the ends.

2006-12-15  twu

    * VERSION: Updated version

    * index.html: Made changes to reflect new version and strict translation as
      default

    * gmap.c: Reduced extraband_end

    * dynprog.c, gmap.c: Reduced extraband_single to prevent gaps from being
      inserted on both sides

    * gmap.c, pair.c, pair.h, sequence.c, sequence.h, stage3.c: For PMAP, adding
      an implicit stop codon at end of sequence if not already present, and
      distinguishing between computational fulllength and given fulllength.

    * smooth.c: Changed probability threshold for identifying short exons

2006-12-14  twu

    * gmap.c: Made strict translation the default, and tolerant translation
      turned on by -Y flag

    * stage3.c: Providing pound signs in dual breaks in diagnostic output. 
      Replacing backtranslation characters with 'N' in PMAP output.  Removed
      microexon search from PMAP.  Using single gap procedure instead of
      fix_pmap_holes procedure for PMAP.

    * pair.c: Counting ambiguous characters as matches in all instances of
      computing percent identity

    * indexdb.h: Added variables for 5-aa mers

    * dynprog.c: Limiting bandwidth in single gap alignment to be dependent on
      differences in segment lengths

    * backtranslation.c: Not performing backtranslation if any genomic codon
      position is blank.

    * md5.t.c: Removed unused file

2006-12-13  twu

    * dynprog.c: Reduced width of band in single gaps when lengths are equal

    * translation.c: Fixed strict translation mode, so it begins as same
      location as genomic translation.

    * stage3.c: Removed step of merging adjacent dynamic programming.  Using two
      different smoothing steps.  Protected small introns from being solved as
      single gaps in final intron pass.

    * smooth.c, smooth.h: Created two separate smoothing procedures, one based
      on net gap, and one based on size.

    * dynprog.c: For cDNA gaps, inserting indel pairs only if both gaps are
      small

2006-12-12  twu

    * map.test.ok: Added blank line at end

    * VERSION: Updated version

    * MAINTAINER: Added reminder to check cvs log to make sure files are all up
      to date

    * stage3.c: Removing gaps at 5' and 3' ends after end extensions.  Checking
      for division by zero in trim_bad_exons.

    * Makefile.am: Simplified list of source files

2006-12-09  twu

    * archive.html: Updated to reflect 2006-12-08 version

2006-12-08  twu

    * archive.html: Merged into trunk

    * defs: Initial import into CVS

    * Makefile.am, align.test.in, align.test.ok, coords1.test.in,
      coords1.test.ok, iit_dump.test.in, iit_get.test.in, iit_store.test.in,
      map.test.in, map.test.ok, setup1.test.in, setup2.test.in: Merged into
      trunk

    * VERSION, config.site.gne, index.html, pmap_setup.pl.in, share: Merging
      into trunk

    * MAINTAINER: Merging into main trunk

    * iit.test.in: Combined iit_store, iit_get and iit_dump tests into one
      script

    * stage1.c: Increased definition of short sequence (for allowing cluster
      mode) for PMAP

    * match.c: Fixed printing of sequences in debugging statements

2006-12-05  twu

    * stage3.c: Fixed miscount problem with filling in short introns.  Increased
      MININTRONLEN_FINAL significantly.

2006-12-01  twu

    * stage1.c: Printing chromosome name in debugging statements

    * match.c, match.h: Added procedure Match_chr

2006-11-30  twu

    * stage3.c: Allowing and correcting for gaps after gaps

    * smooth.c: Using difference between genomejump and queryjump to define
      introns for the purposes of smoothing.

    * configure.ac: Added check for sigaction

    * README: Updated README file

    * md_coords.pl.in: Fixed behavior when user wants only the reference strain

    * gmap_setup.pl.in: Changed name from raw to fullascii.  Changed default for
      PMAP from 7 to 6.

    * gmap_process.pl.in: Added check to see that all contigs are processed

    * stage3.c: Assigning gap pairs after final extensions of 5' and 3' ends

    * smooth.c: Removed include of unused header file

    * genome-write.c, gmapindex.c, indexdb.c, indexdb.h, pmapindex.c: Added
      genome name to monitoring statements

    * gmap.c: Stopped warning message for -B when flag was not provided

2006-11-28  twu

    * stage1.c: Revised heuristics for determining maxtotallen and lengths for
      extensions

    * gmap.c: Ignoring batch flag if only a single sequence is given

    * stage1.c: Removed unused code

    * matchpair.c: Adding extra extension length when continuousp is false

    * gmap.c: Revised default lengths for single intron length and total genomic
      length

    * dynprog.c: Added checks for genomic segment at ends being shorter than
      query segment

    * indexdb.h: Using 6-mers with full alphabet in PMAP

    * indexdb.c: Improved monitoring statements

    * matchpair.c, matchpair.h: Revised procedures for computing support and
      extensions.  Integrated procedures for filtering of unique and duplicate
      matchpairs.

    * oligoindex.c: Returned to 20 amino acids in stage 2

    * params.c, params.h, stage1.h: Removed unused variable

    * stage1.c: Integrated matchpairs into a single list.  Revised procedures
      for extending genomic region based on 12-mers.

    * stage3.c: Allowed arbitrarily long incursion into previous dynprog during
      peelback.

    * stage2.c: Separated fwd_consecutive and rev_consecutive.  Made values
      consistent regardless of indexsize.

2006-11-22  twu

    * stage1.c: Fixed extensions for PMAP

2006-11-21  twu

    * indexdb.c: Reversed previous changes to try to make idxpositions file
      point to end of oligomer for reverse strand matches.

    * indexdb.c: Made idxpositions file point to end of oligomer for reverse
      strand matches.  Improved debugging output.

    * stage1.c: Added a binary search routine

    * indexdb.h, stage1.c: Made changes for PMAP to work with 6-mer pmapdb

2006-11-20  twu

    * oligoindex.c: Fixed debugging statements for PMAP

    * pair.c: Revised psl protein output for matches to the negative genome
      strand

    * backtranslation.c, backtranslation.h: Made an extern procedure for
      computing consistent codon for a given amino acid.

    * translation.c, translation.h: Made get_codon an extern procedure

    * stage3.c: Added procedure for fixing alignment holes in PMAP.  Applying
      higher standard for accepting dual intron solutions.

    * stage2.c: Fixing bugs in identifying stage 2 candidates to abort

    * gmap.c: Setting trim variables appropriately in maponly mode

    * dynprog.c: In PMAP, rounding up or down to finish codon

2006-11-17  twu

    * stage3.c: Using intron types to evaluate bad exons at ends.  Adding
      another round of extensions at ends after trimming of bad exons.  Restored
      correction for genomepos at left end skip when filling in introns.

    * dynprog.c: Assigning intron type for microexons added at ends of alignment

    * gbuffer.c, gbuffer.h: Removed unused variables

    * stage2.c: Removed unused variables.  Using correct value for
      maxconsecutive instead of last one.

2006-11-16  twu

    * stage3.c: Using uppercase string, with U-to-T conversion, to identify
      mismatches in peelback procedures.

    * backtranslation.c, translation.c: Using uppercase string, with U-to-T
      conversion, instead of toupper().

    * sequence.c: Using new complement and uppercase strings

    * pair.c: Using new name for (lowercase) complement string.  Including 'U'
      and 'u' as known bases for computing percent identity.

    * indexdb.c: Using uppercase string, which also performs U-to-T conversion,
      instead of toupper().

    * genome-write.c, genome.c: Using new name for (lowercase) complement
      string.

    * compress.c: Using uppercase string instead of toupper. 
      Compress_get_char() no longer converts characters to uppercase.

    * dynprog.c: Made U and T a matching pair.  Commented out old code dealing
      with lowercase characters.

    * complement.h: Added strings for uppercase of complement, and for U-to-T
      conversion during uppercase

    * sequence.c: Enabled removal of spaces in read procedure

2006-11-14  twu

    * dynprog.c: Reduced extension penalties for single gaps

    * stage3.c: Fixed bug in filling in gaps where leftpair has a genome gap.
      Increased size of MININTRONLEN to avoid finding introns in single gap
      regions.

2006-11-13  twu

    * stage3.h: Added parameter for number of flanking sequences to
      Stage3_print_map

    * stage3.c: In 5' and 3' extensions, evaluating continuations before and
      after a gap if one is found during peeling, and performing microexon
      search medial to the gap

    * dynprog.c: Returning null in genome gap if queryjump <= 1

    * get-genome.c: Added -u flag for printing flanking intervals

    * iit-read.c, iit-read.h: Added option to print iit entries in reverse order

    * indexdb.h: Restored previous parameters

    * pair.c: Added pointer to pair in debugging output

2006-11-12  twu

    * stage3.c: Fixed computation of bad end exons.  Included short end exons in
      definition of bad end exons.  Finding bad end exons after 5' and 3'
      extensions.  Fixed declaration of sense/antisense when no canonical or
      semicanonical introns are present.  Removing end introns during peelback
      before 5' and 3' extensions.  Removed unused code for trimming alignment
      at ends.

2006-11-06  twu

    * gmap.c: Added flags for printing flanking IIT hits and for trimming end
      exons

    * stage3.c: Fixed bug in trimming empty alignment

    * smooth.c: Fixed bug in handling lower-case query sequences

2006-11-02  twu

    * translation.c: Fixed bug in strict translation

    * iit-read.h: Added procedures for finding flanking hits.

    * iit-read.c: Made IIT_get more efficient.  Added procedures for finding
      flanking hits.

    * iit_get.c: Added -u flag for printing flanking hits

2006-11-01  twu

    * stage3.c, stage3.h: Allowing trimming of bad exons at ends.  Increased
      peelback at ends. Added iterative cycles of intron finding within
      smoothing and dual intron cycles.

    * smooth.c: Relaxing requirements for short exons at ends, because of later
      trimming of poor exons at ends

    * pair.c: Adding printing of intron type for debugging

    * gmap.c: Stopping deletion of global_except_key, because worker threads may
      still need it.  Increasing standards for defining a sequence to be
      repetitive.  Eliminating -U flag for trimming alignments, and adding -k
      flag for specifying trimming of exons at ends.

    * except.c: Stopping deletion of global_except_key, because worker threads
      may still need it

    * blackboard.c: Letting each thread destroy its own reqpost

2006-10-31  twu

    * gmap.c: Added -Y flag for performing strict translation of cDNA sequence.
      Removed worker_assignments variable, and using global blackboard variable
      instead to handle exceptions.

    * stage3.c, stage3.h, translation.c, translation.h: Added strictp flag for
      protein translation

    * oligoindex.c: Dropped oligospace requirements for PMAP by reducing amino
      acid alphabet in stage 2 from 20 to 16.

    * gmapindex.c, indexdb.c, pmapindex.c: Fixed memory allocation for filename

    * except.c: Fixed location of compiler directive

    * blackboard.c: Put mutex locks outside of updates to input counter and
      output counter.  This is to be cautious, since only input thread and
      output thread, respectively, should be affecting these counters.

2006-10-24  twu

    * stage3.c: Fixed undefine_nucleotides to handle gapholders

    * oligoindex.c: Using calloc instead of malloc for initializing oligoindex
      space

    * gmap.c: Reduced indexsizes in PMAP, so they won't overflow in some
      machines

    * backtranslation.c: Fixed usage of translation_start and translation_end

2006-10-20  twu

    * gmap.c: Printing messages to stderr when no paths are found, in all cases
      where sequence headers are not printed.

    * translation.c: Fixed coordinates for translation start and end

    * stage3.c: Fixed bug with NULL path passed to undefine_nucleotides

    * pair.c: Changed gff3 procedures to treat translation start and end values
      as query positions, not alignment indices.

2006-10-16  twu

    * stage3.c: Making sure that gaps are inserted after smoothing procedure
      deletes exons

    * stage2.c: Clarified differences between amino acid indexsize and
      nucleotide indexsize.  Cleaned up code for filling in oligomers.

    * smooth.c: Reduced definition of a gap between exons

    * oligop.c: Included possibility of 12-amino acid alphabet for 8-mers.

    * indexdb.h: Included possibility of 12-amino acid alphabet for 8-mers. 
      Provided compile-time values for file suffixes.

    * indexdb.c: Included possibility of 12-amino acid alphabet for 8-mers

    * pmapindex.c: Performing complete build with a single command

    * gmapindex.c: Using compiler-time value for suffix

    * gmap.c: Printing value of INDEX1PART in help output for PMAP

2006-10-13  twu

    * oligoindex.c: Added debugging statements

    * translation.c: Fixed bug with translating cDNA beyond the genomic stop

    * stage3.c: Reorganized passes through the alignment.  Made peelback
      routines more robust.

    * smooth.h: Using stage 2 indexsize in smoothing procedures

    * smooth.c: Major rewrite of smoothing procedures

    * dynprog.c: Added another mechanism to prevent microexon from having a gap
      at either end

2006-10-12  twu

    * gmap.c: Allowing "-t 0" to mean non-threaded behavior.  Using new
      thread-safe exception handler.

    * dynprog.c, dynprog.h: Fixed traceback for cDNA gaps

    * except.c, except.h: Re-implemented thread-safe exception handler to remove
      memory leaks. Now using exception frames in stack rather than in heap.

    * stage3.c: Fixed peelback to codon boundaries for PMAP.  Relaxed forcep
      requirement for single gaps.  Recognizing cases where prior genome or cDNA
      gap solution was obtained.

    * stage3.h: Removed ngap from parameter lists when possible

    * stage1.c: Initialized a diagnostic variable

    * pair.c, pair.h: Removed unused code and variables

2006-10-11  twu

    * except.c, except.h: Implemented thread-safe version of exception handler

    * gmap.c: Added -j flag to control printing of dual breaks

    * except.c, except.h: Reformatted exception handling code.  Using pointers
      to frames.

    * stage3.c, stage3.h: Rewrote peelback routines.  More accurate handling of
      coordinates and checking of coordinates and gaps.

    * dynprog.c: Advancing query and genome coordinates in cases of skips

    * smooth.c: Revised trimming at ends to use individual exons, rather than
      the sum of exon and intron lengths

    * pairpool.c: Showing pointer to pair in debugging statements

    * pair.c: Showing queryjump and genomejump in debugging statements

    * gmap.c: Added -0 flag to inactivate exception handler, and -7 and -8 flags
      to show results of stage 2 and smoothing, respectively.

    * except.c, except.h: Added mechanism to inactivate exception handler

2006-10-09  twu

    * access.c: Fixed compiler warning about reference to void *.

    * block.c, chimera.c, oligo.c, sequence.c, stage1.c: Removed unused
      variables

    * compress.c, dynprog.c, genome-write.c, intron.c: Added necessary header
      file

    * genome.c: Fixed compiler warning about mismatched variable types.

    * gmap.c: Added flag for pruning level.  Inactivated conversion of signals
      to exceptions with diagnostic flag.  Removed references to badoligos.

    * indexdb.c: Added necessary header file.  Fixed compiler warning about
      mismatched variable types.

    * matchpool.h: Added declarations of external functions

    * oligoindex.c, oligoindex.h: Computing estimate of maxconsecutive when
      mappings are obtained

    * pair.c, pair.h: Added diagnostic information about stage 2 maxconsecutive.

    * result.c, result.h: Added diagnostic information about initial query check

    * smooth.c: Handling possible gaps at ends of alignment

    * stage2.c: Using maxconsecutive estimate from Oligoindex_get_mappings to
      determine whether to proceed with stage 2.

    * stage3.c: Added diagnostic information about stage 2 maxconsecutive. 
      Fixed procedure for removing adjacent dynamic programming to remove all
      gaps, and then to reinsert them later.

2006-10-06  twu

    * oligoindex.c, oligoindex.h: Added counting of replicate oligos

    * md_coords.pl.in: Added information about number of contigs in each strain

    * configure.ac: Removed obsolete tests.  Fixed problem in setting share
      directory. Added maintainer option.

    * gmap.c: Distinguishing between poor and repetitive sequences.  Providing
      -p flag to control pruning behavior.

    * result.h: Distinguishing between poor and repetitive sequences

    * sequence.c: Set skiplength correctly on empty sequences

    * gmap.c: Added -W flag to force GMAP to compute repetitive or poor
      sequences

    * oligoindex.c: Limited definition of badoligo to consider only non-ACGT
      characters, and not to consider number of hits.

    * stage3.c: Fixed bug arising from gaps left at ends of alignment

    * dynprog.c: Disallowing bridges of introns and cDNA insertions that lead to
      coordinate errors

    * gmap.c: Changed thread-based exception handling to kill all other threads
      and to report all worker assignments

    * stage3.h: Made checking of coordinates occur in diagnostic mode.

    * stage3.c: Made checking of coordinates occur in diagnostic mode.  Fixed
      case where cDNA gap turned into a single gap after peelback.

    * stage1.c: Fixed memory leak

    * smooth.c: Fixed bug resulting from apparent negative exon and negative
      intron lengths.

    * oligoindex.c: Restored pruning of sequences with bad oligos.

    * gmap.c: Added handlers to convert signals into exceptions, to indicate the
      problematic sequence.  Restored pruning of sequences with bad oligos.

2006-10-05  twu

    * result.c, stage1.c, stage1.h: Added reporting of more diagnostic
      information

    * stage2.c: Fixed problems with uninitialized variable

    * matchpair.c: Fixed problem with uninitialized variable

2006-10-04  twu

    * gmap.c, pair.c, pair.h, result.c, result.h: Printing diagnostic
      information upon request

    * access.c: Using a Stopwatch_T object

    * stage1.c, stage1.h, stage2.c, stage2.h, stage3.c, stage3.h: Storing
      diagnostic information

    * smooth.c: Fixed memory leak

    * oligoindex.c: Stopped initializing data buffer for Oligoindex_T object

    * stopwatch.c, stopwatch.h: Created a Stopwatch_T object

    * stage3.c: Removed unnecessary list reversal

    * pair.c: Allowing jump in querypos in pair check procedure

2006-10-03  twu

    * gmap.c: Provide stage 2 information in diagnostic output.  Use stage 2
      information to prune bad alignments before stage 3.

    * stage3.c: Provide stage 2 information in diagnostic output.  Allow a
      single open in scoring a single intron compared with dual introns.

    * stage2.h: Interface provides number of canonical and non-canonical introns

    * stage2.c: Returned to using gendistance for computing penalties, except
      for diffdistance in deadp.  Fixed bug in tallying unknown types of
      introns.

    * sequence.c: Fixed problems with reading control-M characters (PC line
      feed) in input.

    * pair.h: Reporting stage 2 information in diagnostic output.

    * pair.c: Reporting stage 2 information in diagnostic output.  Counting
      indels in computing percent identity for each exon.

    * dynprog.c: Eliminated extra reward for finding semicanonical introns in
      final pass

2006-10-02  twu

    * stage2.c: Need to take abs() when measuring diffdistance.  Scoring
      behavior checked against revision 1.157.  Making stage2 information
      available for diagnostic output.

2006-10-01  twu

    * gmap.c: Added -8 flag to show results of stage 2 calculation

    * boyer-moore.c: Revised procedure to handle ambiguous characters for PMAP.

    * dynprog.h: Added dynprogindex information.

    * dynprog.c: Added table for performing Boyer-Moore searches of microexons
      for PMAP.  Reduced penalties for extending gaps.  Added separate rewards
      for final pass of finding canonical introns.  Added dynprogindex
      information.

    * smooth.c: Systematically checking ends for smoothing.  Using matches
      instead of lengths to evaluate exons.  Added probabilistic checking for
      marking middle exons.

    * stage3.h: Passing stage2p as a parameter to Stage3_compute.

    * stage3.c: Major changes to algorithm.  Added iteration through smoothing,
      dual intron, and single intron passes.  Checking peel back to determine if
      canonical intron needs to be recomputed.  Added final pass to find introns
      with higher reward.  Added dynprogindex information.  Using dynprogindex
      information in peeling leftward and rightward.

    * stage1.c: New criterion for setting usep to false, namely, if support is
      less than a certain fraction of the maximum observed support.

    * pair.h: Pair_check_array now returns a bool.

    * pair.c: Handling more cases of short gaps as indels.  Printing
      dynprogindex in diagnostic and debugging output.

    * stage2.c: Reverted to algorithm from revision 1.157.  Using diffdistance
      instead of gendistance.  Making sufflookback depend on mapfraction.

2006-09-29  twu

    * stage2.c: Changes made to scoring algorithm, but not well-motivated. 
      Fixed bugs in predicting cDNA direction.

2006-09-19  twu

    * stage3.c: Fixed bug when recomputing over adjacent dynamic programming
      regions at end of sequence

    * stage2.c: Revised rules for giving credit for query distance, giving none
      if difference in distance is greater than min intron length.

    * stage1.c: Doubling genomic region with each iteration, until sufficient
      support found for a matchpair.

    * matchpair.c, matchpair.h: Computing and storing fraction of stage 1
      support

    * gbuffer.c, gbuffer.h, gmap.c: Allowed Genome_T object to exceed default
      length of genomic segment

    * dynprog.c: Reduced penalties for gap extension, to match reductions in
      mismatch penalties

    * Makefile.am: Provided target machine during compilation

2006-09-11  twu

    * gmap.c: Included build target in version output.  Increased oligomer size
      in PMAP from 3-4 to 4-5.

2006-09-08  twu

    * stage2.c: Added oligos to output of debugging statements

    * configure.ac: Using AC_FUNC_FSEEKO to check for fseeko.  Added comment
      line for $Id$.

    * stage2.c: Added debugging statements for finding shifted canonical introns

    * stage1.c: Increased trimlength and extension past ends for PMAP

    * gmap.c: Increased maxextension to 120000

2006-09-01  twu

    * translation.c: Making sure to assign values to variables when number of
      alignment pairs is fewer than the minimum

    * pair.c: Fixed bug in printing CDS of GFF3 format

    * stage3.c: For PMAP, trimming ends of alignment to codon boundaries

    * translation.c: Removed check for minimum number of pairs for PMAP

    * dynprog.c: Changed calls to Pairpool_push.  Added dynprogindex
      information. Reduced penalty for mismatches.

    * dynprog.h: Changed calls to Pairpool_push.  Added dynprogindex
      information.

    * stage3.c: Fixed bug where peeling back yielded wrong coordinates.  Changed
      calls to Pairpool_push.  Added dynprogindex information.  Recomputing
      regions with adjacent dynamic programming solutions.

    * matchpair.c, stage2.c: Changed calls to Pairpool_push

    * smooth.c: Added debugging statements for exon and intron lengths

    * sequence.c: Fixed bug where return type should be int, not bool.

    * pairpool.c, pairpool.h: Distinguished between gapholder and gapalign
      elements.  Added dynprogindex to Pairpool_push.

    * pair.c: Added debugging option for printing dynprogindex

    * pairdef.h: Added dynprogindex to struct.  Reordered fields.

    * bool.h: Defining bool to be an unsigned char instead of an enumerated type

2006-08-03  twu

    * fa_coords.pl.in: Added pattern Chr_ seen in some TIGR genomes.  Changed
      variable name from chronlyp to concatenatedp.

    * oligoindex.c: Added check for query lengths shorter than index size

    * get-genome.c, iit_get.c: Allowed program to take coordinate requests from
      stdin

    * iit-read.c, iit-read.h, iit_dump.c: Added option to dump counts of each
      segment

    * gmap.c: Printing calling arguments in gff mode

2006-06-12  twu

    * gmap_compress.pl.in, gmap_uncompress.pl.in, pair.c: Using bp to denote
      query length, instead of nt

    * stage3.c: Turned off gap checking

    * gmap_compress.pl.in: Putting cDNA length into the Coverage field

    * gmap_uncompress.pl.in: Getting cDNA length from the Coverage field

2006-05-31  twu

    * params.c, params.h: Adding maxoligohits as a parameter

    * oligoindex.c, oligoindex.h: Using maxoligohits parameter, and reducing it
      for cross-species alignment (to avoid random and misleading matches)

    * stage2.h: Using maxoligohits parameter

    * stage2.c: For cross-species alignment, increasing enough_consecutive
      parameter and not opportunistically increasingly sampling interval

    * stage1.h: Reduced SINGLEINTRONLENGTH to 100000

    * stage1.c: Using maxextension parameter instead of SINGLEINTRONLENGTH
      directly

    * gmap.c: Limited crossspecies parameters to maxextension and maxoligohits.

2006-05-25  twu

    * stage2.c: Introduced detection of semicanonical introns and penalty for
      these. Removed distpenalty_dead, and introduced distpenalty_noncanonical;
      motivated by ENST0356720.  Decreased distpenalty; motivated by
      ENST0356222.  Introduced procedure for querydist_credit, bounded below by
      zero.  Decreated querydist points when gendistance equals querydistance;
      motivated by ENST0354988.

    * gmap.c: Using single intron length as basis for maxextension

    * stage3.c: Made initial pass of build_pairs_singles work only when
      genomejump equals queryjump; motivated by ENST0341339.  Made acceptable
      mismatches for dual introns depend again on defect rate.

    * smooth.c: Removed deletion of longest middle exon in a series of short
      exons. Motivated by ENST0348697.

    * stage1.c, stage1.h: Using single intron length to extend genomic segment
      at ends. Motivated by ENST0358972.

    * oligoindex.c: Increased thetadiff for trimming repetitive oligos from 2 to
      20. Motivated by ENST0357282.

    * gbuffer.c, gbuffer.h: Added data structures for storing positions of
      semicanonical dinucleotides

    * dynprog.c, dynprog.h: Made microexon p-value threshold depend on the
      defect rate.  Increased genomejump needed for single gap penalties to
      apply.  Motivated by ENST0262608.

2006-05-23  twu

    * stage2.c: Moved preprocessor directive outside of macro (needed for gcc3
      compiler).

    * gmap.c, stage3.c, stage3.h: Changed variable name from extend_mismatch_p
      to trimalignmentp

    * changepoint.c: Changed criterion from a differences in theta to a ratio

2006-05-19  twu

    * stage3.c: Removed trimming of alignments in PMAP

    * stage1.c: Changed some parameters to increase sensitivity

    * chrsubset.c, chrsubset.h: Added function Chrsubset_make

    * translation.c: Fixed assignment of amino acids to genomic sequence in PMAP

    * stage3.h: Minor formatting change

    * stage3.c: Printing trimmed query coordinates in path summary.  Pruning
      stage 3 result of coverage is less than MINCOVERAGE.

    * sequence.h: Added appropriate MAXSEQLEN for PMAP

    * reader.c, reader.h: Allowing reading in each direction to proceed to the
      ends of the query sequence

    * pairpool.c: Setting initial value for aa_g and aa_e

    * pair.c, pair.h: Printing trimmed query coordinates in path summary

    * oligoindex.c: Reinstated trimming of query sequence based on changepoint
      analysis

    * mem.c: Fixed compiler warning about pointer arithmetic on void *.

    * matchpair.c: Added comments

    * gmap.c: Performing trimming of query sequence in more cases.  Changed name
      of "mutation reference" to "reference sequence".

    * dynprog.c: Removed step function penalty based on codons.  Reduced
      extension penalty to obtain better behavior.

    * stage2.c: Changed position for starting to compute mismatch gaps.  Added
      trimming at ends for PMAP.

    * stage1.c: Improved calculation of genome segment length, based on expected
      exon and intron sizes.  In sampling mode, continuing sampling at current
      position of block pointers.

    * block.c, block.h: Added procedures for saving and restoring blocks

2006-05-16  twu

    * Makefile.am, gbuffer.c, gbuffer.h, gmap.c, matchpair.c, matchpair.h,
      pair.c, pair.h, stage2.c, stage2.h, stage3.c, stage3.h: Created Gbuffer_T
      object to use as workspace for various calculations

2006-05-15  twu

    * translation.c: Fixed uninitialized variable

    * dynprog.c, pair.c: Made cDNA gaps into type SHORTGAP_COMP instead of
      INDEL_COMP, so they get treated properly by the changepoint analysis

    * stage3.c: Fixed memory leak

    * changepoint.c: Changed changepoint parameters slightly

2006-05-14  twu

    * stage3.c: Added checks to make sure both qgenome lengths are adequately
      long in dual intron gaps

    * dynprog.c: Increased penalties for mismatches

    * gmap.c: Changed 'U' flag to mean no trimming of poor alignments at ends

    * gmap.c: Changed interfaces to some Stage3_T functions

    * pair.c, pair.h: Added query length to Coverage line

    * stage1.c: Fixed bug where maxtrial wasn't set

    * stage2.c: Removed final assignment of dinucleotide positions

    * stage3.h: Changed some interfaces to Pair_T functions

    * stage3.c: Added some shortcuts for changepoint analysis.  Changed some
      interfaces to Pair_T functions.

2006-05-13  twu

    * gmap.c: Provided initial values to some variables

    * oligoindex.c: Reduced MAXHITS parameter from 200 to 20

    * stage1.c: Limiting trials for same-species alignment.  Limiting salvage
      algorithm to short sequences and cross-species alignment.

    * stage2.c: Implemented faster method for finding shifted canonical introns

    * stage2.c: Saving mappings for each indexsize, and going back to best one.
      Introduced idea of sufficient and minimum map fraction, and aborting if
      minimum map fraction not satisfied.

2006-05-12  twu

    * gmap.c, stage3.c, stage3.h: Added option to print output in IIT FASTA map
      format

    * pair.c, pair.h: Removed parameter from Pair_print_iit_map

    * pair.c, pair.h: Removed old code.  Added a procedure for printing an IIT
      map.

    * sequence.c: Removed printing of '>' from Sequence_print_header

    * iit-read.c: Fixed bug in printing results from map iit

    * stage2.c: Added debugging statements

2006-05-11  twu

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Included filename of
      user-provided genomic seg as source in gff3 output

    * iit_dump.c: Included header for getopt_long

    * README: Added more information about IIT utilities

    * iit-read.c, iit-read.h: Added annotation-only option to IIT_dump

    * get-genome.c: Changed program description statement slightly

    * Makefile.am, iit_dump.c, iit_get.c, iit_store.c: Added long options and
      documentation for the IIT utilities

    * iit_store.c: Added support for quotation marks in gff3 features

    * chrnum.c, chrnum.h, chrsubset.c: Using new Chrnum_to_string interface

    * gmap.c, stage3.c, stage3.h: Added cDNA_match option for gff3 output

    * pair.c, pair.h: Added cDNA_match option for gff3 output, including Gap
      attribute. Using new Chrnum_to_string interface.

    * gmap.c, params.c, params.h, stage3.c, stage3.h: Added procedures for
      allowing chromosome-tagged IIT map files, in addition to strand-tagged IIT
      map files.

    * iit-read.c, iit-read.h: Added functions for retrieving multiple types and
      for getting label when access mode is fileio.

    * iit_get.c: Allowing user to specify multiple types

    * iit_store.c: Modified gff3 parsing to assign only one tag for each row. 
      Using feature column as a source for labels.

    * pair.c, pair.h: Added routines for output in GFF3 format

    * Makefile.am: Added trimming of alignment based on changepoint analysis

    * stage2.c: Fixed bug in scanning for reverse canonical intron

    * backtranslation.c, pairdef.h, pairpool.c, translation.c: Introduced phase

    * gmap.c: Added flags for gff3 output

    * stage3.c, stage3.h: Added procedure for trimming pairs.  Added gap when
      bounds don't make sense for dual intron gaps.  Introduced gff3 format and
      phase.

    * changepoint.c, changepoint.h: Initial import into CVS

2006-05-10  twu

    * stage2.c: Added debugging statements for the result of stage 2 prior to
      trimming

    * pair.c, pair.h: Added a function for computing matchscores from an
      alignment

    * dynprog.c: Changed various gap penalties, especially at ends of sequence

    * iit_get.c: Changed atol() to strtoul(), because atol() was truncating
      numbers above 2^31 in machines with long ints of 4 bytes.

2006-05-08  twu

    * stage2.c: Changed condition for re-computing dead links from an "or" to an
      "and" on both directions.  Added trimming of ends, based on consecutive
      matches.

2006-05-07  twu

    * stage2.c: Cleaned up procedure for finding introns in PMAP, which can be
      shifted.  Cleaned up counts of canonical and total introns.

    * stage3.c: Fixed problems with shortcut for existing introns and with
      coordinates for dual genome pairs

    * oligoindex.c: Added debugging statement

    * stage2.c: Reworking of stage 2 scoring to make it more robust for
      low-identity sequences.  Includes identification of possible canonical
      sites by shifting boundaries.

2006-05-06  twu

    * stage3.c, stage3.h: Using dynamic programming paths computed for dual
      intron gaps

    * gmap.c, stage2.c, stage2.h: Computing indexsize adaptively

    * smooth.c, smooth.h: Removed indexsize from smoothing procedures

    * params.c, params.h: Added minindexsize and maxindexsize to params

    * oligoindex.c, oligoindex.h: Changed PMAP indexsize to be in aa. 
      Calculating mapfraction.

    * pair.c: Keeping ambiguous character and comp in PMAP alignments

    * intron.c, intron.h: Added function to return string for printing intron
      type

    * gmap.c, oligoindex.c, oligoindex.h: Put indexsize parameters inside of
      Oligoindex_T object

2006-05-05  twu

    * md_coords.pl.in: Improved handling of alternate strains

2006-05-04  twu

    * iit_store.c: Implemented parsing of gff format

    * gmap.c: Incremented stuttercycles for PMAP

    * indexdb.c: In monitoring commands, printing positions with commas

    * matchpair.c, matchpair.h, stage1.c: Using maxintronlen instead of querylen
      as criterion for removing hits before clustering

    * stage2.c: Checking two possible query positions for intron in PMAP

    * dynprog.c, dynprog.h: Removed obsolete parameters for computing genome
      gaps

    * stage3.c: Fixed boundaries for check of dual introns

    * fa_coords.pl.in: Improved monitoring messages to indicate when coordinates
      are parsed and when they are concatenated.

    * md_coords.pl.in: Fixed bug in handling alternate strains

2006-05-03  twu

    * md5-compute.c, oligo-count.c: Using new version of Sequence_read

2006-05-02  twu

    * stage2.c: Removed statement that does not apply to PMAP

    * matchpair.c: Fixed computation of support for PMAP.  Added debugging
      statements

    * match.c: Fixed genomic segment retrieved for debugging

    * iit-read.c: Minor editing changes

    * datadir.c: Improved error message when genome directory isn't found

    * compress.c: Removing spaces from reading of uncompressed sequence

    * stage1.c: Increased matchpairs allowed.  Fixed position adjustment for
      reverse strand matches on PMAP.

    * indexdb.c: Shifted positions for .prxpositions down by one.

2006-04-21  twu

    * gmap_setup.pl.in: Fixed bugs in printing of instructions

    * fa_coords.pl.in: Augmented patterns allowed for specifying chromosomal
      location of contigs

    * Makefile.am, chrsubset.c, chrsubset.h, get-genome.c: Added ability to
      print all chromosomal subsets from get-genome

    * datadir.c: Improved error message

    * README: Added information about the -q flag.  Added additional forms for
      specifying chromosomal location of contigs.

2006-04-18  twu

    * gmap_setup.pl.in: Added the -q and -Q flags for specifying indexing
      intervals

2006-04-07  twu

    * gmap_setup.pl.in: Fixed bugs with new install statements

    * gmap_setup.pl.in: Added comment about editing .chrsubset file.  Creating
      genome.maps directory.

    * stage3.c: Turned off CHECK

    * README: Added comment about editing .chrsubset file

    * gmap_compress.pl.in: Changed program to handle intron lengths in exon
      summary

    * stage2.c, stage2.h: Introduced limit on individual intron lengths

    * stage1.c, stage1.h: Changed variable name from maxintronlen to maxtotallen

    * gmap.c: Added separate flag for limiting individual intron lengths

    * pair.c: Added intronlengths to exon summary

2006-04-06  twu

    * sequence.h: Increased maximum sequence length to be 1000000.

2006-04-04  twu

    * stage3.c: Building singles if a short exon is deleted during smoothing

    * smooth.c: Improved debugging statements

2006-03-24  twu

    * gmap_setup.pl.in: Printing a copy of the install procedure to a file

2006-03-21  twu

    * match.c: Match_npairings returns an int

    * md_coords.pl.in: Passing back maxwidth as a result.

    * gmap.c: Made changes for compatibility with PMAP.

    * stage3.c, stage3.h: Giving maxpeelback information to dynamic programming
      routine, so it can use single gap penalties for long intron gaps.  Made
      changes for compatibility with PMAP.

    * smooth.c, smooth.h: Changed smoothing routine to be based on net intron
      lengths. Sequences of small exons are removed if they yield a net intron
      length of approximately zero.

    * dynprog.c, dynprog.h: Disallowing intron or cDNA gaps to be placed at the
      edge of the segment, which caused an error to occur in the check_gaps
      routine. Using single gap penalties for long intron gaps.

2006-03-17  twu

    * sequence.c: Added handler for cases where requested subsequence start and
      end are beyond the bounds of the sequence

    * gmap.c, stage1.c, stage1.h: Added concept of maxtrial, to be used for
      chimera (subsequence) problems

    * stage3.c: Added an exception handle for errors in checking gaps

    * dynprog.c: Disallowed intron or cDNA gaps to be inserted at ends of the
      subsequence, which results in an unexpected gap.

2006-03-06  twu

    * gmap.c: Providing maponlyp information to Sequence_read, to turn
      skiplength warning message on or off.

    * sequence.h: Set MAXSEQLEN to be 200000

    * pair.c, stage3.c: Revision of procedures to handle sequences with
      skiplength

    * stage1.c: Expanded maxintronlen to include skiplength

    * sequence.c, sequence.h: Addition of skiplength.  Rewriting of code for
      reading sequences to handle skipping of middle correctly.

2006-03-05  twu

    * gmap.c: Reworking of maponlyp case to generate a Stage3_T object

    * stage3.c, stage3.h: Implementedq Stage3_direct function for maponlyp case.
       Cleaned up merge function for combining two Stage3_T objects.

    * stage1.c, stage1.h: Cleaned up various procedures in stage 1 computation. 
      Simplified function identify_matches.  Eliminating extensions for maponlyp
      case.

    * matchpair.c, matchpair.h: Added function for making a path from a
      matchpair object

    * matchpool.c: Simplified code for handling positions on reverse genomic
      strands.

    * match.c, match.h: Added function for printing the oligomer for a match. 
      Simplified code for handling positions on reverse genomic strands.

    * oligoindex.c: Turned off code for changepoint analysis for trimming ends

    * pair.c, pair.h: Modified printing of path summary for maponlyp

    * result.c, result.h: Removed Stage1_T objects from Result_T

    * genome.c: Added debugging statements

2006-03-04  twu

    * block.c, oligo.c, oligo.h: Fixed problem where oligomers read from left
      side need to be shifted down to low 12-mer.  This corrects problem with
      match coordinates being off by 4.

2006-03-02  twu

    * gmap.c: Revised code for computing chimeras

    * chimera.c, chimera.h: Made Chimera_T object created only when completely
      specified

    * stage3.c: Added a step to allow for subseq_offset, if present

    * sequence.c, sequence.h: Added subseq_offset to Sequence_T

    * dynprog.c, dynprog.h: Restored one gap behavior on ends.  Using
      cdna_direction information on single gaps.

    * stage3.c: Forcing single gaps to be solved.  Adding cdna_direction
      information for single gaps.  Fixed problem with short indels being
      inserted backward.

    * oligoindex.c, oligoindex.h: Implemented new scheme for detecting
      repetitive sequence on ends, based on changepoint analysis

    * smooth.c: Fixed memory leak.

    * translation.c: Added check so we won't go beyond ends.  Assigned variables
      when npairs is too few.

2006-02-27  twu

    * stage3.c, stage3.h: Minor bug fixes

2006-02-26  twu

    * match.c, match.h, matchdef.h, matchpool.c, stage1.c: Keeping track of
      number of pairings for each match, and placing a limit on the number of
      matchpairs generated for each match with a "promiscuous" variable

2006-02-25  twu

    * stage2.c: Made behavior similar for sequence and reverse complement,
      including bug fix and using diffdistance rather than querydistance

2006-02-24  twu

    * pairpool.c, pairpool.h: Added procedure for counting result of bounding
      operation

    * pair.c, pair.h: Counting amino acids directly for protein PSL output. 
      Fixed problem in coordinates output where chrstring was NULL.

    * dynprog.c: Increased penalty for gaps in single alignments and made them
      uniform across sequence quality

    * smooth.c, smooth.h: Rewrite of code to use arrays instead of lists. 
      Reduced definition of short exon.  Now deleting consecutive strings of
      short exons.

    * translation.c: Noting large insertions and deletions of amino acids, even
      if not a multiple of 3

2006-02-23  twu

    * chimera.c, chimera.h, gmap.c, stage3def.h: Moved various functions back to
      stage3.c

    * stage3.c, stage3.h: Performing substitution of gaps only for final cDNA
      direction

    * oligoindex.c, oligoindex.h: Turned off trimming of sequence for reference
      sequences and for protein sequences

    * intron.c, intron.h: Using cdna_direction information in assigning
      Intron_type

    * dynprog.c, pairpool.c, pairpool.h, stage2.c: Passing in gapp as a
      parameter to Pairpool_push

    * translation.c: Fixed bug with marking backwards cDNAs relative to
      reference sequence

    * translation.c: Fixed minor bugs in new implementation

    * Makefile.am: Rewrite of code for determining mutations and for printing
      the results.  Removed mutation.c and mutation.h.

    * mutation.c, mutation.h, pair.c, pair.h, translation.c: Rewrite of code for
      determining mutations and for printing the results

2006-02-21  twu

    * stage3.c: Moved some chimera functions from stage3.c to chimera.c.  Set
      acceptable_mismatches for microexons to be 2.

    * Makefile.am, chimera.c, chimera.h, stage3.h, stage3def.h: Moved some
      chimera functions from stage3.c to chimera.c

    * dynprog.c: Increased probability standard for finding microexons

2006-02-20  twu

    * translation.c: Fixed bug where cDNA translation was incomplete

    * stage3.c: Fixed bug in substitution for gaps when ngap is not 3

    * stage3.c, stage3.h: Complete rewrite of stage 3 to use gap pairs

    * translation.c: Increased parameter for ignoring amino acid mismatches at
      ends of query sequence

    * smooth.c, smooth.h: Made changes to handle new gap pairs

    * pair.c: No longer assigning coordinates for query sequence and genomic
      segment within gaps

    * matchpair.c, matchpair.h: Limiting 12-mer hits that are considered in
      clustering method to those that have a neighboring hit within the query
      length

    * dynprog.c, dynprog.h: Inserting a single gap pair for introns and cDNA
      insertions instead of filling in nucleotides

    * stage1.c: Reduced extension of genomic segment when cluster mode is
      required

    * gmap.c: Put output to stderr when path not found in compressed output

    * intron.c, intron.h: Moved Intron_type function here

    * pairpool.c, pairpool.h: Added explicit functios for handling gap pairs

    * pairdef.h: Added fields for queryjump and genomejump, to be used for gaps

2006-02-08  twu

    * translation.c: Set minimum number of pairs required for a translation

2006-02-07  twu

    * gmap.c: Now checking for existence of -g or -d flag before proceeding

    * stage3.c: Fixed problem when solving an intron and unable to peel back
      anything.

2006-02-06  twu

    * dynprog.c: Fixed problem with extending 5' and 3' ends with assumption of
      no gap.  Added extra efficiency based on this assumption.

2006-01-19  twu

    * README: Enhanced usage statement for gmap_setup

    * gmap_setup.pl.in: Cleaned up flags.  Added messages after each make
      procedure.  Enhanced usage statement.

    * gmap_process.pl.in: Removed code for a separate strain file

    * gmap_process.pl.in: Added provision for a separate strain file, but
      commented out code

    * md_coords.pl.in: Fixed problem when MD file has fewer than 6 lines.  Put
      output into an array for printing out in one batch.  Improved handling of
      strains.

    * fa_coords.pl.in: Put output into an array for printing out in one batch.

    * Makefile.am, pmap_setup.pl.in: Removed pmap_setup program

    * stage3.c: Added procedure to fix short gaps

    * gmapindex.c: Added ability to read reference strain from coords file

    * gmap.c: Added provision for different stage 2 index size for PMAP

2006-01-18  twu

    * pair.c: Fixed problem with protein PSL coordinates

2005-12-15  twu

    * backtranslation.c, backtranslation.h: Fixed problems in backtranslation
      when genomic segment has lower case characters

    * gmap.c, stage3.c, stage3.h: Preserved diagnostic info in PMAP through
      backtranslation

    * pair.c: Changed printing of cDNA on ambiguous comps to be lower case if
      appropriate

    * dynprog.c: Changed ends from 1 gap to no gaps.  Changed open/extend
      penalties at ends (which may be irrelevant now).

    * matchpool.c, stage1.c: Fixed problems with genomic position in reverse
      complement matches in PMAP.

    * translation.c: Fixed problems with ends of cDNA and genomic translation
      for PMAP. Set margin to zero for computing amino acid changes.

    * iit-read.c: Commented out abort

2005-12-14  twu

    * sequence.c: Fixed uninitialized heap

2005-12-13  twu

    * gmap.c, stage2.c, stage2.h: Added pruning before stage 2 based on number
      of potentially consecutive hits and short paths

    * oligoindex.c, oligoindex.h: Added computation of potentially consecutive
      hits in the query

    * stage1.c: Added filtering of matchlist based on support

    * matchpair.c, matchpair.h: Added storage of support and usep in Matchpair_T
      object

2005-12-09  twu

    * gmap.c, stage2.c: Removed code for finding PMAP unaligned access error

    * gmap.c, stage2.c: Added code for finding PMAP unaligned access error

    * backtranslation.c, oligoindex.c: Removed code for checking assertions

    * backtranslation.c, oligoindex.c: Added code for checking assertions

2005-12-08  twu

    * pair.c: Streamlined determination of amino acid coordinates in alignment
      output

    * indexdb.c: Fixed bug in handling offsets in alternative strains in PMAP

    * dynprog.c: Reformulated assignment of pointers in two-dimensional array

2005-12-06  twu

    * translation.c: Formatting change

    * stage1.c: Turned on use of matchpool.  Fixed problem where list was not
      reset to NULL.

    * pair.c: Changed dir:unknown to dir:indet

    * oligoindex.c: Fixed uninitialized variable in GMAP

    * matchpool.c: Improved debugging statements

    * matchpair.c: Increased standard for stage 1 support

    * oligoindex.c: Made code compatible with both GMAP and PMAP

    * backtranslation.c, dynprog.c: Reduced memory allocation for
      two-dimensional array into a one-dimensional array

    * matchpool.c, pairpool.c: Removed initial creation of chunks

    * oligoindex.c: Fixed bug in PMAP where stop codon in the genomic sequence
      created a value that exceeded oligospace

    * pair.c, pair.h: Added a way for the thread worker id to be printed with
      the result. Removed ambiguous comp characters from gmap.

    * gmap.c, reqpost.c, reqpost.h, result.c, result.h, stage3.c, stage3.h:
      Added a way for the thread worker id to be printed with the result

    * matchpool.c: Added commands for saving and restoring pointers, so memory
      can be re-used

    * match.c, match.h, stage1.c: Added compiler conditions for using matchpool
      method.

    * genome.c: Fixed messages to user

    * chrsubset.c: Changed format of output

    * translation.c: Fixed bug in translating backward cDNAs.  Extended
      translation all the way to the end.

2005-12-04  twu

    * Makefile.am, gmap.c, matchpair.c, matchpair.h, matchpairdef.h,
      matchpairpool.c, matchpairpool.h, stage1.c, stage1.h: Removed special
      memory allocation routines for matchpairs

    * Makefile.am, gmap.c, match.c, match.h, matchpair.c, matchpair.h,
      matchpairdef.h, matchpairpool.c, matchpairpool.h, matchpool.c,
      matchpool.h, stage1.c, stage1.h: Added special memory allocation routines
      for matches and matchpairs

    * iit-read.c: Added an exception handler

    * pair.c: Commented out unused procedure

    * genome.c: Added include of except.h

2005-12-02  twu

    * gmap.c: Fixed memory leak

    * translation.c: Added separate routine for printing list of mutations. 
      Fixed problem where number of cDNA nucleotides in codon is 4 or 5.

    * stage2.c: Clarified different code for gmap and pmap

    * stage1.c: Added checking routine for Stage1 object

    * access.c, mem.c: Augmented debugging statements

    * sequence.c: Fixed case where first sequence of FASTA file has no header,
      but subsequent sequences do.

    * nr-x.c: Initial import into CVS

    * pair.c: Added printing of aapos to all positions in "f -9" mode

    * mutation.c: Simplified logic of merge functions

2005-11-29  twu

    * match.h: Provided interface for new functions

    * gmap.c: Fixed bug due to switched parameters

    * stage3.c: Added comment

    * config.site: Added information about defaults

    * README: Added information about Cygwin and defaults

    * stage1.c: Added include of match.h

2005-11-23  twu

    * acinclude.m4, configure.ac, fopen.m4: Added commands to check for 'b' or
      't' flag to fopen

    * pmap.c: Removed obsolete file

    * Makefile.am, access.c, chrsubset.c, datadir.c, fopen.h, genome-write.c,
      genomeplot.c, gmap.c, gmapindex.c, iit-read.c, iit-write.c, iit_store.c,
      indexdb.c, oligo-count.c, pdldata.c, pmapindex.c: All calls to fopen now
      generalized to handle systems that allow or disallow the 'b' or 't' flag

    * VERSION: Updated version

2005-11-22  twu

    * Makefile.am: Removed coords1.test, which is now performed by setup1.test
      and setup2.test

    * setup1.test.in, setup2.test.in: Added prerequisite of fa_coords program
      for setup tests

    * README: Made instructions for raw genome build match changes in gmap_setup

    * gmap_setup.pl.in: Changed name of make command

    * gmap_setup.pl.in: Clarified comments

    * gmap.c: Made npaths output correct when user provides a segment

    * match.c, matchdef.h, stage1.c: Storing reciprocal of nentries to avoid
      repeating this calculation multiple times later

    * setup1.test.in, setup2.test.in: Made changes in test to match changes in
      program

    * align.test.ok, map.test.ok: Made change in output from Mutations to Amino
      acid changes

    * Makefile.am: Made change in name of coords file

    * README: Made instructions consistent with changes in programs

    * fa_coords.pl.in: Changed a flag.  Output now going to stdout rather than
      stderr.

    * gmap_setup.pl.in: Now making the call to fa_coords or md_coords within the
      Makefile

    * matchpair.c: Turned off debugging

    * match.c, match.h, matchdef.h: Storing number of entries for each match

    * indexdb.c: Moved one type of debug macro into its own category

    * stage1.c: Weighted dangling computation according to number of entries for
      each match

    * translation.c: Fixed bug where pointer went past beyond sequence

2005-11-19  twu

    * chrsubset.c, gmap.c: Added printing of chrsubset information. 
      Consolidated printing of npaths information into a single function.

    * backtranslation.c: Using the two aamarkers.  Allowing matches to codons
      even for frameshifts.

    * mutation.c: Allowed merging of adjacent insertions

    * translation.c: Made PMAP assignment of genomic amino acids conform to GMAP
      code for assignment of cDNA amino acids

    * translation.c: Added further translation of cDNA beyond genomic stop
      codon, if possible

    * translation.c: Streamlined code for amino acids to cDNA sequence

    * translation.c: Overhaul of method for assigning amino acids to cDNA
      sequence, now based on separate marking and assignment of codons.

    * pair.c, pairdef.h, pairpool.c: Created separate aamarkers for genomic and
      cDNA sequence

    * gmap.c, params.c, params.h, stage3.c, stage3.h, translation.c,
      translation.h: Added flag for specifying maximum number of amino acid
      changes to show

    * stage1.c: Fixed memory leak

    * matchpair.c: Fixed read of uninitialized heap when bestsize == 0

    * matchpair.c, matchpair.h: Removed storage of support value

    * gmap.c, matchpair.c, matchpair.h, stage1.c: Moved sequence pruning
      procedures from gmap.c to matchpair.c

    * stage1.c: Fixed bug which caused loop to continue unnecessarily

2005-11-18  twu

    * gmap.c, result.c, stage1.h: Added complete option for freeing Stage 1
      objects

    * stage1.c: Introduced idea of stepping through trials to identify poor
      genomic matches

    * matchpair.c, matchpair.h: Introduced method for salvaging individual
      12-mer hits

    * gmap.c, stage1.c, stage1.h: Simplified call to Stage1_matchlist

    * stage1.c: Cleaning up parameters in preparation for cycling through stage
      1

    * indexdb.c: Added forward/backward to pre-loading messages for pmap

    * translation.c: Skipping mutation calls on non-standard amino acids

    * backtranslation.c: Fixed bug when trying to backtranslate non-standard
      amino acids

2005-11-17  twu

    * gmap_setup.pl.in: Added intermediate commands to Makefile

2005-11-11  twu

    * backtranslation.c: Improved matching of genomic codon to cdna codon.

    * translation.c: Added debugging statement

    * pair.c: Restored printing of genomic sequence for ambiguous matches in
      pmap

2005-11-10  twu

    * genome-write.c: Added read of linefeed after FASTA entry in raw genome
      files. Improved speed of writing blocks of zeros or X's.

    * gmapindex.c: Fixed bug in skip_sequence for raw genome files

    * get-genome.c: Implemented printing of raw genome files

    * gmap.c, stage3.c, stage3.h: Moved final translation and backtranslation
      steps into print procedures

    * Makefile.am, backtranslation.c, backtranslation.h, translation.c,
      translation.h: Moved nucleotide consistency procedures for pmap into
      backtranslation.c

    * pair.c: Removed consistency conversion.  Now being done by backtranslation
      procedures.  Removed meaning of AMBIGUOUS_COMP for compressed output of
      pmap.

    * dynprog.c: Added actual coordinates to debugging statements

    * translation.h: Made backtranslation procedure more rigorous.

    * translation.c: Made backtranslation procedure more rigorous.  Added
      debugging statements.

2005-11-09  twu

    * get-genome.c: Changed -r flag to also indicate use of the uncompressed
      genome file

    * get-genome.c, sequence.c, sequence.h: Added uncompressed raw format for
      printing genome segment

    * genome-write.c, genome-write.h, gmapindex.c: Added uncompressed raw format
      for genome file

    * pair.c: Reformulated printing of protein-based PSL output

    * intlist.c: Added include of stdio.h

    * chimera.c: Removed include of nmath.h

    * gmap.c: Allowed coordinate output for pmap.  Changed flag to -f 9.

2005-11-05  twu

    * gmap_compress.pl.in: Allowed handling of PMAP output

    * gmap_uncompress.pl.in: Fixed bug in printing last line of alignment

2005-11-02  twu

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Allowed introns to be printed
      in exon mode

    * matchpair.c: Imposed the requirement that minsize be 2 or more away from
      bestsize

2005-10-31  twu

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Added ability to print exons
      using genomic sequence

2005-10-28  twu

    * indexdb.c: Using lseek instead of fseek/fseeko for writing a positions
      file on disk

    * access.c, access.h: Added a function for opening a file as read/write

2005-10-27  twu

    * VERSION: Updated version

    * Makefile.am: Restored setup2.test

    * setup2.test.in: Made test use new gmap_setup script

    * setup1.test.in: Removed install step

    * gmap_setup.pl.in: Fixed bug in clean statement

    * configure.ac: Added check for fseeko

    * gmap.c: Added information about various type sizes to -V flag

    * compress.c, genome-write.c, indexdb.c: Using fseeko if available

2005-10-26  twu

    * gmap_setup.pl.in: Fixed bug where -W flag was in the wrong branch

2005-10-25  twu

    * pair.c: Removed extraneous linefeed in compressed output

    * VERSION: Updated version number

    * pair.c: Fixed psl output

    * README: Clarified use of ./configure flags.  Added instructions for the -C
      flag in fa_coords.

    * gmap_setup.pl.in: Restored -W flag for writing directly to file

    * gmap_setup.pl.in: Added instructions for clean to Makefile

    * fa_coords.pl.in: Added -C flag to make each sequence a separate chromosome

    * pair.c, pair.h, stage3.c: Added printing of cDNA direction in compressed
      output

    * bigendian.h, mem.h: Added include of config.h.

2005-10-21  twu

    * VERSION: Updated version

    * README: Added instructions for running make after gmap_setup

    * MAINTAINER: Added reminder to check for DEBUG mode

    * pair.c, pair.h, stage3.c, stage3.h: Restored printing of strain
      information

    * pdldata.c: Fixed typo

    * oligo-count.c: Using new interface to indexdb

    * gmap.c: Added error message if user tries to use strain information and
      file is not found

    * gmap.c: Restored printing of strain information.  Added conversion to
      upper case for altstrain sequence.

    * genome.c, indexdb.c: Added printing of number of bytes

    * access.h: Added MAX32BIT

    * access.c: Added debugging statements

    * Makefile.am: Added needed files

2005-10-19  twu

    * configure.ac: Added warning message if mmap not available

    * fa_coords.pl.in: Added ability to read from stdin

    * setup1.test.in: Added install command

    * access.c, access.h: Made Access_filesize an external routine

    * genuncompress.c, pdldata.c: Using routines from access.c

    * Makefile.am: Added access.c and access.h to programs with IIT_T object

    * chrsubset.c: Added include of config.h

    * genome-write.c, genomeplot.c, get-genome.c, iit_dump.c, iit_get.c,
      pmapindex.c, segmentpos.c: Changed calls to IIT_free and IIT_annotation

    * gmapindex.c: Removing free of accsegmentpos_table, which fails on some
      computers

    * gmap.c: Reading user-provided genomic segment and reference sequence
      before FASTA query

    * iit-write.c, iit-write.h: Made write version of IIT_free static and
      renamed it.

    * iit-read.h: Changed interface to IIT_annotation.

    * iit-read.c: Added FILEIO mode for reading IIT_T objects.  Changed
      interface to IIT_annotation.

    * iitdef.h: Made mutex part of IIT_T object.  Added offset to IIT_T object
      for FILEIO mode.

    * indexdb.c: Made mutexes part of Indexdb_T object.  Changed calls to
      IIT_annotation.

    * genome.c: Made mutex part of Genome_T object

    * access.h: Added flag for randomp.  Added function for read/write mmap.

    * access.c: Moved file size determination to a separate function

2005-10-14  twu

    * gmap.c: Moved reading of input sequences to beginning

    * indexdb.c: Minor fixes

    * access.h: Returning length and time for Access_immediate

    * access.c: Returning length and time for Access_immediate.  Forcing read of
      pages during pre-load.

    * datadir.c, gmap.c: Removed unused variables

    * genome.c, stage3.c: Added necessary include file

    * result.c: Addressed compiler warning

    * pair.c: Fixed faulty print statement in pslformat_nt

    * indexdb.c: Added necessary include file.  Removed unnecessary variables.

    * dynprog.c: Applied type conversion for char to access array

    * Makefile.am: Added access.c and access.h

    * blackboard.c, blackboard.h, gmap.c: Added nextchar to Blackboard_T object

    * gmap.c: Now reading first sequence in main thread, and using existence of
      a second sequence to determine whether to start threads and to pre-read
      offsets file for GMAP.  Conditioning some flags based on existence of mmap
      and threading support.

    * datadir.h: Removed unnecessary include

    * intlist.c: Minor fix to resolve gcc compiler warning

    * access.c, access.h, genome.c, indexdb.c: Standardized file access routines
      and moved them to access.c

    * genomeplot.c, plotdata.c, plotdata.h: Fixed ASCII printing of universal
      coordinates when a range is selected

    * matchpair.c: Fixed calculation of genome length for segment

    * sequence.c: Fixed Sequence_read_unlimited to handle sequences without a
      header line.

2005-10-12  twu

    * gmap_setup.pl.in: Changed program to generate a Makefile

    * fa_coords.pl.in, md_coords.pl.in: Deleted comment about gmap_setup running
      time

    * gmap_process.pl.in: Initial import into CVS

    * Makefile.am: Added instructions for gmap_process

    * setup1.test.in: Modified setup test for new interface to utility programs

    * Makefile.am: Modified setup test to put binary files in tests directory

    * MAINTAINER: Minor note to self

    * Makefile.am: Made FULLDIST work for gmap sources

    * gmap.c: Made separate flags for batch for offsets and batch for positions
      file.  Simplified input thread.

    * indexdb.h: Made separate flags for batch for offsets and batch for
      positions file

    * indexdb.c: Added memory mapping for offsets files under PMAP.  Made
      separate flags for batch for offsets and batch for positions file.

    * oligoindex.c: Removed stop codon from oligomers in stage 2

    * Makefile.am: Moved beta code for GMAP into a separate program

    * stage2.c: Moved PMAP conditionals out of debugging statements

2005-10-11  twu

    * Makefile.am: Removed conditional distribution of files

    * translation.c: Including comp.h header

    * gmap.c, pmapindex.c: Changed PMAP indexing interval to be based on amino
      acids.

    * oligop.c: Removed STOP from amino acid alphabet.

    * gmapindex.c: Generating chrsubset file at same time as chromosome file

    * indexdb.h: Removed STOP from amino acid alphabet.  Changed PMAP interval
      to be based on amino acids.

    * indexdb.c: Simplified conversion of oligomer to amino acid index for PMAP.
      Removed STOP from amino acid alphabet.  Computing each protein frame
      separately.

    * configure.ac: Added large file support with AC_SYS_LARGEFILE.  Removed
      setup test number 2.  Added gmap_process.

    * acinclude.m4: Removed macros for O_LARGEFILE

    * open-flags.m4: Removed file open-flags.m4

2005-10-10  twu

    * acinclude.m4, open-flags.m4: Added check for O_LARGEFILE in open

2005-10-07  twu

    * gmap_setup.pl.in: Restored -W flag and improved it

2005-10-06  twu

    * VERSION: Updated version

    * configure.ac: Added hook for pmap_setup.pl

    * README: Added explanation of full, uncompressed genome, and of batch modes

    * gmap_setup.pl.in: Added checks to make sure desired files are built. 
      Added printing of commands to stdout.

    * pmap_setup.pl.in: Added checks to make sure desired files are built

    * gmap_compress.pl.in, gmap_uncompress.pl.in: Altered format of compressed
      output to indicate ambiguous matches

    * pair.c: Altered format of compressed output to indicate ambiguous matches

    * genome.c: Fixed batch loading of full genomes greater than 2 gigabytes

    * gmap.c: Modified message about batch mode and multiple threads mode

    * stage2.c: Parameterized alignment characters and defined them centrally in
      comp.h.  Restored previous intron penalties based on length.

    * pair.c: Parameterized alignment characters and defined them centrally in
      comp.h.  Now printing ambiguous nucleotide matches.

    * dynprog.c: Parameterized alignment characters and defined them centrally
      in comp.h.  Added separate table for consistent nucleotide pairs.

    * Makefile.am, comp.h, pairpool.c, stage3.c, translation.c: Parameterized
      alignment characters and defined them centrally in comp.h

    * gmap.c: Changed batch mode to be of two types: pre-loading of indices
      only, and pre-loading of both indices and genome.

2005-10-05  twu

    * gmap.c: Clarified various user messages

    * indexdb.c: Added an explicit check for a nonsensical offsets file

    * pair.c: Made margin width determined dynamically in printing the
      alignments

2005-10-04  twu

    * dynprog.c: Removed reverse intron possibilities from PMAP

    * gmapindex.c: Restored monitoring output for logging contigs

    * indexdb.c: Added fwd/rev to monitoring commands for indexing offsets and
      position files

    * compress.c: Added monitoring commands for compressing and uncompressing
      files

    * gmap_setup.pl.in: Clarified behavior and instructions for building a full
      (uncompressed) genome file

    * fa_coords.pl.in: Abbreviated monitoring output, with a parameter that
      controls which contigs to ignore

    * Makefile.am: Added make instructions for pmap_setup

    * pmap_setup.pl.in: Initial import into CVS

2005-10-01  twu

    * gmap.c: Performing translation of query sequence and genomic segment to
      upper case.  Turned off stage 1 for user-provided genomic segment in PMAP.
      Provided -G flag for specifying full genome, if it exists.

    * genome.c: Turned warning into error, if user wishes to use a full genome
      and none exists

    * dynprog.c: Allowed intron gap parameter to be arbitrarily large

    * pair.c, stage2.c, translation.c: Fixed handling of user-provided genomic
      segment with lower case characters for PMAP

    * stage1.c: Improved debugging statement

    * oligoindex.c: Minor formatting change

    * mem.c: Enhanced trap features

    * boyer-moore.c: Removed assertions

    * boyer-moore.c, dynprog.c, dynprog.h, stage3.c, stage3.h: Made stage 3 use
      upper case for query sequence and genomic segment when needed, but
      original sequences for building alignment

    * oligoindex.c, oligoindex.h, stage2.c, stage2.h: Made stage 2 use upper
      case for query sequence and genomic segment for oligomer chaining, but
      original sequences for building alignment

    * oligo.c, oligop.c, stage1.c, stage1.h: Made stage 1 assume upper case
      query sequence

    * pair.c: Removed call to toupper

    * complement.h, sequence.c, sequence.h: Provided utilities for making
      uppercase and alias versions of sequences

    * compress.c: Added toupper as reason for including ctype.h

2005-09-30  twu

    * plotdata.c: Revised autoscale function

    * stage2.c: For PMAP, fixed bug where C terminus of query sequence was not
      aligned.  Eliminated computation of reverse intron direction for PMAP.

    * oligoindex.c: Modified comments

    * gmap.c: Removed Sequence_trim for PMAP, and reduced stage 2 indexsize.

    * pair.c: Changed psl output to reflect definition of a block to be a region
      without indels or gaps, instead of an exon

2005-09-22  twu

    * oligoindex.c: Make amino acid index for stage 2 (with 21 amino acids)
      distinct from that of stage 1 (with 16)

    * indexdb.c, indexdb.h, oligop.c: Compressing 21 amino acids into 16 to
      allow offsets of amino acid 7-mers to fit into less than 2 GB

2005-09-21  twu

    * stage1.c: Parameterized size of oligomers for PMAP

    * gmap.c, indexdb.h: Parameterized interval for stage 1 when user provides a
      genomic segment

    * pmapindex.c: Parameterized size of oligomers

    * matchpair.c: Turned off debugging

    * indexdb.c, indexdb.h: Introduced indexing of 7-mers by PMAP

    * VERSION: Updated version

    * gmap_setup.pl.in: Commented out -W flag for forcing write to file.  Added
      option -G for making an uncompressed version of the genome (.genome file).

    * fa_coords.pl.in: Allowed both chr and Chr in parsing for chromosomal
      mapping

    * config.site: Clarified possible choices for LDFLAGS

    * matchpair.c: Penalizing clusters spread out in repetitive genomic regions

    * pdlimage.c: Made images in color

    * gmapindex.c: Commented out monitoring statement about logging contigs

    * stage1.c: Fixed a bug involving subtraction of two unsigned ints into a
      signed int, occurring for chromosomes greater than 2^31 in length.

2005-09-19  twu

    * stage2.c: Fixed bug when stage 2 fails

    * pair.c: Fixed assessment of unknown bases for PMAP queries

    * matchpair.c: Fixed computation of stretch for PMAP protein queries

    * indexdb.c: Removed debugging flag

    * iit_get.c: Added termination message and flushing output when input coming
      from stdin

    * gmap.c: Added debugging messages

2005-09-16  twu

    * Makefile.am, pdlimage.c: Initial addition of pdlimage to CVS.

2005-09-08  twu

    * iit-read.c, iit-read.h, stage3.c: Added option to print levels of map
      results

    * intlist.c, intlist.h: Added command for Intlist_to_string

    * gmap.c: Modified directory printing to go to a given file pointer.  Added
      information about default directory to print_version command.

    * datadir.c, datadir.h, get-genome.c: Modified directory printing to go to a
      given file pointer

    * genomeplot.c, plotdata.c, plotdata.h: Changed format of positions file. 
      Changed title for summary genome plots.

2005-09-07  twu

    * get-genome.c: Added ability to print levels of map contents.  Fixed bug in
      interpreting an entire chromosome.

2005-09-03  twu

    * genomeplot.c, pdldata.c, pdldata.h, plotdata.c, plotdata.h: Generalized
      variable for transform and added reciprocal

    * genomeplot.c, plotdata.c, plotdata.h: Added option to autoscale

    * genomeplot.c, pdldata.c, pdldata.h, plotdata.c, plotdata.h: Added options
      for computing summary of multiple samples

2005-09-02  twu

    * genomeplot.c, plotdata.c, plotdata.h: Added functions for printing a
      threshold line, and for printing output in ascii format.

    * pdldata.c: Now removing line feeds from annotations.  If no annotations
      are available, using sample numbers.

2005-08-29  twu

    * plotgenes.c, plotgenes.h: Improved display of genes

    * genomeplot.c: Made changes so PDL file is read only when necessary.  Added
      extra room for showing genes.

2005-08-26  twu

    * genomeplot.c, plotdata.c, plotdata.h: Printing accession header only if
      one sample per page.  Reduced default number of genomes per page to 12.

    * genomeplot.c, pdldata.c, pdldata.h, plotdata.c: Added ability to read
      sample identifiers from a separate file for PDL input

    * genomeplot.c: Added ability to plot a single page

2005-08-24  twu

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: For PMAP, allowed PSL output
      in both nucleotide coordinates and protein coordinates

2005-08-23  twu

    * Makefile.am, genomeplot.c, plotgenes.c, plotgenes.h: Added ability to plot
      genes

2005-08-19  twu

    * gmap.c, stage3.c, stage3.h: Added option for printing coordinates

2005-08-18  twu

    * plotdata.c, plotdata.h: Added options for printing dots and overlapping
      samples

    * pair.c, pair.h: Added option for printing coordinates.  Trying to fix PSL
      output for PMAP.

    * genomeplot.c: Added option for printing dots and overlapping samples

    * color.c, color.h: Added color brewer palette

    * plotdata.c: Prevented printing of empty strings

2005-08-16  twu

    * plotdata.c, plotdata.h: Fixed bug when only a subset of genes is selected.
       Added commands for gif output.

    * get-genome.c, gmap.c: Showing available map files when valid one is not
      entered

    * datadir.c, datadir.h: Added function to list directory contents

    * genomeplot.c: Allowed user to specify a list of samples to plot

    * intlist.c, intlist.h: Added function Intlist_from_string

    * stage3.c: Fixed mapping to account for cDNA direction

2005-08-10  twu

    * Makefile.am, genomeplot.c, pdldata.c, pdldata.h, plotdata.c, plotdata.h:
      Allowed genomeplot to read PDL files

2005-08-07  twu

    * iit-read.c: Improved debugging statements

    * gmap.c, stage3.c, stage3.h: Added option to map by exons

    * pair.c, pair.h: Added function to retrieve exon bounds

2005-08-04  twu

    * Makefile.am, gmap.c: Merged pmap main code into gmap.c

    * sequence.c, sequence.h: Added functionality for pmap chimeras

    * stage3.c, stage3.h: Changed function to take queryntlength instead of
      queryseq.  Made function work with both gmap and pmap.

    * chimera.c, chimera.h: Changed functions to take queryntlength instead of
      queryseq

    * pair.c: Made PSL format for proteins print protein coordinates

    * chimera.c, chimera.h, gmap.c: Changed chimera algorithm to potentially
      search both sides of an incomplete alignment

2005-08-02  gcavet

    * modules: put back to original state

    * modules: added dev module

2005-08-02  twu

    * stage3.c: Increased size of merge length for chimeric exon-exon junctions

    * sequence.c: Restored trimming of subsequences

2005-08-01  twu

    * stage3.c, stage3.h: Changed chimeric margin detection to work on both ends

    * stage1.c: Added debugging statements

    * chimera.c, chimera.h, gmap.c: Changed chimeric search to work on both ends
      that fail to align

    * sequence.c: Turned trimming off for subsequences

    * pair.c, pair.h: Added indel penalties at appropriate end for chimeric path
      scores

    * Makefile.am, get-genome.c: Allowed user to look up information in map iit
      files

    * chimera.c: Tested code for checking if breakpoint is outside the alignment

2005-07-29  twu

    * datum.c, datum.h, genomeplot.c, plotdata.c, plotdata.h: Allowed colors to
      be specified in input file

    * chrsubset.c, chrsubset.h, genomeplot.c, plotdata.c: Implemented
      user-selected genomic range

2005-07-28  twu

    * plotdata.c: Allowed program to handle NaNQs

    * genomeplot.c, plotdata.c, plotdata.h: Added log and signed cube root
      functions

    * genomeplot.c, plotdata.c, plotdata.h: Added ability to print genome on a
      single line

2005-07-27  twu

    * genomeplot.c: Added ability to handle multiple samples

    * plotdata.c, plotdata.h: Added ability to detect and read header lines. 
      Made code for starting and ending pages extern.

    * genomeplot.c, plotdata.c, plotdata.h: Implemented printing of circular
      genome

    * pair.c: Corrected query coordinates of chimera in compressed mode

    * pairpool.c: Fixed problem where a gap was left at the 5' end of a bounded
      transfer.

2005-07-26  twu

    * datum.c, datum.h, genomeplot.c, plotdata.c, plotdata.h: Added ability to
      read specified colors for each line

    * datum.c, datum.h, genomeplot.c, plotdata.c, plotdata.h: Allowed printing
      of segments between chromosomes

2005-07-25  twu

    * pmap.c, stage3.c, stage3.h: Allowed chimeric pieces to be merged over
      longer length if ends have strong splice sites

    * stage1.c: Restored reader overlap for longer sequences

    * gmap.c, iit-read.c, iit-read.h: Added chromosomal positions to map
      information

    * chrnum.c, chrnum.h: Added function to get offset for a chrnum

    * Makefile.am: Added chrsegment.h to sources for genomeplot

2005-07-23  twu

    * gmap.c, pmap.c, stage3.c, stage3.h: Allowed two parts of chimera to merge
      if close on the genome

2005-07-21  twu

    * stage3.c, stage3.h, translation.c, translation.h: Clarified code specific
      to PMAP and GMAP

    * sequence.c: Changed sequence header for PMAP to refer to amino acids

    * pair.c, pair.h: Added ability to print inferred nucleotide sequence for
      PMAP

    * oligop.c: Clarified meaning of INDEX1PART to be number of amino acids

    * pmapindex.c: Clarified meaning of INDEX1PART to be number of nucleotides

    * oligo-count.c: Using new interface for Reader_new

    * indexdb.c, indexdb.h: Clarified meaning of INDEX1PART to be number of
      nucleotides for PMAP.

    * pmap.c: Removed -q flag for specifying stage 1 interval, and removed -T
      flag for truncating sequence at full-length protein.  Specified -Q flag to
      be printing of inferred nucleotide sequence.

    * gmap.c: Removed -q flag

    * Makefile.am: Added beta source files for pmap

    * stage1.c: Introduced min intron length.  Clarified meaning of INDEX1PART
      to be number of amino acids.  Added debugging statements.

    * reader.c, reader.h: Allowed crossover of start pointer and end pointer so
      that middle oligomers will be read.  Should help in mapping of short
      sequences.

    * translation.c, translation.h: Moved combinatorial testing of codons to
      translation step

    * stage3.h: Performing protein translation only when necessary.

    * stage3.c: Considering only forward intron directions for pmap.  Performing
      protein translation only when necessary.

    * stage2.c: Considering only forward intron directions for pmap

    * sequence.c: Changed header line for pmap

    * pair.c: Made further changes to accommodate plus sign in alignment

    * pair.c: Introduced plus sign in alignment

    * oligoindex.c: Improved efficiency of analyzing genomic segment, by storing
      indices for each frame

    * genome.c: Added debugging statements

    * dynprog.c, dynprog.h: Changed combinatorial instantiation of codons to a
      single instantiation

    * Makefile.am, params.c, params.h, pmap.c: Gave pmap the same overall
      behavior as gmap, including multi-threading and flag options

2005-07-19  twu

    * Makefile.am, block.c, block.h, dynprog.c, dynprog.h, gmap.c, indexdb.c,
      indexdb.h, oligoindex.c, oligop.c, oligop.h, pair.c, pmap.c, pmapindex.c,
      sequence.c, sequence.h, stage1.c, stage1.h, stage2.c, stage2.h, stage3.c,
      stage3.h, translation.c, translation.h: Introduced pmap and pmapindex

2005-07-15  twu

    * get-genome.c: Added range format to allow negative lengths

    * genome.c: Added exception when requested length exceeds allocated buffer
      length

    * except.c: Added printing of exception message

    * chimera.c: Fixed problem when donor or acceptor length exceeded allocated
      buffer length

    * Makefile.am: Fixed handling of non-distributed source code

    * align.test.ok: Changed genomic coordinate to match new computation of
      coordinates in gaps

    * VERSION: Updated version number

2005-07-13  twu

    * dynprog.c: Made genomic positions on left and right ends of gap constant,
      to avoid problems in stage 3 computations

    * memchk.c: Made procedures thread-safe

    * stage3.c, stage3.h: Fixed genomic positions on left and right ends of gap.
       Removing gaps at 5' end, possibly introduced by smoothing.

    * mem.c, mem.h: Improved memory trap procedures

    * matchpair.c: Added check before freeing some possibly null structures

    * genome.c: Removed duplicate FREE of filename

    * gmap.c: Fixed genomic positions on left and right ends of gap.  Fixed bug
      when chimera was not reset to NULL.

    * pair.c, pair.h: Fixed genomic positions on left and right ends of gap

2005-07-12  twu

    * stage3.c: Fixed bugs in computing dual introns, dealing with previously
      computed gaps, and returning coordinates for empty peelbacks.

    * stage1.c: Increased parameters for maximum number of matching pairs
      considered

    * pairpool.c: Enhanced debugging output

    * pair.c, pair.h: Added procedure for printing a single pair

    * mutation.c: Changed unnamed unions to named unions

2005-07-08  twu

    * stage3.c: Added extra check to make sure pairs is non-empty

    * gmap.c: Initialized chimera to be NULL

    * oligoindex.c: Fixed bug caused by writing to a random location when
      indexsize < 8.

    * mem.c: Improved trap code

    * memchk.c: Changed types to be consistent with regular version of memory
      manager

    * memchk.c: Added checking implementation of memory manager

    * stage3.c: Fixed a segmentation fault bug.

    * stage2.c: Changed distpenalty to ignore query distance and
      max_intronlength, and simplified computation.  These values were probably
      not affecting previous computation anyway.

    * mutation.c: Fixed problem caused by removal of unnamed union

    * iitdef.h: Included header file for off_t type.

    * gmap.c: Changed maxpeelback for cross-species mode back to previous value

    * VERSION: Updated version

    * configure.ac: Added check for caddr_t type.  Added check for madvise
      flags.

    * gmap.c: Removed unnecessary variables and arguments.  Changed variable
      type of nworkers.

    * oligoindex.h, pairpool.c, pairpool.h, stopwatch.c, stopwatch.h: Added
      formal void argument

    * compress.c, genome.c, genome.h, matchpair.c, oligoindex.c, stage2.c:
      Removed unnecessary variables

    * block.c, boyer-moore.c, dynprog.c, dynprog.h, matchpair.h, oligo.c,
      oligo.h, stage1.c, stage1.h: Removed unnecessary arguments

    * sequence.c, sequence.h: Added formal void argument.  Changed some variable
      types.

    * indexdb.c, match.c, segmentpos.c: Changed print statement

    * pair.c: Added static specification to some functions

    * iit-read.c, iitdef.h: Changed some variable types

    * indexdb.c: Increased interval of monitoring output from 1 million nt to 10
      million nt

    * gmap_uncompress.pl.in: Fixed bug in argument list

    * bigendian.c, boyer-moore.c, chrom.c, chrsubset.c, chrsubset.h, compress.c,
      datadir.c, dynprog.c, except.c, genome-write.c, genome.c, get-genome.c,
      gmap.c, gmapindex.c, iit-read.c, iit-write.c, iit_dump.c, iit_get.c,
      iit_store.c, indexdb.c, interval.h, intlist.c, list.c, match.c,
      matchpair.c, md5-compute.c, md5.c, mutation.c, oligo-count.c, oligo.c,
      oligoindex.c, pair.c, pairpool.c, params.h, reqpost.c, segmentpos.c,
      segmentpos.h, sequence.c, smooth.c, stage1.c, stage2.c, stage3.c,
      translation.c, uintlist.c: Made changes to satisfy pedantic gcc compiler
      warnings and to comply with ANSI C

    * acinclude.m4: Added autoconf macro for madvise flags

    * MAINTAINER: Added comment about strict compiler checking

    * madvise-flags.m4: Initial import into CVS

    * gmap.c: Changed parameters to prevent segmentation fault in cross-species
      mode

    * gmap.c, stage3.c, stage3.h: Added psl output format

    * stage1.c: Increased matchpairs allowed at pre-unique stage

    * match.c, match.h: Trivial formatting change

2005-07-07  twu

    * gmapindex.c: Removed some unused variables

    * get-genome.c: Changed usage statement for coordinate interval

    * datadir.c: Added error message when genome subdirectory is not readable

    * chrnum.c, chrnum.h: Added Chrnum_length command, needed for psl output
      format

    * pair.c, pair.h: Added psl output format

2005-06-23  twu

    * VERSION: Updated version for release

    * stage2.c: Increased cross-species penalty for intron length

    * gmap.c: Added other constraints on using oligo depth.  Reporting failure
      type.  Separated out beta source files from gmap.

    * result.c, result.h: Added failure type

    * chrsubset.c, chrsubset.h, plotdata.c: Added checks if chrsubset is NULL.

    * genomeplot.c: Added getopt to genomeplot.  Added mode for printing
      segments.

    * Makefile.am: Added getopt to genomeplot.  Separated out beta source files
      from gmap.

2005-06-21  twu

    * genomeplot.c, plotdata.c, plotdata.h: Fixed coloring of raw data,
      depending on whether segmentation is performed.

    * Makefile.am: Moved chrsegment functionality to genomeplot

    * gmap.c: Giving crossspecies flag to Stage 2

    * genomeplot.c: Getting segment breakpoints back in three separate lists

    * chrsegment.c, chrsegment.h: Added re-checking of segment breakpoints

    * intlist.c, intlist.h: Added Intlist_delete function

    * stage2.c, stage2.h: Implemented different intron penalties for
      crossspecies mode

    * stage1.c: Restored full functionality for crossspecies mode

2005-06-17  twu

    * stage1.c: Added check for too many matchpairs before applying
      Matchpair_filter_unique

2005-06-16  twu

    * chrsegment.c, chrsegment.h: Using chromosomal positions in calculations

    * genomeplot.c, plotdata.c, plotdata.h: Modified calls to Plotdata_values
      and Plotdata_chrpositions

    * genomeplot.c, iit-read.c, iit-read.h: Added function IIT_length

    * plotdata.c: Storing chrpositions and values as individual arrays

    * genomeplot.c: Using a tree structure to store segment results.

    * chrsegment.c, chrsegment.h: Using a tree structure to store segment
      results.  Added check for single breakpoint in addition to double
      breakpoints.

    * chrsegment.c, chrsegment.h, genomeplot.c: Implemented recursive
      segmentation, generating a list of segments

    * iit-read.c: Fixed problem with memory fault

2005-06-15  twu

    * Makefile.am, chrsegment.c, chrsegment.h, genomeplot.c, plotdata.c,
      plotdata.h: Merged chrsegment functionality into genomeplot

    * genomeplot.c: Fixed some memory leaks

    * datum.c, datum.h: Added Datum_T object for use by Plotdata_T

    * Makefile.am: Added program chrsegment and added Datum_T object to
      genomeplot

    * chrsegment.c, nr-x.h: Added program chrsegment

    * plotdata.c, plotdata.h: Now storing data as sorted within each chromosome

    * chrsubset.c, chrsubset.h: Added function to compute and retrieve old
      indices

2005-06-14  twu

    * Makefile.am, chrsubset.c, chrsubset.h, color.c, color.h, doublelist.c,
      doublelist.h, genomeplot.c, plotdata.c, plotdata.h: Added program
      genomeplot

    * uintlist.c: Fixed typo

    * iit-read.c: Skipping freeing of memory, since it sometimes gives a memory
      fault.

    * Makefile.am, chimera.c, maxent.c, maxent.h, splice-site.c, splice-site.h:
      Changed splice site predictor from scoring matrix to maxent method

2005-06-10  twu

    * indexdb.c: Added error message when user-provided genomic segment is
      invalid

2005-06-03  twu

    * chimera.c, chimera.h: Added detection of exon-exon boundary for chimeras
      in both forward and reverse directions

    * gmap.c, pair.c, pair.h, stage3.c, stage3.h: Added output of cDNA direction
      of exon-exon boundary for chimeras

    * dynprog.c, dynprog.h, gmap.c, stage3.c: Restored previous behavior for
      finding microexons.  Changed meaning of end_microexons_p to be an
      allowance for longer introns at the ends.

    * chimera.c: Improved debugging output

2005-06-01  twu

    * stage3.c, stage3.h: Added utilities for new chimera functions.

    * gmap.c: Added stage 3 calls for truncating full length.  Using Chimera_T
      objects and new chimera functions.

    * stage1.c, stage1.h: Using ends only for cross-species mode in stage 1

    * result.c, result.h: Created Chimera_T object.

    * pair.c, pair.h: Added utility programs for chimera evaluation.

    * chimera.c, chimera.h: Added search for exon-exon boundaries in chimeras. 
      Created Chimera_T object.

    * Makefile.am, splice-site.c, splice-site.h: Added splice site calculations
      to chimera evaluation.

2005-05-25  twu

    * gmap.c: Moved translate calls up to gmap.c.  Added hook for -T flag for
      truncating full-length sequence.

    * stage3.c, stage3.h: Using function Pairpool_transfer_bounded.  Moved
      translate calls up to gmap.c.

    * pairpool.c, pairpool.h: Added function Pairpool_transfer_bounded.

2005-05-20  twu

    * VERSION: Revised version

    * stage3.c, stage3.h: Turned off default microexon finding at ends.  Cleaned
      up margin function for identifying chimeras.

    * pair.c: Changed computation of matchscores

    * oligoindex.c: Changed definition of oligodepth.

    * gmap.c: Added -U flag to turn on microexons at ends.  Changed code for
      chimeras, and changed meaning of -x flag.

    * chrsubset.c: Added check on freeing object.

    * chimera.c: Fixed debugging statement

    * Makefile.am: Added beta testing flag.

2005-05-10  twu

    * Makefile.am: Added compiler instructions for pthreads to various programs

    * VERSION: Modified version number.

    * README: Added information about -E feature of fa_coords and gmap_setup,
      and information about editing coords.txt.

    * MAINTAINER: Added reminder to modify VERSION.

    * gmap_setup.pl.in: Removed reverse complement procedures here; now being
      done by gmapindex.  Allowed specification of a command.

    * fa_coords.pl.in: Introduced chromosome NA for headers that cannot be
      parsed.  Allowed specification of a command.  Improved handling of Celera
      genomes.

    * genome.c, indexdb.c: Put mutexes around read procedures for the
      combination of multi-threading and non-memory mapped reading of file.

    * gmap.c: Fixed bug from uninitialized querysubseq.

2005-05-09  twu

    * pair.c, pair.h, result.c, result.h, stage3.c, stage3.h: Allowed printing
      of range of chimera breakpoints

    * interval.c, interval.h: Changed interface to some functions

    * iit-read.c, iit-write.c: Fixed bug in debug version of dump.  Changed
      calls to Interval_T functions.

    * gmapindex.c: Changed count_sequence() to read a line at a time

    * genome-write.c: Properly handling contigs marked as reverse complement.

    * gmap.c: Using fscore threshold to determine statistical significance.
      Reporting equivalent positions for breakpoint.

    * chimera.c, chimera.h: Using fscore threshold to determine statistical
      significance

2005-05-06  twu

    * gmap_setup.pl.in: Handling other NCBI cases where version numbers are
      missing

    * genome-write.c, indexdb.c: Minor changes in monitoring output

    * VERSION: Updated version number

    * README: Added explanation of output ordering with multiple threads

    * coords1.test.ok: Changed to add new comment line in coords.txt

    * README: Minor textual change

    * gmap_setup.pl.in: Added -q flag for specifying indexing interval.  Allowed
      comment lines to be in coords.txt.

    * md_coords.pl.in: Improved messages to user.

    * fa_coords.pl.in: Added handling of unmapped contigs for Ensembl genomes. 
      Improved messages to user.  Added check for possible conversions of
      alternate chromosomes to alternate strains.

    * gmap_uncompress.pl.in: Fixed bug due to old code that referred to the -R
      flag

    * gmap.c: Enhanced result to show number of matches, mismatches, and indels
      in alternative to chimera.  Introduced maxpaths of 0 to indicate output of
      both paths of chimera if present, otherwise one path.

    * pair.c, pair.h, sequence.c, sequence.h, stage3.c, stage3.h: Removed
      references to ntrimmed

    * result.c, result.h: Enhanced result to show number of matches, mismatches,
      and indels in alternative to chimera

    * gmap.c: Remove check for badoligos.  Modified logic for computing
      chimeras. Made calls to initialization and termination routines for
      Dynprog_T.

    * chimera.c: Fixed memory leak

    * pair.c: Removed printing of ntrimmed nucleotides

    * stage3.c, stage3.h: Added functions for reporting matches, mismatches,
      indels, and margin of a Stage3_T object

    * translation.c: Added initial values for translation_start and
      translation_end

    * stage2.c: Removed computation of stage2 support.  Simplified loop
      conditions.

    * oligoindex.c, oligoindex.h: Removed computation of stage2 support

    * dynprog.c, dynprog.h: Replaced functions with arrays for computing
      pairdistances and jump penalties

    * oligoindex.c, oligoindex.h: Changed memory allocation scheme, by setting
      ALLOCSIZE == MAXHITS. Assigning blocks in ascending order of available
      slots.  Computing trim_start and trim_end.  Reporting support for stage 2.

    * gmap.c: Changed calls to Sequence_read().  Using oligomer-based method for
      trimming query sequence.

    * md5-compute.c, oligo-count.c: Changed calls to Sequence_read()

    * sequence.c, sequence.h: Removed poly-A and poly-T detection in favor of
      oligomer-based trimming at ends.

2005-05-05  twu

    * stage2.c, stage2.h: Added check for stage 2 support.

    * stage1.c: Restored terminal sampling for short sequences.  Fixed potential
      bug with subtracting unsigned ints.  Enhanced debugging messages.

    * md5-compute.c, oligo-count.c, sequence.c, sequence.h: Modified functions
      to report next char in input.

    * matchpair.c, matchpair.h: Added reporting of stage1 support and stage1
      stretch.

    * gmap.c: Added checks for bad input sequences based on oligo depth, bad
      oligos, stage1 support, and stage2 support.  Moved message about batch
      mode earlier, if evidence of a second sequence is present.

    * gmap.c: Chopping chimeras at breakpoint, and providing a flag to allow
      overlaps at the breakpoint.

    * stage3.c, stage3.h: Simplified interface to Stage3_copy.

    * pair.c, pair.h: Removed coverage correction for genomic gaps.  Added way
      to turn off merge_gaps during copying of pairs.

    * stage2.c: Made changes in individual instructions to improve speed

    * oligoindex.c: Added overabundant field

    * chimera.c: Speeded up computation

    * gmap.c: Using explicit step for marking oligos in the query.  Terminating
      attempt at mapping if oligo depth exceeds 2.  Fixed memory leak.

    * stage2.c, stage2.h: The variable badsequencep is now fed into
      Stage2_compute.

    * stage1.c: Killed terminal sampling for short sequences.  Reduced values
      for maxentries.  Both done to improve speed.

    * oligoindex.c, oligoindex.h: Added an explicit step for marking oligos in
      the query, which needs to be done only once for each query sequence.

2005-05-04  twu

    * chimera.h: Added computation of margin.

    * chimera.c: Added computation of margin.  Improved debugging output.

    * gmap.c: Fixed bug where bestfrom == bestto.  Added check for sufficient
      margin at ends before finding chimera.

    * gmap_compress.pl.in: Changed compression routine to handle chimera
      information

    * chrsubset.c: Fixed bug where stdin was closed if .chrsubset file didn't
      exist

    * stage3.h: Added function to compute matchscores for chimera detection.

    * stage3.c: Changed calls to Sequence_T functions.  Added function to
      compute matchscores for chimera detection.

    * stage2.c: Performing Stage 2 from trim start to trim end, instead of
      entire sequence.  Changed calls to Sequence_T functions.

    * stage1.c: Changed calls to Sequence_T and Reader_T functions

    * sequence.c, sequence.h: Cleaned up interface.  Added ability to print
      trimmed part of sequence.

    * Makefile.am, chimera.c, chimera.h, gmap.c, nmath.c, nmath.h, pair.c,
      pair.h: Added chimera detection based on Chow test

    * md5-compute.c: Changed call to Sequence_T function.  Using full sequence
      now for MD5 computation.

    * matchpair.c: Removed call to Sequence_T function

    * oligoindex.c: Changed calls to Sequence_T functions

    * oligo-count.c: Changed call to Reader_new

    * get-genome.c: Changed call to Sequence_print

    * reader.c, reader.h: Storing querystart and queryend in Reader_T object

    * block.c, block.h: Removed unnecessary field

2005-05-03  twu

    * gmap.c, gmapindex.c, indexdb.c, indexdb.h: Allowed indexing interval of
      12-mers to be specified at run time

    * configure.ac: Added check for madvise function

    * README: Added Ensembl format as a recognized coordinate format

    * md_coords.pl.in: Improved prompt for alternate chromosomes

    * genome.c, iit-read.c, indexdb.c: Put compiler flags around madvise

    * datadir.c: Deleted line that was causing problems when the GMAPDB
      environment variable was set

2005-05-01  twu

    * fa_coords.pl.in: Further fixed coordinates

    * fa_coords.pl.in: Removed addition of 1 to coordinates.  Added parsing for
      Ensembl format.

    * gmap_setup.pl.in: Testing accessions with and without version numbers

    * md_coords.pl.in: Making -U and -A flags standard.  Can exclude unmapped
      contigs and alternate chromosomes with chrsubsets.

    * md_coords.pl.in: Fixed case where direction eq "0".

    * oligoindex.c: Modified memory allocation scheme to have a fixed block of
      memory that expands when necessary.

    * iit_get.c: Added -A back to allowed flags.

    * chrsubset.c: Added debug statements

    * VERSION: Updated version

2005-04-20  twu

    * sequence.c: Kept poly-A and poly-T limits when specifying subsequences.

    * pair.c: Added an exception handler.  Removed minor bug where first pair
      was handled twice.

    * gmapindex.c: Allowed compress and uncompress routines to take a filename
      as an argument.  Added wraplength option for uncompress.

    * gmap.c: Fixed bug in specifying wrong sequence length for computing
      chimeras. Removed limit on number of paths for finding chimeras.  Added
      exception handler.

    * except.c: Modified behavior of exception handler

    * genuncompress.c: Fixed problem if positions were greater than allowed for
      signed ints.

    * compress.c, compress.h: Added wraplength option to Compress_uncompress.

2005-04-19  twu

    * sequence.c, stage1.c: Added checks for null before freeing memory.

    * gmap.c: Made IIT_get return an array of ints, rather than an Intlist, to
      reduce repeated small memory allocations.  Placed a limit on npaths for
      finding chimeras.

    * get-genome.c, iit-read.c, iit-read.h, iit_get.c, segmentpos.c, stage3.c:
      Made IIT_get return an array of ints, rather than an Intlist, to reduce
      repeated small memory allocations.

    * mem.c: Added debugging statements.

2005-04-18  twu

    * dynprog.c: Added memory allocation routines in cases where problem size
      exceeds maxlength of Dynprog_T.  Removed unused code for affine gap
      penalties.

2005-04-12  vivekr

    * cvswrappers: Added binary extensions

2005-03-11  twu

    * gmap_setup.pl.in, md_coords.pl.in: Allowed for contigs to be reverse
      complement

    * fa_coords.pl.in: Removed unused functions

    * gmap.c: Moved dump functions to get-genome

    * segmentpos.c: Fixed bug when alternate strain contig exists but reference
      is to reference strain

    * get-genome.c, iit-read.c, iit-read.h: Changed output of dump functions

    * get-genome.c: Moved dump functions to get-genome

    * README: Added instructions for specifying reverse coordinates

    * VERSION: Changed version number

2005-03-09  twu

    * gmapindex.c, iit-read.c: Now storing information about reverse
      complementing of contigs

    * match.c, pair.c, pair.h, segmentpos.c, segmentpos.h, stage3.c: Limited
      printing of contigs to those that are relevant for a given strain.

    * get-genome.c, gmap.c: Fixed bug when using the -R release flag.

2005-03-08  twu

    * get-genome.c: Changed default behavior to print just the reference strain.
       Added a flag to print all strains.

2005-03-04  twu

    * chrsubset.c: Fixed minor memory leak

    * VERSION: Updated version

    * README: Added explanation of chromosome subsets

    * chrsubset.c: Changed Chrsubset_T object to be NULL when a blank list is
      read in .chrsubset file.

    * gmap.c: Incorporated chrsubset.  Fixed printing of option flags.

    * gmap_setup.pl.in: Added creation of chrsubset file

    * whats_on: Changed directories where genomic maps are located

    * Makefile.am, chrsubset.c, chrsubset.h, params.c, params.h, stage1.c,
      stage1.h: Added capability to search on chromosome subsets

    * separator.h: Changed separator back to dashes

    * iit-read.c: Changed format of dumping typestrings for .altstrain.type
      file.

    * gmapindex.c: Added writing of .altstrain.type file.

    * stage1.c: Removed unused code.  Using stage1size instead of INDEX1PART in
      some places.

    * gmap.c: Added error message.

    * datadir.c: Removed unused error message.

2005-03-03  twu

    * stage1.c: Introduced idea of dangling matches at ends, and using it to
      determine when to sample further at each end, and when to sample from the
      middle.

    * separator.h: Changed separator from dashes to dots.

2005-03-02  twu

    * stage1.c: Fixed a bug in find_3prime_matches.  Changed sampling to avoid
      terminal sampling, and to redo sampling just before nskip is zero. This is
      done to avoid long computation times with terminal sampling on long cDNAs.

2005-03-01  twu

    * matchpair.c, matchpair.h: Added a boundmethod type.

    * stage1.c: Added code for finding matches using triplets, but not using it.
      Removing terminal sampling, and performing a redo of last sampling
      instead.

2005-02-19  twu

    * params.c, params.h: Removed maxintronlen from the params structure.

    * gmap.c: Increased default maxintronlen to 1.2M, and provided a flag to
      allow user to change this value.

2005-02-18  twu

    * configure.ac, perl.m4: Changed name of macro

    * configure.ac: Added check for Perl with needed modules.  Added warning
      messages to bottom of configure script.

    * config.site: Added option for user to specify a value for PERL

    * acinclude.m4: Added check for Perl with needed modules

    * perl.m4: Added check for Perl with appropriate modules

    * VERSION: Set version number

    * COPYING, config.site: Changed wording slightly

    * README: Removed optional comment after make check

2005-02-17  twu

    * datadir.c, gmap_setup.pl.in: Allowed subdirectory to be present in the -d
      flag

    * config.site: Fixed advice on installing in build directory

    * README: Fixed some textual errors

2005-02-16  twu

    * gmap_setup.pl.in: Modified instruction text

    * md_coords.pl.in: Added guessing of columns

    * genome.c, genuncompress.c, iit-read.c, indexdb.c: Added type cast to avoid
      compiler warnings for munmap.

    * configure.ac: Removed capitalization

    * VERSION: Updated version

    * configure.ac: Capitalized message when compilation of pthreads fails

    * Makefile.am: Added subdirectories

    * iit_get.out.ok, iittest.iit.ok: Added okay files for IIT programs

    * AUTHORS: Minor text change

    * gmap_setup.pl.in: Changed usage statement

    * acx_pthread.m4: Updated macro to latest version

    * configure.ac: Added tests for IIT programs.  Changed call to ACX_PTHREAD.

    * config.site.gne: Changed name from genomedir to gmapdb

    * config.site: Added lines for PTHREAD_CFLAGS and PTHREAD_LIBS

    * MAINTAINER: Added instructions for building .ok files for tests

    * align.test.in, coords1.test.in, map.test.in, setup1.test.in,
      setup2.test.in: Added ${srcdir} where necessary to make distcheck happy

    * Makefile.am, fa.iittest, iit.test.in, iit_dump.test.in, iit_get.test.in,
      iit_store.test.in: Added tests for IIT programs

    * gmap.c: Changed ENABLE_PTHREADS to HAVE_PTHREAD.  Added reporting of
      features to version command.

    * blackboard.c, reqpost.c: Changed ENABLE_PTHREADS to HAVE_PTHREAD

    * iit_store.c: Changed flags and calling convention

    * Makefile.am: Removed ENABLE_PTHREADS and POPT_LIBS.

    * acinclude.m4: Changed name of file

    * README: Completed instructions

    * COPYING: Completed license terms

    * acx-pthread.m4, acx_pthread.m4: Changed name of file

    * acinclude.m4, acx-pthread.m4, config, expand.m4, mmap-flags.m4,
      pagesize.m4: Put m4 macros into separate files

    * configure.ac: Commented out code for AC_PROG_LIBTOOL.  Added some compiler
      checks.

    * gmap_setup.pl.in: Removed IO::Dir.  Changed behavior if -I flag not given.
       Added -9 for debugging behavior.

    * fa_coords.pl.in, md_coords.pl.in: Removed IO::Dir

    * iit-read.h, iit-write.h: Fixed compiler complaint about double typedef for
      IIT_T

    * iit-read.c: Fixed one-off problem with IIT_totallength.

    * genome-write.c: Fixed montoring statements.

    * gmap.c: Put pthreads information in version text.

    * gmapindex.c: Fixed problem in comparing an int (255) with EOF (-1) on some
      machines.

2005-02-15  twu

    * Makefile.am, align.test.in, align.test.ok, coords1.test.in,
      coords1.test.ok, map.test.in, map.test.ok, setup.genomecomp.ok,
      setup.idxpositions.ok, setup1.test.in, setup2.test.in, ss.chr17test:
      Expanded test suite

    * Makefile.am, ss.cdna, ss.chr17test, ss.her2: Initial addition to CVS
      repository.

    * gmap_setup.pl.in, md_coords.pl.in: Moved functionality to separate
      md_coords program

    * Makefile.am: Added fa_coords program

    * fa_coords.pl.in: Added file to CVS repository.

    * block.c, block.h, compress.c, dynprog.c, dynprog.h, genome-write.c,
      iit-read.c, iit-write.c, indexdb.c, interval.c, intron.c, match.c,
      match.h, matchpair.c, matchpair.h, md5.c, md5.h, md5.t.c, oligo.c,
      oligo.h, pair.h, pairpool.c, pairpool.h, reader.c, request.c, result.h,
      segmentpos.c, segmentpos.h, smooth.c, smooth.h, stage1.c, stage3.c,
      stopwatch.c, translation.h: Cleaned up included headers

    * table.c, table.h, tableint.c, tableint.h: Clarified meaning of unsigned
      type.

    * reqpost.h: Using Blackboard_T in interface.

    * oligo-count.c: Fixed call to Block_new.

    * listdef.h: Added a define for T.

    * iitdef.h: Moved typedef to iit-read.h and iit-write.h.

    * iit_get.c: Removed popt library calls.

    * iit-read.h, iit-write.h: Moved include of iitdef.h to .c files.

    * get-genome.c: Using SEPARATOR now instead of DASH.

    * datadir.c, datadir.h: Formatting changes.

    * gmap.c, oligoindex.c, oligoindex.h, params.c, params.h, stage2.c,
      stage2.h: Moved get_mappings command to be in oligoindex.c.  Moved
      indexsize to be stored in Params_T.

    * complement.c, complement.h, genome.c, pair.c, sequence.c, translation.c:
      Changed complement table to be a macro.

    * chrom.c, chrom.h: Clarified meaning of unsigned type.

    * blackboard.h: Added comments about include of reqpost.h.

    * Makefile.am: Cleaned up source files needed for each binary.

    * shortoligomer.h: Removed file.  Definition needed only by oligoindex.c.

2005-02-14  twu

    * bigendian.h, genuncompress.c, iit-write.c, littleendian.h: Conditionally
      include littleendian.h.

    * iit-read.h: Added function to compute total length.

    * iit-read.c: Conditionally include littleendian.h.  Added function to
      compute total length.

    * indexdb.h: Allow user to force building of positions file in file.

    * indexdb.c: Conditionally include littleendian.h.  Allow user to force
      building of positions file in file.

    * genome-write.c: Added explanation of file format.

    * genome.c: Changed type from unsigned int to UINT4.  Conditionally include
      littleendian.h.

    * compress.c, compress.h: Added ability to create genome file in memory, if
      enough is available. Changed type from unsigned int to UINT4.

    * Makefile.am, genome-write.c, genome-write.h, gmapindex.c: Moved procedures
      for writing genome file to a new file.  Added ability to create genome
      file in memory, if enough is available.

2005-02-10  jmurray

    * cvswrappers: Added binary extensions

2005-02-10  twu

    * iit_get.c: Added include for strings.h to handle rindex.

    * bigendian.h, genome.c, genuncompress.c, indexdb.c, sequence.c: Added
      includes for stddef.h to handle size_t

    * genome.c, genuncompress.c, iit-read.c, indexdb.c: Added check for
      HAVE_SYS_STAT_H

    * gmap.c, gmapindex.c, oligo-count.c: Removed include of sys/stat.h

    * iit-read.c: Commented out include of sys/param.h

    * genome.c, indexdb.c: Commented out include of errno.h

    * except.c: Removed code for mailing error messages to developer.

    * genome.c, genuncompress.c, gmapindex.c, iit-read.c, iit_store.c,
      indexdb.c, md5-compute.c, stopwatch.c: Added checks for HAVE_UNISTD_H and
      HAVE_FCNTL_H.

    * blackboard.c, compress.c, datadir.c, genome.c, genuncompress.c, gmap.c,
      gmapindex.c, iit-read.c, iit_store.c, indexdb.c, oligo-count.c, reqpost.c,
      stopwatch.c: Added check for HAVE_SYS_TYPES_H

    * genome.c, genomicpos.c, iit-write.c, indexdb.c, match.c, md5.c,
      oligoindex.c, pair.c, sequence.c: Created separate macros for handling
      absence of memcpy and memmove.

    * genome.c, genomicpos.c, iit-write.c, indexdb.c, match.c, md5.c,
      oligoindex.c, pair.c, sequence.c: Included macros for handling computers
      without memcpy or memmove.

    * datadir.c: Included macros for handling computers without dirent.h.

2005-02-08  twu

    * chimera.c, translation.c: Fixed rcsid lines

    * Makefile.am, uinttable.c, uinttable.h: Removed files uinttable.c and
      uinttable.h

    * bigendian.c: Added ending quotation mark to rcsid.

    * bigendian.h, chimera.h, scores.h, separator.h: Added Id comment to
      beginning of header files.

2005-02-07  twu

    * assert.c, assert.h, bigendian.c, bigendian.h, blackboard.c, blackboard.h,
      block.c, block.h, boyer-moore.c, chimera.c, chrnum.c, chrnum.h, chrom.c,
      chrom.h, complement.c, complement.h, compress.c, datadir.h, dynprog.c,
      dynprog.h, except.c, except.h, genome.c, genome.h, genomicpos.c,
      genomicpos.h, get-genome.c, gmap.c, gmapindex.c, iit-read.c, iit-read.h,
      iit-write.c, iit-write.h, iit_dump.c, iit_get.c, iit_store.c, indexdb.c,
      indexdb.h, interval.c, interval.h, intlist.c, intlist.h, intron.c,
      intron.h, list.c, list.h, match.c, match.h, matchpair.c, matchpair.h,
      md5-compute.c, md5.c, md5.h, mem.c, mem.h, mutation.c, mutation.h,
      oligo-count.c, oligo.c, oligo.h, oligoindex.c, oligoindex.h, pair.c,
      pair.h, pairpool.c, pairpool.h, params.c, params.h, reader.c, reader.h,
      reqpost.c, reqpost.h, request.c, request.h, result.c, result.h,
      segmentpos.c, segmentpos.h, sequence.c, sequence.h, smooth.c, smooth.h,
      stage1.c, stage1.h, stage2.c, stage2.h, stage3.c, stage3.h, stopwatch.c,
      stopwatch.h, table.c, table.h, tableint.c, tableint.h, translation.c,
      translation.h, uintlist.c, uintlist.h, uinttable.c, uinttable.h: Moved
      HAVE_CONFIG_H from .h file to .c file.

    * datadir.c: Added check to see if closedir succeeded.

    * Makefile.am: Augmented list of bin programs.

    * get-genome.c: Changing variable names to genomesubdir, fileroot, and
      dbversion.

    * gmap.c: Added -g flag.  Changing variable names to genomesubdir, fileroot,
      and dbversion.

    * params.c, params.h: Made dbversion a static variable.

    * match.c, pair.c, pair.h, stage3.c, stage3.h: Changing variable names to
      genomesubdir, fileroot, and dbversion.

    * genome.c, genome.h, indexdb.c, indexdb.h: Changing variable names to
      genomesubdir and fileroot.

    * datadir.c, datadir.h: Now searching subdirectory to find name of fileroot,
      which can be different from subdirectory name.

    * pair.c: Removed unnecessary math.h header.  Added initialization of donor
      and acceptor arrays.

    * getopt.c: Removed internationalization code.

    * gmap.c: Removed unnecessary math.h header.  Changed location of map
      directory for each genome.

    * matchpair.c, oligoindex.c, segmentpos.c, smooth.c, stage3.c: Removed
      unnecessary math.h header.

    * indexdb.c, indexdb.h: Allowed user to build positions file directly to
      disk, if sufficient memory is unavailable.

    * mem.c, mem.h: Added procedures for allocating memory without throwing an
      exception.

    * gmapindex.c: Changed flags.  Allowed user to build positions file directly
      to disk, if sufficient memory is unavailable.

    * chrom.c: Eliminated printing of initial zero on non-numeric chromosomes.

2005-02-03  twu

    * gmap_setup.pl.in: Removed -R flag, and symbolic links.  Fixed problems
      with parsing unmapped contigs in seq_contig.md files.

    * gmapindex.c: Added debugging statements.

2005-01-28  twu

    * config.site: Added warning about non-absolute paths.

    * README: Added comments about downloading a genome database.

    * Makefile.am: Added extra commands for "make distcheck" to be happy. 
      Removed genome example.

    * MAINTAINER: Added comment about --enable-fulldist

2005-01-27  twu

    * Makefile.am, config.site, configure.ac, datadir.c: Changed GENOMEDIR to
      GMAPDB.

2005-01-26  twu

    * ss.AA005326, ss.cdna: Changed name of example cDNA sequence.

2005-01-25  twu

    * MAINTAINER: Added recommended steps for creating a distribution.

    * Makefile.am, chrnum.c, chrnum.h, chrom.c, chrom.h, genome.c, genome.h,
      get-genome.c, gmap.c, gmapindex.c, match.c, match.h, matchdef.h,
      matchpair.c, pair.c, pair.h, segmentpos.c, segmentpos.h, stage1.c,
      stage3.c, stage3.h: Made changes to allow chromosome names to be
      arbitrarily long

    * gmap_setup.pl.in: Removed restriction on chromosome name length.  Stripped
      spaces from beginning and end of input.  Added step to create initial
      genomedir.

2005-01-24  twu

    * config.site: Changed defaults in config.site.

    * getopt.c, getopt.h, getopt1.c: Added gnu getopt_long function

    * ss.AA005326, tests: Added test sequence.

    * Makefile.am: Created Makefile.am in util subdirectory

    * gmap_setup.pl.in: Fixed bug due to missing quotation mark

    * configure.ac: Removed dependence upon popt library

    * Makefile.am, get-genome.c, gmap.c: Added gnu getopt_long procedure

    * README: Changed prerequisites.  Improved formatting.

    * gmap_setup.pl.in: Added procedures for handling UCSC genomes.

    * iit_store.c: Using Tableint_T instead of Table_T for types.

    * Makefile.am: Removed some unnecessary source files.

    * configure.ac: Added ACX_EXPAND, turned off popt, and fixed problem when no
      threads compilation is possible.

    * config.site.gne: Added comments for profiling and making .third file.

    * acinclude.m4: Added macro for ACX_EXPAND.

    * README: Added mention of examples and make check.

    * Makefile.am: Added extra dist files for examples.

    * oligoindex.c: Created a union type to make clear the possible storage of
      either a position or a pointer to an array positions.

    * datadir.c: Removed unused function.

    * gmapindex.c, table.c, table.h, tableint.c, tableint.h, uinttable.c,
      uinttable.h: Added an end value to avoid problems when table length is 0.

    * Makefile.am, tableint.c, tableint.h, uinttable.c, uinttable.h: Made
      specific table types.

    * gmap.c: Removed duplicate getopt line.

    * iit_get.c: Fixed compilation bug when popt not available.

    * gmapindex.c: Used specific table types and keys/values functions.

    * table.c, table.h: Made functions Table_keys and Table_values

    * gmap_uncompress.pl.in: Using BINDIR for substitution.

    * Makefile.am: Removed Makefile.am

2005-01-23  twu

    * gmap_setup.pl.in: Major changes made to provide both interactive and
      command-line use.

2005-01-22  twu

    * configure.ac: Allowed hyphens to be in the version number

    * MAINTAINER, bootstrap, config.site, config.site.gne: Added local
      config.site to CVS directory

    * MAINTAINER: Added notes for maintainer

    * README: Simplifying the installation instructions

    * configure.ac: Made configuration easier by adding VERSION and config.site
      files. Removed MAPDIR.  Added Perl scripts.

    * VERSION, config.site: Made configuration easier by adding VERSION and
      config.site files.

    * gmap_compress.pl.in, gmap_uncompress.pl.in: Changed file from .pl version
      to .pl.in version.

    * Makefile.am: Moved Perl scripts to util subdirectory.

    * datadir.c, datadir.h, gmap.c: Moved map files to a subdirectory in genome
      directory.

    * gmapsetup.pl.in: Moved file to util subdirectory.

    * whats_on: Changed location of map files to be inside genome directories.

    * gmap_compress.pl, gmap_uncompress.pl: Changing scripts from .pl to .pl.in
      version

    * Makefile.am, README, compress.c, configure.ac, datadir.c, genome.c,
      get-genome.c, gmap.c, gmap_compress.pl, gmap_compress.pl.in,
      gmap_setup.pl.in, gmapsetup.pl.in, iit-read.c, indexdb.c, segmentpos.c:
      Renamed program from snap to gmap

    * snap.c, snap_compress.pl, snap_uncompress.pl, snapbuild.pl.in,
      snapindex.c: Renamed program from snap to gmap

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Better handling
      of MD5 info and aa lines.

    * gmap_uncompress.pl, gmap_uncompress.pl.in, snap_uncompress.pl: Handling
      arbitrary flags in compression.

    * mutation.c, mutation.h, pair.c, pair.h, pairdef.h, translation.c: Added
      refquerypos to print nucleotide position of mutations.

    * get-genome.c: Fixed problem with empty header for reference sequence when
      specific strain is requested.

2005-01-19  twu

    * translation.c: Fixed problem with printing of an AA in an intron.

    * mutation.c: Consolidated point mutations near a segmental mutation.

2005-01-06  twu

    * translation.c: Fixed detection of deletion mutations where aapos was
      advancing in a gap.

    * mutation.c, mutation.h, translation.c: Fixed cases where a single-position
      mutation was reported next to a segmental mutation.

    * stage3.c: Added debugging statements for relative alignment.

    * translation.c: Allowed lower case letters to translate appropriately to a
      codon.

2004-12-21  twu

    * stage3.c: Performing microexon search for all defect rates.  Adjusted
      acceptable mismatches for low-quality sequences.

    * translation.c: Increased IGNORE_MARGIN to deal with nucleotide
      coordinates.

    * stage3.c: Changed criteria for performing microexon search.

2004-12-20  twu

    * translation.c, translation.h: Fixed detection of large deletions relative
      to reference sequence. Fixed printing of cDNA aa in a gap.

    * stage3.c: Changed criterion for starting microexon search to add
      mismatches and indels.  Fixed detection of large deletions relative to
      reference sequence.

    * gmap.c, snap.c: Set chimera threshold to 0 for default.  Reduced band from
      10 to 7.

    * dynprog.c: Reduced pvalue thresholds for microexons.

2004-12-19  twu

    * gmap.c, snap.c: Turned on chimera functionality.  Increased dynamic
      programming band from 7 to 10.

    * stage1.c: Changed function for maxintronlen.

    * smooth.c: Increased SHORTMIDEXON_LEN from 40 to 80.

    * dynprog.c: Removed definition for INFINITY, which wasn't being used.

2004-12-18  twu

    * stage2.c: Created define parameter SAMPLE_INTERVAL.

    * gmap.c, snap.c: Change maxintronlen to be maxintronlen_bound, and compute
      new maxintronlen depending on current query length.  Increased size of
      extraband_single and extraband_paired.

    * params.c, params.h, stage1.c, stage1.h: Change maxintronlen to be
      maxintronlen_bound, and compute new maxintronlen depending on current
      query length.

    * dynprog.c: Changed compute_scores_affine to have parameter list compatible
      with compute_scores (with codon penalty).

    * stage3.c: Subtracting points for non-canonical introns in determining
      direction. Doing middle introns of sequence before doing 3' and 5' ends.

    * dynprog.c: Increased pvalue thresholds.

2004-12-13  twu

    * gmap.c, pair.c, pair.h, snap.c, stage3.h: Added function for printing cDNA
      exons.

    * stage3.c: Fixed problem where we shouldn't perform single-gap dynamic
      programming because unable to peel forward and peel back.

    * translation.c: Created separate mutation types for substitution,
      insertion, and deletion.  Allowed filling in of last amino acid.

    * mutation.c, mutation.h: Created separate mutation types for substitution,
      insertion, and deletion.

2004-12-10  twu

    * stage3.c: Changed calls to Translate module.

    * translation.c: Simplified code for computing protein bounds.  Handled the
      case where full length is specified, but no full length protein exists.

    * mutation.c, mutation.h: Added procedures for handling multiple insertions
      and deletions.

2004-12-09  twu

    * translation.c, translation.h: Changed algorithm for translate_est_forward
      and translate_est_backward.

2004-12-08  twu

    * translation.c, translation.h: Changed algorithms for translate_est_forward
      and translation_est_backward.  Added printing of nucleotide differences.

    * gmap.c, snap.c, stage3.c, stage3.h: Added options for printing either
      genomic or cDNA version of protein.

    * pair.c, pair.h: Added function Pair_dump_aapos.

    * mutation.c, mutation.h: Added functions for retrieving amino acids from
      mutation.

    * dynprog.c: Added slight penalty against gaps next to an intron.

2004-12-06  twu

    * Makefile.am, mutation.c, mutation.h, stage3.c, translation.c,
      translation.h: Simplified computation of translations and mutations.

    * pair.c, pair.h, pairdef.h, pairpool.c: Now printing both genomic and cDNA
      proteins.

2004-12-02  twu

    * stage3.h: Removed unused chimera code.

    * stage3.c: Removed unused chimera code.  Changed criteria for finding
      microexons at end; now performed only when extension is poor and sequence
      quality is high.

    * dynprog.h, gmap.c, snap.c: Allowed user option to extend alignment past
      last match.

    * dynprog.c: Fixed bug in adding gap to replace dashes.

    * pairpool.c: Added debugging statement for creation of pairs.

    * smooth.c: Added check for negative exon length.

2004-11-30  twu

    * dynprog.c, dynprog.h: Added symbols for an intron if applicable to a large
      horizontal jump. Increased maximum microexon size.

    * stage3.c: Added peel_back and peel_forward to 5' and 3' ends before doing
      search for microexons.

2004-11-23  twu

    * scores.h, stage3.c: Added credit for dual half-canonical introns.

    * stage1.c, stage1.h: Removed unused code.

    * dynprog.c: Added parameters for PVALUE for microexon and end exon
      searches.

2004-11-18  twu

    * result.h: Changed interface for Result_new to match implementation.

    * Makefile.am: Added scores.h to Makefile.am.

2004-11-15  twu

    * stage3.c, stage3.h: Commented out code for extending pairs in a chimera.

    * gmap.c, snap.c: Fixed problem in rearranging best two paths for chimera.

    * pair.c: Stopped printing of the terminal amino acid '*'.

    * genome.c, indexdb.c: Added printing of a dot every 10000 pages.

2004-10-12  twu

    * gmap.c, snap.c: For chimeras that extend too long, now chopping off the
      extra part.

    * stage3.c, stage3.h: Added procedure for doing a bounded copy of a Stage 3
      object.

    * pairpool.c, pairpool.h: Added procedure for doing a bounded copy of a
      path.

2004-10-07  twu

    * Makefile.am, chimera.c, chimera.h, gmap.c, snap.c: Changed procedure for
      chimeras to find best pair and to order the chimeras according to query
      sequence.

    * scores.h: Moved scores for determining goodness into a separate file.

    * stage3.c, stage3.h: Added procedure for copying a Stage3 object.

    * result.c, result.h: Changed chimera information to be a position, rather
      than a boolean.

    * dynprog.c: Added code for allowing right angles, but not using at present.

    * pairpool.c: Changed print statement to work only in debug mode.

    * pair.c, pair.h: Added procedure for computing scores along a path.

2004-10-01  twu

    * gmap.c, match.c, pair.c, pair.h, sequence.c, sequence.h, snap.c, stage3.c,
      stage3.h: Added MD5 checksum for compressed output.

    * stage1.c: Added notation about using position for revcomp matches in IITs.

    * iit-read.c: Changed debugging statements to print unsigned ints.

2004-09-27  twu

    * stage3.c: Fixed problem when peeling an extra pair if it's a gap.

2004-09-09  twu

    * stage3.c: Restored behavior of crossing just one short exon for dual
      genome gap.

    * stage3.c: Peeled back one more matching pair.  For dual intron gap, now
      skipping multiple short exons and keeping the longest one.

    * gmap.c, snap.c: Increased maxpeelback from 10 to 11.

    * pairpool.c, pairpool.h: Added command Pairpool_transfer_copy, although not
      currently used.

    * pair.c, pair.h: Added command Pair_check_list.

    * dynprog.c: Added end reward for bridging a cDNA gap.

    * md5-compute.c: Changed behavior from a single sequence to a FASTA file of
      multip[le sequences.

    * Makefile.am: Added object file for md5-compute.

2004-09-02  twu

    * stage3.c: Fixed floating exception bug when middle_exonlength is
      non-positive.

    * stage2.c: Fixed problem of reading uninitialized value.

2004-08-30  twu

    * dynprog.c: Added check for non-positive span.

2004-07-28  twu

    * stage2.c: Changed some penalties.  Using bad sequence information to
      increase lookback.

    * oligoindex.c, oligoindex.h: Added check for bad sequences (with several
      non-ACGTN characters).

    * dynprog.c: Added check for zero span.

2004-06-25  twu

    * gmap.c, snap.c: Added flag to search only reference strain.

    * stage2.c: Increased definition of ENOUGH_CONSECUTIVE.  Added penalties for
      deadp.

    * stage3.c: Penalizing noncanonical introns in comparing across different
      paths.

    * segmentpos.c: Changed output of contig length.

    * pair.c, pair.h: Reporting number of noncanonical introns.  Allowing
      goodness to be reported during debugging.

2004-06-23  jtang

    * cvswrappers: Added binary extensions

2004-06-20  twu

    * stage2.c: Simplified decision making for mismatch gaps.  Increased
      penalties on gendistance and querydistance.

2004-06-16  twu

    * whats_on: Added get_sequences function.

    * gmap_uncompress.pl, gmap_uncompress.pl.in, snap_uncompress.pl: Implemented
      code to interpret new compression scheme.

    * stage2.c: Changed penalty functions into macros for speed.  Made some
      other changes to improve speed.

    * dynprog.c: Fixed bug involving uninitialized variable.

2004-06-15  twu

    * stage2.c: Penalizing intron length per 2000 nt instead of 1000.

    * stage3.c: Using goodness scores to decide between single and dual introns.
      Searching for microexons only when sequence quality is medium to high.

    * dynprog.c, dynprog.h: Reporting nopens and nindels from
      Dynprog_genome_gap.

2004-06-13  twu

    * stage3.c: Added evaluation of middle exon length in deciding between
      single and dual introns.

    * stage2.c: Reduced size of INTRON_DEFN.  Further penalized large query
      distances.

    * stage1.c: Increased length of additional ends of genome segment.

    * oligoindex.c: Improved debugging statements.

    * dynprog.c, dynprog.h: Allowing up to 1 mismatch on either side for
      microexon search. Reporting position of exonhead in Dynprog_genome_gap for
      use in traversing dual genome gap.

2004-06-10  twu

    * stage2.c: Added procedure to determine maximum intron length at a given
      querypos, and based penalties to be linear with that.

    * smooth.c: Added check for nullness of intronlengths.

    * dynprog.c: Added probabilistic check on microexon length for a given
      genomic span.

2004-06-09  twu

    * pair.c, pair.h, stage3.c: Keeping track of semicanonical introns and
      scoring them to decide on strand.

    * smooth.c: Made decision about deleting end exons based on probability.

2004-06-08  twu

    * get-genome.c: Fixed a bug in determining whether a query is a range.

    * stage3.c: Added debugging statement for microexons.

    * dynprog.c: Added minimum length for introns when looking for microexons.

2004-06-07  twu

    * stage2.c: Changed penalties to be more consistent on mismatches between
      different conditions, including deadp.  For deadp, now requiring that
      abs(gendistance - querydistance) or querydistance be less than
      INTRON_DEFN.

    * smooth.c: Increased threshold on ends to be 20.

    * pair.c: For determining fracidentity (and selecting between forward and
      reverse strands), now counting semicanonical introns as canonical.

    * stage2.c: For deadp, increased lookback.

    * gmap.c, snap.c: Increased maxintronlen from 1 million bp to 2 million bp. 
      Motivated by HER4 (NM_005235).

    * gmap.c, snap.c: Increased nullgap from 80 to 600.

    * stage2.c: Modified stage 2 scoring for mismatch alignments.  Invoked deadp
      when fwd or rev score is zero.

2004-06-04  twu

    * translation.c: Further fixed the bug involving uninitialized heap
      (translation_start/translation_end extending beyond sequence boundaries).

    * stage2.c, stage2.h: Rewrote code into separate procedure.  Increased
      gendistance penalty. Changed penalties when querypos is dead.

    * gmap.c, snap.c: Created separate parameters for extraband_end and
      extraband_paired. Renamed maxlookback to nullgap.  Created nsufflookback
      parameter. Removed repetition of stage 2.

    * params.c, params.h, stage3.c, stage3.h: Created separate parameters for
      extraband_end and extraband_paired. Renamed maxlookback to nullgap. 
      Created nsufflookback parameter.

    * dynprog.h: Created separate parameters for extraband_end and
      extraband_paired.

    * dynprog.c: Created separate parameters for extraband_end and
      extraband_paired. Extending last nucleotide at ends if possible.  Removing
      gaps at ends.

    * translation.c: Fixed a bug involving reading/writing of uninitialized
      heap.

2004-06-02  twu

    * stage3.c: Doubled intron space required for a paired gap solution to be
      attempted.

    * dynprog.c: Implemented gap penalties that are non-affine, with extensions
      being the same within a codon.

    * translation.c: Fixed bug where codon was assigned improperly at a cDNA
      gap.

    * dynprog.c, dynprog.h, stage3.c: Added a conservative search for microexons
      at the 5' and 3' ends.

    * smooth.c: Increased pruning of ends from 8 back to 16.

    * stage2.c, stage2.h: Added Stage2_pathlength function.

    * gmap.c, snap.c: ncreased maxpeelback from 8 to 10 and allowed program to
      redo stage2 with increased suflookback if cDNA not covered.

    * stage3.h: Changed MININTRONLEN from 9 to 6 and moved definition into .c
      file.

    * stage3.c: Made search for microexon dependent on number of mismatches.

    * dynprog.c, dynprog.h: Made Dynprog_genome_gap return number of matches and
      mismatches.

2004-05-27  twu

    * dynprog.c, dynprog.h, stage3.c: Made microexon search work in reverse
      direction.  Fixed memory leak.

    * boyer-moore.h: Added RCS Id.

    * boyer-moore.c: Removed debugging statement.  Added RCS Id.

    * Makefile.am, boyer-moore.c, boyer-moore.h, dynprog.c, dynprog.h, stage3.c:
      Added procedure for finding microexons.  Works for forward direction only.

2004-05-26  twu

    * stage3.c: Increased goodness score for canonical intron when deciding
      between forward and reverse directions.

    * sequence.c: Fixed read procedure to handle PC line feeds.

    * dynprog.c: Changed end extension to allow one gap and to proceed if number
      of matches is greater than or equal to number of mismatches.

    * gmap.c, snap.c, stage3.c, stage3.h, translation.c, translation.h: Added
      option for assuming a full-length sequence.

    * pair.c: Changed printing of protein coordinates to correspond to first
      amino acid on each line.

    * gmap.c, snap.c: Added ability to print protein sequence.  Fixed some
      flags.

    * translation.c, translation.h: Fixed calculation of translation
      coordinates.

    * pair.c, pair.h, stage3.c, stage3.h: Added printing of protein coordinates.

    * indexdb.c: Revised monitoring statement.

    * dynprog.c: Revised extensions of 5' and 3' ends to use best score with no
      gap, even if negative.  This extends ends when there is one match and one
      mismatch.

2004-05-14  vivekr

    * cvswrappers: Added binary extensions

2004-05-06  twu

    * compress.c, gmap.c, indexdb.c, pair.c, snap.c, stage3.c, stage3.h,
      translation.c, translation.h: Made improvements to relative translation
      routines.

2004-05-05  twu

    * Makefile.am, compress.c, compress.h, gmapindex.c, indexdb.c, snapindex.c:
      Moved compress and uncompress routines to a new file.

2004-04-23  twu

    * translation.c: Fixed frameshift-tolerant protein computation for cases
      where cDNA deletion is 3 or more nt.

2004-04-22  twu

    * gmap.c, snap.c, stage3.c, stage3.h, translation.c, translation.h: Added
      feature for fixing frameshifts in reference-based protein computation and
      made it the default.

    * stage3.c, translation.c, translation.h: Changed internal data format for
      calculating translations.

    * translation.c: Fixed array bounds bug in translating from reference.

    * whats_on: Added flag for showing original headers.

    * gmap.c, pair.c, pair.h, pairdef.h, pairpool.c, params.c, params.h, snap.c,
      stage3.c, stage3.h, translation.c, translation.h: Added protein
      calculation for ESTs based on a reference mRNA.

2004-04-19  twu

    * gmap.c, pair.c, pair.h, params.c, params.h, snap.c, stage3.c, stage3.h,
      translation.c, translation.h: Changes to allow calculation of mutation
      effect given a specific mutation

2004-04-18  twu

    * genome.c, genome.h: Fixed code for patching strains.

    * genomicpos.c: Cleaned up code for adding commas.

    * stage1.c: Changed variable name from stutter to stutterdist.

    * gmap.c, snap.c: Added internal flag to control strain searching feature.

2004-04-17  twu

    * whats_on: Added ability to print align.iit files, rather than map.iit
      files.

    * gmap_uncompress.pl, gmap_uncompress.pl.in, snap_uncompress.pl: Added
      inversion mode.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Added code to
      skip protein sequence lines.

2004-03-30  twu

    * Makefile.am, gmap.c, snap.c: Added routines for printing protein sequence.

    * iit-read.c, iit-read.h: Added procedure for listing all types.

    * stage3.c, stage3.h: Fixed memory leak and bug when stage3 result is NULL.

    * translation.c, translation.h: Added routines for printing peptide
      sequence.

    * get-genome.c: Allowed user to select a particular strain to align against.

    * pair.c, pair.h: Added routine for printing peptide.  Clarified code for
      handling inversions on minus strand.  Fixed bug in compression for '#'
      character.

2004-02-24  twu

    * stage3.c: Added special cases for single mismatch and single cDNA
      insertion.

    * stage1.c: Defined maximum on finding match pairs, to eliminate slow
      response on nonsense sequences, such as poly-G.

2004-02-23  twu

    * stage3.c: In pass 3, force single gap to be crossed even if finalscore is
      negative, to complete alignment.

2004-02-19  twu

    * stage3.c, stage3.h: Removed unused variable minendtrigger.

    * gmap.c, params.c, params.h, snap.c: Removed global user-specified
      parameters from Params_T.

    * gmap.c, snap.c: Removed fraction_threshold parameter.  Changed default
      chimera_threshold to 0.50.

    * params.c, params.h: Removed fraction_threshold parameter.

    * gmap.c, snap.c: Made chimera threshold definable by user, and set default
      to 0.70.

    * stage3.c: Re-defined criterion for a gap to be when queryjump <= 0 and
      genomejump <= 0, which holds true after single gaps are filled. Prevented
      filling in a genome gap when its alignment score is negative.

    * smooth.c, smooth.h: Re-defined criterion for a gap to be when queryjump <=
      0 and genomejump <= 0, which holds true after single gaps are filled.

    * matchpair.c, matchpair.h: Made size bound a fraction of the best, rather
      than subtraction.

    * stage1.c: Increased maxentries parameters.  Made size bound a fraction of
      the best, rather than subtraction.

    * gmap.c, snap.c: Removed calls to Stage1_matchpairlist.  Now performing
      sampling by default.

    * smooth.c: Reduced size definition of short intron.  Made intron definition
      depend only on genome distance, which now includes single gaps that
      weren't filled in in stage 3.

    * stage2.c: Made a macro for query distance penalty.

    * stage3.c: Fixed problem with peeled is NULL.  Added decision to not fill
      in single gap if the score is negative, and to restore peeled pairs in
      that case.

2004-02-18  twu

    * smooth.c: Fixed memory leak.

    * stage3.c: Fixed bug where program would skip over a pair after gappairs
      was added.

2004-02-17  twu

    * stage3.c: Made peel_back and peel_forward end at a non-gap, by
      backtracking from peeled.

    * stage3.c: Increased reward for canonical introns from 5 to 8.

2004-02-16  twu

    * stage3.c: Fixed bugs in peel_back and peel_forward.  Fixed bug in
      computing goodness scores.

2004-02-15  twu

    * smooth.c, smooth.h, stage3.c: Giving information about number of short
      exons found in smoothing to stage 3 to help improve speed.

    * stage3.c: Removed occurrences of indexsize.  Cleaned up procedure for
      finding middle exons in dual intron procedure.

    * smooth.c, smooth.h: Rewrote smoothing procedure to be a cleaner procedure.
       Analyzing both ends to prune short exons.

    * pair.c, pair.h: Added Pair_debug_alignment procedure.

    * smooth.c, smooth.h, stage2.c, stage3.c: Changed stage 2 to produce a
      nucleotide-based path, rather than 8-mer path.  Changed smoothing and
      stage 3 accordingly.  Made all intron distance penalties equal in stage 2.

2004-02-14  twu

    * dynprog.c, dynprog.h, stage3.c: Rearranged stage 3 to solve dual introns
      before other introns and large gaps.  Performing smoothing iteratively
      with dual introns.

    * stage2.c: Replaced calculations of gendistance_penalty with macros.

    * smooth.c: Increased minexonlen for smoothing, because smoothing has been
      made iterative.

    * pair.c: Using memcpy commands instead of copying individual fields.  Added
      diagnostic printing of short exons.

    * Makefile.am, smooth.c, smooth.h, stage3.c: Added files smooth.c and
      smooth.h and moved Smooth_path there

    * matchpair.c: Fixed memory leak.

    * gmap.c, snap.c, stage2.c, stage2.h, stage3.c, stage3.h: Changed stage 2
      and stage 3 algorithms to interleave in the following order: dynamic
      programming on single gaps, then smoothing, then dynamic programming on
      ends and large gaps.  Allows dual intron algorithm to work even when
      middle exon has small mismatches or gaps.

    * pair.c: Fixed merge_one_gap to handle user-selected ngap != 3.

    * dynprog.c, dynprog.h: Moved definitions of defect rate boundaries to
      header file.

2004-02-13  twu

    * stage2.c: Subtracting (querydistance+7)/8 on mismatches to penalize once
      per 8-mer.  Subtracting 1 for each intron to reduce number of introns,
      especially when a/1000 + b/1000 < (a+b)/1000.

    * stage2.c: Added separate intron penalties for consistent, unknown, and
      inconsistent introns.  Increased lengths of short middle exons marked for
      dual genome gap.

    * stage2.h, stage3.c: Added intron length to goodness score.

    * stage2.c: Implemented two parallel computations in Stage 2 under forward
      and reverse assumptions.  Removed firstregion and lastregion computations
      from smoothing.

2004-02-12  twu

    * gmap.c, snap.c: Removed universalp flag (-U).

    * iit_get.c: Added annotation only mode (-A).

    * whats_on: Simplified code greatly.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Removed space
      before first token.  Fixed bug in reporting genomic exon length rather
      than cDNA exon length.

2004-02-11  twu

    * dynprog.c, dynprog.h, stage3.c: Added computation of nonintronlen for
      goodness ranking.

    * stage2.c: Introduced Link_T to hold dynamic programming data.

    * stage2.c: Modified smoothing to have keep, delete, and mark options.

    * stage2.c, stage2.h, stage3.c: Added category for introns of unknown
      direction.

    * gmap.c, snap.c: Made default for chimerasearchp false again.  Added an
      automatic mode for chimera search if coverage is less than 50%.

    * gmap.c, snap.c: Made chimera search the default.

    * stage2.c: Added counts of forward, reverse, and non-canonical introns to
      the dynamic programming procedure, and used consistency in computing
      scores.

2004-02-10  twu

    * stage3.c: Added debugging macros.

    * stage2.c: Added intron penalty only for noncanonical introns.

    * stage1.c: Added debugging statements.

    * matchpair.c: Reduced MAXCANDIDATES from 30 to 10.

    * dynprog.c, pair.c, pairdef.h: Added '~' character for non-canonical gaps
      converted to insertions, to avoid penalizing them as non-intron gaps.

    * gmap.c, iit-read.c, iit-read.h, snap.c, stage3.c, stage3.h: Changed map
      output to include strand if both strands are requested.

    * dynprog.c: Restored horizontal or vertical jump of 1 next to intron.

    * datadir.c: Changed error message.

    * stage2.c: Add penalty for number of non-canonical introns.  Accumulate
      best score for introns, even if negative, and use that if no other score
      exceeds 0.

2004-02-09  twu

    * iit-read.h: Added name to IIT structure.

    * gmap.c, pair.c, pair.h, params.c, params.h, snap.c, stage3.h: Added
      compression feature.

    * stage3.c: Added compression feature.  Added debug mode to show output from
      stage 2.

    * gmapindex.c, snapindex.c: Added optional name to IIT structure.

    * get-genome.c, iit-read.c, iit_dump.c, iit_get.c, iitdef.h: Added optional
      name to IIT structure.

2004-02-07  twu

    * dynprog.c: Advanced counter within gaps to the next position.

    * pair.c, pair.h, pairdef.h, pairpool.c: Added the shortexonp field for
      pairs.

    * stage2.c: For smoothing of short exons, marking positions as short, rather
      than deleting them.  Increased length threshold for short exons, because
      we now have a mechanism for handling them well.

    * gmap.c, snap.c: Added a dynprogM for handling short exons.

    * stage3.c, stage3.h: Removed special procedure for dual genome gaps. 
      Instead comparing a single genome gap with two half genome gaps for short
      exons.

    * dynprog.c: Removed special procedure for dual genome gaps.  Instead, for
      short exons, comparing a single genome gap with two half genome gaps.

2004-02-06  twu

    * dynprog.c: Passing pointers to revsequence and revoffset from stage3 to
      dynprog procedures where appropriate.  Added preliminary code for dual
      genome gap.

    * dynprog.h, stage3.c: Passing pointers to revsequence and revoffset from
      stage3 to dynprog procedures where appropriate.

    * get-genome.c, gmap.c, pair.c, pair.h, params.c, params.h, sequence.c,
      sequence.h, snap.c, stage3.c, stage3.h: Added option for specifying wrap
      length.

    * dynprog.c: Fixed problem with sequence being short by 1 nt in conversion
      of gap to insertion.

    * dynprog.c: Convert short non-canonical introns into insertions.

    * dynprog.c: Removed reverse_sequence and creation of reverse sequence.  Now
      using a boolean to determine whether to use negative indices.

    * Makefile.am, README, configure.ac, datadir.c, datadir.h, gmap.c, params.c,
      params.h, snap.c, stage3.c, stage3.h: Changed references to "bounds" to
      "map".

    * ddsgap2_compress.pl: Made much faster.

    * get-genome.c: Fixed get-genome for reverse complement.  Added debugging
      statements.

    * dynprog.c: Added specific constraints on whether to allow gaps adjacent to
      the intron, depending on sequence quality.

2004-02-03  twu

    * dynprog.c, dynprog.h: Removed conservative option.  Added comments to
      explain rationale behing scoring scheme.

    * gmap.c, params.c, params.h, snap.c, stage3.c, stage3.h: Removed
      conservative option.

    * stage3.c: Removed peelback on sequence ends.  Continued peelback through
      small gaps and mismatches.  Included comp of '-' in pruning of gaps at
      end.

    * iit-read.c: Added debugging code.

    * genome.c: Fixed faulty reasoning when patch has expansion or contraction.

    * dynprog.c: Raised penalties on paired gap alignment to prevent
      gap-match-gap being preferred to two mismatches.  Added checks to bridging
      across introns to prevent genomic insertion or more than one cDNA
      insertion.

2004-02-02  twu

    * pairdef.h: Revised comment about definition of gapp.

    * pair.c: Removed comment.

    * pair.c: Removed comment.

    * dynprog.c: Fixed debugging statements for pairs pushed on horizontal or
      vertical moves.

    * gmap.c, pair.c, pair.h, snap.c, stage3.c, stage3.h: Added printing of
      bounds information as a separate section.

2004-02-01  twu

    * Makefile.am: Added uintlist.c and uintlist.h to source lists where
      necessary.

    * gmapindex.c, snapindex.c: Made contig intervals inclusive.

    * iit_get.c: Changed isnumber to isnumberp to avoid conflict on some Unix
      machines.

    * iit_get.c: Handle case where strlen of annotation is 0.  Add carriage
      return after annotation if necessary.  If one numeric argument given, try
      as a label, then as a number.

    * iit-read.c: Handle case where strlen of annotation is 0.

    * genome.c, get-genome.c: Reverted to previous IIT format, where we don't
      store lengths explicitly.  For sequences, can determine actual length from
      annotation strlen.

    * iit-read.c, iit-read.h, iit-write.c, iit-write.h, iit_store.c, interval.c,
      interval.h: Reverted to previous format, where we don't store lengths
      explicitly.

    * iit_dump.c: Added warning if IIT_read fails.

    * gmapindex.c, snapindex.c: Reverted to previous format, where we don't
      store lengths explicitly. For FASTA files, count sequence length and store
      as annotation in contig_iit.

    * stage3.c: Added Pair_check procedure.

2004-01-31  twu

    * dynprog.c: Fixed problem with dynamic programming not going back to
      beginning. Fixed bridging across cDNA gaps.

    * datadir.c, datadir.h: Created two data directories, one for genome files
      and one for bounds files.

    * pair.c, pair.h: Added Pair_check function.

    * Makefile.am, configure.ac, gmap.c, snap.c: Created two data directories,
      one for genome files and one for batch files.

2004-01-28  twu

    * dynprog.c: Reduced mismatch and gap penalties at ends to extend ends more
      completely.

2004-01-27  twu

    * stage1.c: Increased length of very small sequences from 30 to 40.

2004-01-26  twu

    * gmap.c, snap.c, stage1.h: Changed criterion for good alignment on short
      sequences to be based on coverage rather than percent identity.

    * stage1.c: Sampling exhaustively on short sequences.

    * stage2.c: Removed tiebreaker based on genomic distance.  Ignoring
      gendistance penalty if no better score can be found, which allows program
      to find distant 5' exons.

    * pair.c, pairpool.c, stage3.c: Restored large gap and '#' character when
      queryjump exceeds maxlookback.

    * match.c: Fixed bug where accessions were looked up on chromosomal
      coordinates instead of universal coordinates.

    * Makefile.am, datadir.c, datadir.h, snapconfig.c: Removed snapconfig and
      run-time configuration of SNAP, which doesn't work on statically built
      binaries.

2004-01-24  twu

    * gmap.c, snap.c: Updated print_usage statement for non-popt systems.

    * snapconfig.c: Added a usage statement.

    * iit_dump.c: Added a debug flag.

    * iit-write.c: Writing out elements of structs individually, instead of
      depending on an fwrite of the struct.

    * iit-read.c, iit-read.h: Fixed problem with Bigendian reads of iit files. 
      Added IIT_debug function.

    * Makefile.am: Provided different dist and nodist instructions depending on
      FULLDIST.

2004-01-23  twu

    * stage1.c: Set maxentries during sampling to be 10 times that of scanning. 
      Set stage1size for short sequences to be 12-mers for < 40 nt, and 18-mers
      for 40-80 nt.

    * pair.c, pair.h: Removed '#' is a character in alignment.

    * dynprog.c, dynprog.h, stage3.c: Treated cDNA gaps (extra cDNA material) in
      a way analogous to genome gaps.

    * pairpool.c: Removed '#' is a character in alignment.

    * get-genome.c: Changed name of function from isnumber to isnumberp to avoid
      name conflict with some systems (like MacOSX) that define isnumber in
      ctype.h.

2004-01-21  twu

    * stage3.c: Fixed bug where dynamic programming of ends wouldn't go all the
      way to the end of the genomic segment.

    * dynprog.c: Fixed debug statement.

    * Makefile.am: Added file matchdef.h

    * dynprog.c, dynprog.h, gmap.c, pair.c, pair.h, params.c, params.h, snap.c,
      stage3.c, stage3.h: Added parameter for length of intron gap shown.

    * stage1.c: Added a second maxentries parameter to prevent slowness on long
      repeated inputs, like CA...CA.

2004-01-20  twu

    * stage3.c: Allowed cDNA direction to be indeterminate.

    * matchpair.c, stage1.c: Fixed clustering to work with minsize of 1.

    * dynprog.c: Reduced points for match, which improves some alignments.

2004-01-17  twu

    * gmap.c, params.c, params.h, snap.c, stage1.c, stage1.h: Removed nsamples
      as a global parameter.

    * Makefile.am, bootstrap, configure.ac: Added libtool and
      --enable-static-linking feature.

    * gmap.c, snap.c: Implemented incremental clustering based on progressively
      smaller sampling intervals.  Added ability to print alignment
      continuously.

    * matchpair.c, matchpair.h, stage1.c: Implemented incremental clustering
      based on progressively smaller sampling intervals.

    * match.c, matchdef.h: Moved structure definition to matchdef.h

    * block.c, block.h, reader.c, reader.h: Added ability to reset ends of
      block.

2004-01-16  twu

    * stage3.c, stage3.h: Added printing of number of unknowns and of gap
      openings in cDNA and genome.

    * params.c, params.h: Added parameter for continuous output of alignment.

    * pair.c, pair.h: Added output of number of unknowns.  Added procedure for
      continuous output of alignment.

    * dynprog.c: Created different penalties for gaps in single and paired gaps.

2004-01-14  twu

    * configure.ac: Added feature for static linking.

    * params.c, params.h: Using two parameters for stutter: stuttercycles and
      stutterhits.

    * gmap.c, snap.c: Performing sampling only when necessary.  Using popt help
      when available.

    * stage1.c, stage1.h: Performing sampling only when necessary.  Limiting
      size and changing parameters for bestlist.

    * matchpair.c, matchpair.h: Eliminated unused code in filtering procedure.

    * indexdb.c: Fixed fread_int to be fread_uint.

    * iit-read.c: Added abort statement when more than one interval retrieved by
      IIT_get_one.

    * get-genome.c: Fixed bug with accessing chromosome_iit after being freed. 
      Using popt help when available.

    * oligo.c, oligo.h: Added Oligo_skip function.

    * block.c, block.h: Removed maxtries and added Block_skip.

2004-01-14  desany

    * loginfo: Added Yan to e-mail notifications.

    * loginfo: Finally figured out where to put the quote (I think).

    * loginfo: e-mail command tweak

    * loginfo: e-mail command tweak

    * loginfo: e-mail command tweak

    * loginfo: e-mail command tweak

    * loginfo: Tweaking the e-mail command.

    * loginfo: Sending log messages to desany when cgh module updates are
      committed.

2004-01-13  twu

    * gmap.c, snap.c, stage1.c: Changed strategy to use clusters of matches,
      after first pair found.

    * gmapindex.c, snapindex.c: Eliminated check for genome database in
      compression mode.

    * stage2.c: Changed distance penalty to 1 point per 1000 nt.

    * pair.c, pair.h, stage3.c: Keeping separate track of query indels and
      target indels.

    * genome.c, genome.h, get-genome.c: Implemented check for gbufferlen when
      shifting old sequence.

    * separator.h: Added file for separator information.

2004-01-09  twu

    * Makefile.am, get-genome.c: Changed program to use chromosome_iit and
      contig_iit, rather than text files.

    * genome.c: Fixed bug from call to madvise on NULL region.

    * iit-read.c, iit-read.h: Added function IIT_read_linear.

    * gmapindex.c, snapindex.c: Storing length in interval of contig_iit, rather
      than in annotation.

    * stage1.c: Changed paired algorithm to use sum of reciprocals of number of
      hits.

    * get-genome.c: Removed unnecessary decompression functions (now in
      genome.c).

    * gmap.c, snap.c: Fixed bug where fraction_threshold was declared as int
      rather than double.

    * stage1.c: Revised algorithm to count number of query hits on 5' and 3'
      ends.

    * Makefile.am, datadir.c, datadir.h, get-genome.c, gmap.c, snap.c,
      snapconfig.c: Moved datadir functions to a separate file.

    * gmapindex.c, snapindex.c: Changed format of text files .chromosome and
      .contig.

2004-01-08  twu

    * genome.c, genome.h, get-genome.c, gmap.c, iit-write.c, iit-write.h,
      snap.c: Allowed genomic patches to be longer or shorter than their
      endpoints.

    * gmapindex.c, snapindex.c: Allowed intervals to have length that is
      different from their endpoints.  Changed format for fasta file input to
      snapindex.

    * iit_store.c, interval.c, interval.h, segmentpos.c, segmentpos.h: Allowed
      intervals to have length that is different from their endpoints.

    * iit-read.c: Added carriage returns to annotations, if absent.

2004-01-07  twu

    * gmap.c, params.c, params.h, snap.c: Made fraction_threshold a parameter.

    * stage2.c: Changed calculation of penalty for large genome distances to be
      done only when necessary.

    * snapconfig.c: Changed feedback message.

    * genome.c, indexdb.c: Improved warning messages when memory mapping fails.

2004-01-05  twu

    * snapdir.c: Changed name of snapdir to snapconfig.

    * gmap.c, match.c, match.h, params.c, params.h, result.c, result.h, snap.c:
      Restored alignment using stage 1 only.

    * stage1.c, stage1.h: Moved decision of stage1size and maxentries to here.

    * genome.c: Added warning message of memory mapping of genome fails.

    * genome.c: Restored batch memory mapping of genome.

    * stage1.c: Greatly increased MAXENTRIES parameter.

    * gmap.c, params.c, params.h, snap.c: Made stage1size dependent upon
      sequence length, with short sequences getting stage1size of 12.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl, whats_on:
      Generalized parse for coordinate separator.

    * get-genome.c: Restored -- as coordinate separator.

2003-12-20  twu

    * gmap.c, sequence.c, sequence.h, snap.c, stage3.c, stage3.h: New approach
      to chimeras, involving a subsequence and new stage1 procedure.

    * stage2.c: Added distance penalty for long introns.

    * Makefile.am, pair.c, segmentpos.c: Included separator.h

2003-12-19  twu

    * pair.c, segmentpos.c, segmentpos.h: Removed unnecessary parameters in
      Segmentpos_print_accessions.

    * get-genome.c: Change in coordinate separator from -- to ..

2003-12-17  twu

    * gmap.c, match.c, match.h, matchpair.c, matchpair.h, snap.c, stage1.c,
      stage1.h: Changed procedures for finding chimeras to try singlelist of the
      appropriate side.

    * pair.c, segmentpos.c: Changing coordinate output from -- to ..

    * stage3.c, stage3.h: Changed procedures for finding chimeras to try
      singlelist of the appropriate side.  Fixed bug in computing chimeric
      goodness.

    * dynprog.c, dynprog.h: Provided separate parameters for ends, removed
      multiplicative reward, and changed all score calculations to be integers.

2003-12-16  twu

    * matchpair.c, stage1.c, stage1.h: Fixed bug with position calculations on
      large chromosomes (> 2 Gig).

    * gmap.c, matchpair.c, matchpair.h, snap.c, stage1.c, stage1.h: Based
      algorithm for finding extensions on 12-mers.

    * chrnum.c, chrnum.h: Added function for computing chromosomal string and
      position from genomic position.

2003-12-15  twu

    * gmap.c, matchpair.c, matchpair.h, params.c, params.h, snap.c: Made
      extension linear depending on query length.

    * stage1.c, stage1.h: Made cluster list depend on size of largest cluster.

2003-12-14  twu

    * stage2.c: Added a minimum exon length for ends during smoothing.

    * stage1.c, stage1.h: Added a last-resort procedure for trying all matches
      found in stage 1.  Enhanced debugging statements.

    * gmap.c, snap.c: Added a last-resort procedure for trying all matches found
      in stage 1.

    * oligoindex.c, shortoligomer.h: Returned to old method for store_positions,
      because it appears to be faster.

    * genome.c, genome.h, get-genome.c: Enhanced debugging statements.

    * matchpair.c: Added assertions about strands and relative position of
      matches.

    * stage2.c: Returned to old method for store_positions.  Fixed smoothing for
      a single exon.

2003-12-13  twu

    * oligoindex.c, shortoligomer.h, types.h: Further attempt to increase speed
      of store_positions.

    * gmap.c, snap.c: Fixed memory leak when stage3array is recomputed.

    * oligoindex.c, oligoindex.h, stage2.c: Increasing speed of store_positions
      by reducing number of calls to calloc.

    * gmap.c, matchpair.c, matchpair.h, params.c, params.h, snap.c, stage1.c,
      stage1.h: Changed cluster algorithm to rank clusters based on size and
      process the top ones based on sum of sizes.

    * genome.c: Added check for enddiscard being 0.

    * stage2.c: Did an in-lining of intron_score.

    * gmap.c, params.c, params.h, snap.c, stage1.c, stage1.h, stage3.c,
      stage3.h: Added new cluster algorithm for stage 1, used when paired
      algorithm fails to produce an alignment with high identity.

2003-12-12  twu

    * gmap.c, snap.c: Added ability to modify binary file to include default
      genome directory.

    * snapconfig.c, snapdir.c: Initial import into CVS.

2003-12-10  twu

    * gmapindex.c, indexdb.c, indexdb.h, snapindex.c: Added ability to generate
      idxoffsets and idxpositions files from compressed genome.

    * gmap.c, snap.c: Changed the uncompressed flag from -G to -g.

    * gmapindex.c, snapindex.c: Implemented direct writing of compressed genome
      file.

    * iit_store.c: Fixed bug where non-copied string is entered into table.

    * iit_get.c: Improved error message.

    * iit_dump.c: Added function for showing all types.

    * table.c: Added debugging statements.

    * gmap.c, params.c, params.h, snap.c: For user-provided segments, skipping
      stage 1 (although can be specified by the user), to achieve increased
      speed.

    * sequence.c, sequence.h: Restored function Sequence_revcomp.

2003-12-04  twu

    * stage1.c: Restored cluster algorithm for short sequences.

    * gmap.c, snap.c: Generalized definition of chimera, and reduced percentage
      to 80%.

2003-12-03  twu

    * Makefile.am, iit-read.c, iit-read.h, iit_get.c: Augmented iit_get to
      handle types and file input.

    * gmap.c, intlist.c, intlist.h, sequence.c, sequence.h, snap.c: Allowed
      user-specified genomic segment to have arbitrary length.

    * gmap.c, snap.c: Restored -U flag for reporting in universal coordinates.

    * iit-read.c: Fixed bug in IIT_dump_formatted.

    * Makefile.am, md5-compute.c: Added program md5-compute.

2003-12-02  twu

    * gmap.c, params.c, params.h, snap.c: Added message to user when FASTA file
      is run without batch mode.

2003-11-29  twu

    * oligo.c: Changed debug statements.

    * reader.c: Cleaned up pointer calculation.

    * sequence.h: Removed Sequence_revcomp, which is not used.

    * sequence.c: Revised comments.

    * stage2.c: In-lined gap_score.

2003-11-28  twu

    * indexdb.c: More bug fixes for bigendian machines on user-provided
      segments.

    * indexdb.c: Fixed a problem with bigendian machines for user-provided
      segments.

    * gmap.c, snap.c: Added releasestring in attempt to find version file.

    * genome.c, genome.h: Added option for replacing X's with N's.

    * get-genome.c: Added option for replacing X's with N's.  Fixed bug when
      closing a null file pointer.

    * iit_store.c: Append .iit to given filename, instead of replacing existing
      suffix.

2003-11-26  twu

    * gmapindex.c, snapindex.c: Removed -U flag.

    * gmapindex.c, indexdb.c, indexdb.h, snapindex.c: Reverted back to using
      uncompressed genome for making idxoffsets and idxpositions.

    * gmap.c, snap.c: Changed flag for uncompressed genome from -G to -U.

    * gmapindex.c, indexdb.c, indexdb.h, snapindex.c: Attempt to build
      idxoffsets and idxpositions from genomecomp, but has problems.

    * genome.c: Added automated switching between compressed and uncompressed
      genome, if the requested one cannot be found.

    * iit_store.c: Keeping last carriage return of annotation.

    * iit_get.c: If iit file cannot be found, try appending .iit.

    * gmapindex.c, snapindex.c: Finding labels in IIT directly instead of
      converting to a table.

    * iit-read.c, iit-read.h, iit-write.c, iitdef.h: Changed IIT format to store
      alphabetic order of labels, so that labels can be found by binary search.

    * genome.c, genome.h, gmap.c, pair.c, pair.h, params.c, params.h, snap.c,
      stage3.c, stage3.h: Added popt handling of options.  Renamed various
      program options.

    * iit-read.c, iit-read.h, iit_get.c: Added ability to search IITs by label.

    * get-genome.c: Changed usage statement for popt autohelp.

    * Makefile.am: Changed name of variable to POPT_LIBS.

    * acinclude.m4, configure.ac: Added AC_DEFINE for HAVE_LIBPOPT.  Set various
      defines to have value 1.

2003-11-25  twu

    * gmapindex.c, iit-read.c, iit-read.h, iit-write.c, iit-write.h, iit_get.c,
      iit_store.c, iitdef.h, match.c, segmentpos.c, snapindex.c: Change made to
      format of IIT file.  Now allowing each interval to be labeled.

    * indexdb.c: Fix made for the case where an oligomer earlier than TT...TT is
      the last one and points to totalcounts.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Added notation
      for chimeric sequences.

    * acinclude.m4: Added check for MAP_FAILED.  Added sys/types.h when checking
      for pthreads (needed for Sun compiler).

    * assert.h, bigendian.h, blackboard.h, block.h, chrnum.h, complement.h,
      dynprog.h, except.h, genome.h, genomicpos.h, iit-read.h, iit-write.c,
      iit-write.h, iit_dump.c, iit_get.c, iit_store.c, indexdb.h, interval.h,
      intlist.h, intron.h, list.h, match.h, matchpair.h, md5.h, mem.h, oligo.h,
      oligoindex.h, pair.h, pairpool.h, params.h, reader.h, reqpost.h,
      request.h, result.h, segmentpos.h, sequence.h, stage1.h, stage2.h,
      stage3.h, stopwatch.h, table.h, uintlist.h: Included config.h in all
      header files, to catch redefinition of const, which is needed for the Sun
      compiler.

    * stage3.c: Commented out code that is never reached.

    * genome.c, indexdb.c: Modified messages to stderr for batch mode.

    * blackboard.c, gmap.c, reqpost.c, snap.c: Added sys/types.h to handle
      pthread_t, needed by Sun compiler.

    * assert.c: Kept only the header file definition of assert, due to problem
      with Sun compiler.

    * iit-read.c, table.c: For functions passed as arguments, added pointer and
      parentheses around parameter list.

    * stage2.c: Changed some exon length parameters.

2003-11-20  twu

    * gmap.c, snap.c, stage3.c, stage3.h: Added additional check for chimeras,
      based on top two hits.

    * bigendian.c, indexdb.c: Moved masking to the logical or statements to
      address a bug on MacOSX.

2003-11-18  twu

    * gmap.c, snap.c: Made directory searching process more flexible, by looking
      for version file at toplevel and subdirectory of datadir.

    * genome.c, indexdb.c: Fixed calls to mmap and munmap when mmap fails. 
      Moved stopwatch start before madvise command.

    * bigendian.c, genome.c, indexdb.c: Added masks to chars when converting to
      an int or unsigned int, due to problem observed on DEC Alpha.

    * genome.c, indexdb.c: Corrected conversion of littleendian to bigendian
      numbers.  Added lseek and read procedures when mmap is not present or
      fails.

    * bigendian.c: Corrected conversion of littleendian to bigendian numbers.

    * Makefile.am: Generate ChangeLog only when CVS directory present.

    * Makefile.am: Used LDADD instructions to call libraries instead of LDFLAGS.
      (Required for program to load on SGI.)  Moved SCRIPTS under FULLDIST.

    * configure.ac: Renamed POPT_LDFLAGS to POPT_LIBS.

    * bootstrap: Added --copy flag to automake.

    * Makefile.am: Added dist-hook to make ChangeLog up to date.

    * config: Removed secondary config files generated by automake.

    * gmapindex.c, snapindex.c: Fixed bug where X's were not being filled in,
      because variable declared as int, rather than unsigned int.

    * block.c, block.h: Removed obsolete function.

    * acinclude.m4: Moved to top-level directory.

2003-11-17  twu

    * ChangeLog: Removed from repository.  Can be generated as needed.

    * bootstrap: Added --add-missing flag.

    * README: Added message about config.site.

    * bootstrap: Initial import into CVS.  Added because autoreconf doesn't work
      with a config subdirectory.

    * configure.ac: Made toplevel configure.ac work with a config subdirectory.

    * gmap.c, snap.c, stage1.c, stage1.h: Changed algorithm to declare chimera
      only after alignment is done, and to use salvaged matches in that case.

    * stage3.c, stage3.h: Stored genomicstart and genomicend as part of Stage3_T
      structure.

    * ddsgap2_compress.pl: Initial import into CVS.

    * whats_on: Moved to subdirectory.

    * compile, config.guess, config.sub, depcomp: Removed secondary config files
      (generated by automake).

    * Makefile.am: Adding top-level Makefile.am

    * install-sh, missing, mkinstalldirs, sim4_compress.pl, sim4_uncompress.pl,
      snap_compress.pl, snap_uncompress.pl, snapbuild.pl.in, spidey_compress.pl:
      Moved to subdirectory.

    * assert.c, assert.h, bigendian.c, bigendian.h, blackboard.c, blackboard.h,
      block.c, block.h, bool.h, chrnum.c, chrnum.h, complement.c, complement.h,
      dynprog.c, dynprog.h, except.c, except.h, genome.c, genome.h,
      genomicpos.c, genomicpos.h, genuncompress.c, get-genome.c, iit-read.c,
      iit-read.h, iit-write.c, iit-write.h, iit_dump.c, iit_get.c, iit_store.c,
      iitdef.h, indexdb.c, indexdb.h, interval.c, interval.h, intlist.c,
      intlist.h, intron.c, intron.h, list.c, list.h, listdef.h, match.c,
      match.h, matchpair.c, matchpair.h, md5.c, md5.h, md5.t.c, mem.c, mem.h,
      oligo-count.c, oligo.c, oligo.h, oligoindex.c, oligoindex.h, pair.c,
      pair.h, pairdef.h, pairpool.c, pairpool.h, params.c, params.h, reader.c,
      reader.h, reqpost.c, reqpost.h, request.c, request.h, result.c, result.h,
      segmentpos.c, segmentpos.h, sequence.c, sequence.h, shortoligomer.h,
      snap.c, snapindex.c, stage1.c, stage1.h, stage2.c, stage2.h, stage3.c,
      stage3.h, stopwatch.c, stopwatch.h, table.c, table.h, types.h, uintlist.c,
      uintlist.h: Moved source files to subdirectory.

    * iit-read.c, iit-read.h: Added function IIT_get_typed.

    * indexdb.c: Removed debugging message.

    * gmap.c, snap.c, stage3.c, stage3.h: Improved determination of when an
      alternate strain applies, based on the aligned genomic segment.  Added
      strain type to sorting of results.

    * stage1.c: Bypassing the cluster algorithm.

    * gmap.c, snap.c: Added ability to determine datadir from environment
      variable or configuration file.

    * get-genome.c: Added popt processing of command-line options.

    * genome.c: Added bigendian conversions for compressed genome, which is
      memory mapped.

    * Makefile.am, configure.ac: Added check for popt library.

2003-11-15  twu

    * gmapindex.c, snapindex.c: Fixed pointer bug.

    * stage2.c, stage2.h: Removed directional check on stage 2 smoothing. 
      Introduced separate length criterion for first long exon.

    * stage3.c, stage3.h: Implemented checks and procedures for chimeric
      sequences.  Removed directional check on stage 2 smoothing.

    * gmap.c, pair.c, pair.h, result.c, result.h, snap.c, stage1.c, stage1.h:
      Implemented checks and procedures for chimeric sequences.

    * genome.c: Changed debug statements from stderr to stdout.

    * stage1.c: Changed identify_matches to assume the absence of duplicates.

    * stage2.c: Changed criterion for short first and last exon during smoothing
      to be half of the corresponding region.

    * stage3.c: Fixed debugging statements.

2003-11-14  twu

    * gmap.c, snap.c, stage3.c, stage3.h: Fixed bug where a strain was falsely
      reported due to duplicate stage 3 objects and deletion of the one for the
      reference.

    * sequence.c: Reduced poly-A tail left from 7 to 1.

    * pair.c: Made print procedure backward compatible with old altstrain_iits.

    * gmap.c, gmapindex.c, pair.c, params.c, params.h, snap.c, snapindex.c: Made
      changes to include name of reference strain.

    * gmap.c, snap.c: Fixed typo in comment.

    * iit-read.c: Fixed memory leak when altstrain_iit doesn't exist.

    * Makefile.am: Integrated get-genome into snap code.

    * get-genome.c, sequence.c, sequence.h: Major rewrite of get-genome, to
      integrate it into existing snap code.

    * genome.c, genome.h, gmap.c, snap.c: Handled case where more than one patch
      from a given strain is applicable to a given genomic segment.

    * intlist.c: Added check for null list in Intlist_to_array.

    * indexdb.c: Changed idxpositions to eliminate duplicates during writing and
      to skip bad values during reading.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Revised program
      to parse strain info.

    * stage1.c: Added some comments.

    * Makefile.am, block.c, block.h, oligo-count.c, oligo.c, oligo.h: Revised
      oligo-count to use the new code.

2003-11-13  twu

    * Makefile.am: Added build for get-genome.

    * get-genome.c: Major cleaning of code.  Added ability to read from
      compressed genome files.

    * oligo-count.c: Initial import into CVS.  Dated 2003-07-16.

    * genome.c, genome.h, genomicpos.c, genomicpos.h, gmap.c, matchpair.c,
      matchpair.h, pair.c, pair.h, snap.c, stage3.c, stage3.h: Added ability to
      align to multiple strains.

    * stage1.c: Cleaned up some bugs on handling stutter.  Implemented check for
      duplicates in idxpositions.

    * gmapindex.c, indexdb.c, indexdb.h, snapindex.c: Changed strategy for
      idxoffsets and idxpositions for strains.  Now storing the union of all
      strains.

    * Makefile.am, gmap_setup.pl.in, gmapsetup.pl.in, snapbuild.pl.in: Fixed
      procedure for making snapbuild.

    * Makefile.am: Added procedure for making snapbuild script.

    * configure.ac: Added feature for enabling full distribution.

2003-11-12  twu

    * snapbuild.pl: Changed file from snapbuild.pl to snapbuild.pl.in.

    * Makefile.am, configure.ac, params.h: Cleaned up specification of data
      directory and version file.

    * params.c: Added provisions for reading altstrain IIT.

    * gmap.c, snap.c: Cleaned up specification of data directory and version
      file.  Added provisions for reading altstrain IIT.

    * gmapindex.c, snapindex.c: Fixed problem with slashes in alternate strain
      name.

    * stage1.c: Cleaned up code for stage1.c.  Fixed memory leak for paired
      algorithm.  Added chromosomal constraint for cluster algorithm.

    * Makefile.am, gmap.c, gmap_setup.pl.in, gmapindex.c, gmapsetup.pl.in,
      iit-read.c, iit-read.h, iit-write.c, iit-write.h, iit_dump.c, iit_get.c,
      iit_store.c, iitdef.h, indexdb.c, indexdb.h, interval.c, interval.h,
      segmentpos.c, segmentpos.h, snap.c, snapbuild.pl, snapbuild.pl.in,
      snapindex.c: Changes made to introduce types into IITs, and to build SNAP
      databases with alternate strain information.

    * match.c, match.h, stage1.c: Changes to stage 1 algorithm: (1) choice of 5'
      or 3' advancement based on number of hits, (2) stutter based on positions
      with hits, (3) computed fraction of paired hits on each end.

2003-11-11  twu

    * gmap_setup.pl.in, gmapsetup.pl.in, snapbuild.pl, snapbuild.pl.in: Initial
      import into CVS.

    * Makefile.am: Added object files for bigendian.

    * iit-read.c: Added header file for bigendian.h

    * bigendian.c, indexdb.c: Fixed problem in bigendian conversion.

    * sequence.c: Fixed problem in handling sequence files without headers.

2003-11-10  twu

    * iit-read.c: Changed most elements of IIT_T to be fread, rather than
      mmapped. Added code for program to work on bigendian architectures.

    * indexdb.c: Changed offsets file to be fread, rather than mmapped.  Added
      code for program to work on bigendian architectures.

    * iitdef.h: Added comments.

    * Makefile.am, bigendian.c, bigendian.h, configure.ac, genuncompress.c,
      gmapindex.c, iit-write.c, snapindex.c: Added code for program to work on
      bigendian architectures.

2003-11-08  twu

    * acinclude.m4, configure.ac: Made VERSION automatically equal the current
      date.

    * Makefile.am: Removed reference to iit_convert.

    * genome.c: Turned off batch loading of genome.

    * gmap.c, sequence.c, snap.c: Rest of header printed in output.  Exceptional
      file terminations handled better.

    * gmap.c, params.c, params.h, snap.c, stage1.c, stage1.h: Added cluster
      algorithm for short query sequences.

    * Makefile.am, block.c, block.h, longoligomer.c, longoligomer.h, match.c,
      match.h, matchpair.c, matchpair.h, oligo.c, oligo.h: Removed
      longoligomers.

    * genome.c: Fixed print statement for batch mode.

2003-11-07  twu

    * gmap.c, snap.c: Restored dump_segs functionality.

    * gmapindex.c, snapindex.c: Changed name of table from chroffset to
      chrlength.

    * iit-read.c, iit-read.h: Added function IIT_dump_formatted.

2003-10-27  twu

    * iit_get.c, iit_store.c: Removed carriage return at end of annotation.

    * Makefile.am, iit-read.c, iit-read.h, iit_dump.c: Added a program for
      dumping IIT files.

    * gmapindex.c, snapindex.c: Added better comments.

    * whats_on: Fixed program to use new IIT file format.

    * table.c: Removed assertion checks for key being non-zero, which doesn't
      work for a chromosome of 0.

    * INSTALL: Copied generic installation instructions.

    * COPYING: Created copyright notice.

2003-10-25  twu

    * iit-write.c: Made Node_make static.

2003-10-24  twu

    * indexdb.c: Fixed format of batch statement.

    * gmapindex.c, iit-read.c, iit-write.c, iit_get.c, match.c, segmentpos.c,
      snapindex.c: Changed annotations in .iit files to have '\0' characters at
      the ends, so they can be used in the file, without copying.

    * interval.c: Added comment about sorting procedures.

    * iit_get.c, iit_store.c: Changed program to use the IIT implementation in
      this directory.

    * iit-read.c: Added madvise command.

    * genome.c, indexdb.c: Changed reporting of touching pages under batch mode.

    * Makefile.am: Added iit_store and iit_get.

2003-10-23  twu

    * genome.c, indexdb.c: Revised touching of pages for batch mode.

    * assert.h, blackboard.h, block.h, bool.h, chrnum.h, complement.h,
      dynprog.h, except.h, genome.h, genomicpos.h, iit-read.h, iit-write.h,
      iitdef.h, indexdb.h, interval.h, intlist.h, intron.h, list.h, listdef.h,
      longoligomer.h, match.h, matchpair.h, md5.h, mem.h, oligo.h, oligoindex.h,
      pair.h, pairdef.h, pairpool.h, params.h, reader.h, reqpost.h, request.h,
      result.h, segmentpos.h, sequence.h, shortoligomer.h, stage1.h, stage2.h,
      stage3.h, stopwatch.h, table.h, types.h, uintlist.h: Added RCS Id string
      to header files.

    * gmap.c, snap.c: Removed call to strdup.

    * gmapindex.c, snapindex.c: Removed printing of superaccessions for NCBI
      genomes.

    * segmentpos.c: Removed unused procedures based on Berkeley DB.

    * chrnum.c: Fixed problem with numeric-alpha ordering of chromosomes.  XU
      now follows X and precedes Y.

    * acinclude.m4, genome.c, indexdb.c: Added macros to check for pagesize
      determination.

    * config.h.in: Removed derived file.

    * configure.ac: Cleaned up unnecessary autoconf macros.

    * acinclude.m4, config.h.in, genome.c, genuncompress.c, iit-read.c,
      indexdb.c: Improved autoconf checks and header files for mmap.

    * gmapindex.c, snapindex.c: Fixed problem with freeing memory.

    * segmentpos.c: Fixed small error with printing accession bounds.

    * chrnum.c, gmap.c, gmapindex.c, iit-read.c, iit-read.h, iit-write.c,
      iit-write.h, segmentpos.c, snap.c, snapindex.c: Fixed memory leaks.

    * Makefile.am, acinclude.m4, block.h, chrnum.c, chrnum.h, config.h.in,
      configure.ac, database.c, database.h, genomicpos.c, genomicpos.h,
      get-genome.c, gmap.c, gmapindex.c, iit-read.c, iit-read.h, iit-write.c,
      iit-write.h, interval.c, interval.h, match.c, match.h, offset.c, offset.h,
      offsetdb.c, offsetdb.h, oligo.c, oligo.h, pair.c, pair.h, params.c,
      params.h, segmentpos.c, segmentpos.h, sequence.c, snap.c, snapindex.c,
      stage1.c, stage1.h, stage3.c, stage3.h, table.c, table.h: Eliminated
      dependence upon Berkeley DB.

2003-10-22  twu

    * table.c, table.h: Initial import into CVS.

    * acinclude.m4, config.h.in, configure.ac, genome.c, genuncompress.c,
      iit-read.c, indexdb.c: Added checks for various mmap flags.

    * iitdef.h: Restructed IIT_T commands.

2003-10-21  twu

    * Makefile.am, gmap.c, iit-read.c, iit-read.h, iit-write.c, iit-write.h,
      interval-read.c, interval-read.h, interval.c, interval.h, pair.c, snap.c:
      Restructured Interval_T and IIT_T implementations so they don't depend on
      BerkeleyDB, and added ability to write IITs.

    * acinclude.m4, database.c: Added provision for BerkeleyDB version 4.1.

    * iit_store.c: Changed format of input file to have only intervals on the
      header line.

    * iit_get.c: Changed program to use new IIT format.

    * iit_store.c: Fixed problem with annotlist being reversed.

    * iit_store.c: Changed format of iit file to include annotations.

    * sequence.c: Corrected type for return value of fgetc.

    * oligo.c: Corrected type for return value of Reader_getc.

    * stage1.h: Removed db.h as an included header.

    * acinclude.m4: Added -rpath flag during linking of Berkeley DB.

2003-10-20  twu

    * Makefile.in, configure: Removing from CVS.

    * Makefile.in, configure: Result of autoreconf.

    * Makefile.am: Added header files to SOURCES.

    * configure.ac: Added no-dependencies option.

    * iit-read.c: Removed MAP_VARIABLE from mmap call, because not recognized by
      Linux.

    * sequence.c: Renamed variable strlen to avoid compiler error on Linux.

    * Makefile.in: Added various auxiliary files.

    * sequence.c: Renamed variable strlen to avoid compiler error on Linux.

    * Makefile.in, compile, config.guess, config.sub, depcomp: Initial import
      into CVS.

    * Makefile.in, configure, install-sh: Initial import into CVS.

    * missing, mkinstalldirs: Provided updated version.

    * Makefile.am, genome.c, genomicpos.c, iit-read.c, iit-read.h, indexdb.c,
      intlist.c, intlist.h, match.c, md5.c, mem.c, offset.c, offsetdb.c,
      oligoindex.c, pair.c, segmentpos.c, segmentpos.h, uintlist.c, uintlist.h:
      Addressed compiler warnings from gcc.

2003-10-19  twu

    * Makefile.am, acinclude.m4, blackboard.c, configure.ac, gmap.c, reqpost.c,
      snap.c: Allowed pthreads to be enabled or disabled.

    * assert.c, block.c, chrnum.c, complement.c, database.c, dynprog.c,
      except.c, genome.c, genomicpos.c, genuncompress.c, get-genome.c, gmap.c,
      gmapindex.c, iit-read.c, indexdb.c, interval-read.c, intron.c, list.c,
      longoligomer.c, match.c, matchpair.c, md5.c, offset.c, offsetdb.c,
      oligo.c, oligoindex.c, pair.c, pairpool.c, params.c, reader.c, reqpost.c,
      request.c, result.c, segmentpos.c, sequence.c, snap.c, snapindex.c,
      stage1.c, stage2.c, stage3.c, stopwatch.c: Added RCS Id string correctly

    * assert.c: Added RCS Id string correctly

    * assert.c, block.c, chrnum.c, complement.c, database.c, dynprog.c,
      except.c, genome.c, genomicpos.c, genuncompress.c, get-genome.c, gmap.c,
      gmapindex.c, iit-read.c, indexdb.c, interval-read.c, intron.c, list.c,
      longoligomer.c, match.c, matchpair.c, md5.c, offset.c, offsetdb.c,
      oligo.c, oligoindex.c, pair.c, pairpool.c, params.c, reader.c, reqpost.c,
      request.c, result.c, segmentpos.c, sequence.c, snap.c, snapindex.c,
      stage1.c, stage2.c, stage3.c, stopwatch.c: Added rcsid strings.

2003-10-18  twu

    * blackboard.c, block.c, complement.c, database.c, dynprog.c, except.c,
      iit-read.c, interval-read.c, intron.c, list.c, matchpair.c, md5.c, mem.c,
      mem.h, oligo.c, oligoindex.c, pair.c, pairpool.c, params.c, reader.c,
      reqpost.c, request.c, result.c, sequence.c, stage2.c, stopwatch.c:
      Rearranged header includes.

    * blackboard.c, mem.c: Rearranged header includes.

    * longoligomer.h: Defined T for both cases of HAVE_64_BIT.

    * longoligomer.c: Added conditional compiling based on HAVE_64_BIT.

    * offset.h: Added necessary header file stdio.h.

    * types.h: Added compiler directives from config.h.

    * configure.ac: Initial changes to configure.scan to make autoconf and
      automake work for the cc compiler.

    * Makefile: Removed Makefile from CVS, because it is now generated from
      Makefile.am by automake, and then from Makefile.in by configure.

    * AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, NEWS, README,
      acinclude.m4, config, config.h.in, missing, mkinstalldirs: Added files for
      autoconf and automake to work.

    * configure.ac: Initial configure.ac from configure.scan produced by
      autoscan.

2003-10-17  twu

    * gencompress.c, gmapindex.c, snapindex.c: Moved gencompress function inside
      snapindex (previously in gencompress.c).

    * segmentpos.c: Changed type of relstart and relend to int, due to problems
      with long.

2003-10-16  twu

    * dynprog.c: Removed splice-site.c.

    * commafmt.c, commafmt.h, genomicpos.c, genomicpos.h, match.c, pair.c,
      segmentpos.c: Moved commafmt command to genomicpos.c.

    * types.h: Defined UINT8 only if HAVE_64_BIT is defined.

    * splice-site.c, splice-site.h: Removed splice-site.c from CVS.

    * readcirc.c, readcirc.h: Removing readcirc from CVS.

    * radixsort.c, radixsort.h: Removing radixsort from CVS.

    * boyer-moore.c, boyer-moore.h: Removed Boyer-Moore procedures from CVS.

    * longoligomer.h: Introduced constants and procedures for Longoligomer_T on
      32-bit systems.

    * gmapindex.c, snapindex.c: Changed output type of write_genome_file.

    * indexdb.c, indexdb.h: Introduced Storedoligomer_T.

    * iit-read.c: Added type cast from void * to char *.

    * oligo.c, oligo.h: Created 32-bit versions of procedures.

    * match.c: Removed functions Match_print() and oligo_nt().

    * stage1.c: Removed mask from Block_T.  Removed function Match_print().

    * block.c, block.h: Removed mask from Block_T.

    * longoligomer.c: Added object Longoligomer_T for 32-bit systems.

2003-10-13  twu

    * Makefile, chrnum.c, database.c, gencompress.c, genome.c, genome.h,
      genuncompress.c, stage1.c: Changed unsigned int to more descriptive types.

    * genomicpos.c, genomicpos.h, longoligomer.h, shortoligomer.h: Added new
      types.

    * chrnum.c, chrnum.h, gmap.c, gmapindex.c, match.c, match.h, offset.c,
      offset.h, pair.c, pair.h, segmentpos.c, segmentpos.h, snap.c, snapindex.c,
      stage1.c, stage3.c, stage3.h: Changed unsigned int to more descriptive
      types.

    * offsetdb.c, offsetdb.h: Added type for Chrnum_T.  Removed function
      Offset_position_to_chr.

    * oligoindex.c, stage1.c, stage2.c: Changed unsigned long and unsigned int
      to more descriptive types.

    * add-chrpos-to-endpoints.c: Removed file used for prototyping.

    * rsort-check.c, rsort-test.c: Removed utility files for radixsort.

    * sequence.c: Removed code for computing CRC32 checksum.

    * sample-oligos.c: Removed sample-oligos.c, which was used for prototyping.

    * Makefile: Removed cksum-fa

    * prb.c, prb.h: Removed prb.c and prb.h, which implemented red-black trees.

    * block.c, block.h, indexdb.c, indexdb.h, match.c, match.h, oligo.c,
      oligo.h, oligoindex.c, oligoindex.h: Changed unsigned long and unsigned
      int to more informative types.

    * cksum.c: Removed cksum.c, which is now computed in sequence.c

    * cksum-fa.c: Removed cksum-fa.c, which was a utility program.

    * cell.c, cell.h: Removed Cell_T, which was designed for the HashDB storage
      scheme for genomic oligomers.

    * pair.c, pair.h, sequence.c, sequence.h, stage3.c: Added provision for
      correcting coverage in the presence of genomic gaps at the ends.

    * chrnum.c: Fixed a bug in printing output.

2003-10-09  twu

    * stage3.c, stage3.h: Added reward for spliced cDNAs based on number of
      exons, if it's greater than 2.  Also, added flag for conservative behavior
      for splice site prediction, by reducing the reward for canonical splice
      sites. Note, however, that such behavior causes SNAP to perform poorly in
      the presence of sequence errors.

    * dynprog.c, dynprog.h, gmap.c, params.c, params.h, snap.c: Added flag for
      conservative behavior for splice site prediction, by reducing the reward
      for canonical splice sites.  Note, however, that such behavior causes SNAP
      to perform poorly in the presence of sequence errors.

2003-10-07  twu

    * iit-read.c: Adapt to new format of bounds database contents.

    * pair.c: Makes correct call to IIT_get when coordinates are in reverse
      order.

2003-08-20  twu

    * Makefile, gmap.c, iit-read.c, iit.c, iit.h, interval-read.c, interval.c,
      interval.h, pair.h, params.h, snap.c, stage3.h: Changed filenames from
      iit.c and interval.c to iit-read.c and interval-read.c

    * whats_on: Generalized procedure for identifying FASTA files containing
      ESTs.

    * sequence.c: Fixed conversion of char to unsigned char.

    * Makefile, bounds.c, bounds.h, gmap.c, iit-read.c, iit-read.h, iit.c,
      iit.h, interval-read.c, interval-read.h, interval.c, interval.h, pair.c,
      pair.h, params.c, params.h, snap.c, stage3.c, stage3.h: Changed calls to
      iit to open the files just once.

    * bounds.c, bounds.h: Adding bounds.c file to compute bounds.

2003-08-19  twu

    * Makefile, database.c, database.h, iit-read.c, iit.c: Added ability to use
      a gene bounds iit file.

    * interval-read.c, interval-read.h, interval.c, interval.h: Revised version
      from berkeleydb CVS repository.

    * gmap.c, pair.c, pair.h, params.c, params.h, snap.c, stage3.c, stage3.h:
      Added capability to use a gene bounds iit file.

2003-08-18  twu

    * iit-read.h, iit.h: Initial import into CVS.

    * iit_get.c: Compare only to query length.

    * get-genome.c: Fixes procedure isrange to make a copy of the string.

2003-07-07  twu

    * whats_on: Changed behavior to not die if directory isn't found.

    * chrnum.c, chrnum.h, segmentpos.c: Fixed sorting and printing for
      chromosomes like 2L.

    * stage3.h: Removed Stage3_goodness as an external procedure.

    * stage3.c: Changed goodness within a given chromosomal segment to include
      canonical introns, but goodness between chromosomal segments to exclude
      this.

    * stage2.c: Increased MAXHITS from 20 to 1000.  Previous value was too low
      and led to splicing errors.

    * get-genome.c: Changed program to try segment first as a chromosome, then
      as a contig.

    * offsetdb.c: Improved output statements to print beginning and ending of
      chromosomes.

2003-06-19  twu

    * dynprog.c: Changed penalties.  Made reward for extension multiplicative.

    * Makefile, gmap.c, gmap_compress.pl, gmap_compress.pl.in,
      gmap_uncompress.pl, gmap_uncompress.pl.in, md5.c, md5.h, md5.t.c,
      params.c, params.h, sequence.c, sequence.h, snap.c, snap_compress.pl,
      snap_uncompress.pl, types.h: Added MD5 calculations.

    * stage3.c: Added debugging statements for finalscore.

    * cksum-fa.c: Added comments.

2003-06-17  twu

    * Makefile: Rearranged lines.

    * gmap.c, snap.c: Fixed calculation of indexdb to occur only once for
      user-provided segment.

    * sequence.c, sequence.h: Added computation for crc32.

2003-06-13  twu

    * dynprog.c: Changed reward for partial match to be zero.

    * stage3.c: Fixed bug where pairs_fwd or pairs_rev might be NULL.

2003-06-03  twu

    * stage2.c, stage2.h: Created separate paths for forward and revcomp
      directions after smoothing.  Added back intron score during calculations.

    * stage3.c: Separated calculations of forward and revcomp paths.

    * gmap.c, snap.c: Increased size of maxlookback.

    * pair.c, pair.h: Added calculation of number of canonical exons.

    * dynprog.c: Setting finalscore as a return value.

    * stage3.c: Added number of canonical exons to goodness criterion.  Added
      "Stage 3" to debug statements.

2003-05-27  twu

    * gmap.c, snap.c, stage2.c, stage2.h, stage3.c, stage3.h: Moved alignment of
      different cDNA direction from stage 2 to stage 3.

    * pair.c, pair.h: Changed Pair_fracidentity to work on a list, rather than
      an array.

2003-05-23  twu

    * stage3.c: Changed goodness function to ignore number of canonical introns.

    * gmap.c, snap.c: Added parameter for sufflookback, potentially different
      from maxlookback, but found that setting maxlookback >> sufflookback led
      to long, poor alignments, so set maxlookback = sufflookback.

    * params.c, params.h, stage2.c, stage2.h: Added separate parameter for
      sufflookback, to be used in stage 2, and possibly different from
      maxlookback, used in stage 3.

2003-05-04  twu

    * genome.c, genuncompress.c, iit-read.c, iit.c, indexdb.c: Removed
      MAP_VARIABLE from mmap command, because it is not available in Linux.

    * hash-test.c, hashdb-read.c, hashdb-read.h, hashdb-write.c, hashdb-write.h,
      hashdb.c, hashdb.h: Removed hashdb files, which have been replaced by
      indexdb.

    * whats_on: Added error message.

    * Makefile: Removed old Makefile commands.

    * gmapindex.c, snapgenerate.c, snapindex.c: Moved functions from
      snapgenerate.c to snapindex.c, so only snapindex is needed to create SNAP
      genome files.

    * genuncompress.c: Initial import into CVS.

2003-05-01  twu

    * stage2.c: Added check for MAXHITS in stage 2, to prevent slowness problems
      from repetitive cDNAs in repetitive genomic segments (such as AA704019).

    * stage1.c: Added debugging statement.

    * gmap_uncompress.pl, gmap_uncompress.pl.in, snap_uncompress.pl: Fixed
      problem where gpos was not handled correctly for the minus strand.

    * chrnum.c: Fixed problem where signed chromosomes were being printed
      incorrectly.

2003-04-29  twu

    * whats_on: Fixed problem where genomic coordinates were in the order of
      largest, then smallest (reverse strand).

2003-04-27  twu

    * stage3.c: Removed queryoffset.

    * stage2.c, stage2.h: Removed queryoffset.  Made sampling interval variable.
       Added bounding of a querypos to a single hit if its top score exceeds its
      second highest score.

    * gmap.c, snap.c: Changed lookback and extramaterial_paired.

    * sequence.c: Changed trimming to leave non-poly-A/T oligomers.

    * chrnum.c, database.c, get-genome.c, segmentpos.c: Changed interpretation
      of chromosome numbers to allow all single letters and all numbers.

    * offsetdb.c: Extra blank line.

2003-04-17  twu

    * Makefile, accpos.c: Removed file accpos.c, which isn't being used anymore.

2003-04-16  twu

    * genome.c, sequence.c, sequence.h: Removed offset as a parameter for
      Sequence_genomic_new.

    * mem.c: Removed upper limit check on allocating memory.

    * pair.h: Removed queryoffset from print routines.

    * pair.c: Removed queryoffset from print routines.  Fixed calculation of
      genomic distances for Crick strand.

2003-04-15  rkh

    * config, cvswrappers: *** empty log message ***

2003-04-10  rkh

    * config: *** empty log message ***

2003-04-09  rkh

    * config: *** empty log message ***

2003-04-07  twu

    * dynprog.c: Reduced rewards for canonical introns.

    * pair.c: Added conversion to uppercase.

    * mem.c: Added check for unexpectedly large allocations.

2003-04-02  twu

    * stage3.c: Made separate procedures for 3' and 5' ends.  Turned off
      Boyer-Moore extension at ends.  Added checks to prevent dynamic
      programming past end of sequence.

    * params.c: Removed freeing of version.

    * pairpool.c: Added additional debugging checks.

    * pair.c: Improved output for user-provided segments.

    * gmap.c, indexdb.c, indexdb.h, match.c, matchpair.c, matchpair.h, offset.c,
      sequence.c, sequence.h, snap.c: Now performing stage 1 on user-provided
      segments.  This eliminates poor alignments when the user-provided segment
      is longer than stage 1 would have provided.

    * segmentpos.c: Added limit to number of accessions reported.

    * request.c, request.h: Changed from name from genomicseg to usersegment.

    * stage1.c: Removed offset from call to Block_T procedures.

    * genome.c: Renamed some procedures.

    * dynprog.c: Increased penalties for mismatch.

    * chrnum.c: Allowed chromosome 0.

    * block.c, block.h: Removed offset from list of parameters.

    * blackboard.c, blackboard.h: Changed from name from genomicseg to
      usersegment.

2003-03-27  twu

    * gmap_compress.pl, gmap_compress.pl.in, gmap_uncompress.pl,
      gmap_uncompress.pl.in, pair.c, snap_compress.pl, snap_uncompress.pl,
      stage3.c: Changed alignment output for dual breaks.

2003-03-25  twu

    * dynprog.c: Created an inline procedure and scheme for scoring canonical
      and alternate introns.  Increased penalties for mismatches.

    * intron.c, intron.h: Moved most functions to other files, to increase
      speed.

    * pair.c, pair.h, pairdef.h, pairpool.c, stage3.c: Added field to Pair_T
      object to denote a gap.

    * sequence.c: Fixed bug that caused large amounts of memory to be allocated.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Introduced a
      better error statement.

    * stage2.c: Changed sampling to start at -1 after the first 8-mer missed,
      and then go back by the Nyquest rate.

    * stage3.c: Introduced peelback for single gaps.

2003-03-21  twu

    * genome.c, gmap.c, pair.c, pair.h, sequence.c, sequence.h, snap.c,
      stage3.c: Fixed algorithm to handle poly-T starts as well as poly-A ends. 
      Added extra information to Sequence_T structure and output procedures to
      handle this correctly.

    * gmap.c, snap.c: Fixed problems with Stage3_T objects that were not
      assigned to NULL. Added flushing of output for debugging.

    * dynprog.c: Fixed dynamic programming on ends so the genomic segment won't
      stick out.

2003-03-20  twu

    * spidey_compress.pl: Modified routine to look for spaces of at least 10,
      instead of 20.

    * dynprog.c: Added a separate reward for canonical introns, depending on the
      defect rate.

    * list.c, list.h: Added a command for setting the head of a list.

    * pair.c: Fixed counting of indels.

    * pairpool.c: Created new debugging commands.

    * gmap.c, snap.c: Added trimming of first or last exon in stage 2 if the
      defect rate is high enough and the exons are too long.  Increased lookback
      from 60 to 90.

    * stage3.c: Modified peelback to go past nonconsecutive hits, stopping only
      at an intron.

    * stage2.c, stage2.h: Added trimming of first or last exon if the defect
      rate is high enough and the exons are too long.

2003-03-16  twu

    * stage2.c: Added hooks for making smooth_path depend on defect_rate, but
      this appears to be a bad idea.

    * pair.c: Improved consistency check to work when cdna_direction is
      initially zero.

    * dynprog.c, dynprog.h, stage3.c: Changed effect of defect rate to be on
      mismatches and gaps, rather than intron scores.

2003-03-15  twu

    * gmap.c, pair.c, pair.h, snap.c, stage2.c, stage2.h, stage3.c, stage3.h:
      Added check for consistency of intron directions, and ability to back
      track to stage 2 with forced cdna_directions if the stage 3 result is
      inconsistent.

    * dynprog.c, dynprog.h, pair.c, pair.h, stage2.c, stage2.h, stage3.c: Added
      estimation of defect_rate in stage 2, and used it to change parameters in
      dynamic programming and extension of ends.

2003-03-13  twu

    * stage3.c: Changed limitation on Boyer-Moore search to be a certain number
      of hits.  This compensates for the fact that smaller oligomers will occur
      more frequently than longer ones, and that longer ones are more
      statistically significant.

2003-03-12  twu

    * stage3.c, stage3.h: Limited length of Boyer-Moore search at ends.  Changed
      name of minendsearch to minendtrigger.

    * gmap.c, params.c, params.h, snap.c: Changed name of minendsearch to
      minendtrigger.

2003-03-11  twu

    * dynprog.c: Extended the search range of bridge_gap, so that it finds
      introns even at the bounds of the dynamic programming.

    * gmap.c, params.c, params.h, snap.c, stage3.c, stage3.h: Added parameter
      for minendsearch.

    * dynprog.c: Fixed safety check in intron_score for reading off end of
      segment.

    * stage3.c: Rearranged computation of stage 3, such that middle is computed
      first, then cDNA direction is recomputed, then 5' and 3' ends are
      computed.

    * pair.c, pair.h: Added function for computing cDNA direction from list of
      pairs.

    * dynprog.c: Adjusted various dynamic programming scores.  Fixed coordinates
      in gap.  Added check for very short introns.

    * stage3.c: Discrimination between paired gap dynamic programming at ends
      and in middle.

    * dynprog.c, dynprog.h: Major rewrite of dynamic programming procedures. 
      Changed from Gotoh algorithm to pure banded procedure.  Reversing
      sequences when necessary, so all computations are symmetric.

    * sim4_compress.pl, spidey_compress.pl: Added output of the number of exons.

    * stage3.c: Added check for genomejump being zero or negative, which would
      give rise to a position beyond the genomic segment.

    * pair.c: Added check for zero denominator.

    * boyer-moore.c: Added check for sequence to consist entirely of valid
      nucleotides.

2003-03-09  twu

    * spidey_compress.pl: Added printing of exon lengths, intron lengths, and
      dinucleotides, to match new output of snap_compress.pl.  Fixed problems
      with parsing Spidey output.

    * sim4_compress.pl: Added printing of exon lengths, intron lengths, and
      dinucleotides, to match new output of snap_compress.pl.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Fixed problem
      when reverse intron is GT-AG.

    * gmap_uncompress.pl, gmap_uncompress.pl.in, snap_uncompress.pl: Fixed bug
      that occurs when snap was called with -N, without printing intron lengths.

    * stage1.c: Fixed a memory leak from not freeing Stage1_T object.

    * block.c: Fixed bug which caused a memory leak because we were overwriting
      a previous querypos.

    * oligo.c: Fixed debug message.

2003-03-07  twu

    * gmap.c, snap.c: Reduced stage1size for short query sequences (< 60 bp).

    * match.c, match.h, stage1.c, stage1.h: Fixed Match_print to print the
      correct oligo.

    * get-genome.c: Changed header to contain the version number.

    * gmap_uncompress.pl, gmap_uncompress.pl.in, snap_uncompress.pl: Added exon
      lengths to compressed output.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Added exon
      lengths to compressed output.  Removed printing of dinucleotides for
      canonical introns.

2003-03-06  twu

    * stage3.c: Cleaned up code extensively.  Added Boyer-Moore searches on both
      ends of cDNA.

    * dynprog.c, dynprog.h: Cleaned up code by making separate procedures for
      single gap in middle, and 5' and 3' ends.

    * pair.c, pair.h: Added procedure for dumping a list of pairs.

    * boyer-moore.c: Removed debugging statements.

2003-03-05  twu

    * Makefile, boyer-moore.c, boyer-moore.h: Addition of Boyer-Moore string
      search.

    * stage3.c: Consolidated peelback code.  Beginning to insert Boyer-Moore
      code.

    * stage2.c: Fixed bug where index was -1.

    * block.c, block.h, oligo.c, oligo.h, stage1.c: Fixed code to use stage1size
      instead of INDEX1PART in certain places.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Fixed code to
      handle genomic accession when genomic sequence is provided by the user.

    * gmap.c, pair.c, sequence.c, sequence.h, snap.c: Fixed code to print out
      genomic accession when genomic sequence is provided by the user.

    * match.c: Fixed code to print just forward oligo.

2003-03-03  twu

    * intron.c, pair.c: Changed '===...===' to represent a non-canonical intron.

    * dynprog.c: Reduced reward to semi-canonical introns to be slightly less
      than that for canonical introns.

    * stage3.c: Changed output of large gaps from '=========' to '###...###'.

    * gmap_uncompress.pl, gmap_uncompress.pl.in, snap_uncompress.pl: Made
      changes to accommodate enhancements to SNAP, namely use of '#' for large
      gaps and switch of intronends and intronlengths info.

    * gmap_compress.pl, gmap_compress.pl.in, snap_compress.pl: Initial import
      into CVS.

    * gmap_uncompress.pl, gmap_uncompress.pl.in, snap_uncompress.pl: Initial
      import into CVS.

2003-03-02  twu

    * Makefile, dynprog.c, intron.c, intron.h, pair.c, splice-site.c: Removed
      use of splice site matrices and added identification of semi-canonical
      dinucleotides.

2003-03-01  twu

    * gmap.c, params.c, params.h, snap.c, stage3.c, stage3.h: Changed
      extramaterial at the end and for paired to be parameters.

    * get-genome.c: Changed program to check only first four letters of genomic
      name.

2003-02-11  twu

    * pair.c, pair.h, stage3.c: Adjusted goodness score of alignment by number
      of canonical introns.

    * dynprog.c, dynprog.h, gmap.c, params.c, params.h, snap.c, stage3.c,
      stage3.h: Parameterized band size in dynamic programming and increased
      bands for cross-species alignment.

    * gmap.c, oligoindex.c, oligoindex.h, params.c, params.h, snap.c, stage2.c,
      stage3.c, stage3.h: Parameterized INDEXSIZE and made it different for
      cross-species alignment.

    * stage2.c: Added smooth_path step in stage 2 to remove short spurious exon
      hits.

2003-02-03  twu

    * params.c, params.h: Replaced dbroot with version.

    * gmap.c, snap.c: Added reporting of version to program.

2003-01-28  twu

    * stage3.c: Fixed problem where a base pair was missed on the 5' end.

    * stage2.c: Fixed problems where genomic matches can overlap.

    * pair.c: Fixed problems in computing exon endpoints.

2003-01-22  twu

    * stage3.c: Reverted back to old method of building pairs in the middle.

    * pair.c: Added post-processing check for a gap at the end of the alignment.

    * oligoindex.c: Added check for poly-T.

2003-01-03  twu

    * stage3.c: Made some changes to eliminate large gaps at the 3' end.

    * gmap.c, snap.c: Improved handling of case where user provides both cDNA
      and genomic files.

    * stage3.c: Fixed bug when no pairs are found.

    * sequence.c: Fixed bug in failing to initialize.

2002-12-30  twu

    * params.c, params.h: Added parameter for fwdonlyp.

    * pairpool.c: Fixed small memory leak.

    * params.h: Changed genomeinvert from a bool to an int.

    * pair.c: Fixed bug where pointer was advanced before freeing it.

2002-12-11  twu

    * gmap.c, snap.c: Fixed problem where complement table was not initialized
      early enough.

2002-12-10  twu

    * gmap.c, sequence.c, sequence.h, snap.c: Improved procedure for trimming
      poly-A tails.

    * pair.c: Increased space for positions from 12 to 14.

    * complement.h: Removed extraneous semicolon.

    * stage2.c: Fixed problem where no matching 8-mers are found.

2002-12-04  twu

    * gmapindex.c, snapindex.c: Write accession names to .aux file, even if they
      do not start with NT_ or GA_.

    * gmap.c, snap.c: Added routines for adding signs to chromosomes, inverting
      the genome, printing intron lengths, and trimming poly-A tails.

    * pair.c, pair.h, params.c, params.h, stage3.c, stage3.h: Added routines for
      adding signs to chromosomes, inverting the genome, and printing intron
      lengths.

    * sequence.c, sequence.h: Added routines for trimming poly-A tails.

    * chrnum.c, chrnum.h, match.c: Added routines for adding signs to
      chromosomes.

    * Makefile, complement.c, complement.h, genome.c: Added files for handling
      complements.

2002-11-26  twu

    * match.c, pair.c: Changed printing of FWD/REV to +/-.  Added printing of
      intron lengths.

    * gmap.c, pair.c, pair.h, params.c, params.h, snap.c, stage3.c, stage3.h:
      Added ability to print genome first in alignment.

2002-11-25  twu

    * gmap.c, snap.c: Added iteration code for cross-species alignments.

    * Makefile, matchpair.c, matchpair.h: Added an object Matchpair_T to hold
      pairs of Match_T objects.

    * segmentpos.c: Added a check against freeing a null value.

    * result.c, result.h: Created a Stage1_T object that can hold state, for
      resuming stage 1 calculations later.

    * pair.c, stage3.c: Changed definition of coverage to be based on length of
      query sequence that aligns.

    * dynprog.c: Changed allocation procedures for Matrix_T and Directions_T. 
      Provided hooks for doing band-limited memory clearing, but this won't work
      with the Gotoh P1 and Q1 matrices.

    * stage2.c: Added a seenone check to protect against long stretches of N's
      in the genome.

    * stage1.c, stage1.h: Created a Stage1_T object that can hold state, for
      resuming stage 1 calculations later.  Stage1_T contains a list of
      Matchpair_T objects, and some procedures have been moved to matchpair.c.

    * params.c, params.h: Added parameters for crossspecies and changed name of
      maxextend to maxstutter.

2002-11-20  twu

    * dynprog.c, dynprog.h, stage3.c: When calling dynprog, now passing pointers
      to subsequence rather than copying subsequences.

    * block.c, block.h: Simplified procedure for processing oligos by Block_T
      object.

    * params.c, params.h: Added parameters for stage1size and maxlookback.

    * pair.c, pair.h, stage3.c, stage3.h: Added counts for unknowns and
      reporting of coverage.

    * oligoindex.c: Increased size of memory blocks from 10 to 50.

    * oligoindex.c: Replaced realloc function with explicit calls to calloc and
      free, because Third Degree reported occasional errors with realloc.

    * gmap.c, indexdb.c, indexdb.h, oligo.c, oligo.h, snap.c, stage1.c,
      stage1.h: Major change to stage 1 procedure to work on either 24-mers or
      18-mers.

    * mem.c: Added blank line.

    * match.c, match.h: Added procedure for Match_copy and simplified Match_new.

    * genome.c: Inlined procedure fill_buffer.

    * genome.c: Simplified routine for fill_buffer.

2002-11-15  twu

    * indexdb.c, indexdb.h: Added code for ignoring poly A hits.  Added
      procedure for reading 12-mer positions.

    * pair.c: Removed debugging statement.

    * block.c, match.c, match.h, oligo.c, stage1.c, stage1.h: Parameterized
      stage1size.

2002-11-12  twu

    * pair.c, pair.h: Distinguished between mismatches and indels.  Fixed cases
      where gaps need to be merged (e.g., affy.HGU95A.34233_i_at, which created
      ===...======...=== when an 8-mer fell into a gap and was then aligned to
      either end of the gap by dynamic programming.

    * params.c, params.h: Added flag for low stringency.

    * stage3.c, stage3.h: Changed definition of LARGEQUERYGAP to be maxlookback.
       Distinguished between mismatches and indels.

    * gmap.c, snap.c: Changed definition of LARGEQUERYGAP to be maxlookback. 
      Added flag for lowstringency (12-mers).

    * dynprog.c, dynprog.h, stage2.c: Changed definition of LARGEQUERYGAP to be
      maxlookback.

    * result.c: Improved check on whether to free array in result.

2002-11-11  twu

    * params.c, params.h, stage2.c, stage2.h: Made maxlookback a parameter.

    * gmap.c, snap.c: Introduced heap memory for each thread for dynamic
      programming. Made maxlookback a parameter.

    * stage3.c, stage3.h: Introduced heap memory for each thread for dynamic
      programming. Restricted peelback for consecutive positions.

    * dynprog.c, dynprog.h: Introduced heap memory for each thread for dynamic
      programming.

2002-11-09  twu

    * dynprog.c: Changed dynamic programming procedure to be banded.

    * stage2.c, stage3.c: Revised stage 2 procedure to jump every INDEXSIZE,
      keep track of consecutive matches, and have a maximum lookback.  Changed
      stage 3 procedure accordingly, including increasing peelback to INDEXSIZE.

    * gmap.c, snap.c: Changed default behavior to be ordered output.

    * genome.c: Revmoed pre-loading for genome, and used madvise(MADV_DONTNEED)
      instead.

2002-11-07  twu

    * dynprog.c: Added a zero gap penalty on the ends.  Changed mismatch penalty
      to be less than a match penalty, and reduced intron reward accordingly.

    * stage3.c: Added a peelback on the 5' end, because it's just like half of a
      paired gap alignment.

    * gmap.c, snap.c: Removed hack used for debugging.

    * stage2.c: Introduced concept of a maximum lookback, and will now go beyond
      the previous limit if no hit has been found.

    * genome.c: Changed genome to be pre-paged when user specifies it.

    * indexdb.c: Changed type of i from int to size_t.

2002-11-06  twu

    * pair.c, pair.h, stage3.c: Changed pairs in stage 3 object to be allocated
      as a separate block, so they can be output at a later time.

    * blackboard.c, blackboard.h, gmap.c, reqpost.c, reqpost.h, request.c,
      request.h, result.c, result.h, snap.c: Updated multithreading system to
      handle ordered output with better throughput by adding an output queue.

    * genome.c, indexdb.c, pair.c: Added header for string.h to eliminate
      compiler warnings about strlen type.

    * pairpool.c: Increased chunk size from 10000 to 20000.

    * stage2.c: Added debugging comments to generate a graph.

    * stage3.c: In-lined calls to List_T and Pair_T accessor functions.

    * pair.c, stage1.c: In-lined calls to List_T accessor functions.

    * list.c, list.h: Added function to return value of the last element of a
      list.

2002-11-05  twu

    * pairpool.c, pairpool.h: Removed calls to realloc(), because they do not
      preserve pointer values.  Replaced with allocation of chunks of memory as
      needed.

    * dynprog.c, stage2.c: Changed two-dimensional matrices to be
      one-dimensional with pointer.

    * blackboard.h, gmap.c, snap.c: Made minor tweaks to blackboard object,
      primarily alterating ninputs and noutputs outside the lock, and changing
      signal of end of output to be a null result.

    * reqpost.c, reqpost.h: Added orderedp flag to send only appropriate
      signals.

    * blackboard.c: Made minor tweaks to blackboard object, primarily alterating
      ninputs and noutputs outside the lock.

2002-11-04  twu

    * dynprog.c, list.c, listdef.h, pairpool.c, pairpool.h, stage2.c, stage3.c:
      Added a pool of List_T cells for each thread to reduce heap contention.

    * Makefile, blackboard.c, dynprog.c, dynprog.h, genome.c, genome.h, gmap.c,
      pair.c, pairdef.h, pairpool.c, pairpool.h, reqpost.c, reqpost.h,
      request.c, request.h, sequence.c, sequence.h, snap.c, stage2.c, stage2.h,
      stage3.c, stage3.h: Provided each worker thread with separate sources of
      heap memory for genomic sequence and for Pair_T objects.  Intended to
      reduce heap contention.

    * stage2.c: Created define for MAXLOOKBACK.

    * stage1.c, stage1.h: Changed constants to be based on those in indexdb.h.

    * indexdb.c, indexdb.h: Changed stage 1 lookup to be based on 12-mers,
      rather than 8-mers.

2002-11-03  twu

    * indexdb.c: Implemented binary search on third 8-mer.

    * gmap.c, snap.c: Allowed user to specify full path of database in the -d
      flag.

    * Makefile: Added stopwatch to Makefile.

    * indexdb.c: Changed preloading of indexdb to touch each page effectively,
      not by using memcpy(), which fails to load in pages.

    * sequence.c: Added check for first call to fgetc(input) being EOF.

2002-11-01  twu

    * pair.c: Changed print routine to work properly on user-supplied genomic
      segments.

    * genome.c, indexdb.c: Changed pre-load to use fread/fopen/fwrite, rather
      than memcpy, which fails to load the pages into memory.

    * Makefile, block.c, block.h, gmap.c, gmapindex.c, oligo.c, oligo.h,
      params.c, params.h, snap.c, snapindex.c, stage1.c, stage1.h: Changed stage
      1 database to use index table of 8-mers, rather than a hash table of
      24-mers.

    * stopwatch.c, stopwatch.h: Added stopwatch function to program.

    * genome.c, genome.h: Added batch mode by using mmap/memcpy, but this
      appears to fail on a clustered file system.

    * indexdb.c, indexdb.h: Implemented Indexdb_T as a substitute for Hashdb_T.

2002-10-31  twu

    * stage2.c: Changed stage 2 procedure to consider both forward and reverse
      complement introns in one pass.  Fixed a small bug in intron_score to
      require position >= 2.

2002-10-29  twu

    * stage2.c, stage3.c: Replaced calls to Sequence_char with direct array
      access.

    * Makefile, blackboard.h, genome.c, genome.h, gmap.c, hashdb-read.c,
      match.c, offset.c, oligoindex.c, pair.c, reqpost.c, reqpost.h,
      segmentpos.c, snap.c, stage2.c, stage3.c: Made various fixes for compiler
      warnings.

    * stage3.c: Separated procedures for middle single gap and end single gap.
      Decreased size of single gap dynamic programming procedure for 5' and 3'
      ends to have genomejump = 2*queryjump.

    * gmap.c, snap.c: Increased default extension to 30000 nt.

    * dynprog.c: Prevented horizontal jumps on 3' end of splice site.  Adjusted
      score parameters.

    * dynprog.c, oligoindex.h, stage2.c: Changed oligomer size in stage 2 from
      10 to 8, and adjusted dynamic programming parameters accordingly. 
      Prevented genomic gap at the 5' edge of an intron.  Made initial
      cdna_direction test more robust.

    * gmap.c, snap.c: Fixed calls to SNAP that don't involve any sequence (the
      -C and -L flags).

    * stage3.c: Reduced minimum intron size from 10 to 9.

    * stage1.c: Substituted the constant HASHSIZE for 24.

2002-10-28  twu

    * dynprog.c: Increased reward for intron.  A score of 10 fails to identify a
      canonical intron with a gap.

    * pair.c: Fixed misreporting of query start coordinate.

    * gmap.c, snap.c: Fixed small memory leak.

    * Makefile, dynprog.c, splice-site.c, splice-site.h: Added splice site
      calculations to find best intron.

    * dynprog.c, dynprog.h, stage2.c, stage2.h, stage3.c, stage3.h: Improved
      stage 2 dynamic programming procedure to consider introns (only for
      consecutive query positions), to compute gap penalty based on difference
      of genomejump and queryjump, and to consider cDNA directions separately.

    * gmap.c, snap.c: Improved handling of arguments for database search and for
      alignment to genomic segment.

    * stage1.c, stage1.h: Fixed stage 1 to consider Watson and Crick strands
      separately.

    * gmap.c, params.c, params.h, snap.c, stage1.c, stage1.h: Made extension in
      stage 1 a user-definable parameter.

2002-10-27  twu

    * blackboard.c, blackboard.h, gmap.c, pair.c, request.c, request.h,
      sequence.c, sequence.h, snap.c: Provided ability to align cDNA against
      user-provided genomic segment.

    * dynprog.c: Gave credit to half introns.

2002-10-26  twu

    * genome.c, genome.h, gmap.c, oligoindex.c, oligoindex.h, snap.c, stage1.c,
      stage1.h, stage2.c, stage2.h, stage3.c, stage3.h: Changed genomicseg to be
      of type Sequence_T.

    * block.c: Changed debug flag.

    * Makefile, gmap.c, request.c, request.h, sequence.c, sequence.h, snap.c,
      stage1.c, stage1.h, stage2.c, stage2.h, stage3.c, stage3.h: Renamed
      Queryseq_T to Sequence_T.

    * queryseq.c, queryseq.h: Renamed Queryseq_T to Sequence_T, to allow genomic
      sequences to be represented this way.

    * pair.c, pair.h, stage3.c, stage3.h: Simplified argument lists of some
      functions.

    * params.c, params.h, result.c, result.h: Allowed first-order approximation
      using stage1 results.

    * stage2.c: Increased extension on left and right to find small terminal
      exons.

    * stage1.c, stage1.h: Fixed assessment of whether getpair succeeded or
      failed.

    * gmap.c, match.c, match.h, snap.c: Added first-order approximation, to use
      just stage1 results.

    * block.c, block.h, oligo.c: Fixed bugs in Block_next_to_stoppos when the
      query sequence has many non-ACGT characters.

2002-10-25  twu

    * Makefile, gmap.c, snap.c: Made compressed genome the default.

    * hashdb-read.c, hashdb-write.c: Reverted to old hashtable format, which
      contains only two arrays.

2002-10-24  twu

    * dynprog.c, dynprog.h, gmap.c, pair.c, pair.h, params.c, params.h, snap.c,
      stage3.c, stage3.h: Added diagnostic mode to print out asterisks instead
      of vertical bars where dynamic programming was done.

    * genome.c, genome.h: Added ability to read compressed genomes.

    * Makefile, gencompress.c: Added compression routine for genomes.

    * blackboard.c, blackboard.h, gmap.c, reqpost.c, reqpost.h, snap.c: Added
      anyorder behavior to blackboard, and made it default.

2002-10-23  twu

    * stage2.c: Removed code for memory freeing of positions, which is now
      performed by Oligoindex_T.

    * oligoindex.c: Changed type of positions from void ** to unsigned int **,
      to make code clearer and more robust.

2002-10-22  twu

    * gmap.c, pair.c, pair.h, params.c, params.h, snap.c, stage3.c, stage3.h:
      Added option to print universal genomic coordinates.

    * genome.c, hashdb-read.c: Changed mmap to from MAP_PRIVATE to MAP_SHARED.

    * genome.c, genome.h, gmap.c, params.c, params.h, snap.c, stage2.c,
      stage2.h: Changed Genome_T to be memory-mapped, rather than using fopen,
      which is needed for multithreading.

    * stage1.c: Fixed bug where salvage procedure fails to find anything.

    * mem.c: Enhanced mem.c to give actual location of failure.

    * gmap.c, oligoindex.c, oligoindex.h, snap.c, stage2.c, stage2.h: Changed
      algorithm for stage 2 to allocate genomic positions dynamically in
      Oligoindex_T.  To limit number of positions stored, we prescan the
      queryseq to see what oligomers are relevant.

    * stage2.c: Reverted back to previous Stage 2 strategy where we stored
      genomic sequence in oligoindex and scanned query sequence.

    * oligoindex.c, oligoindex.h: Simplified routines greatly.

    * stage2.c: Changed stage 2 strategy to index the query sequence rather than
      the genomic sequence.  This should result in some speed up.

    * reader.c, reader.h, stage1.c: Made Reader_new function depend on sequence
      rather than Queryseq_T object.

    * list.c, list.h: Added function List_index.

    * oligoindex.c, oligoindex.h: Hard-coded interval, rather than passing it
      in.

    * gmap.c, pair.c, snap.c: Added flag to avoid showing contig coordinates.

    * params.c, params.h: Added Params_T object.

    * Makefile, blackboard.c, blackboard.h, gmap.c, reqpost.c, reqpost.h,
      request.c, request.h, result.c, result.h, snap.c: Major change to make
      program multithreaded.  Introduced Blackboard_T, new Reqpost_T, and new
      Result_T objects.

    * stage3.h: Added header file.

    * stage2.c, stage2.h: Cleaned up procedures.  Passed in querylength via
      queryseq.

    * stage1.c, stage1.h: Cleaned up procedures.  Made hashinterval a constant.

    * queryseq.c, sequence.c: Removed macro for DEBUG2.

    * oligoindex.c, oligoindex.h: Allowed offsets for oligoindex to be created
      separately (for individual worker threads.)

    * block.c: Changed name from Result_T to Match_T.

2002-10-21  twu

    * block.c, match.c, match.h, stage1.c, stage1.h, stage2.c, stage2.h: Changed
      name of Result_T to Match_T.

    * result.c, result.h: Renamed Result_T to Match_T.

    * stage3.c: Turned off debug statements.

    * queryseq.c, sequence.c: Fixed small memory leak.

    * Makefile, align.c, align.h, gmap.c, snap.c, stage2.c, stage2.h, stage3.c,
      stage3.h: Created Stage 3 and moved part of Stage 2 commands there.

2002-10-20  twu

    * Makefile, align.c, align.h, gmap.c, queryseq.c, queryseq.h, reader.c,
      reader.h, sequence.c, sequence.h, snap.c, stage1.c, stage1.h, stage2.c,
      stage2.h: Added a separate Queryseq_T object, and moved some functions
      from Reader to Querypos.

    * pair.c: Removed bottom ruler.

    * block.c, block.h, gmap.c, snap.c, stage1.c, stage1.h: Removed
      multithreading from stage 1 (hash table reads).

    * dynprog.c: Made maximize_entry inline to speed up dynamic programming.

    * stage2.c: Added another 24 (hashsize) to extensions.  Without this, for
      some reason, we miss the ends.

    * Makefile, dynprog.c, penalties.c, penalties.h: Removed Penalties_T object
      in order to increase speed.

    * stage2.c: Changed extension to be based on remaining distance from end.

    * gmap.c, snap.c: Eliminated parameters maxentries and indexsize.

    * oligoindex.c, oligoindex.h: Made changes to improve speed, by eliminating
      unnecessary arrays.

    * stage2.c, stage2.h: Made changes to improve speed, including making
      build_pairs_middle iterative and using the fill_oligo function where
      possible.

    * align.c: Changed Pair_T object to reflect the actual case of the query
      sequence.

2002-10-19  twu

    * oligoindex.c: Simplified construction of Oligoindex_T object.

    * Makefile, align.c, align.h, gmap.c, oligoindex.c, oligoindex.h, snap.c,
      stage2.c, stage2.h: Made indexsize a hardcoded parameter.  Allocated space
      for Oligoindex once at beginning of program.

    * align.c, stage2.c: Using Pair_T object instead of Result_T object
      throughout stage 2.

    * stage1.c: Fixed memory leak.

    * align.c, align.h, stage2.c: Major change to improve stage 2 efficiency. 
      Using arrays instead of lists for the dynamic programming alignment.

    * oligoindex.c: Changed debug statements from fprintf to printf.

    * offset.c, offset.h: Added back to repository.

2002-10-18  twu

    * stage1.c, stage2.c: Allowed alignments even if we can't find a matching
      pair on the 5' and 3' ends.

    * oligoindex.c: Changed debug statements.

    * align.c: Removed debug statement.

    * Makefile: Added rule for counting lines of code.

2002-10-17  twu

    * Makefile, gmap.c, segmentpos.c, segmentpos.h, snap.c, snapgenerate.c:
      Generated dump procedure to work on either the text offset file or the
      offset BerkeleyDB.  Added accession length to the output.

    * match.c, match.h, result.c, result.h: Cleaned up unused or obsolete
      procedures.

    * hashdb-read.c: Made hashindex memory mapped again.  Added madvise()
      commands to help with memory mapping.

    * stage1.c: Changed algorithm for stage 1 to extend for 2 hash intervals
      past the first connectable pair of hits.

    * block.c, block.h: Added ability to stop block at a certain position.

2002-10-15  twu

    * dynprog.c, dynprog.h, stage1.c, stage2.c: Added counts of matches and
      mismatches on dynamic programming of single gaps, and used this to exclude
      dynamic programming results on 5' and 3' ends.

    * gmap.c, snap.c, stage2.c, stage2.h: Increased EXTENSION from 90 to 1000. 
      Included check for genomicpos2 against chromosomal length.

    * hashdb-read.c, hashdb-write.c: Reading hashindex into memory instead of
      memory mapping it.

    * dynprog.c: Cosmetic changes to debug macro.

    * align.c: Cleaned out unused code.

    * gmap.c, snap.c: Added flag for specifying maxentries (in stage 2).

    * stage2.c: Fixed one-off error on requesting dynamic programming of 5' end.

    * hashdb-write.h: Added log file.

    * gmapindex.c, snapindex.c: Fixed minor bug relating to log file.

    * hashdb-write.c: Added file pointer for a log file.

    * gmapindex.c, snapindex.c: Raised default maxentries value from 5 to 20. 
      Added file pointer for a log file.

    * hashdb-write.c: Commented out monitoring statements.

    * hashdb.c: Developed new hash function to give the same hash value for an
      oligo and its reverse complement.  This should improve page access for the
      hash lookup.

    * stage2.c: Improved debugging statement.

    * gmap.c, snap.c: Removed effect of maxentries in stage 2, which was causing
      some alignments to be short.

    * align.c: Changed debug statements from fprintf to printf.

2002-10-14  twu

    * hashdb-read.c: Fixed problem in binary search where we subtracted 1U from
      0U.

    * dynprog.c: Allowed dynamic programming to identify introns even if
      lowercase.

    * database.c: Reformatting.

    * hashdb-read.c: Fixed bug where function was returning NULL prematurely.

    * gmapindex.c, snapindex.c: Made second pass read only on auxfile.

    * Makefile, block.h, database.c, database.h, gmap.c, gmapindex.c, match.c,
      oligo.h, request.h, result.c, snap.c, snapindex.c, stage1.h: Removed
      traces of PureDB package.

    * Makefile, cell.c, cell.h, gmapindex.c, snapindex.c: Changed snapindex
      program to a two-pass process.  The first pass saves the .aux file, and
      the second pass creates the hash table.  This simplifies the Cell_T object
      greatly.

2002-10-13  twu

    * cell.c, cell.h, gmapindex.c, hashdb-write.c, snapindex.c: Sorting cell
      entries by hashvalue then by oligo.

    * hashdb-read.c: Fixed minor bug in binary search routine.

2002-10-11  twu

    * Makefile, block.c, hashdb-read.c, hashdb-write.c: Changed structure of
      hashdb to have three tables: oligo_offset, oligos, and positions.

    * hashdb-write.c: Checking totalsize of contents and setting file size
      initially to that.

    * hashdb-read.c: Memory mapping hash contents now.

    * snapgenerate.c: Fixed memory leaks.

    * gmap.c, snap.c: Fixed memory leak from failure to free Offset_T object.

    * gmap.c, snap.c: Fixed bug where datadir was freed.

    * hashdb-read.c: Fixed bug where memory mapped offsets were freed.

    * dynprog.c: Fixed bug where cL+1 or cL+2 exceeded length2L.

    * oligo.c: Revised procedures to handle lowercase letters in the query
      sequence.

    * hashdb-read.c: Fixed bug where nentries wasn't being set.

    * Makefile: Divided hashdb into separate read and write files.

    * block.c, block.h, gmap.c, oligo.c, oligo.h, request.c, request.h, snap.c:
      Changing from PureDB to our own Hashdb_T.

    * stage1.c, stage1.h: Changing from PureDB to our own Hashdb_T.  Also fixed
      bug where results3 was not being initialized to NULL.

    * gmapindex.c, snapindex.c: Divided hashdb file into a separate read and
      write file.

    * snapgenerate.c: Using Offset_T object now, after we have written the
      chromosome file.

    * hashdb-write.c: Fixed bug causing unaligned access errors, by splitting
      header into two 4-byte unsigned ints.

    * hashdb-read.c: Fixed bug where length = 0.  Also fixed bug causing
      unaligned access errors, by splitting header into two 4-byte unsigned
      ints.

2002-10-10  twu

    * hashdb-read.c, hashdb-read.h, hashdb-write.c, hashdb-write.h, hashdb.c,
      hashdb.h: Split Hashdb functions into separate read and write files.

    * hashdb.c, hashdb.h: Provided option to switch between unsigned long and
      unsigned int for hashoffset_t.

    * hashdb.c, hashdb.h: Changed offsets to be memory-mapped rather than read
      by file.

    * Makefile, gmapindex.c, hashdb.c, hashdb.h, snapindex.c: Changing hash
      database to our own format.

    * gmapindex.c, snapindex.c: Fixed bug where last oligo would not get stored.

    * pair.c, segmentpos.c: Added missing header file for commafmt.

    * Makefile: Revised object files needed for snapindex and snapgenerate.

    * Makefile, accpos.c, add-chrpos-to-endpoints.c, block.c, block.h, cell.c,
      database.c, database.h, gmap.c, gmapindex.c, match.c, match.h, offsetdb.c,
      offsetdb.h, result.c, result.h, segmentpos.c, segmentpos.h, snap.c,
      snapgenerate.c, snapindex.c, stage1.c, stage1.h: Changed offset reads from
      a database to a structure read from a flat file.

    * get-genome.c: Added -U flag to generate unmasked sequences.

2002-10-09  twu

    * offset.c, offset.h: Renamed files from offset.* to offsetdb.h

    * gmap.c, snap.c: Implemented print_details.

    * stage1.c, stage1.h: Implemented print_details.  Fixed problem where
      dominated bounds were not being eliminated.

    * stage2.c: Increased the peelback to identify introns.  Added debugging
      statements.

    * align.c: Fixed greediness for finding introns.  Removed gap penalty and
      reward for intron.  Instead, implemented a tie breaker for scores based on
      genomic distance.  Increased the peelback to identify introns.

    * align.c, block.c, gmap.c, match.c, match.h, result.c, result.h, snap.c,
      stage1.c, stage1.h, stage2.c: Changed stage 1 of algorithm to find bounds
      using 5' and 3' hits.

2002-10-08  twu

    * Makefile, pair.c, pair.h, stage2.c: Changed goodness to be differences of
      matches and mismatches.

2002-10-07  twu

    * dynprog.c: Changed recursive functions of traceback and scoreback to be
      iterative.

    * gmap.c, snap.c, stage2.c: Added check for large query gaps and avoided
      doing dynamic programming on those.  Also added check for allpaths being
      NULL from stage 2.

    * align.c: Toggled DEBUG.

    * Makefile, gmap.c, snap.c, stage2.c, stage2.h: Added ability to print
      alignment summaries only.

    * pair.c: Ignored N's in computing percent identity.

    * Makefile, pair.c, pair.h, stage2.c: Added number of exons to calculations
      and output.

    * gmap.c, snap.c, stage2.c, stage2.h: Made alignment procedure the default. 
      Now sorting paths based on the goodness of the alignment.

    * pair.c, pair.h, stage2.c: Removed npairs from some parameter lists.

    * pair.c, pair.h, stage2.c, stage2.h: Added calculation for goodness, based
      on percent identity.

    * gmap.c, match.c, pair.c, pair.h, result.c, segmentpos.c, segmentpos.h,
      snap.c, stage2.c, stage2.h: Now printing endpoints based on alignments, if
      available.

    * list.c: Fixed bug in List_last.

    * list.c, list.h: Added a List_last procedure.

    * Makefile, gmap.c, match.c, match.h, result.c, result.h, snap.c, stage1.c,
      stage1.h, stage2.c, stage2.h: Created a Stage2_T object and reorganized
      calculations, in preparation for using the alignments to rank the results.

    * Makefile, gmap.c, snap.c: Added parameter for maxaligns, the maximum
      number of alignments to print.

    * dynprog.c: Fixed read of unallocated hash.

    * align.c: Fixed read of uninitialized variable.

    * align.c, dynprog.c, pair.c, pair.h, stage2.c: Added ability to recognize
      introns in revcomp direction, and to print correct indices for Crick
      strand matches.

    * match.c, result.c: Simplified use of zerobasedp.

    * gmap.c, snap.c, stage1.c, stage1.h, stage2.c, stage2.h: Changed variable
      names to distinguish between hashsize and indexsize.

2002-10-06  twu

    * dynprog.c, genome.c, stage2.c: Fixed errors with the sequence and genomic
      indices.

    * stage1.c: Removed list reversal to match new scheme for doing stage 1
      dynamic programming.

    * align.c, pair.c: Enhanced debugging information.

    * align.c: Revised code to make sure that we don't pick unwanted paths after
      the first.  We set the usedp flags and recompute dynamic programming on
      subsequent rounds to avoid using those results.  This should affect only
      stage 1, because maxpaths equals 1 on stage2.

    * align.c: Removed gappenalty for stage 1 computation.  This was causing
      problems with multiple paths for HER2.

    * pair.c, pair.h, stage2.c: Added procedure for summary of exons.

    * gmap.c, snap.c: Made printout slightly better.

    * match.c, result.c: Fixed miscount on number of matches.

    * pair.c: No change.

    * genome.c, genome.h: Added modules to retrieve genome sequences.

    * dynprog.c: Minor restructuring of procedures.

    * dynprog.c: Fixed coordinates in gap.  Changed gap output for non-introns.

    * pair.c: Added printing of rulers in alignments.

    * stage2.c: Fixed memory leaks.

    * dynprog.c: Fixed major problem in paired gap assessments.  Need to
      subtract, not add, the entry in the right matrix.

    * stage2.c: Changed criteria for single and paired gaps, based on a minimum
      intron length.  Created special case for the 3' end.

    * penalties.c: Changed middle gap penalties to have bigger opening and
      smaller extend penalties.

    * dynprog.c, dynprog.h: Changed concepts from short and long gaps to single
      and paired gaps.

    * stage2.c: Added peelback procedure to help identify correct intron. 
      Otherwise, the greedy oligo matching procedure can mask the intron
      boundaries.

    * dynprog.c: Fixed bug for traceback on longgap, where we didn't start from
      the lower right cell.

    * align.c, stage2.c: Increased size of stage 2 oligos from 8 to 10.

2002-10-05  twu

    * align.c, gmap.c, oligoindex.c, oligoindex.h, snap.c, stage2.c, stage2.h:
      Added ability to limit maxentries in stage 2.

    * dynprog.c: Changed alignment character for dynamic programming to help
      with debugging.

    * dynprog.c, stage2.c: Implemented dynamic programming across long gaps.

    * dynprog.c: Reordered priorities in traceback to be (1) continue in same
      direction, (2) diagonal, (3) vertical, and (4) horizontal.

    * dynprog.c, dynprog.h, penalties.c, penalties.h, stage2.c: Cleaned up
      dynamic programming code for the three cases of FIVE, MIDDLE, and THREE. 
      Added stub for dynamic programming of long gaps.

    * pair.c, pair.h, stage2.c: Made improvements to the alignment output.

    * gmap.c, match.c, pair.c, pair.h, result.c, snap.c, stage2.c: Added
      improvements to the alignment output.

    * stage2.c: Added code to handle the 5' end properly.

    * penalties.c: Changed some values for the penalty parameters.

    * dynprog.c: Changed opening penalties to not include the extension.  Added
      special procedures for 5' and 3' ends of sequence, essentially
      implementing part of Smith-Waterman on each end.  Added special cases in
      traceback for 5' and 3' ends, but may not be necessary in light of the
      other changes.

2002-10-04  twu

    * stage2.c: Added querypos and genomepos to the Pair object.  Reorganized
      various functions.

    * pair.c, pair.h: Added querypos and genomepos to the Pair object.

    * reader.h: Added another option to cDNAEnd_T.

    * align.c: Fixed the precise bounds around an intron.

    * Makefile, dynprog.c, dynprog.h, penalties.c, penalties.h: Added penalties
      object.  Provided ability to specify different penalties for left, middle,
      and right part of sequence.

    * stage2.c: Moved printing procedure to another file.  Fixed small bug that
      caused us to miss printing a base.

    * pair.c, pair.h: Removed printing of loci names from alignment.

    * Makefile, align.c, dynprog.c, dynprog.h, pair.c, stage2.c: Added dynamic
      programming routine to take care of small gaps.

    * Makefile, align.c, align.h, gmap.c, match.c, match.h, matrix.c, matrix.h,
      oligoindex.c, oligoindex.h, pair.c, pair.h, path.c, path.h, penalties.c,
      penalties.h, reader.c, reader.h, result.c, result.h, snap.c, stage1.c,
      stage1.h, stage2.c, stage2.h: Major change to algorithm to have two
      stages: one using hash table (24-mers) and another using an index table
      (8-mers).  Still need to incorporate a dynamic programming step for gaps
      in the final alignment.

2002-10-02  twu

    * whats_on: Changed program to work with new data directory for alignment
      results.

    * gmap.c, snap.c: Fixed problem where intronlen == 0.  Now requiring
      intronlen > 0.  Added extra carriage return when zero paths found.

2002-09-28  twu

    * Makefile: Reduced number of object files used in SNAP.

    * get-genome.c: Fixed use of fscanf to match the .chromosome and .contig
      file format.

    * path.c: Simplified call to Path_compute to eliminate scoremat.

2002-09-27  twu

    * path.h: Simplified call to Path_compute to eliminate scoremat.

    * penalties.c, penalties.h: Added procedure to create a default penalties
      object.

    * match.c, result.c: Added line for number of matches.

    * gmap.c, snap.c: Fixed bug where resultlist was uninitialized.  Allowed
      resultstring of 0.  Simplified call to Path_compute.

    * whats_on: Added -R flag for release number.

2002-09-25  twu

    * intlist.c, intlist.h, scoremat.c, scoremat.h: No longer need Intlist_T or
      Scoremat_T.

    * Makefile, gmap.c, path.c, path.h, snap.c: Removing Sequence_T.  Using char
      * instead to represent sequences.

    * reader.c, reader.h: Added Reader_pointer function.

    * penalties.c: Using CALLOC/FREE macros.

    * gmap.c, snap.c: Inadvertent commit.  Adding routines to perform
      nucleotide-level dynamic programming.

    * ring.c, ring.h: Removed Ring_T.  Apparently not used by other seqalign
      files.

    * path.c, path.h: Premature commit.  Adding routines to analyze only
      submatrices.

    * intlist.c, matrix.c, scoremat.c: Using CALLOC/FREE macros.

    * Makefile: Adding files from seqalign.

    * intlist.c, intlist.h: Added files from seqalign to do nucleotide-level
      dynamic programming.

    * get-genome.c: Added flag for release string.  Changed type of positions
      from long to unsigned int.

    * offset.c, offset.h, offsetdb.c, offsetdb.h: Added datadir to
      Offset_read_file.

    * match.c, match.h, result.c, result.h: Added Result_path command.

    * gmapindex.c, snapgenerate.c, snapindex.c: Simplified strcpy/strcat calls
      to sprintf.

    * matrix.c, matrix.h, penalties.c, penalties.h, ring.c, ring.h, scoremat.c,
      scoremat.h: Added to program for doing nucleotide-level dynamic program. 
      Taken from seqalign.

    * path.c: Inadvertent commit.  Still editing.

    * path.c, path.h: Added to program for doing nucleotide-level dynamic
      program.  Taken from seqalign.

2002-09-24  twu

    * gmapindex.c, segmentpos.c, segmentpos.h, snapindex.c: Added
      superaccessions to accsegmentpos_db.

2002-09-23  twu

    * radixsort.c: Fixed syntax error when monitoring is turned off.

    * Makefile, radixsort.c: Added monitoring routine for radix sort.

2002-09-19  twu

    * snapgenerate.c: Removed debug line.

    * gmapindex.c, snapindex.c: Added option for using lowercase characters.

2002-09-18  twu

    * Makefile, snapgenerate.c: Added program snapgenerate, to create text
      .chromosome, .contig, and .chromosome files.

    * gmapindex.c, snapindex.c: Clarified the variable auxfile.

    * gmapindex.c, snapindex.c: Clarified the variable dbroot.

2002-09-17  twu

    * oligo.c: Made comment to explain Third Degree warning.

    * Makefile, block.c, block.h, gmap.c, match.c, match.h, reqpost.c,
      reqpost.h, result.c, result.h, snap.c: Made changes to sample query
      sequence at a test interval and perform dynamic programming.

2002-09-16  twu

    * endpoints.c, endpoints.h: Removed from source.

2002-09-13  twu

    * block.c: Changed debug flag.

    * Makefile: Changed C compiler flags.

    * gmap.c, snap.c: Changed default directory to be in /usr/seqdb2_nb.

2002-08-30  twu

    * endpoints.c, gmap.c, match.c, match.h, result.c, result.h, snap.c: Made
      changes to facilitate garbage collection, including adding a matchedp flag
      to results, and putting singleton results into an endpoint.

    * block.c: Changed debug messages.

    * endpoints.c, endpoints.h: Changed print routine.  Added code for query
      length.

    * gmap.c, snap.c: Added consolidation of endpoints, and ranking of those to
      generate a single result.

    * block.c, match.c, oligo.c, result.c, segmentpos.c: Added debug macros.

    * endpoints.c, endpoints.h: Added commands for sorting endpoints and testing
      for adjacency.

    * reader.c: Fixed test when startptr == endptr.

    * gmap.c, snap.c: Implemented divide-and-conquer strategy on query sequence.

2002-08-28  twu

    * gmapindex.c, snapindex.c: Turned off printing of subaccession messages.

2002-08-22  twu

    * gmapindex.c, snapindex.c: Added timing statistics.

    * block.c, oligo.c: Fixed coordinate calculations.  May need to check.

    * gmapindex.c, snapindex.c: Added dump function.

    * radixsort.c, radixsort.h: Changed accessor function to get a character
      rather than a pointer.  Fixed algorithm for case where byte equals strlen.

    * cell.c, cell.h: Changed accessor function to get a character rather than a
      pointer.

    * Makefile, rsort-check.c, rsort-test.c: Added a test and check routine for
      radixsort.

    * Makefile, gmapindex.c, snapindex.c: Removed unnecessary files for
      snapindex.

    * Makefile, block.c, block.h, endpoints.c, endpoints.h, gmap.c, match.c,
      match.h, offset.c, offsetdb.c, oligo.c, oligo.h, readcirc.c, reader.c,
      reader.h, request.h, result.c, result.h, snap.c: Major change to implement
      divide-and-conquer strategy.

2002-08-21  twu

    * read.c, read.h: Changed name of file from read.c to readcirc.c

    * block.c, block.h, endpoints.c: Partial changes to implement
      divide-and-conquer strategy.

    * gmapindex.c, snapindex.c: Improved diagnostic messages.

    * Makefile, gmapindex.c, offset.c, offsetdb.c, radixsort.c, radixsort.h,
      read.c, readcirc.c, segmentpos.c, snapindex.c: Fixed minor compiler
      warnings.

    * cell.c: Using pointers rather than lists to store multiple positions for
      an oligo.  Fixed quicksort compare function accordingly.

    * gmapindex.c, snapindex.c: Using pointers rather than lists to store
      multiple positions for an oligo.

    * radixsort.c: Added small speed hacks.

    * Makefile: Added quicksort as an option.

    * Makefile, cell.c, cell.h, gmapindex.c, radixsort.c, radixsort.h,
      snapindex.c: Added radix sort as a replacement for quicksort.

2002-08-20  twu

    * oligo.c: Fixed key_size for partial bytes.

    * gmapindex.c, snapindex.c: Changed location of oligo file to be in dbenv
      directory, not a subdirectory.

2002-08-15  twu

    * Makefile, block.c, block.h, gmap.c, gmapindex.c, oligo.c, oligo.h,
      request.c, request.h, snap-withenv.c, snap.c, snapindex.c: Made changes to
      accommodate sizes less than 32-mers.

    * gmap.c, match.c, match.h, offset.c, offset.h, offsetdb.c, offsetdb.h,
      result.c, result.h, snap.c: Added ability to read chromosome information
      from file, but not done by default right now.

2002-08-11  twu

    * Makefile, block.c, block.h, dpentry.c, dpentry.h, endpoints.c,
      endpoints.h, gmap.c, match.c, match.h, result.c, result.h, snap.c: Changed
      algorithm to work inward from both ends and find a single match.

    * Makefile, gmapindex.c, snapindex.c: Fixed program to handle cases where
      interval is less than size.

2002-07-19  twu

    * segmentpos.c: Changed type of querylen.

    * whats_on: Changed suffix for db filenames.

    * iit-read.c, iit.c, interval-read.c, interval-read.h, interval.c,
      interval.h: Changed binary storage format to be a single file.

    * get-genome.c: Changed input format to accept a single string.

2002-07-13  twu

    * iit_get.c: Added ability to query symbolic db.

    * iit_get.c: Fixed bugs in the algorithm.

    * iit_get.c: Allowed user to specify a single point, rather than an
      interval.

    * iit_store.c: Added an output message when Berkeley DB file is done.

2002-07-12  twu

    * iit_get.c, iit_store.c: Integrated interval tree into
      db_load/retrieve_endpoints.

    * Makefile, basic.h, iit-read.c, iit.c, interval-read.c, interval-read.h,
      interval.c, interval.h: Rewrote interval tree to handle interval queries
      and to write tree to and read tree from files.

2002-07-11  twu

    * basic.h, iit-read.c, iit.c: Added code for integer interval trees from
      Edelsbrunner's alpha shapes.

    * get-genome.c: Added ability to convert a single coordinate.

    * prb.c: Fixed minor typos.

    * prb.c, prb.h: Revised format and separated interface from implementation.

    * prb.c, prb.h: Added routines for red-black trees with parent pointers from
      libavl 2.0

    * dpentry.c: Changed criterion to consider query coverage.

    * endpoints.c: Fixed problem with negative relative positions.

2002-07-10  twu

    * endpoints.c, endpoints.h, gmap.c, snap.c: Revised output format of SNAP. 
      Coordinates are now given for each accession.

    * gmap.c, offset.c, offset.h, offsetdb.c, offsetdb.h, snap.c: Revised
      chromosome dump procedure to print lengths as well as offsets.

    * Makefile, add-chrpos-to-endpoints.c: Added program for adding chromosomal
      position to endpoints.

2002-07-09  twu

    * whats_on: Modified program to work with new version of SNAP.

    * dpentry.c, gmap.c, match.c, match.h, result.c, result.h, snap.c: Restored
      nleads as a criterion in dynamic programming.  Added features to help with
      debugging.

    * Makefile, get-genome.c: Freed get-genome from using BerkeleyDB databases,
      which are too slow to open.

2002-07-08  twu

    * get-genome.c: Added ability to report coordinates.

    * iit_get.c: Added check for zero matches.

    * whats_on: Preliminary changes (inadvertent checkin).

    * Makefile, get-genome.c: Created get-genome program.

    * accpos.c: Added offset for chromosomes.

    * accpos.c, database.c, database.h, gmap.c, gmapindex.c, snap.c,
      snapindex.c: Changed location of data files.

2002-07-07  twu

    * iit_get.c: Fixed bug with testing dumpp.

2002-07-06  twu

    * endpoints.c, endpoints.h, match.c, result.c: Added check for boomerang
      paths, where the genomic length is 0.

    * whats_on: Added whats_on from ../snap.

    * spidey_compress.pl: Added meta-level compression.

2002-07-05  twu

    * spidey_compress.pl: Added spidey_compress.pl from ../snap.

    * iit_get.c: Added dump utility.

    * iit_get.c, iit_store.c: Added programs for storing and retrieving records
      based on endpoints.

2002-07-04  twu

    * sim4_uncompress.pl: Added retrieval function for get-genome.

    * sim4_compress.pl, sim4_uncompress.pl: Added further compression by
      counting repeated tokens.

    * sim4_compress.pl, sim4_uncompress.pl, util: Added sim4
      compression/uncompression routines from snap CVS archive.

    * dpentry.c, match.c, result.c: Changed from using slopes (quotients) to
      intron measurements (differences).

2002-07-03  twu

    * endpoints.c, gmap.c, snap.c: Changed output slightly, e.g., en-dash for
      number ranges.

    * Makefile, accpos.c: Created program accpos, for finding genomic position
      of accessions.

    * segmentpos.c, segmentpos.h: Added procedure for finding partially matching
      accessions.

    * gmapindex.c, snapindex.c: Made creation of aux-only database faster.

    * gmap.c, snap.c: Fixed small bug in error message.

    * segmentpos.c, segmentpos.h: Made Segmentpos_print extern.

    * database.c: Changed accsegmentpos_db from hash to B-tree.

    * database.c, database.h, gmap.c, gmapindex.c, snap.c, snapindex.c: Merged
      two database procedures.

    * segmentpos.c, segmentpos.h: Added procedure for reading from
      accsegmentpos_db.

    * Makefile, cell.c, cell.h, database.c, database.h, endpoints.c,
      endpoints.h, gmap.c, gmapindex.c, segmentpos.c, segmentpos.h, snap.c,
      snapindex.c: Added another database, from accession name to segmentpos,
      and renamed databases.

    * Makefile, block.c, block.h, gmap.c, snap.c: Added specification for
      minimum separation between leads.

2002-07-02  twu

    * Makefile: Removed segmentpos dump flag from db.test

    * endpoints.c, endpoints.h, gmap.c, snap.c: Changed to 1-based coordinates
      as default.

    * gmapindex.c, snapindex.c: Removed segment dump, because it can be
      performed by snap.

    * gmap.c, snap.c: Added several command-line options.

    * segmentpos.c, segmentpos.h: Enhanced dump procedure to report absolute
      genomic positions.

    * match.c, match.h, result.c, result.h: Storing signed genome_coverage into
      dpentry and checking for impossible slopes (< 0.9).

    * offset.c, offset.h, offsetdb.c, offsetdb.h: Added dump procedure.

    * endpoints.c: Added printing of subaccessions for Celera genome.  Added
      commas to output of positions.  Changed dominated function to look for any
      overlap instead of complete coverage.

    * Makefile, dpentry.c, dpentry.h: Changed comparison function to use slopes.

    * chrnum.c: Added check for uninitialized chromosome.

2002-07-01  twu

    * block.h, buffer-thread-attempt.c, buffer-thread-attempt.h, buffer.c,
      buffer.h, dbentry.c, dbentry.h, entry.c, entry.h, hits.c, hits.h, oligo.c,
      sort.c, sort.h, table.c, table.h: Removed unused files.

    * Makefile, block.c, block.h, database.c, database.h, endpoints.c,
      endpoints.h, gmap.c, gmapindex.c, hash-oligos.c, hit.c, hit.h, match.c,
      match.h, oligo.c, oligo.h, request.c, request.h, result.c, result.h,
      scan.c, scan.h, segmentpos.c, snap.c, snapindex.c: Changed oligo_db from
      BerkeleyDB to PureDB.  Created object for endpoints.  Removed unused
      files.

2002-06-30  twu

    * gmap.c, segmentpos.c, segmentpos.h, snap.c: Added genomic position to the
      output.

2002-06-29  twu

    * gmap.c, match.c, result.c, snap.c: Fixed memory leaks.

    * block.c, block.h, dpentry.c, dpentry.h, gmap.c, match.c, match.h,
      request.c, request.h, result.c, result.h, snap.c: Added minimum spanning
      tree.  Version appears to work well.

    * Makefile, block.c, block.h, dpentry.c, dpentry.h, gmap.c, match.c,
      match.h, request.c, request.h, result.c, result.h, snap.c: Early version
      of dynamic programming that stores H best paths at each hit.

2002-06-28  twu

    * gmap.c, match.c, match.h, result.c, result.h, segmentpos.c, snap.c: Added
      simple dynamic programming and best pair techniques.

    * Makefile, block.c, block.h, database.c, database.h, gmap.c, gmapindex.c,
      match.c, match.h, oligo.c, oligo.h, reqpost.c, request.c, request.h,
      result.c, result.h, snap.c, snapindex.c: Implemented working version of
      snap that uses multiple oligo_dbs with requests and strings results
      together from 5' and 3' ends.

    * commafmt.c, commafmt.h: Added source code for adding commas to numbers.

2002-06-25  twu

    * Makefile: Added specification of directory for dbenv.

    * database.c, gmapindex.c, snapindex.c: Added provisions for transactions,
      to try to speed up build of database.

2002-05-29  twu

    * gmapindex.c, snapindex.c: Allowed the user to specify a directory for the
      BerkeleyDB environment.

2002-05-28  twu

    * Makefile, gmapindex.c, segmentpos.c, snapindex.c: Added specification of
      segmentfile as flag -g.

    * Makefile, database.c, database.h, gmapindex.c, snapindex.c: Removed
      genome_db and delta_db from snapindex.

    * Makefile, gmapindex.c, segmentpos.c, segmentpos.h, snapindex.c: Added
      ability to dump segments (in order) from segmentpos_db

    * Makefile: Changed flags for C compiler.

    * segmentpos.c: Added check to get previous segment only in some cases.

2002-05-22  twu

    * Makefile, gmap.c, oligo.c, oligo.h, read.c, read.h, readcirc.c,
      readcirc.h, scan.c, scan.h, segmentpos.c, segmentpos.h, snap.c: Working
      version of snap using a scan of genomic and delta information.

    * Makefile, cell.c, cell.h, database.c, database.h, gmap.c, gmapindex.c,
      hit.c, hit.h, offset.c, offset.h, offsetdb.c, offsetdb.h, oligo.c,
      oligo.h, scan.c, scan.h, snap.c, snapindex.c, table.c, table.h: Made
      changes to store delta position of genomic oligos and to store oligos of
      query sequence.

2002-05-08  twu

    * Makefile, database.c, database.h, gmap.c, gmapindex.c, hash-oligos.c,
      snap.c, snapindex.c: Consolidated sample-oligos and hash-oligos into
      snapindex.  Specified oligo dbtype by using Berkeley DB constants.

2002-05-03  twu

    * Makefile, cell.c, cell.h, database.c, database.h, hit.c, read.c,
      readcirc.c, sample-oligos.c: Separated database commands for oligos from
      the other database (aux).

2002-04-26  twu

    * Makefile, gmap.c, hit.c, oligo.c, read.c, readcirc.c, snap.c: Removed
      environment.  Began implementation of dynamic programming.

    * Makefile, chrnum.c, chrnum.h, database.c, database.h, gmap.c,
      hash-oligos.c, hit.c, hit.h, offset.c, offset.h, offsetdb.c, offsetdb.h,
      oligo.c, oligo.h, read.c, read.h, readcirc.c, readcirc.h, snap.c:
      Re-implementation of SNAP using new database created by hash-oligos.

2002-04-24  twu

    * segmentpos.c, segmentpos.h: Handled problems with chromosome string to
      integer conversions.

    * hash-oligos.c: Handled problems with chromosome string to integer
      conversions.  Rearranged calls to db->open so that each db is opened only
      once.

    * Makefile, btree.c, btree.h, hash-oligos.c, hash.c, hash.h, oligo.c,
      oligo.h: Consolidated code into fewer files.

    * Makefile: Changed CFLAGS to optimize speed.

    * cell.h: Matched up .h file with .c file.

    * Makefile, genomicpos.c, genomicpos.h, hash-oligos.c, segmentpos.c,
      segmentpos.h: Now storing genomic locations as global positions, which
      require keeping track of chromosomal offsets.

    * Makefile, btree.c, btree.h, cell.c, cell.h, entry.c, entry.h,
      genomicpos.c, genomicpos.h, hash-oligos.c, sample-oligos.c: Major change
      to allow B-trees, to avoid storing adjacent oligos, to store genomic
      positions, and to write oligos in binary format.

2002-04-22  twu

    * Makefile, assert.c, assert.h, block.c, block.h, bool.h,
      buffer-thread-attempt.c, buffer-thread-attempt.h, buffer.c, buffer.h,
      cksum-fa.c, cksum.c, dbentry.c, dbentry.h, entry.c, entry.h, except.c,
      except.h, gmap.c, hash-oligos.c, hash-test.c, hash.c, hash.h, hits.c,
      hits.h, list.c, list.h, match.c, match.h, mem.c, mem.h, oligo.c, oligo.h,
      read.c, read.h, readcirc.c, readcirc.h, reqpost.c, reqpost.h, request.c,
      request.h, result.c, result.h, sample-oligos.c, snap-withenv.c, snap.c,
      sort.c, sort.h, src: Initial import into CVS.

2000-05-09  paf

    * config, cvswrappers, loginfo, modules: initial checkin

    * CVSROOT, checkoutlist, commitinfo, editinfo, notify, rcsinfo, taginfo,
      verifymsg: initial checkin

    * branches, tags, trunk: Standard project directories initialized by
      cvs2svn.