[go: up one dir, main page]

Menu

[1cdb03]: / doc / subroutines.txt  Maximize  Restore  History

Download this file

9904 lines (6101 with data), 314.7 kB

   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
Subroutine documentation generated on Wed Jun 17 11:43:35 AEST 2020
Subroutine Index
================
Aa ../lib/silico_sequence.pm
Aa_one_letter ../lib/silico_sequence.pm
Aa_three_letter ../lib/silico_sequence.pm
Acceptable_neutral_valences ../lib/silico_definitions.pm
Add_bondorders_to_atom_tree ../lib/silico_prop.pm
Add_charge_with_sybyl ../lib/silico_sybyl.pm
Add_layer ../bin/starmaker
Add_monomer ../bin/starmaker
Add_option ../lib/silico_io.pm
Add_part_of_layer ../bin/starmaker
Align_bonds ../bin/starmaker
Amino_acid_and_nucleotide_base_codes ../lib/silico_definitions.pm
Angle_between_vectors ../lib/silico_geom.pm
Atom_add_1h ../lib/silico_hydrogens.pm
Atom_add_2h ../lib/silico_hydrogens.pm
Atom_add_3h ../lib/silico_hydrogens.pm
Atom_add_h ../lib/silico_hydrogens.pm
Atom_calc_bin ../lib/silico_geom.pm
Atom_check_valence ../lib/silico_check.pm
Atom_colour ../lib/silico_sybyl.pm
Atom_cross_prod ../lib/silico_hydrogens.pm
Atom_data_to_sdf ../lib/silico_sdf.pm
Atom_formal_charge ../lib/silico_prop.pm
Atom_guess_element ../lib/silico_molecules.pm
Atom_guess_element_mol2 ../lib/silico_mol2.pm
Atom_keys ../lib/silico_gromacs.pm
Atom_lone_pairs ../lib/silico_prop.pm
Atom_norm_vector ../lib/silico_hydrogens.pm
Atom_number_sort_function ../bin/write_itp
Atom_oxidation_state ../lib/silico_prop.pm
Atom_path_traverse ../lib/silico_fp.pm
Atom_path_traverse_branched ../lib/silico_fp.pm
Atom_printout ../lib/silico_debug.pm
Atom_score_hybridisation ../lib/silico_molecules.pm
Atom_smiles_label ../lib/silico_smiles.pm
Atom_specifier_setup ../lib/silico_molecules.pm
Atomic_elements ../lib/silico_definitions.pm
Bin_values ../lib/silico_tabledata.pm
Bl ../lib/silico_molecules.pm
Bndangle ../lib/silico_geom.pm
Bond_create ../lib/silico_molecules.pm
Bond_create_atom ../lib/silico_molecules.pm
Bond_delete ../lib/silico_molecules.pm
Bond_delete_atom ../lib/silico_molecules.pm
Bond_modify_order ../lib/silico_molecules.pm
Bond_modify_order_check ../lib/silico_molecules.pm
Bond_vector ../lib/silico_geom.pm
Bonded ../lib/silico_molecules.pm
Bondlengths ../lib/silico_molecules.pm
Bondlengths_2 ../lib/silico_molecules.pm
Branchsort ../lib/silico_smiles.pm
Calc_area_sphere_with_holes ../lib/silico_rbox.pm
Calc_binsize ../lib/silico_geom.pm
Calc_box_size ../lib/silico_geom.pm
Calc_chiral_sdf_stereo ../lib/silico_sdf.pm
Calc_chiral_volume ../lib/silico_sdf.pm
Calc_conservation_group_membership ../lib/silico_sequence.pm
Calc_conservation_group_percentage ../lib/silico_sequence.pm
Calc_distance_function ../lib/silico_geom.pm
Calc_gromos_charge ../lib/silico_gromacs.pm
Calc_human_readable_time ../lib/silico_data.pm
Calc_physiological_protonation ../lib/silico_hydrogens.pm
Calc_rotation_vector_onto_vector ../lib/silico_geom.pm
Calc_valence_change ../lib/silico_hydrogens.pm
Calculate_bin ../bin/rdf
Calculate_one_rdf ../bin/rdf
Calculate_rdfs ../bin/rdf
Carbanion_filter_neutraliser ../lib/silico_prop.pm
Centroid ../lib/silico_geom.pm
Ch ../lib/silico_data.pm
Change_bondorder ../lib/silico_molecules.pm
Check_arguments ../lib/silico_io.pm
Check_data_type ../lib/silico_data.pm
Check_grace_output_format ../lib/silico_io.pm
Check_itp_is_bonded ../lib/silico_gromacs.pm
Check_number_components ../lib/silico_rbox.pm
Check_printerror ../lib/silico_check.pm
Checkvalence ../lib/silico_molecules.pm
Chonspx_filter ../lib/silico_prop.pm
Clash_periodic_binned ../lib/silico_geom.pm
Clean_pdb_line ../lib/silico_pdb.pm
Clean_up_split_submols ../lib/silico_split.pm
Cleanline ../lib/silico_data.pm
Clear_smiles_sets ../lib/silico_smiles.pm
Close_file ../lib/silico_io.pm
Close_molfile ../lib/silico_io.pm
Compare_atom_order ../lib/silico_molecules.pm
Condense_smiles_ranks ../lib/silico_smiles.pm
Connect_atoms_by_distance ../lib/silico_molecules.pm
Connect_atoms_by_distance_simple ../lib/silico_molecules.pm
Connected ../lib/silico_molecules.pm
Construct_atom_relationships ../lib/silico_prop.pm
Construct_family_tree ../lib/silico_prop.pm
Construct_residue_relationships ../lib/silico_prop.pm
Convert_aromatic_bonds ../lib/silico_hydrogens.pm
Convert_aromatic_bonds_kekule ../lib/silico_rings.pm
Copy_atom ../lib/silico_molecules.pm
Copy_minimal_molecule ../lib/silico_rbox.pm
Correlation_coeff ../bin/dock_sort
Corresponding_prime_old ../lib/silico_smiles.pm
Count_formal_charges ../lib/silico_prop.pm
Count_polar_nonpolar ../lib/silico_prop.pm
Create_angle ../lib/silico_molecules.pm
Create_dihedral ../lib/silico_molecules.pm
Create_molecule ../lib/silico_molecules.pm
Create_planar_improper ../lib/silico_molecules.pm
Create_water_molecule ../lib/silico_solvate.pm
Crossprod ../lib/silico_geom.pm
Csv_fix ../lib/silico_smiles.pm
Deep_copy ../lib/silico_molecules.pm
Deep_copy_orig ../lib/silico_molecules.pm
Define_pdb_chain_segid ../lib/silico_rbox.pm
Deg_to_rad ../lib/silico_geom.pm
Delete_atomset ../lib/silico_sybyl.pm
Delete_flag ../lib/silico_io.pm
Delete_rings ../lib/silico_rings.pm
Delimited_read_error ../lib/silico_io.pm
Dihedral ../lib/silico_geom.pm
Distance ../lib/silico_geom.pm
Distance_atoms_min ../lib/silico_geom.pm
Distance_periodic_sq ../lib/silico_geom.pm
Distance_periodic_xyz_old ../lib/silico_geom.pm
Distance_points ../lib/silico_geom.pm
Distance_sq ../lib/silico_geom.pm
Dotprod ../lib/silico_geom.pm
Double_and_tie_break ../lib/silico_smiles.pm
Dump_itp_data ../lib/silico_gromacs.pm
Electronegativities ../lib/silico_definitions.pm
Element_number2symbol ../lib/silico_molecules.pm
Element_symbol2number ../lib/silico_molecules.pm
En ../lib/silico_data.pm
Ens ../lib/silico_molecules.pm
Ens_smiles_string ../lib/silico_smiles.pm
Ens_smiles_string_chemaxon ../lib/silico_smiles.pm
Ensemble_calc_fragments ../lib/silico_fp.pm
Ensemble_check ../lib/silico_check.pm
Ensemble_cluster ../lib/silico_molecules.pm
Ensemble_connect_atoms ../lib/silico_molecules.pm
Ensemble_consolidate ../lib/silico_molecules.pm
Ensemble_consolidate_nocopy ../lib/silico_rbox.pm
Ensemble_consolidate_small_molecules ../lib/silico_split.pm
Ensemble_copy ../lib/silico_molecules.pm
Ensemble_insight_rename ../lib/silico_molecules.pm
Ensemble_print_connect ../lib/silico_debug.pm
Ensemble_printout ../lib/silico_debug.pm
Ensemble_renumber ../lib/silico_molecules.pm
Ensemble_split ../lib/silico_split.pm
Ensemble_split_keeping_largest_mols ../lib/silico_split.pm
Et ../lib/silico_data.pm
Euclidian ../lib/silico_fp.pm
Extract_charmm_logfile ../bin/cexplot
Extract_gromacs_logfile ../bin/cexplot
Extract_mol2_sdf_data ../lib/silico_mol2.pm
Extract_namd_logfile ../bin/cexplot
Fgroup ../lib/silico_prop.pm
File_read_error ../lib/silico_io.pm
File_write_error ../lib/silico_io.pm
Find_aggregates ../bin/find_aggregate
Find_aggregates ../bin/find_aggregate.x
Find_atom_paths ../lib/silico_prop.pm
Find_atom_rings ../lib/silico_rings.pm
Find_atom_rings_not_recursive ../lib/silico_rings.pm
Find_bondorder ../lib/silico_molecules.pm
Find_bondorder2 ../lib/silico_molecules.pm
Find_bondorders_ring ../lib/silico_rings.pm
Find_buried_atoms ../lib/silico_prop.pm
Find_buried_atoms_simple ../lib/silico_prop.pm
Find_close_atoms_binned ../lib/silico_geom.pm
Find_closest_atoms_periodic ../lib/silico_geom.pm
Find_closest_atoms_periodic_binned ../lib/silico_geom.pm
Find_decoys_actives ../bin/dock_sort
Find_elements_ring ../lib/silico_rings.pm
Find_intermolecular_charge_interactions ../lib/silico_prop.pm
Find_intermolecular_hbonds_h ../lib/silico_hb.pm
Find_intermolecular_hbonds_h_simple ../lib/silico_hb.pm
Find_intermolecular_hbonds_noh ../lib/silico_hb.pm
Find_intramolecular_hbonds_h ../lib/silico_hb.pm
Find_nearby_charges_recursive ../lib/silico_hydrogens.pm
Find_nearest_atoms ../lib/silico_molecules.pm
Find_polar_atoms ../lib/silico_prop.pm
Find_schrodinger_exe ../lib/silico_mmod.pm
Find_substructure ../lib/silico_residue.pm
Find_sybyl ../lib/silico_sybyl.pm
Findclash ../lib/silico_hydrogens.pm
Fix_cell_values ../bin/find_aggregate
Fix_cell_values ../bin/find_aggregate.x
Fix_dative_bonds ../lib/silico_molecules.pm
Fix_double_bonds_carbonyl ../lib/silico_molecules.pm
Fix_double_bonds_carboxyl ../lib/silico_molecules.pm
Fix_double_bonds_general ../lib/silico_molecules.pm
Fix_hydrogens ../lib/silico_hydrogens.pm
Fix_pdb_chains ../lib/silico_pdb.pm
Fnfp ../lib/silico_data.pm
Format_doc_html ../lib/silico_doc.pm
Format_doc_txt ../lib/silico_doc.pm
Format_oname ../lib/silico_io.pm
Format_string_html ../lib/silico_doc.pm
Formatdata ../lib/silico_pdb.pm
Formatpara_txt ../lib/silico_doc.pm
Formula_string ../lib/silico_prop.pm
Fr_printout ../lib/silico_io.pm
Frag_aray_to_hashes ../lib/silico_fp.pm
Fragment_printout ../lib/silico_fp.pm
Fragmentlist_printout ../lib/silico_fp.pm
Ftfp ../lib/silico_data.pm
Fundamental_constants ../lib/silico_definitions.pm
Get_aa_frequency ../lib/silico_sequence.pm
Get_allflags ../lib/silico_io.pm
Get_arguments2 ../lib/silico_io.pm
Get_atomlist_using_specifier ../lib/silico_molecules.pm
Get_default_flags_standard ../lib/silico_io.pm
Get_file_compression ../lib/silico_io.pm
Get_file_dir ../lib/silico_io.pm
Get_filebase ../lib/silico_io.pm
Get_filebase_short ../lib/silico_io.pm
Get_fileext ../lib/silico_io.pm
Get_flag ../lib/silico_io.pm
Get_hosttype ../lib/silico_control.pm
Get_ion_data ../bin/water_to_ion
Get_join_list ../bin/starmaker
Get_lflag ../lib/silico_io.pm
Get_metal_oxidation_state ../bin/water_to_ion
Get_ofilebase ../lib/silico_io.pm
Get_ofilename ../lib/silico_io.pm
Get_ofilename2 ../lib/silico_io.pm
Get_oformat ../lib/silico_io.pm
Get_sflag ../lib/silico_io.pm
Get_single_atomlist_using_specifier ../lib/silico_molecules.pm
Get_std_output_options ../lib/silico_io.pm
Get_tempname ../lib/silico_io.pm
Getcol ../lib/silico_tabledata.pm
Getcols ../lib/silico_tabledata.pm
Getcols_all ../lib/silico_tabledata.pm
Getcols_not ../lib/silico_tabledata.pm
Getlines ../lib/silico_tabledata.pm
Gmx_make_heavy_h ../lib/silico_gromacs.pm
Gmx_merge_coords_into_top ../lib/silico_gromacs.pm
Gmx_replace_peptide_dihedrals ../bin/write_itp
Gmx_setup ../lib/silico_gromacs.pm
Gnuplot_plot_bins ../lib/silico_gnuplot.pm
Grom_readline ../lib/silico_gromacs.pm
Gromacs_check_itp ../lib/silico_gromacs.pm
Gromacs_regenerate_pairs ../lib/silico_gromacs.pm
Heading ../lib/silico_doc.pm
Identify_heterocycle ../lib/silico_prop.pm
Increment_chain ../lib/silico_pdb.pm
Insight_rename ../lib/silico_molecules.pm
Is_gap ../lib/silico_sequence.pm
Is_hbond_mcdonald_thornton ../lib/silico_hb.pm
Is_integer ../lib/silico_data.pm
Is_ring_aromatic_by_bondorder ../lib/silico_rings.pm
Is_ring_aromatic_by_connectivity ../lib/silico_rings.pm
Is_ring_planar ../lib/silico_rings.pm
Is_ring_planar_by_dihedral ../lib/silico_rings.pm
Itp_delete_angle_parameters_atom ../lib/silico_gromacs.pm
Itp_delete_parameters_atom ../lib/silico_gromacs.pm
Itp_make_angle ../lib/silico_gromacs.pm
Itp_make_bond ../lib/silico_gromacs.pm
Itp_make_dihedral ../lib/silico_gromacs.pm
Itp_make_pair ../lib/silico_gromacs.pm
Label_aa_backbone ../lib/silico_prop.pm
Label_aa_chirality ../bin/gromacs_fix_chiral_impropers
Label_amides ../lib/silico_prop.pm
Label_amino_acids ../lib/silico_residue.pm
Label_dendrimer_residues ../bin/starmaker
Label_fg_alcohol ../lib/silico_prop.pm
Label_fg_benzhydrylamine ../lib/silico_prop.pm
Label_fg_carbanion ../lib/silico_prop.pm
Label_fg_carbon ../lib/silico_prop.pm
Label_fg_carbonyl ../lib/silico_prop.pm
Label_fg_halogen ../lib/silico_prop.pm
Label_fg_nitrogen ../lib/silico_prop.pm
Label_fg_oxygen ../lib/silico_prop.pm
Label_fg_phosphorous ../lib/silico_prop.pm
Label_fg_planar_carbon ../lib/silico_prop.pm
Label_fg_sulphur ../lib/silico_prop.pm
Label_fg_tfm ../lib/silico_prop.pm
Label_solvent ../lib/silico_prop.pm
Label_waters ../lib/silico_prop.pm
Lipophilicity_dipole ../lib/silico_rbox.pm
Mae_get_tok ../lib/silico_mmod.pm
Mae_ignore_block ../lib/silico_mmod.pm
Mae_parse_atoms ../lib/silico_mmod.pm
Mae_parse_block_header ../lib/silico_mmod.pm
Mae_parse_bonds ../lib/silico_mmod.pm
Mae_parse_ct_data ../lib/silico_mmod.pm
Mae_split_data ../lib/silico_mmod.pm
Magnitude ../lib/silico_geom.pm
Make_alternate_aa_forms ../lib/silico_residue.pm
Make_amides_trans ../lib/silico_geom.pm
Make_aromatic_bonds ../lib/silico_rings.pm
Make_atomset ../lib/silico_sybyl.pm
Make_atomset_colour ../lib/silico_sybyl.pm
Make_atomset_fg ../lib/silico_sybyl.pm
Make_atomset_formal_charge ../lib/silico_mol2.pm
Make_bins ../lib/silico_tabledata.pm
Make_dendrimer ../bin/starmaker
Make_flag ../lib/silico_io.pm
Make_gromacs_cell_from_pdb_cell_and_angles ../lib/silico_gromacs.pm
Make_molecule_copies ../lib/silico_rbox.pm
Make_smiles_string_from_list ../lib/silico_smiles.pm
Make_subset ../lib/silico_sybyl.pm
Make_types_summary ../lib/silico_control.pm
Make_vectors_connected ../lib/silico_hydrogens.pm
Makeboxmolecule ../lib/silico_geom.pm
Match_amino_acid ../lib/silico_residue.pm
Match_amino_acid2 ../lib/silico_residue.pm
Maximum ../lib/silico_statistics.pm
Maximum_minus_mean ../lib/silico_statistics.pm
Maximum_valences ../lib/silico_definitions.pm
Mean ../lib/silico_statistics.pm
Mean_minus_minimum ../lib/silico_statistics.pm
Median ../lib/silico_statistics.pm
Median_absolute_deviation ../lib/silico_statistics.pm
Memuse ../lib/silico_debug.pm
Merck_calculate_formal_charge ../lib/silico_merck.pm
Merck_charge_code_to_formal ../lib/silico_merck.pm
Merck_formal_to_charge_code ../lib/silico_merck.pm
Minimise_complex_with_sybyl_mmff ../lib/silico_sybyl.pm
Minimise_dendrimer ../bin/starmaker
Minimise_sybyl ../lib/silico_sybyl.pm
Minimise_with_sybyl_gasteiger_marsilli ../lib/silico_sybyl.pm
Minimise_with_sybyl_mmff ../lib/silico_sybyl.pm
Minimum ../lib/silico_statistics.pm
Mmod_anneal ../lib/silico_mmod.pm
Mmod_calc_energy ../lib/silico_mmod.pm
Mmod_csearch ../lib/silico_mmod.pm
Mmod_csearch_write_com ../lib/silico_mmod.pm
Mmod_logfile_normal_termination ../lib/silico_mmod.pm
Mmod_logfile_num_conf ../lib/silico_mmod.pm
Mmod_make_complex ../lib/silico_mmod.pm
Mmod_min ../lib/silico_mmod.pm
Mmod_min_h ../lib/silico_mmod.pm
Mmod_mult_min ../lib/silico_mmod.pm
Mmod_qikprop ../lib/silico_mmod.pm
Mmod_run ../lib/silico_mmod.pm
Mol2_atom_record ../lib/silico_mol2.pm
Mol2_bond_record ../lib/silico_mol2.pm
Mol2_centroid_record ../lib/silico_mol2.pm
Mol2_crystal_record ../lib/silico_mol2.pm
Mol2_fastsplit ../lib/silico_split.pm
Mol2_molecule_record ../lib/silico_mol2.pm
Mol2_process_comments ../lib/silico_mol2.pm
Mol2_set_formal_charges ../lib/silico_mol2.pm
Mol2_set_record ../lib/silico_mol2.pm
Mol2_substructure_record ../lib/silico_mol2.pm
Mol_add_atom ../lib/silico_molecules.pm
Mol_add_hydrogens ../lib/silico_hydrogens.pm
Mol_add_hydrogens_nocoords ../lib/silico_hydrogens.pm
Mol_add_lone_pairs ../lib/silico_hydrogens.pm
Mol_aromatic_smiles ../lib/silico_smiles.pm
Mol_assign_charge_groups_monte_carlo ../lib/silico_gromacs.pm
Mol_assign_gromos_angles ../lib/silico_gromacs.pm
Mol_assign_gromos_atomtypes ../lib/silico_gromacs.pm
Mol_assign_gromos_bonds ../lib/silico_gromacs.pm
Mol_assign_gromos_dihedrals ../lib/silico_gromacs.pm
Mol_bonded_interactions ../lib/silico_molecules.pm
Mol_calc_charge ../lib/silico_molecules.pm
Mol_calc_hcount ../lib/silico_hydrogens.pm
Mol_check ../lib/silico_check.pm
Mol_check_all ../lib/silico_check.pm
Mol_check_amides ../lib/silico_check.pm
Mol_check_aromatic_bonds ../lib/silico_check.pm
Mol_check_atom_overlap ../lib/silico_check.pm
Mol_check_bondlengths ../lib/silico_check.pm
Mol_check_bondorders ../lib/silico_check.pm
Mol_check_distorted_rings ../lib/silico_check.pm
Mol_check_elements ../lib/silico_check.pm
Mol_check_unit_cell ../lib/silico_molecules.pm
Mol_check_valences ../lib/silico_check.pm
Mol_copy_rec ../lib/silico_split.pm
Mol_copy_unit_cell ../lib/silico_molecules.pm
Mol_count_heavy_atoms ../lib/silico_prop.pm
Mol_count_residue_contacts ../lib/silico_sequence.pm
Mol_count_rot_bonds ../lib/silico_prop.pm
Mol_count_valence_electrons ../lib/silico_mopac.pm
Mol_delete_duplicate_atoms ../lib/silico_molecules.pm
Mol_find_all_angles ../lib/silico_molecules.pm
Mol_find_all_bonds ../lib/silico_molecules.pm
Mol_find_all_dihedrals ../lib/silico_molecules.pm
Mol_find_chiral_impropers ../lib/silico_molecules.pm
Mol_find_chiral_impropers_gms ../lib/silico_gromacs.pm
Mol_find_donors_acceptors ../lib/silico_hb.pm
Mol_find_double_bond_impropers_gms ../lib/silico_gromacs.pm
Mol_find_neighbouring_atoms ../lib/silico_prop.pm
Mol_find_planar_impropers ../lib/silico_molecules.pm
Mol_find_planar_impropers_gms ../lib/silico_gromacs.pm
Mol_fix_atom_names ../lib/silico_molecules.pm
Mol_fix_multiple_bonds_general ../lib/silico_molecules.pm
Mol_fix_sodiums ../bin/make_index
Mol_fragment ../lib/silico_fp.pm
Mol_fragment_and_path ../lib/silico_fp.pm
Mol_get_functional_group ../lib/silico_prop.pm
Mol_get_sequence ../lib/silico_sequence.pm
Mol_has_h ../lib/silico_hydrogens.pm
Mol_label_alpha_fg ../lib/silico_prop.pm
Mol_label_beta_fg ../lib/silico_prop.pm
Mol_label_functional_group ../lib/silico_prop.pm
Mol_label_heterocycles ../lib/silico_prop.pm
Mol_label_smiles_invariants ../lib/silico_smiles.pm
Mol_label_united_atom ../lib/silico_prop.pm
Mol_map_sequence ../lib/silico_sequence.pm
Mol_move_atoms_into_cell ../lib/silico_geom.pm
Mol_move_into_cell ../lib/silico_geom.pm
Mol_move_into_cell_using_cell_vectors ../lib/silico_gromacs.pm
Mol_partition_on_bond ../lib/silico_geom.pm
Mol_partition_on_bond2 ../lib/silico_geom.pm
Mol_path_to_fragments ../lib/silico_fp.pm
Mol_rama ../lib/silico_rama.pm
Mol_rama_angles ../lib/silico_rama.pm
Mol_read_error ../lib/silico_io.pm
Mol_rename_atoms ../lib/silico_molecules.pm
Mol_renumber_residues ../bin/make_index
Mol_renumber_residues ../bin/mol_combine
Mol_renumber_substructures ../lib/silico_molecules.pm
Mol_rescale_bonds ../lib/silico_geom.pm
Mol_rotate_euler{ ../lib/silico_geom.pm
Mol_score_hybridisation ../lib/silico_molecules.pm
Mol_sdf_stereo ../lib/silico_sdf.pm
Mol_set_source_data ../lib/silico_io.pm
Mol_smiles_string ../lib/silico_smiles.pm
Mol_sort_smiles ../lib/silico_smiles.pm
Mol_tanimoto ../lib/silico_fp.pm
Mol_transfer_coordinates ../lib/silico_molecules.pm
Mol_type_mmod ../lib/silico_mmod.pm
Mol_type_sybyl ../lib/silico_mol2.pm
Molecule_bin_atoms ../lib/silico_geom.pm
Molecule_centre ../lib/silico_geom.pm
Molecule_centre_of_mass ../lib/silico_geom.pm
Molecule_check_and_fix_connectivity ../lib/silico_molecules.pm
Molecule_check_cell ../lib/silico_geom.pm
Molecule_check_join_points ../bin/starmaker
Molecule_connect_pdb_atoms_by_name ../lib/silico_pdb.pm
Molecule_copy_coordinates ../lib/silico_molecules.pm
Molecule_copy_header ../lib/silico_molecules.pm
Molecule_copy_noatoms ../lib/silico_molecules.pm
Molecule_count_numbonds ../lib/silico_molecules.pm
Molecule_delete_alternate_atoms ../lib/silico_pdb.pm
Molecule_delete_atom ../lib/silico_molecules.pm
Molecule_delete_atoms ../lib/silico_molecules.pm
Molecule_delete_dummy ../lib/silico_molecules.pm
Molecule_delete_h ../lib/silico_hydrogens.pm
Molecule_delete_h_resname ../bin/mol_del_h
Molecule_delete_nonpolar_h ../lib/silico_hydrogens.pm
Molecule_delete_polar_h ../lib/silico_hydrogens.pm
Molecule_dimensions ../lib/silico_geom.pm
Molecule_find_planar_atoms ../lib/silico_rings.pm
Molecule_find_planar_atoms_bondorders ../lib/silico_rings.pm
Molecule_find_planar_atoms_geom ../lib/silico_rings.pm
Molecule_find_rings ../lib/silico_rings.pm
Molecule_fix_and_get_residues ../lib/silico_residue.pm
Molecule_fix_sybyl_substructures ../lib/silico_mol2.pm
Molecule_formal_charge ../lib/silico_prop.pm
Molecule_formula ../lib/silico_prop.pm
Molecule_generate_bondorders ../lib/silico_molecules.pm
Molecule_generate_bonds ../lib/silico_molecules.pm
Molecule_get_chains ../lib/silico_molecules.pm
Molecule_get_residues ../lib/silico_residue.pm
Molecule_get_residues_hash ../lib/silico_residue.pm
Molecule_label_submols ../lib/silico_split.pm
Molecule_make_residues ../lib/silico_residue.pm
Molecule_mw ../lib/silico_prop.pm
Molecule_pack ../lib/silico_molecules.pm
Molecule_path ../lib/silico_fp.pm
Molecule_pdb_rename_backbone ../lib/silico_pdb.pm
Molecule_pdb_rename_h ../lib/silico_pdb.pm
Molecule_pdb_rename_h_dataread ../lib/silico_pdb.pm
Molecule_printout ../lib/silico_debug.pm
Molecule_random_move_cartesian ../lib/silico_geom.pm
Molecule_renumber ../lib/silico_molecules.pm
Molecule_renumber2 ../lib/silico_molecules.pm
Molecule_reorder ../lib/silico_molecules.pm
Molecule_rot_angle_x ../lib/silico_geom.pm
Molecule_rot_angle_y ../lib/silico_geom.pm
Molecule_rot_angle_z ../lib/silico_geom.pm
Molecule_rotate ../lib/silico_geom.pm
Molecule_rotate_axis ../lib/silico_geom.pm
Molecule_solvate ../lib/silico_solvate.pm
Molecule_split ../lib/silico_split.pm
Molecule_split_keeping_largest_mol ../lib/silico_split.pm
Molecule_trans_to_centre ../lib/silico_geom.pm
Molecule_translate ../lib/silico_geom.pm
Mols ../lib/silico_molecules.pm
Name_pdb_molecule ../lib/silico_pdb.pm
New_h ../lib/silico_hydrogens.pm
New_table_delimited ../lib/silico_tabledata.pm
Number_range ../lib/silico_data.pm
Open_file ../lib/silico_io.pm
Open_molfile ../lib/silico_io.pm
Optimise_geometry ../bin/starmaker
Origins ../lib/silico_rbox.pm
Orthogonal_least_squares_plane_atoms ../lib/silico_geom.pm
Overwrite_check ../lib/silico_io.pm
Pack_gromacs_angles ../lib/silico_gromacs.pm
Pack_molecules ../lib/silico_rbox.pm
Parse_amino_acids_smiles ../lib/silico_residue.pm
Parse_atom_specifier ../lib/silico_molecules.pm
Parse_comma_separated_numbers ../lib/silico_data.pm
Parse_pdb_space_group ../lib/silico_pdb.pm
Parse_residue_dictionary ../lib/silico_residue.pm
Parse_smiles ../lib/silico_smiles.pm
Pdb_fastsplit ../lib/silico_split.pm
Pdb_format_atom_name ../lib/silico_pdb.pm
Pdb_format_subname ../lib/silico_pdb.pm
Pdb_get_ligands ../lib/silico_pdb.pm
Pdb_get_prot ../lib/silico_pdb.pm
Pdb_molecule_sort_atoms ../lib/silico_pdb.pm
Pdb_read_errors ../lib/silico_pdb.pm
Pdb_rewind ../lib/silico_pdb.pm
Plot_amides ../bin/mol_amides
Pmmod ../lib/silico_mmod.pm
Primes ../lib/silico_definitions.pm
Print_finished_message ../lib/silico_control.pm
Print_flags ../lib/silico_io.pm
Print_timing_message ../lib/silico_control.pm
Print_title ../lib/silico_control.pm
Printbox ../lib/silico_pdb.pm
Printdoc ../lib/silico_doc.pm
Printgroup ../lib/silico_gromacs.pm
Printit ../lib/silico_rbox.pm
Prompt ../lib/silico_control.pm
Prune_family_tree ../lib/silico_prop.pm
Quaternion ../lib/silico_geom.pm
Quiet ../lib/silico_io.pm
Rad_to_deg ../lib/silico_geom.pm
Ramaplot ../lib/silico_rama.pm
Ramaplot_by_mol_open ../lib/silico_rama.pm
Ramaplot_open ../lib/silico_rama.pm
Randomchar ../bin/mol_characterise
Randomise_and_test_molecule_position ../bin/bilayer_builder
Range ../lib/silico_statistics.pm
Rank_by_neighbouring_primes ../lib/silico_smiles.pm
Rank_molecules ../bin/dock_sort
Rank_smiles_set ../lib/silico_smiles.pm
Read_atom_specifier_file ../lib/silico_molecules.pm
Read_clustal ../lib/silico_sequence.pm
Read_divcon_cart ../lib/silico_mopac.pm
Read_doc ../lib/silico_doc.pm
Read_doc_subroutine ../lib/silico_doc.pm
Read_fasta ../lib/silico_sequence.pm
Read_function_line ../bin/rdf
Read_gamess_cart ../lib/silico_gamess.pm
Read_gaussian_cart ../lib/silico_gaussian.pm
Read_gromacs_gro ../lib/silico_gromacs.pm
Read_gromacs_gro_single ../lib/silico_gromacs.pm
Read_gromacs_indexfile ../lib/silico_gromacs.pm
Read_gromacs_itp ../lib/silico_gromacs.pm
Read_gromacs_trr ../lib/silico_gromacs.pm
Read_maestro ../lib/silico_mmod.pm
Read_maestro_single ../lib/silico_mmod.pm
Read_merck ../lib/silico_merck.pm
Read_mmod ../lib/silico_mmod.pm
Read_mmod_mmo ../lib/silico_mmod.pm
Read_mol2 ../lib/silico_mol2.pm
Read_mol2_single ../lib/silico_mol2.pm
Read_mol_any ../lib/silico_io.pm
Read_mol_single ../lib/silico_io.pm
Read_mopac_cart ../lib/silico_mopac.pm
Read_packings ../bin/micelle
Read_pdb ../lib/silico_pdb.pm
Read_pdb_atom ../lib/silico_pdb.pm
Read_pdb_atom_fast ../lib/silico_pdb.pm
Read_pdb_compnd ../lib/silico_pdb.pm
Read_pdb_conect ../lib/silico_pdb.pm
Read_pdb_connected ../lib/silico_pdb.pm
Read_pdb_cryst ../lib/silico_pdb.pm
Read_pdb_expdta ../lib/silico_pdb.pm
Read_pdb_fast ../lib/silico_pdb.pm
Read_pdb_header_line ../lib/silico_pdb.pm
Read_pdb_hetnam ../lib/silico_pdb.pm
Read_pdb_jrnl ../lib/silico_pdb.pm
Read_pdb_molecule ../lib/silico_pdb.pm
Read_pdb_remark ../lib/silico_pdb.pm
Read_pdb_single ../lib/silico_pdb.pm
Read_pdb_title ../lib/silico_pdb.pm
Read_pdb_user ../lib/silico_pdb.pm
Read_rdf ../lib/silico_sdf.pm
Read_rdf_input_file ../bin/rdf
Read_sdf ../lib/silico_sdf.pm
Read_sdf_atoms_bonds ../lib/silico_sdf.pm
Read_sdf_single ../lib/silico_sdf.pm
Read_seq_any ../lib/silico_io.pm
Read_sleuth_abstract ../lib/silico_tinker.pm
Read_smiles ../lib/silico_smiles.pm
Read_smiles_single ../lib/silico_smiles.pm
Read_table_delimited ../lib/silico_tabledata.pm
Read_tcoffee_score ../lib/silico_sequence.pm
Read_tinker_xyz ../lib/silico_tinker.pm
Record_best_coords ../lib/silico_geom.pm
Remove_aromatic_bondorders ../lib/silico_mol2.pm
Remove_duplicates ../lib/silico_data.pm
Remove_option ../lib/silico_io.pm
Reos_filter ../lib/silico_prop.pm
Rescue_unbonded_hydrogens ../lib/silico_molecules.pm
Reset_all_groups ../lib/silico_gromacs.pm
Residue_printout ../lib/silico_sequence.pm
Residues ../lib/silico_sequence.pm
Revert_to_best_coords ../lib/silico_geom.pm
Rms ../lib/silico_geom.pm
Rms_atomlist ../lib/silico_geom.pm
Rms_fp ../lib/silico_fp.pm
Rotate_torsion_angle ../lib/silico_geom.pm
Rotate_torsion_angle2 ../lib/silico_geom.pm
Run_gnuplot ../bin/dock_sort
Run_gnuplot1 ../lib/silico_gnuplot.pm
Run_gnuplot2 ../lib/silico_gnuplot.pm
Run_mopac ../lib/silico_mopac.pm
Same_substructure ../lib/silico_residue.pm
Sanitise_hydrogens ../lib/silico_hydrogens.pm
Sanitise_segid_chain ../bin/find_amino_acids
Scale_vector ../lib/silico_geom.pm
Score_ring_het ../lib/silico_rings.pm
Score_total_charge ../lib/silico_gromacs.pm
Sdf_calc_atom_parity_error ../lib/silico_sdf.pm
Sdf_check_chiral_parity ../lib/silico_sdf.pm
Sdf_data_to_atom ../lib/silico_sdf.pm
Sdf_data_to_table_delimited ../lib/silico_tabledata.pm
Sdf_error_mol ../lib/silico_sdf.pm
Sdf_fastsplit ../lib/silico_split.pm
Select_residues ../bin/find_aggregate
Select_residues ../bin/find_aggregate.x
Select_rotate_bond ../lib/silico_geom.pm
Seq_fix_residue_numbers ../lib/silico_sequence.pm
Seq_label_by_field ../lib/silico_sequence.pm
Seq_label_by_homology ../lib/silico_sequence.pm
Seq_label_indels ../lib/silico_sequence.pm
Seq_mark_start_end ../lib/silico_sequence.pm
Seq_merge ../lib/silico_sequence.pm
Seq_printout ../lib/silico_sequence.pm
Seq_printout_header ../lib/silico_sequence.pm
Seq_printout_one ../lib/silico_sequence.pm
Seq_printout_three ../lib/silico_sequence.pm
Seq_read_error ../lib/silico_io.pm
Seq_residue_fields ../lib/silico_sequence.pm
Seq_string ../lib/silico_sequence.pm
Sequences_STD ../lib/silico_sequence.pm
Sequences_STD_nonSTD ../lib/silico_sequence.pm
Sequences_clustal_homology ../lib/silico_sequence.pm
Sequences_consensus ../lib/silico_sequence.pm
Sequences_get_column ../lib/silico_sequence.pm
Sequences_length ../lib/silico_sequence.pm
Sequences_nonSTD ../lib/silico_sequence.pm
Sequences_printout ../lib/silico_sequence.pm
Sequences_read_mols ../lib/silico_sequence.pm
Sequences_write_mols ../lib/silico_sequence.pm
Set_acidbase ../lib/silico_hydrogens.pm
Set_debg17 ../lib/silico_mmod.pm
Set_default_oappend ../lib/silico_io.pm
Set_flag ../lib/silico_io.pm
Set_lflag ../lib/silico_io.pm
Set_sflag ../lib/silico_io.pm
Set_torsion_angle ../lib/silico_geom.pm
Setup_flags ../lib/silico_io.pm
Setup_fp_flags ../lib/silico_fp.pm
Setup_mopac_keywords ../lib/silico_mopac.pm
Shared_rings ../lib/silico_rings.pm
Silico_msg ../lib/silico_control.pm
Silico_putline ../lib/silico_io.pm
Silico_readline ../lib/silico_io.pm
Silico_setup ../bin/backbone
Silico_setup ../bin/bilayer_builder
Silico_setup ../bin/cexplot
Silico_setup ../bin/checkbox
Silico_setup ../bin/clip
Silico_setup ../bin/cluster
Silico_setup ../bin/cluster_fp
Silico_setup ../bin/dock_sort
Silico_setup ../bin/ens_randomise_order
Silico_setup ../bin/ens_sort
Silico_setup ../bin/extract_lig_prot
Silico_setup ../bin/file_rename
Silico_setup ../bin/find_aggregate
Silico_setup ../bin/find_aggregate.x
Silico_setup ../bin/find_amino_acids
Silico_setup ../bin/find_clash
Silico_setup ../bin/find_close_atoms
Silico_setup ../bin/find_close_water
Silico_setup ../bin/find_groups
Silico_setup ../bin/find_rings
Silico_setup ../bin/find_similar
Silico_setup ../bin/fix_cis_amides
Silico_setup ../bin/flatten
Silico_setup ../bin/formatdoc
Silico_setup ../bin/gromacs_fix_chiral_impropers
Silico_setup ../bin/make_box
Silico_setup ../bin/make_index
Silico_setup ../bin/max_similarity_fp
Silico_setup ../bin/micelle
Silico_setup ../bin/mmod_csearch
Silico_setup ../bin/mmod_min
Silico_setup ../bin/mmod_qikprop
Silico_setup ../bin/mol2seq
Silico_setup ../bin/mol2split
Silico_setup ../bin/mol_add_h
Silico_setup ../bin/mol_add_lp
Silico_setup ../bin/mol_add_segid
Silico_setup ../bin/mol_amides
Silico_setup ../bin/mol_boltz_pop
Silico_setup ../bin/mol_centre
Silico_setup ../bin/mol_characterise
Silico_setup ../bin/mol_charge
Silico_setup ../bin/mol_check
Silico_setup ../bin/mol_combine
Silico_setup ../bin/mol_del_atoms
Silico_setup ../bin/mol_del_dummy
Silico_setup ../bin/mol_del_excess_solv
Silico_setup ../bin/mol_del_h
Silico_setup ../bin/mol_del_solvent
Silico_setup ../bin/mol_divide
Silico_setup ../bin/mol_ensemble_average
Silico_setup ../bin/mol_extents
Silico_setup ../bin/mol_filter
Silico_setup ../bin/mol_fp
Silico_setup ../bin/mol_hydrogen_bonds
Silico_setup ../bin/mol_label_fg
Silico_setup ../bin/mol_mw
Silico_setup ../bin/mol_rama
Silico_setup ../bin/mol_rename
Silico_setup ../bin/mol_renumber
Silico_setup ../bin/mol_rescale_bonds
Silico_setup ../bin/mol_rot
Silico_setup ../bin/mol_rot_bond
Silico_setup ../bin/mol_rotrans
Silico_setup ../bin/mol_segment
Silico_setup ../bin/mol_smiles
Silico_setup ../bin/mol_solvate
Silico_setup ../bin/mol_sort
Silico_setup ../bin/mol_sort_fp
Silico_setup ../bin/mol_split
Silico_setup ../bin/mol_split_segid
Silico_setup ../bin/mol_transfer_coords
Silico_setup ../bin/mol_unsplit
Silico_setup ../bin/mol_wrap_cell
Silico_setup ../bin/n_dist
Silico_setup ../bin/pdb_chain_split
Silico_setup ../bin/pdb_rename_hydrogens
Silico_setup ../bin/pdbsplit
Silico_setup ../bin/plot_dihedrals
Silico_setup ../bin/radius_of_gyration
Silico_setup ../bin/random_box
Silico_setup ../bin/randomise
Silico_setup ../bin/randomise_conformation
Silico_setup ../bin/rdf
Silico_setup ../bin/renumber_residues
Silico_setup ../bin/residue_distance
Silico_setup ../bin/residue_rename
Silico_setup ../bin/rms
Silico_setup ../bin/rms_pairs
Silico_setup ../bin/scale
Silico_setup ../bin/sdfsplit
Silico_setup ../bin/similarity_fp
Silico_setup ../bin/slurp
Silico_setup ../bin/smooth
Silico_setup ../bin/starmaker
Silico_setup ../bin/tabulate
Silico_setup ../bin/vesicle_builder
Silico_setup ../bin/water_to_ion
Silico_setup ../bin/write_g03zmat
Silico_setup ../bin/write_gro
Silico_setup ../bin/write_itp
Silico_setup ../bin/write_merck
Silico_setup ../bin/write_mmod
Silico_setup ../bin/write_mol
Silico_setup ../bin/write_mol2
Silico_setup ../bin/write_mopac
Silico_setup ../bin/write_pdb
Silico_setup ../bin/write_sdf
Silico_setup ../bin/write_seq
Silico_setup ../bin/write_tab
Silico_setup ../bin/write_tinker
Silico_vdw_radii ../lib/silico_definitions.pm
Simple_atomtype ../lib/silico_prop.pm
Sleep_or_stop ../lib/silico_control.pm
Slurp_file ../lib/silico_io.pm
Smiles_invariant ../lib/silico_smiles.pm
Smiles_list_recursive ../lib/silico_smiles.pm
Smooth_delimited ../lib/silico_tabledata.pm
Sort_atoms_label ../bin/water_to_ion
Sort_itp_by_atom_number ../bin/write_itp
Sort_itp_by_smiles ../bin/write_itp
Space_group_pdb_to_silico ../lib/silico_pdb.pm
Space_group_silico_to_pdb ../lib/silico_pdb.pm
Splitline ../lib/silico_data.pm
Standard_bond_lengths ../lib/silico_definitions.pm
Standard_deviation_bias_corrected ../lib/silico_statistics.pm
Standard_deviation_bias_uncorrected ../lib/silico_statistics.pm
Standardise_boolean ../lib/silico_data.pm
Standardise_ring ../lib/silico_rings.pm
Standardise_ring_by_heteroatoms ../lib/silico_rings.pm
Subname ../lib/silico_control.pm
Superimpose_sybyl ../lib/silico_sybyl.pm
Superimpose_sybyl_multi ../lib/silico_sybyl.pm
Sybyl_align ../lib/silico_sybyl.pm
Sybyl_sort ../lib/silico_mol2.pm
Sybyl_spectrum ../lib/silico_sybyl.pm
Table_delimited_addcolumn ../lib/silico_tabledata.pm
Table_delimited_getrow ../lib/silico_tabledata.pm
Table_delimited_getval ../lib/silico_tabledata.pm
Table_delimited_inc_row ../lib/silico_tabledata.pm
Tag_markup ../lib/silico_doc.pm
Tan_substructure_frac ../lib/silico_fp.pm
Tanimoto ../lib/silico_fp.pm
Tanimoto_freq ../lib/silico_fp.pm
Tanimoto_matrix ../lib/silico_fp.pm
Test_all_shapes ../lib/silico_rbox.pm
Test_cylinder_arb ../lib/silico_rbox.pm
Test_energy_molcount ../lib/silico_mmod.pm
Test_plane ../lib/silico_rbox.pm
Tinker_space_group ../lib/silico_tinker.pm
Traverse ../lib/silico_rings.pm
Two_bond_angle ../lib/silico_geom.pm
Two_bond_normal ../lib/silico_geom.pm
Unit_normal_vector ../lib/silico_geom.pm
Unit_vector ../lib/silico_geom.pm
Valence ../lib/silico_molecules.pm
Variance_bias_corrected ../lib/silico_statistics.pm
Variance_bias_uncorrected ../lib/silico_statistics.pm
Vector ../lib/silico_geom.pm
Vector_add ../lib/silico_geom.pm
Veryquiet ../lib/silico_io.pm
Wraphtml ../lib/silico_doc.pm
Write_binfile ../lib/silico_tabledata.pm
Write_clustal ../lib/silico_sequence.pm
Write_divcon_cart ../lib/silico_mopac.pm
Write_fasta ../lib/silico_sequence.pm
Write_gaussian_cart ../lib/silico_gaussian.pm
Write_gaussian_zmatrix ../lib/silico_gaussian.pm
Write_gromacs_gro ../lib/silico_gromacs.pm
Write_gromacs_gro_molecule ../lib/silico_gromacs.pm
Write_gromacs_index_file ../lib/silico_gromacs.pm
Write_gromacs_itp ../lib/silico_gromacs.pm
Write_gromacs_itp_mol ../lib/silico_gromacs.pm
Write_mae ../lib/silico_mmod.pm
Write_mae_molecule ../lib/silico_mmod.pm
Write_maegz ../lib/silico_mmod.pm
Write_merck ../lib/silico_merck.pm
Write_merck_mol ../lib/silico_merck.pm
Write_mmod ../lib/silico_mmod.pm
Write_mmod_com_mdyn_stage ../lib/silico_mmod.pm
Write_mmod_com_mini_stage ../lib/silico_mmod.pm
Write_mmod_com_setup ../lib/silico_mmod.pm
Write_mmod_com_write_stage ../lib/silico_mmod.pm
Write_mmod_sbc ../lib/silico_mmod.pm
Write_mol2 ../lib/silico_mol2.pm
Write_mol2_atoms ../lib/silico_mol2.pm
Write_mol2_bonds ../lib/silico_mol2.pm
Write_mol2_comments ../lib/silico_mol2.pm
Write_mol2_crystal ../lib/silico_mol2.pm
Write_mol2_molecule ../lib/silico_mol2.pm
Write_mol2_sdfdata ../lib/silico_mol2.pm
Write_mol2_set ../lib/silico_mol2.pm
Write_mol2_substructures ../lib/silico_mol2.pm
Write_mol_any ../lib/silico_io.pm
Write_mol_any_check ../lib/silico_io.pm
Write_mol_single ../lib/silico_io.pm
Write_mopac_cart ../lib/silico_mopac.pm
Write_pdb ../lib/silico_pdb.pm
Write_pdb_cryst ../lib/silico_pdb.pm
Write_pdb_molecule ../lib/silico_pdb.pm
Write_pdb_sdfdata ../lib/silico_pdb.pm
Write_pir ../lib/silico_sequence.pm
Write_rama_structure ../lib/silico_rama.pm
Write_rama_structure_by_mol ../lib/silico_rama.pm
Write_sdf ../lib/silico_sdf.pm
Write_sdf_atoms_bonds ../lib/silico_sdf.pm
Write_seq_any ../lib/silico_io.pm
Write_seq_any_check ../lib/silico_io.pm
Write_smiles ../lib/silico_smiles.pm
Write_starmaker_comment ../bin/starmaker
Write_table_delimited ../lib/silico_tabledata.pm
Write_tinker_prm ../lib/silico_tinker.pm
Write_tinker_prm_mol_dihedrals_oplsaa ../lib/silico_tinker.pm
Write_tinker_prm_oplsaa ../lib/silico_tinker.pm
Write_tinker_xyz ../lib/silico_tinker.pm
Subroutine descriptions
=======================
Aa ../lib/silico_sequence.pm
--------------------------------------------------------
Return one letter code of the first amino acid in a sequence record
Requires: Silico residue record
Returns: one-letter code
Aa_one_letter ../lib/silico_sequence.pm
--------------------------------------------------------
Return the one letter AA code from three letter
Returns 'X' if unknown
Requires: string
Returns: string
Aa_three_letter ../lib/silico_sequence.pm
--------------------------------------------------------
Return the three letter AA code from one letter code
Returns 'UNK' if unknown
Requires: string
Returns: string
Acceptable_neutral_valences ../lib/silico_definitions.pm
-----------------------------------------------------------
Determines, for each element, a list of acceptable neutral valences. The ANV
is like an oxidation state, but it doesn't take into account atom
electronegativities.
Requires: nothing (creation of package global variable)
Returns: nothing (creation of package global variable)
Add_bondorders_to_atom_tree ../lib/silico_prop.pm
----------------------------------------------------
Add bondorders to the branches in an atom tree.
Requires: molecule, atom tree
Returns: modified atom tree
Add_charge_with_sybyl ../lib/silico_sybyl.pm
-----------------------------------------------------
Add Gasteiger-Huckel charges to a molecule with Sybyl
The location of the sybyl execuatble must be in $Silico::sybyl_exe
Temporary files are written to $Silico::temp_dir or to current working
directory if $Silico::debug is set.
Requires: molecule, charge_type (default Gasteiger-Marsilli), flag to
add hydrogens
Returns: molecule or undef if Sybyl failed to write out a structure
Add_layer ../bin/starmaker
-----------------------------------------------
Add a layer to a dendrimer
Add_monomer ../bin/starmaker
-----------------------------------------------
Adds a single monomer to one of the available connection points on a
dendrimer.
Requires: existing dendrimeric framework (mol1), monomer to add (mol2),
join point on dendrimer (j1), join point on monomer (j2),
residue number
Returns: new dendrimer with monomer added
Add_option ../lib/silico_io.pm
--------------------------------------------------
Add a text string to the list of command-line options
Requires: Option to add (string), list of existing options (string)
Returns: Modifies string provided to function
Add_part_of_layer ../bin/starmaker
-----------------------------------------------
Align_bonds ../bin/starmaker
-----------------------------------------------
Align two bonds
Overlaps p1 and j2, p2 and j1 (approx)
Requires: mol1, mol2, a1, a2, a3, a4, bond length
Returns: nothing
Amino_acid_and_nucleotide_base_codes ../lib/silico_definitions.pm
-----------------------------------------------------------------
Prepare lists of three-letter and one-letter codes for amino acids and
nucleotide bases. Also prepare hashes mapping the three-letter and one-letter
codes to each other.
Requires: nothing
Returns: nothing (sets package global arrays and hashes)
Angle_between_vectors ../lib/silico_geom.pm
----------------------------------------------------
Angle between two vectors (radians)
Requires: vector1, vector2
Returns: angle
Atom_add_1h ../lib/silico_hydrogens.pm
---------------------------------------------------------
Add one hydrogen to an atom
This code needs a good clean up!
This code can add hydrogens with a steric clash. e.g biguanides
Atom_add_2h ../lib/silico_hydrogens.pm
---------------------------------------------------------
Add two hydrogens to an atom
If atom has only one connected atom hydrogens are added in the plane generated
from the connected atom
Atom_add_3h ../lib/silico_hydrogens.pm
---------------------------------------------------------
Add three hydrogens to an atom
Atom_add_h ../lib/silico_hydrogens.pm
---------------------------------------------------------
Add specified number of hydrogens to an atom
Requires: atom, molecule, bondlength, number of hydrogens to add (in
addition to any existing atoms)
Atom_calc_bin ../lib/silico_geom.pm
----------------------------------------------------
Determine which bin an atom belongs to
Requires: atom, binsize, number of bins in each dimension
Returns: bin (array);
Atom_check_valence ../lib/silico_check.pm
-----------------------------------------------------
Simple check that atom valences are OK
Requires: atom, molecule, (optional: flag to denote hydrogens not
present)
Returns: -1 if error, otherwise returns valence
Atom_colour ../lib/silico_sybyl.pm
-----------------------------------------------------
Colour an atom.
Compatible with Mol2 files
Requres: atom, colour
Atom_cross_prod ../lib/silico_hydrogens.pm
---------------------------------------------------------
Calculate the normalised cross product of vectors defined by $atom0 ->atom1
and atom0 -> atom2; Warning: this contains a horrible fudge if two atoms
overlap or all three atoms are in a straight line
Requires: atom0, atom1, atom2
Returns: vector x, y, z A1 ---- A0 | | A2
Atom_data_to_sdf ../lib/silico_sdf.pm
---------------------------------------------------
Copy data to SDF_DATA from atom records
Atom_formal_charge ../lib/silico_prop.pm
----------------------------------------------------
Calculate the formal charge on an atom.
Uses the acceptable oxidation states of that atom, and whether that element is
more intrinsically likely to be a cation or an anion. Assumes that all
valences are filled with hydrogens if 'noh' flag is set
Requires: atom, molecule, optional flag to denote missing hydrogens,
flag to print charged atoms
Returns: formal charge
Atom_guess_element ../lib/silico_molecules.pm
---------------------------------------------------------
Determine the atom element using available information
Requires: atom, 'quiet' flag, flag to force preference for 'CHONSP'
elements (ie H will be chosen over Hg)
Returns: element and element number. Also sets $atom->{ELEMENT} and
$atom->{ELEMENT_NUM}
Atom_guess_element_mol2 ../lib/silico_mol2.pm
----------------------------------------------------
Guess the element of an atom from a mol2 file.
Uses the Sybyl atom type to generate the atom element.
Requires: atom.
Returns: Atomic symbol, atomic number.
Atom_keys ../lib/silico_gromacs.pm
-------------------------------------------------------
Atom_lone_pairs ../lib/silico_prop.pm
----------------------------------------------------
Calculate the number of lone pairs present on an atom.
Requires: atom
Returns: number of lone pairs
Atom_norm_vector ../lib/silico_hydrogens.pm
---------------------------------------------------------
Return a unit vector atom1 -> atom2 for two atoms
Atom_number_sort_function ../bin/write_itp
-----------------------------------------------
Sort function for sort_itp_by_atom_number()
Atom_oxidation_state ../lib/silico_prop.pm
----------------------------------------------------
Calculate the oxidation state of an atom, not including a formal-charge
component.
Requires: atom, molecule
Returns: number
Atom_path_traverse ../lib/silico_fp.pm
--------------------------------------------------
Recursive subroutine to enumerate LINEAR atom paths starting from a particular
atom
Requires: molecule, pointer to array containing starting atom number,
path list (pointer to empty array to start)
Returns: nothing
Sets: path_list to an array of atom paths
Atom_path_traverse_branched ../lib/silico_fp.pm
--------------------------------------------------
Recursive subroutine to enumerate BRANCHED atom paths starting from a
particular atom
Requires: molecule, pointer to array containing starting atom number,
path list (pointer to empty array to start)
Returns: nothing
Sets: path_list to an array of atom paths
Atom_printout ../lib/silico_debug.pm
-----------------------------------------------------
Print out a formated atom record for debugging purposes
Reauires: atom, filehandle (optional)
Atom_score_hybridisation ../lib/silico_molecules.pm
---------------------------------------------------------
Attempt to determine the hybridisation scheme of an atom.
Assumption is that all hydrogens are present.
Requires: atom, molecule
Returns: nothing
Atom_smiles_label ../lib/silico_smiles.pm
------------------------------------------------------
Provide an atom with additional data in the SMILES string (square brackets,
attached hydrogen atoms, formal charge, etc.)
Requires: atom
Returns: nothing
Atom_specifier_setup ../lib/silico_molecules.pm
---------------------------------------------------------
Set up flags for simple atom specifiers
Requires: nothing
Returns: list of atom specifier names, list of specifiers;
Atomic_elements ../lib/silico_definitions.pm
-----------------------------------------------------------
Prepare an array atomic element symbols, with the offset corresponding to the
atomic number (dummy atom is 0). Also prepare a hash with the element name as
the key and the element number as the value
Requires: nothing
Returns: nothing (sets package global arrays and hashes)
Bin_values ../lib/silico_tabledata.pm
---------------------------------------------------------
Bin values into 'bins' data structure
Bin minimum and maximum values should be set in $bins->{$key}{MINVAL} and
$bins->{$key}{MINVAL}
Counts of overflows and underflows are kept in $bins->{$key}{OVERFLOW} and
$bins->{$key}{UNDERLFLOW}
Non-numeric data is not counted
Requires: data value, key, pointer to bins data structure
Returns: nothing
Bl ../lib/silico_molecules.pm
---------------------------------------------------------
Return an expected bond length based on an input string. Single bonds A-B,
double A=B, triple A%B
Requires: String
Returns: number, or the undefined value if no bond length
Bndangle ../lib/silico_geom.pm
----------------------------------------------------
Find the angle defined by three atoms
Requires: atom1, atom2, atom3.
Returns: angle in degrees.
Bond_create ../lib/silico_molecules.pm
---------------------------------------------------------
Create a bond between two atoms (takes atom offsets numbered from ZERO as
arguments).
Creates a bond in both directions. ie makes connections atom2->atom1 and
atom1->atom2
Silico internal bond types:
1 single, 2 double, 3 triple, 4 aromatic,
5 single or double, 6 single or aromatic, 7 double or aromatic,
8 any (undefined), 0 zero order.
Requires: molecule, atomnum1, atomnum2, bondorder, flag to not increment
mol2->NUMBONDS.
Bond_create_atom ../lib/silico_molecules.pm
---------------------------------------------------------
Create a bond between two atoms (takes atoms as arguments).
See bond_create
Bond_delete ../lib/silico_molecules.pm
---------------------------------------------------------
Delete a bond between two atoms.
Requires: molecule, atomnum1, atomnum2
Returns: nothing
Bond_delete_atom ../lib/silico_molecules.pm
---------------------------------------------------------
Delete a bond between two atoms.
Same as bond_delete but using atoms instead of atom numbers. this version is
to be preferred
Requires: molecule, atom1, atom2
Returns: nothing
Bond_modify_order ../lib/silico_molecules.pm
---------------------------------------------------------
Modify the order of an existing bond Note: this requires that atom->{NUM} is
numbered correctly
Modifies bond in both directions.
Silico internal bond types: 1 single, 2 double, 3 triple, 4 aromatic, 5 single
or double, 6 single or aromatic, 7 double or aromatic, 8 any (undefined), 0
zero order.
Requires: Molecule, atom 1, atom 2, bondorder (default 1)
Bond_modify_order_check ../lib/silico_molecules.pm
---------------------------------------------------------
Modify the order of a bond but check that we are not breaking bonding rules
before doing it
Calls bond_modify_order
Requires: Molecule, atom 1, atom 2, order
Returns: 1 if bond was modified 0 if not
Bond_vector ../lib/silico_geom.pm
----------------------------------------------------
Calculates a vector from two atoms.
Requires: atom1 (origin), atom2 (vector end)
Returns: vector as an array
Bonded ../lib/silico_molecules.pm
---------------------------------------------------------
Count the number of bonds to an atom and the number of bonded C, H, O, N atoms
Dummy atoms are not included
Requires: atom, molecule
Returns: hash containing the element (key) and element count (value) of
all connected atoms. The hash also contains the key value
NOT_H. The values are zeroed for C, H, N, O, P and NOT_H.
Other elements may return 'undef'
Bondlengths ../lib/silico_molecules.pm
---------------------------------------------------------
Routine that returns a hash of maximum reasonable bondlengths for common atom
pairs
This routine is used by the various 'connect_atom' routines. For single bonds,
the bond lengths are maximum allowable lengths and are generally 10% longer
than standard bond lengths. For double and triple bonds they are 5% larger.
Note. Some bondlengths are longer than the maximum bondlength in the connect
routine.
Requires: nothing
Returns: Hash maximum bondlengths. Keys have the form El_El where 'El'
is the atom element
Bondlengths_2 ../lib/silico_molecules.pm
---------------------------------------------------------
Routine that returns a hash of squared bondlengths. See bondlengths.
Requires: nothing
Returns: Hash maximum bondlengths squared. Keys have the form El_El
where 'El' is the atom element
Branchsort ../lib/silico_smiles.pm
------------------------------------------------------
Sort connected atoms by their ring priorities then by their SMILES ranks
Calc_area_sphere_with_holes ../lib/silico_rbox.pm
----------------------------------------------------
Calculate the area of a sphere with holes
Does not consider hole overlap
Requires: Radius, number of holes, hole radius
Returns: Radius
Calc_binsize ../lib/silico_geom.pm
----------------------------------------------------
Determine size of bins in cell given an approximate binsize
Requires: molecule, approx binsize(default 2 ang)
Returns: binsize in each dimension (array), number of bins in each
dimension (array)
Sets: mol->{BINSIZE} and mol->{NUMBINS};
Calc_box_size ../lib/silico_geom.pm
----------------------------------------------------
Determine an appropriate periodic cell size for a molecule NOTE: Current
assumption is that alpha = beta = gamma = 90 deg!!!
Uses specified values if supplied
Will then use mol->{CELL} if defined
Otherwise prompts for values
$mol->{CELL} is set_box
Requires: molecule, boxx, boxy, boxz, flag to translate to centre, additional
margin around structure, flag to ignore dimensions contained in molecule
file
Returns: boxx, boxy, boxz
Calc_chiral_sdf_stereo ../lib/silico_sdf.pm
---------------------------------------------------
Calculate the normaliased cross between vectors defined by $atom0 ->atom1 and
atom0 -> atom2; Warning this contains a horrible fudge if two atoms overlap or
all three atoms are in a straight line
Requires: atom0, atom1, atom2
Returns: vector x, y, z A1 ---- A0 | | A2
Calc_chiral_volume ../lib/silico_sdf.pm
---------------------------------------------------
Calculated the chiral volume for four atoms
Uses the equations (A . B x C) where A is the vector atom1->atom2 B is
atom1->atom3 and C is atom1 -> atom4
Requires: atom1, atom2, atom3, atom4
Returns: signed volume of parallelipiped defined by the vectors
Calc_conservation_group_membership ../lib/silico_sequence.pm
------------------------------------------------------------
Calculate strong and weak conservation groups defined by Clustal
"These are all the positively scoring groups that occur in the Gonnet Pam250
matrix. The strong and weak groups are defined as strong score >0.5 and weak
score =<0.5 respectively." Clustalw documentation
Requires: pointer to array of amino acids
Returns: *, :, . or '' (Corresponding to identity, strong conservation, weak
conservation, no conservation)
Calc_conservation_group_percentage ../lib/silico_sequence.pm
------------------------------------------------------------
Calc_distance_function ../lib/silico_geom.pm
----------------------------------------------------
Calculates a repulsive potential energy term between two sets of atoms
This is based on distance from others in the molecule. This routine makes use
of the cutoff distance in the global variable $cut and a minimum approach
distance (clash). A fixed penalty is added for each atom clash.
Requires: Molecule, atom list 1, atom list2
Returns: Distance function, number of clashes
Calc_gromos_charge ../lib/silico_gromacs.pm
-------------------------------------------------------
Attempt to generate Gromos charges based on a bond increment scheme
Assumes mol_find_all_bonds has been run
Requires: molecule
Calc_human_readable_time ../lib/silico_data.pm
----------------------------------------------------
Calc_human_readable_time
Takes a length of time (in seconds) and converts it into ddd:hh:mm:ss.ss
Requires: Time in seconds
Returns: Time as a text string
Calc_physiological_protonation ../lib/silico_hydrogens.pm
---------------------------------------------------------
Use a simple algorithm to determine which functional groups will be ionised at
physiological pH.
Atoms are marked with a {FORMAL_CHARGE} label (These should be
cleared before running this routine)
Requires: molecule
Calc_rotation_vector_onto_vector ../lib/silico_geom.pm
------------------------------------------------------
Calculate rotation matrix and axis to rotate one vector onto another.
See:
http://immersivemath.com/forum/question/rotation-matrix-from-one-vector-to-another/
Note: The implementation could be more efficient
Requires: origin vector, target vector (3 coordinates)
Returns: axis, rotation matrix
Calc_valence_change ../lib/silico_hydrogens.pm
---------------------------------------------------------
Calculate the difference between expected and actual valents
Takes $atom->{CONNECTED_NON_H} flag into consideration
Requires: atom
Returns: difference between expected and actual
Calculate_bin ../bin/rdf
-----------------------------------------
Calculate the bin to which a given distance belongs
Requires: distance (scalar)
Returns: bin number (scalar)
Calculate_one_rdf ../bin/rdf
-----------------------------------------
A subroutine to calculate the radial distribution of one group about a
reference point or each atom in another group
Requires: Reference group, Target group, various fully-qualified
variables
Returns: A list of all distances in this RDF
Calculate_rdfs ../bin/rdf
-----------------------------------------
A subroutine to calculate all radial distribution functions in an input hash
Passed variables: Input hashref ($input)
Returns: Nothing
Carbanion_filter_neutraliser ../lib/silico_prop.pm
----------------------------------------------------
Some incorrectly formatted SDF files can contain incorrect carbanions on
aromatic rings
Requires: molecule
Returns: 1 if carbanion is detected (except for isocyanides -N+%C-) and
all metal containing compounds. The carbanion is also
corrected.
Centroid ../lib/silico_geom.pm
----------------------------------------------------
Calculate the average atom position of a molecule or subset.
Requires: Molecule, optional atom list
Returns: array
Ch ../lib/silico_data.pm
----------------------------------------------------
Check if a hashkey is defined; return 0 if not
Requires: Hash, key
Returns: Value of key, or 0 if undefined
Change_bondorder ../lib/silico_molecules.pm
---------------------------------------------------------
Change bond order between 'atom' and any connected atom of the specified
element
If order = 10 then this routine alternates single,double (for carboxylate
groups)
Note: calls bond_modify_order and requires that atom->{NUM} is correct
Requires: atom, desired element of connected atom, molecule, bondorder
Returns: nothing
Check_arguments ../lib/silico_io.pm
--------------------------------------------------
Check the argument list for how many arguments there are. If an error has been
made in the instruction for number of arguments, the script will die. If the
tests are not passed, the script will exit after running PRINTDOC. Otherwise,
nothing is done: the program carries on.
Requires: string specifying number of arguments; list of arguments
Returns: nothing
Check_data_type ../lib/silico_data.pm
----------------------------------------------------
Checks an input string to see if it is a specified type
Currently looks for: ALPHA (A-Z characters only), WORD (A-Z plus _), INT or
INTEGER (integers), DECIMAL (real number in standard or mantissa format),
FILENAME, BOOLEAN
Also has numeric checks >, >=, <, <=
Requires: String of data, string of type information
Optional: Suppression of standard warnings (will still warn if serious
errors are encountered)
Returns: -1 if a serious error; 0 if a data type problem; 1 if OK
Check_grace_output_format ../lib/silico_io.pm
--------------------------------------------------
Checks an output format for compatibility with Grace
Requires: Output format (text)
Returns: Correctly formatted output format, extension
Check_itp_is_bonded ../lib/silico_gromacs.pm
-------------------------------------------------------
Check that atoms in a GMX_BOND, GMX_ANGLE, or GMX_DIHEDRAL ($angle) are
actually bonded
Check_number_components ../lib/silico_rbox.pm
----------------------------------------------------
Check that number of components is set for each component. If it is not, then
ask
Check_printerror ../lib/silico_check.pm
-----------------------------------------------------
Print an error line for an atom with incorrect valences
Requires: molecule, atom, valence
Checkvalence ../lib/silico_molecules.pm
---------------------------------------------------------
Check if a proposed valence is less than the maximum valence for an atom
taking into account atomic charge (where present) or whether an atom is an
aromatic ring and might be charged
Requires: atom, proposed valence
Returns: 1 if OK 0 if not
Chonspx_filter ../lib/silico_prop.pm
----------------------------------------------------
Find if molecule contains other than CHONSP+Halogen elements
H* is included to take implicit hydrogens into account
Requires: molecule
Returns: Element name (true) if non CHONSPX elements are present or 0
otherwise
Clash_periodic_binned ../lib/silico_geom.pm
----------------------------------------------------
Find clashes between two molecules, taking into account periodic boundary
conditions
A much faster routine than clash_periodic
Requires: molecule1, molecule2, maximum number of clashes, vdW scale
factor for added atoms
mol2-> CELL, BINSIZE, NUMBINS and BINS must all be defined
Returns: Number of clashes (up to maximum if this is set), pairs of
violating atoms and distances
Clean_pdb_line ../lib/silico_pdb.pm
---------------------------------------------------
Remove spaces and line name from PDB record
Clean_up_split_submols ../lib/silico_split.pm
-----------------------------------------------------
Clean up ensemble that results from splitting a molecule into submolecules
Requires:Ensemble, original molecule
Returns: Ensemble
Cleanline ../lib/silico_data.pm
----------------------------------------------------
Take a line of text and remove leading and trailing spaces
Requires: Text
Returns: Text
Clear_smiles_sets ../lib/silico_smiles.pm
------------------------------------------------------
Clear all markers on atoms identifying them as belonging to a SMILES set.
Requires: molecule, list of atoms (default all atoms)
Returns: nothing
Close_file ../lib/silico_io.pm
--------------------------------------------------
Close the current input file opened using open_file
Requires: nothing
Returns: nothing
Close_molfile ../lib/silico_io.pm
--------------------------------------------------
Close a molecule file that has been opened to read or write
Requires: file record
Compare_atom_order ../lib/silico_molecules.pm
---------------------------------------------------------
Compare two atoms and see if they are in the correct order for output to mol2,
merck files etc.
This routine should be the same as the one used in pdb_molecule_sort_atoms
Condense_smiles_ranks ../lib/silico_smiles.pm
------------------------------------------------------
Given an input set of SMILES ranks, remove the "air gaps" and non-integral
values from the ranks so atoms are ranked 1, 2, ...
Requires: list of atoms
Returns: list of used ranks
Connect_atoms_by_distance ../lib/silico_molecules.pm
---------------------------------------------------------
Bond atoms together that are closer than their combined vdW radii. A faster
routine that uses atom bins to substantially speed things up. All existing
bonds are deleted before new bonds are calculated. All new bonds are created a
single bonds.
Note1: This routine utilises an overall maximum bond length of 2.3 Angstroms.
I-I bonds fall outside this range
Note2: Does not bond dummy atoms
Note3: If a molecule contains 'Alternate atoms' eg from a pdb file - then
atoms with specifier 'A' are bonded to atoms without an alternate specifier.
Alternate atoms with specifier 'B' or greater are bonded only to themselves.
Requires: molecule, flag to skip making bonds in water molecules
Returns: number of bonds in molecule
Connect_atoms_by_distance_simple ../lib/silico_molecules.pm
-----------------------------------------------------------
Bond atoms together that are closer than their combined vdW radii.
Very simple connect atoms routine for testing
Requires: molecule
Returns: number of bonds created
Connected ../lib/silico_molecules.pm
---------------------------------------------------------
Return atoms connected to an atom as an array
Requires: atom, molecule
array of atoms
Construct_atom_relationships ../lib/silico_prop.pm
----------------------------------------------------
Construct the parent-child relationships between pairs of atoms, relative to
an arbitrary common ancestor, based on the contents of $atom->{PATH}.
Requires: molecule, optional flag to terminate at substructure
boundaries
Construct_family_tree ../lib/silico_prop.pm
----------------------------------------------------
Construct a family tree from parent-child relationships with an arbitrary
ultimate ancestor. Can take any type of correctly formatted input. So far,
atoms and residues use this.
Requires: array of relationships (each one a hash containing PARENT and
CHILD entries)
Returns: branches
Construct_residue_relationships ../lib/silico_prop.pm
-----------------------------------------------------
Convert_aromatic_bonds ../lib/silico_hydrogens.pm
---------------------------------------------------------
Convert non-ring aromatic bonds to double/single
Note that this conversion is 'undone' by the write_mol2 subroutine
Requires: molecule
Convert_aromatic_bonds_kekule ../lib/silico_rings.pm
-----------------------------------------------------
Convert rings with aromatic bonds to kekule representation
Converts systems up to 18 atoms
Requires: molecule
Returns: nothing
Copy_atom ../lib/silico_molecules.pm
---------------------------------------------------------
Return a new copy of an atom.
Warning. This copy is only one level deep and does not include hashes.
Requires: atom.
Returns: new atom.
Copy_minimal_molecule ../lib/silico_rbox.pm
----------------------------------------------------
Make a very minimal copy of a molecule
Note to save space, records which are not modified by the program are
duplicates and NOT copies
Correlation_coeff ../bin/dock_sort
-----------------------------------------------
Calculate correlation coefficient
Requires: molecule, SDF_data fields
Returns: correlation coeff or undef if variance is zero
Corresponding_prime_old ../lib/silico_smiles.pm
------------------------------------------------------
Determine the prime number corresponding to an integer. That is, for some
number N, determine the Nth prime number.
Requires: integer
Returns: integer
Count_formal_charges ../lib/silico_prop.pm
----------------------------------------------------
Calculate the formal charge on a molecule. Also count total numbers of
positive and negative atoms
Requires: Molecule
Returns: Total charge. Counts of positive and negative atoms (not
counting nitros, azides etc with adjacent +ve and -ve charges)
Sets: $mol->{FORMAL_CHARGE}, $mol->{CHARGED_ATOMS}
Count_polar_nonpolar ../lib/silico_prop.pm
----------------------------------------------------
Count polar (N, O) and nonpolar (all other) heavy atoms
Requires: molecule
Sets: $mol->{SDF_DATA}{POLAR} and $mol->{SDF_DATA}{NONPOLAR}
Returns: 1 or 0 if non-CHONSP+Halogen atom is encountered.
Create_angle ../lib/silico_molecules.pm
---------------------------------------------------------
Create an ANGLE record between three atoms (whether they are actually
connected or not). This is used, for example, in reading in PSF files.
Requires: molecule, three atom offsets
Returns: 1 if successful
Create_dihedral ../lib/silico_molecules.pm
---------------------------------------------------------
Create a dihedral angle between four atoms, regardless of whether they are
bonded or not. This is used, for example, in reading a PSF file.
Requires: molecule, four atom offsets
Returns: 1 if successful; undef otherwise
Create_molecule ../lib/silico_molecules.pm
---------------------------------------------------------
Create a new molecule.
Requires: Optional molecule name
Returns: molecule
Create_planar_improper ../lib/silico_molecules.pm
---------------------------------------------------------
Create a planar improper dihedral, e.g. when reading in a PSF file
Requires: molecule, list of four atom offsets (NB. not atom numbers)
Returns: nothing
Create_water_molecule ../lib/silico_solvate.pm
-------------------------------------------------------
Create a template of a water molecule.
Requires: Residue name (optional)
Returns: molecule
Crossprod ../lib/silico_geom.pm
----------------------------------------------------
Calculates the cross product of two vectors.
Requires: two vectors
Returns: cross product (an array {x, y, z})
Csv_fix ../lib/silico_smiles.pm
------------------------------------------------------
Fix delimiters in value taken from CSV file
See http://tools.ietf.org/html/rfc4180
Deep_copy ../lib/silico_molecules.pm
---------------------------------------------------------
Alternative deep copy routine for data structures
Requires: Data structure
Returns: copy of data structure
Deep_copy_orig ../lib/silico_molecules.pm
---------------------------------------------------------
Recursive deep copy routine for data structures
Taken from a tutorial by Randall Schwartz
Requires: Data structure
Returns: copy of data structure
Define_pdb_chain_segid ../lib/silico_rbox.pm
----------------------------------------------------
Make sure that pdb CHAIN and SEGID are defined and sane
Needs a tidy up
Requires: Molecule
Returns: Maximum pdb chain
Deg_to_rad ../lib/silico_geom.pm
----------------------------------------------------
Convert degrees to radians
Requires: scalar
Returns: scalar
Delete_atomset ../lib/silico_sybyl.pm
-----------------------------------------------------
Delete an atomset on the basis of its label
Requires: Molecule, atomset label
Returns: Nothing
Delete_flag ../lib/silico_io.pm
--------------------------------------------------
Delete a flag from the internal flags list.
Searches by short name (most cases) or long name (if 'l' is supplied as a
second argument).
Requires: name of flag to delete (string), search type (optional string)
Returns: nothing
Delete_rings ../lib/silico_rings.pm
-----------------------------------------------------
Remove all rings from a molecule
Requires: molecule
Returns: nothing
Delimited_read_error ../lib/silico_io.pm
--------------------------------------------------
Print an error on failing to read delimited data from file
Requires: filename, flag to write error message and die
Returns: Nothing
Dihedral ../lib/silico_geom.pm
----------------------------------------------------
Find the value of the dihedral angle in the range from -180 to +180 degrees
defined by four input atoms
Requires: atom1, atom2, atom3, atom4
Returns: dihedral in radians
Distance ../lib/silico_geom.pm
----------------------------------------------------
Find the distance between two atoms.
Requires: atom1, atom2.
Returns: distance.
Distance_atoms_min ../lib/silico_geom.pm
----------------------------------------------------
Find the shortest distance between one atom and an array of atoms
Requires: atom, array of atoms
Returns: shortest distance
Distance_periodic_sq ../lib/silico_geom.pm
----------------------------------------------------
Find the square of the distance between two atoms. For a system that has
cubic, on-axis, periodic boundary conditions
Requires: atom1, atom2, $cell->[cellx, celly, cellz]
Returns: distance_squared.
Distance_periodic_xyz_old ../lib/silico_geom.pm
----------------------------------------------------
Find the X, Y and Z components of distance between two atoms. For a system
that has cubic, on-axis, periodic boundary conditions
Requires: atom1, atom2, $cell->[cellx, celly, cellz]
Returns: periodic distances x, y, z
Distance_points ../lib/silico_geom.pm
----------------------------------------------------
Find the distance between two sets of Cartesian points.
Requires: x1, y1, z1, x2, y2, z2
Distance_sq ../lib/silico_geom.pm
----------------------------------------------------
Find the square of the distance between two atoms.
Requires: atom1, atom2.
Returns: square of distance.
Dotprod ../lib/silico_geom.pm
----------------------------------------------------
Calculates the dot product of two vectors.
Requires: two vectors
Returns: dot product (a scalar)
Double_and_tie_break ../lib/silico_smiles.pm
------------------------------------------------------
Attempt to resolve ties in SMILES ranks using the "double and tie break"
method. This multiplies all ranks by 2, and then reduces the rank of any one
of the atoms which share the lowest tied rank by 1.
This routine has been modified so that the tie is broken in a consistent way
that depends on the atomic coordinates (if any are present). This is designed
so that similar conformers will produce a similar smiles order, simplifying
superimposition
Requires: list of atoms
Returns: list of ranks
Dump_itp_data ../lib/silico_gromacs.pm
-------------------------------------------------------
Write out debugging file with all itp bonds, pairs, angles etc
Requires: molecule
Nothing
Electronegativities ../lib/silico_definitions.pm
-----------------------------------------------------------
Create an array of Pauling electronegativities. Atoms are given in order of
atomic number (dummy atom is 0).
Requires: nothing
Returns: nothing (creation of package global array)
Element_number2symbol ../lib/silico_molecules.pm
---------------------------------------------------------
Convert an element number into the corresponding atomic symbol.
Requires: element number.
Returns: element number or 0 Du.
Element_symbol2number ../lib/silico_molecules.pm
---------------------------------------------------------
Convert an element symbol into the corresponding atomic number.
Requires: element symbol.
Returns: element number or 0 if it fails.
En ../lib/silico_data.pm
----------------------------------------------------
Check that two numbers are equal. Equality means that either: neither number
is defined, or they are equal to each other (as ascertained using NOT !=).
Inequality is assumed if one is defined and the other is not, even if the
defined number is 0.
Requires: numbers
Returns: 1 if they are, 0 otherwise
Ens ../lib/silico_molecules.pm
---------------------------------------------------------
Convert a list of molecules or ensembles to an ensemble
Requires: molecule or ensemble
Returns: an ensemble
Ens_smiles_string ../lib/silico_smiles.pm
------------------------------------------------------
Calculate smiles string
Requires: molecule, flag to use ChemAxon molconvert to generate smiles
Returns: nothing
Sets: mol->{SDF_DATA}{SMILES}, mol->{SDF_DATA}{SMILES_SOURCE}
Ens_smiles_string_chemaxon ../lib/silico_smiles.pm
------------------------------------------------------
Calculate canonical smiles string using the Chemaxon program 'molconvert'
Requires: molecule
Returns: nothing
Sets: mol->{SDF_DATA}{SMILES}, mol->{SDF_DATA}{SMILES_SOURCE}
Ensemble_calc_fragments ../lib/silico_fp.pm
--------------------------------------------------
Calculate molecular fragments for each molecule in an ensemble
See mol_fragment for additional information. Sets $mol->{FORMULA},
$mol->{NUMHEAVY} and $mol->{SDF_DATA}{NUMHEAVY}
Requires: Ensemble, typer (optional)
Ensemble_check ../lib/silico_check.pm
-----------------------------------------------------
Check all molecules in an ensemble.
Calls 'mol_check'.
Requires: ensemble.
Ensemble_cluster ../lib/silico_molecules.pm
---------------------------------------------------------
Clusters molecules based on RMS distance from the lowest energy structure.
Assumes that molecules are sorted by energy. Sets the value
$mol->{CLUSTER_COUNT} to the number of molecules in that cluster.
Requires: ensemble, threshold for clustering, flag to keep all
molecules, flag to rename molecules with cluster membership
Returns: ensemble containing the first structure from each cluster, or
all memebers of each cluster
Ensemble_connect_atoms ../lib/silico_molecules.pm
---------------------------------------------------------
Connect all atoms in an ensemble by distance (only within each molecule
though)
Calls: Connect_atoms_by_distance
Requires: Ensemble
Returns: Nothing
Ensemble_consolidate ../lib/silico_molecules.pm
---------------------------------------------------------
Combines all molecules in an ensemble into a single molecule
Works with gromacs .itp files
Requires: Ensemble, flag to prevent use of deep_copy
Returns: New ensemble with all atoms in the molecule $newens->[0]
Ensemble_consolidate_nocopy ../lib/silico_rbox.pm
----------------------------------------------------
Combines all molecules in an ensemble into a single molecule This is the same
as the version in silico_molecules but without the deep copy - which is much
faster.
Requires: Ensemble
Returns: New ensemble with all atoms in the molecule $newens->[0]
Ensemble_consolidate_small_molecules ../lib/silico_split.pm
-----------------------------------------------------------
Combine molecules with less than a specified number of atoms
Requires: ensemble, min molecule size
Returns: ensemble
Ensemble_copy ../lib/silico_molecules.pm
---------------------------------------------------------
Creates a copy of an ensemble.
Calls: Molecule_copy
Requires: Ensemble
Returns: Duplicate ensemble as an arrayref
Ensemble_insight_rename ../lib/silico_molecules.pm
---------------------------------------------------------
Generate insight-safe names for an ensemble. Calls: insight_rename.
Requires: ensemble.
Ensemble_print_connect ../lib/silico_debug.pm
-----------------------------------------------------
Print out connection table
Has not been used for some time. Check before using.
Requires: ensemble, output filename (optional).
Ensemble_printout ../lib/silico_debug.pm
-----------------------------------------------------
Print out all the key value pairs for a molecule.
Only the first few molecules are printed out unless the optional second
argument is set to 'all'. This is passed on to molecule_printout.
Requires: ensemble, 'all' (optional), filehandle (optional)
Ensemble_renumber ../lib/silico_molecules.pm
---------------------------------------------------------
Renumber all atoms in an ensemble.
Calls: Molecule_renumber2
Requires: Ensemble
Returns: Nothing
Ensemble_split ../lib/silico_split.pm
-----------------------------------------------------
Split an ensemble into seperate molecules by connectivity
Calls molecule_split
Requires: ensemble, minimum number of atoms (default 1);
Returns: new ensemble containing unconnected molecules.
Ensemble_split_keeping_largest_mols ../lib/silico_split.pm
----------------------------------------------------------
Retain only the largest molecule (by connectivity) from each Silico "molecule"
in an ensemble
Requires: ensemble, minimum number of atoms (default 1);
Et ../lib/silico_data.pm
----------------------------------------------------
Check that two text strings are equivalent.
Equivalence means that either: neither string is defined, or they are equal to
each other (as ascertained using NOT ne).
Non-equivalence is assumed if one is defined and the other is not, even if the
defined string is the empty string.
Requires: strings
Returns: 1 if they are, 0 otherwise
Euclidian ../lib/silico_fp.pm
--------------------------------------------------
Calculate the Euclidian coefficient given two hashes of fragments
Euclidian coeff = 1 - (Num unshared fragments mol1 + Num unshared fragements
mols)/ (Total fragments mol1, mol2)
Requires: hash of fragments 1, hash of fragments 2
Returns: Euclidian coefficient
Extract_charmm_logfile ../bin/cexplot
---------------------------------------------
Extracts data from a charmm dynamics log file and writes it in tab delimited
format suitable for gnuplot
Requires: Log file name, output file name
Returns: headers, values_array
Extract_gromacs_logfile ../bin/cexplot
---------------------------------------------
Extracts data from a gromacs dynamics log file and writes it in tab delimited
format suitable for gnuplot
Requires: Log file name, output file name
Returns: headers, values_array
Extract_mol2_sdf_data ../lib/silico_mol2.pm
----------------------------------------------------
Read the sdf type data from mol2 file comment lines and put into molecule
Removes this data from the comments array
Requires: molecule, comments array
Returns: comments lines with sdf data removed or undef on failure
Extract_namd_logfile ../bin/cexplot
---------------------------------------------
Extracts data from a namd dynamics log and xst files and writes it in tab
delimited format suitable for gnuplot
Requires: Log file name, output file name
Returns: Nothing
Fgroup ../lib/silico_prop.pm
----------------------------------------------------
Make a functional group
File_read_error ../lib/silico_io.pm
--------------------------------------------------
Print an error on failing to read a file
Requires: filename, flag to write error message and die
Returns: Nothing
File_write_error ../lib/silico_io.pm
--------------------------------------------------
Print an error on failing to write a file
Requires: filename, flag to write error message and die
Returns: Nothing
Find_aggregates ../bin/find_aggregate
----------------------------------------------------
Subroutine to find aggregates using the faster 'find_close_atoms_binned'
routine
Clusters are defined has having carbon atoms within distance 'cutoff'
Requires; molecule, submolecules, cutoff distance
Returns; Array of clusters. Each custer is a hash containing: {SUBMOLS}
array of submolecules
Find_aggregates ../bin/find_aggregate.x
------------------------------------------------------
Subroutine to find aggregates using the faster 'find_close_atoms_binned'
routine
Clusters are defined has having carbon atoms within distance 'cutoff'
Requires; molecule, submolecules, cutoff distance
Returns; Array of clusters. Each custer is a hash containing: {SUBMOLS}
array of submolecules
Find_atom_paths ../lib/silico_prop.pm
----------------------------------------------------
Find the path connecting each atom to a given root atom
Requires: molecule, starting atom, optional maximum path length,
optional exclusion of H
Returns: Nothing (information added to $atom->{PATH})
Find_atom_rings ../lib/silico_rings.pm
-----------------------------------------------------
Find all rings that belong to a particular atom
Calls traverse.
Requires: molecule, starting atom, maximum search depth.
Returns: a pointer to array of arrays containing ring atoms or undef if
no rings are found.
Find_atom_rings_not_recursive ../lib/silico_rings.pm
-----------------------------------------------------
Subroutine to find rings, based on a non-recursive algorithm
Algorithm by Balducci and Pearlman, JCICS 1994, 34, 822-831
Slightly modified to suit Silico conventions
Requires: Molecule, starting atom, maximum ring size
Returns: List of rings containing this atom
Find_bondorder ../lib/silico_molecules.pm
---------------------------------------------------------
Returns the bondorder between two atoms
Requires: atomnum1, atomnum2, molecule
Returns: bondorder or -1 if not connected
Find_bondorder2 ../lib/silico_molecules.pm
---------------------------------------------------------
Returns the bondorder between two atoms
Same as find_bondorder but uses atoms as arguments rather than atom numbers.
Requires: atom1, atom2
Returns: bondorder or -1 if not connected
Find_bondorders_ring ../lib/silico_rings.pm
-----------------------------------------------------
Return array containing bondorders of bonds in ring
Requires: ring (array of atom numbers), molecule
Returns: array of bondorders in ring
Find_buried_atoms ../lib/silico_prop.pm
----------------------------------------------------
Identify buried atoms at a molecular interface
Faster version using atoms sorted by X coordinate
Requires: molecule1, molecule2, cutoff (default 4.5 Angstroms)
Returns:
Sets mol->{BURIED} flags on each molecule;
Find_buried_atoms_simple ../lib/silico_prop.pm
----------------------------------------------------
Identify buried atoms at a molecular interface
Simple version for testing
Requires: molecule1, molecule2, cutoff (default 4.5 Angstroms)
Returns:
Sets mol->{BURIED} flags on each molecule;
Find_close_atoms_binned ../lib/silico_geom.pm
----------------------------------------------------
Find atoms in mol2 which are close to mol1
Requires: molecule, molecule, cutoff
Returns: array of close atoms
Find_closest_atoms_periodic ../lib/silico_geom.pm
----------------------------------------------------
Find closest atoms in two molecules, taking into account periodic boundary
conditions.
Simple-minded algorithm for testing stuff
Requires: molecule1, molecule2, maximum distances, flag to ignore
hydrogens
Returns: sets of atom pairs with distances
Find_closest_atoms_periodic_binned ../lib/silico_geom.pm
--------------------------------------------------------
Find closest atoms in two molecules, taking into account periodic boundary
conditions.
Faster algorithm
Requires: molecule1, molecule2, maximum distances, flag to ignore
hydrogens
Returns: sets of atom pairs with distances
Find_decoys_actives ../bin/dock_sort
-----------------------------------------------
Identify decoys and actives
Requires: molecules
Returns: total decoys, total actives, total decoys in file, total
actives in file
Find_elements_ring ../lib/silico_rings.pm
-----------------------------------------------------
Return array containing elements of atoms in ring and a hash counting the
number of times each element occurs
Requires: ring, molecule
Returns: pointer to array of elements, hash containing a count of each
element
Find_intermolecular_charge_interactions ../lib/silico_prop.pm
-------------------------------------------------------------
Find intermolecular interactions between formally charged groups
Currently only uses the parent atom from the charge group
Uses simple cutoff
You must call label_functional_groups first
Find_intermolecular_hbonds_h ../lib/silico_hb.pm
--------------------------------------------------
Find hydrogen bonds between two molecules using hydrogen atom information
mol_label_donors_acceptors must be run before commencing this routine
Requires: Two molecules
Optional: D-A distance, H-A distance
D-H-A angle, H-A-R angle
Returns: List of hydrogen bonds (D-H-A)
Find_intermolecular_hbonds_h_simple ../lib/silico_hb.pm
-------------------------------------------------------
Find hydrogen bonds between two molecules using information about the position
of the hydrogen atom
Uses simple cutoff between donor hydrogen and acceptor
You must call mol_find_donors_acceptors on each molecule first
Find_intermolecular_hbonds_noh ../lib/silico_hb.pm
--------------------------------------------------
Find hydrogen bonds between two molecules _without_ using information about
the position of the hydrogen atom
Uses simple cutoff between donor and acceptor heteroatoms
You must call mol_find_donors_acceptors on each molecule first
Find_intramolecular_hbonds_h ../lib/silico_hb.pm
--------------------------------------------------
Find hydrogen bonds between atoms within the one molecule using hydrogen
positional information
mol_find_donors_acceptors must be run prior to commencing this routine
Requires: molecule
Optional: D-A cutoff, H-A cutoff
D-H-A angle cutoff, H-A-R angle cutoff
flag to include waters
Returns: list of hydrogen bonds
Sets: $atom->{HBONDS} - a list of hydrogen bonds belonging to each
atom
Find_nearby_charges_recursive ../lib/silico_hydrogens.pm
---------------------------------------------------------
Recursive subroutine to find atoms with formal charges
Find_nearest_atoms ../lib/silico_molecules.pm
---------------------------------------------------------
Find the nearest atoms to a nominated atom and return list of atoms
Requires: atom, molecule, cutoff (default 5 angstroms)
Returns: pointer to an array of atoms
Find_polar_atoms ../lib/silico_prop.pm
----------------------------------------------------
Mark atoms as polar or nonpolar
Polar atoms are defined as being non C or H atoms or C or H atoms that are
bonded to an element other than C or H.
Requires: Molecule
Returns:
Find_schrodinger_exe ../lib/silico_mmod.pm
----------------------------------------------------
Find the Schrodinger executableis
Reqires: Executable name
Returns: Path to Macromodel executable or undef
Find_substructure ../lib/silico_residue.pm
-------------------------------------------------------
Find the substructure around an atom.
Assumes that a change in residue name or ID terminates the substructure.
Assumes that bond orders are correct and that aromatic bonds and rings have
been correctly identified.
Requires: molecule, starting atom, maximum search depth
Returns: munted SMILES string
Find_sybyl ../lib/silico_sybyl.pm
-----------------------------------------------------
Find the Sybyl executable
Reqires: Nothing
Returns: Path to Sybyl executable or undef
Findclash ../lib/silico_hydrogens.pm
---------------------------------------------------------
Find the distance to the closest atom from a point x, y, z
Requires: molecule, x, y, z
Returns: distance
Fix_cell_values ../bin/find_aggregateSet cell values from
command line only if not defined in input molecule file
------------------------------------------------------------------------
Fix_cell_values ../bin/find_aggregate.xSet cell values from
command line only if not defined in input molecule file
--------------------------------------------------------------------------
Fix_dative_bonds ../lib/silico_molecules.pm
---------------------------------------------------------
Fix_double_bonds_carbonyl ../lib/silico_molecules.pm
---------------------------------------------------------
Assign carbonyl bond orders
Uses molecule geometry to generate bond orders
Requires: molecule
Returns: nothing
Fix_double_bonds_carboxyl ../lib/silico_molecules.pm
---------------------------------------------------------
Assign ester, carboxylic acid, carboxylate, amide and guanidinium bond orders
Uses molecule geometry to assign bond orders
Requires: molecule
Returns: nothing
Fix_double_bonds_general ../lib/silico_molecules.pm
---------------------------------------------------------
Fix general planar double bond orders
Uses molecule geometry to generate assignment
Contains a distance check
Requires: molecule, ccflag (only generate double C=C double bonds)
Returns: nothing
Fix_hydrogens ../lib/silico_hydrogens.pm
---------------------------------------------------------
Clean up hydrogens added to molecules by sybyl
Removes hydrogens attached to nitro groups, on oxygen bonded to sulfur or
phosphorous. Also removes comments
Requires: molecule
Fix_pdb_chains ../lib/silico_pdb.pm
---------------------------------------------------
Renumber pdb chains based on changes in CHAIN, SEGID or a backwards step in
SUBID
If 'start' and the 'force flag' are not specified this routine will only
renumber chains if required
If 'start' is set and the 'force flag' is not set then the routine will
renumber if 'start' does not match the starting letter and if it is necessary
If 'force flag' is set then the chains will be renumbered from 'A' by default.
Note: This subroutine deletes the 'TERCOUNT' field can potentially cause
problems if the pdb file has been modified
Requires: molecule, starting chain letter (optional), flag to force
renumbering
Returns: last chain letter of current structure, flag to indicate that
chains were renumbered
Fnfp ../lib/silico_data.pm
----------------------------------------------------
Format Number For Printing.
Take a numeric value, and print it. If the numeric value is not
defined, return a string of the user's choice (default: 'not
defined').
This can handle NaN strings, but unlike the subroutine ftfp, it does not put
the strings in quotes, so whitespace is not obvious.
Requires: string, optional 'not defined' string
Returns: string
Format_doc_html ../lib/silico_doc.pm
---------------------------------------------------
Returns: Silico markup formatted as text
Format_doc_txt ../lib/silico_doc.pm
---------------------------------------------------
Format a tagged string into ascii text
Format_oname ../lib/silico_io.pm
--------------------------------------------------
Generate a numbered filename (various possible styles)
Styles:
molname: Molecule Name
molname i: Renames molecule name using 'insight safe' name
named: <base>_<name>.<ext>
numbered: <base>_<num>.<ext>
fnumbered: <base>_000<num>.<ext> (%05d)
fnumbered N: <base>_000<num>.<ext> (%0Nd) - ie number formated to N places
Requires: style, molecule (requred for style 'name'), basename (required
for numbered styles), number (required for numbered styles) or
name (required for name style), extension (optional),
compression (optional)
Returns: filename (string)
Format_string_html ../lib/silico_doc.pm
---------------------------------------------------
Format a tagged string into html
Formatdata ../lib/silico_pdb.pm
---------------------------------------------------
Format SDF_DATA for output to PDB file
Long data is split up into lines. All data is surrounded by single quotes. A
backslash at the end of the line indicates that the line is to be continued
Requires: string, length of key
Returns: array
Formatpara_txt ../lib/silico_doc.pm
---------------------------------------------------
Format a paragraph so that it fits onto a line with optional indent or hanging
indent
Formula_string ../lib/silico_prop.pm
----------------------------------------------------
Convert molecular formula to a string
Requires: formula hash
Returns: string
Fr_printout ../lib/silico_io.pm
--------------------------------------------------
Print out a silico file record for debugging purposes
Requires: file record
Frag_aray_to_hashes ../lib/silico_fp.pm
--------------------------------------------------
Generate md5 hashes from fragments
Requres: array of fragments
Returns: array of md5 hashes
Fragment_printout ../lib/silico_fp.pm
--------------------------------------------------
Print out list of fragments
Requires: molecule
Returns: nothing
Fragmentlist_printout ../lib/silico_fp.pm
--------------------------------------------------
Print out list of fragments
Requires: pointer to fragments
Returns: nothing
Ftfp ../lib/silico_data.pm
----------------------------------------------------
Format Text For Printing.
Take a text value, enclose it in double quotes, and print it. If
the text value is not defined, return a string of the user's
choice (default: 'not defined').
Note that the 'not defined' string will not be printed in quotes. This allows
the user to distinguish between a variable containing the text "not defined"
and an undefined variable.
This can handle numbers, but unlike the subroutine fnfp, it puts the data in
quotes, which can appear ugly for numbers.
Requires: string, optional 'not defined' string
Returns: string
Fundamental_constants ../lib/silico_definitions.pm
-----------------------------------------------------------
Set various mathematical and physical fundamental constants as read-only
values (so they can't be reassigned by a wayward use of "=" instead of, for
example, "==").
Requires: nothing
Returns: nothing (sets package global arrays and hashes)
Get_aa_frequency ../lib/silico_sequence.pm
--------------------------------------------------------
Calculate the frequency of each AA type from an array of AAs
AAs are sorted by frequency
Requires: pointer to array of AAs
Retruns: Pointer to array of arrays. $array->[$i][0] = aa,
$array->[$i][1] = count
Get_allflags ../lib/silico_io.pm
--------------------------------------------------
Return a list of all command line flags
Requires: nothing
Returns: flags in array
Get_arguments2 ../lib/silico_io.pm
--------------------------------------------------
Improved routine to get arguments from command line.
UNIX:
Accepts wildcards '*', '?' and [...]. Skips any arguments starting with '-'
which are used as flags. These can be found using 'get_flags'
UNIX file read supports directories containing very large numbers of files
where the standard UNIX Glob fails, if wildcard characters quoted (eg '*') on
the command line.
If a -help argument is found then the silico documentation is printed and the
progarm exits
Requires: arguments in @ARGV.
Returns: argument list as an array.
Get_atomlist_using_specifier ../lib/silico_molecules.pm
---------------------------------------------------------
Use a Silico atom specifier string to select sets of atoms from a molecule
Requires: molecule, specifier array
Returns: pointer to array of selected atoms
Get_default_flags_standard ../lib/silico_io.pm
--------------------------------------------------
Complete flag setup by setting silico-wide default flags
Get_file_compression ../lib/silico_io.pm
--------------------------------------------------
Get file compression method (.Z, .bz2 or .gz)
Requires: filename
Returns: string
Get_file_dir ../lib/silico_io.pm
--------------------------------------------------
Get file directory
Requires: filename
Returns: string
Get_filebase ../lib/silico_io.pm
--------------------------------------------------
Get file basename
Removes only the final extension unless it is Z. .gz or .bz then the last two
are removed
Returns: string
Get_filebase_short ../lib/silico_io.pm
--------------------------------------------------
Get file basename without any leading directories
Removes the final extension unless it is .gz then the last two are removed
Requires: filename
Returns: string
Get_fileext ../lib/silico_io.pm
--------------------------------------------------
Get file extension name
Note. Strips off any .gz, .bz2 or .Z extension before returning file extension
Requires: filename
Returns: string
Get_flag ../lib/silico_io.pm
--------------------------------------------------
Return the value held by a particular flag.
Searches by short name (in most cases) or long name (if 'l' is supplied as a
second argument).
Requires: flag name (string), search type (optional string)
Returns: value of flag or undef (if the flag is not defined)
Get_hosttype ../lib/silico_control.pm
-------------------------------------------------------
Find the host type
Requires: nothing
Returns: sgi, linux, linuxem64, Darwin (OS X) or undef
Get_ion_data ../bin/water_to_ion
--------------------------------------------------
Supply ion data to water_to_ion for a range of metallic and other simple ionic
species.
Requires: Ion name (element, charge optional)
Returns: Element, element number, MMFF charge code, residue name
Get_join_list ../bin/starmaker
-----------------------------------------------
Gets the join list in a single molecule
Requires: molecule, atom name to look for as a join point
Returns: Array containing those atoms which are join points
Get_lflag ../lib/silico_io.pm
--------------------------------------------------
Get flag by long name
Requires: flag name
Calls get_flag
Get_metal_oxidation_state ../bin/water_to_ion
--------------------------------------------------
Choose an oxidation state from a list of possibles
Requires: list of numbers
Returns: oxidation state chosen
Get_ofilebase ../lib/silico_io.pm
--------------------------------------------------
Get output filebase. Takes command line flags into account
Filebase is obtained from first molecule in ensemble
Input: ensemble (optional), obase (optional), append_string
(optional);
Output: filebase
Get_ofilename ../lib/silico_io.pm
--------------------------------------------------
Get the output filebase and format of an ensemble checking flags and input
format
'Base name' and 'output format' will be overridden by command line flags if
they are supplied. The 'default format' will also be overridden by command
line options.
See also: get_ofilename2
Requires: (ensemble, base name, format, append string, default_format)
all optional splitflag to provide separate filename and
extension, flag force use of supplied names ignoring command
line flags
Returns: filename if 'splitflag' not set or filebase & format if it is
set.
Get_ofilename2 ../lib/silico_io.pm
--------------------------------------------------
Split version of get_ofilename
See get_ofilename
Get_oformat ../lib/silico_io.pm
--------------------------------------------------
Get an appropriate output file format.
Selection priority:
format ($_[1])
-o <ext> flag
-O <file.ext> flag
format of source file
provided default format ($_[2])
mol2
Input: ensemble or molecule (optional), default format (optional)
Output: format string
Get_sflag ../lib/silico_io.pm
--------------------------------------------------
Get flag by short name
Requires: flag name
Calls get_flag
Get_single_atomlist_using_specifier ../lib/silico_molecules.pm
--------------------------------------------------------------
Use a Silico atom specifier string to select a single set of atoms from a
molecule
Note. This routine should be called multiple times to 'OR' sets together
Requires: molecule, specifier hash
Returns: pointer to array of selected atoms. Atoms are returned in
order found in by specifier array, however if the specifier
matchers more than one atom, the order is dependent in the
atom order in the file
Get_std_output_options ../lib/silico_io.pm
--------------------------------------------------
Read a standard set of output options from the command line
Deprecated subroutine;
Requires: a list of options
Returns: option string
Get_tempname ../lib/silico_io.pm
--------------------------------------------------
Make a temporary filename base by concatenating program_name and a random
number Uses $Silico::temp_dir or /usr/tmp (or /tmp) if this is not set
Requires: temp directory
Returns: filename base
Getcol ../lib/silico_tabledata.pm
---------------------------------------------------------
Find a single column number that corresponds to a particular key
Case insensitive match
Requires: data structure, list of keys
Returns: array of column numbers
Getcols ../lib/silico_tabledata.pm
---------------------------------------------------------
Find column numbers that correspond to a particular key
Case insensitive match
Requires: data structure, list of keys
Returns: array of column numbers
Getcols_all ../lib/silico_tabledata.pm
---------------------------------------------------------
Return column list of all keys sorted according to the order in
@{$data->{HEADERS}}
Requires: data structure
Requires: pointer to array of column names
Getcols_not ../lib/silico_tabledata.pm
---------------------------------------------------------
Find column numbers except specified keys
Inverse of getcol. Case insensitive match
Requires: data structure, list of keys
Returns: array of column numbers
Getlines ../lib/silico_tabledata.pm
---------------------------------------------------------
Return array of all lines in text data structure
Requires: data structure
Gmx_make_heavy_h ../lib/silico_gromacs.pm
-------------------------------------------------------
Increase the mass of hydrogen atoms by a scale factor (default 4) and reduce
the mass of the attached heavy atoms
Requires: molecule, scale factor
Returns: nothing
Gmx_merge_coords_into_top ../lib/silico_gromacs.pm
-------------------------------------------------------
Merge coordinates into ITP file
Requires: Topology file, coordinate file
Gmx_replace_peptide_dihedrals ../bin/write_itp
-----------------------------------------------
Replace the dihedral parameters of peptide backbone atoms
Requires: molecule
Returns: number of dihedrals replaced
Gmx_setup ../lib/silico_gromacs.pm
-------------------------------------------------------
Assign OPLS atom types, charges, charge groups and fix atom names and
numbering in preparation for writing OPLS topology and parameter files
Requires: molecule, forcefield, flag for united atom forcefield, charge
source (existing, mopac, mopac_esp)
Gnuplot_plot_bins ../lib/silico_gnuplot.pm
-------------------------------------------------------
Use gnuplot to plot histograms from bin datastructures
Calls write_binfile
Requires: output filename base,bins structure
Returns: one or undef if file open failed.
Grom_readline ../lib/silico_gromacs.pm
-------------------------------------------------------
Read a gromacs .itp topology file line
Filters out blank lines and comments
Requires: nothing
Returns: line
Gromacs_check_itp ../lib/silico_gromacs.pm
-------------------------------------------------------
Check a gromacs included topology data and make sure that it is consistent
with the bonded molecular structure
Requires: molecule
Returns: Undef if write failed, otherwise 1
Gromacs_regenerate_pairs ../lib/silico_gromacs.pm
-------------------------------------------------------
Regenerate 1-4 atom pairs list
Requires: molecule
Heading ../lib/silico_doc.pm
---------------------------------------------------
Format a heading
Requires: String, optional underline character (defaults to -)
Returns: Formatted string
Identify_heterocycle ../lib/silico_prop.pm
----------------------------------------------------
Identify a heterocycle
This routine can name a number of common heterocycles.
Requires that find_rings has been run and that bond orders are present and
that aromatic rings are represented using aromatic bonds (ie
make_aromatic_bonds has been run)
Requires; ring, molecule
Returns; heterocycle label or HETEROCYCLE <standardised_string> if
unknown;
Increment_chain ../lib/silico_pdb.pm
---------------------------------------------------
Increment pdb chain
Requires: Alphabetical character
Returns: Alphabetical character
Insight_rename ../lib/silico_molecules.pm
---------------------------------------------------------
Generate insight-safe names
Insight has a number of reqirements for molecule names. For example they can
not contain spaces, punctuation, start with an underscore or a digit and are
of limited length. This routine generates unique, Insight-safe names by using
the hash %insight_namecount to store previously used names.
Requires: name, pointer to a hash to store names in.
Returns: modified and unique name.
Is_gap ../lib/silico_sequence.pm
--------------------------------------------------------
Determine if a residue is a gap
Gaps can be marked with -,+ or maybe .
Requires: Silico residue record
Returns: 1 or 0
Is_hbond_mcdonald_thornton ../lib/silico_hb.pm
--------------------------------------------------
Identify a hydrogen bond (D-H:::A) according to the definition used by
McDonald and Thornton
J. Mol. Biol. 1994, 238, 777-793
Requires: donor molecule, donor atom, acceptor molecule, acceptor atom
(donor cutoff distance, H cutoff distance, dha angle max, HAR
angle max - defaults 3.9, 2.5, 90, 90)
Returns: pointer to array of the several D-H-A triplets that are found
each contains (dmol, datom, hydrogen, amol, aatom)
Is_integer ../lib/silico_data.pm
----------------------------------------------------
Return 1 if a number is an integer
Requires: Number, optional accuracy (defaults to 6 decimal places)
Returns: 1 or 0
Is_ring_aromatic_by_bondorder ../lib/silico_rings.pm
-----------------------------------------------------
Find aromatic rings ie those with all aromatic bonds or 4n+2 pi electrons
Subroutine assumes that it is operating on a planar ring
Requires: molecule , ring
Returns: 1 if aromatic, 0 otherwise
Is_ring_aromatic_by_connectivity ../lib/silico_rings.pm
-------------------------------------------------------
Find 4n+2 member aromatic rings (ie those with all aromatic bonds) by
connectivity where bondorders and hydrogens are present or missing
Subroutine assumes that it is operating on a planar ring
Requires: Molecule, ring, flag to indicate hydrogens are present
Returns: 1 if aromatic, 0 otherwise
Is_ring_planar ../lib/silico_rings.pm
-----------------------------------------------------
Robust ring planarity and aromaticity
This routine must be able to cope with: molecules with no hydrogens and/or no
bondorders, molecules with very poor geometry (eg 2D molecules) and molecules
with distorted geometries (such as from high temperature MD simulations).
This routine is expected to fail if the molecule has distorted geometry, bad
bondorders and missing atoms
Requires: molecule, ring (array of atoms)
Returns: flag for planarity, flag for aromaticity
Is_ring_planar_by_dihedral ../lib/silico_rings.pm
-----------------------------------------------------
Finds planar rings by checking dihedral angles
Tests dihedrals in rings
Attempts to determine planarity (as distinct from aromaticity)
Returns 0 if any single in-ring dihedral is larger than the hardcoded
tolerance: 18 for 5-membered rings 26 for all other rings
Requires: molecule (pointer to hash), $atoms (pointer to array of atom
numbers)
Returns: 2 if atoms are few enough in number that they must lie in a
plane (<= 3)
1 if there are enough atoms that they could be non-planar, but are
planar (within tolerance)
0 otherwise (i.e., not planar within tolerance)
Itp_delete_angle_parameters_atom ../lib/silico_gromacs.pm
---------------------------------------------------------
Delete Gromacs GMX_ANGLES where the specified atom is a CENTRAL atom
Requires molecule, list of atom NUMBERS (not indexes)
Itp_delete_parameters_atom ../lib/silico_gromacs.pm
-------------------------------------------------------
Delete Gromacs GMX_BONDS GMX_PAIRS GMX_ANGLES GMX_DIHEDRALS or GMX_EXCLUSIONS
where the specified atom is involved
Requires molecule, thing, list of atom NUMBERs (not indexes)
Itp_make_angle ../lib/silico_gromacs.pm
-------------------------------------------------------
Make a Gromacs itp angle
Note: Uses atom numbers (not atom indexes).
Requires molecule, atom Number 1, atom Number 2, atom Number 3, angle
type, format, etc
Itp_make_bond ../lib/silico_gromacs.pm
-------------------------------------------------------
Make a Gromacs itp bond
Note: Uses atom NUMBERS (not atom indexes).
Requires molecule, atom Number 1, atom Number 2, type, etc
Itp_make_dihedral ../lib/silico_gromacs.pm
-------------------------------------------------------
Make a Gromacs itp dihedral
Note: Uses atom numbers (not atom indexes).
Requires molecule, atom Number 1, atom Number 2, atom Number 3, atom
Number 4, dihedral type (1=proper, 2=improper), format, etc
Note. We do not read individual values for default values or where codes are
used to define parameters
Itp_make_pair ../lib/silico_gromacs.pm
-------------------------------------------------------
Make a Gromacs itp pair
Note: Uses atom numbers (not atom indexes).
Requires molecule, atom Number 1, atom Number 2, type
Label_aa_backbone ../lib/silico_prop.pm
----------------------------------------------------
Label alpha amino acid backbone atoms
Add the labels AA_N, AA_CA, AA_C to the N, CA anc C atoms of amino acids.
Terminal amino acids are also labelled AA_CTER or AA_NTER.
Requires: molecule
Returns: numbers main chain-AAs, C-terminal AAs, N-terminal AAs
Label_aa_chirality ../bin/gromacs_fix_chiral_impropers
------------------------------------------------------------------
Label_amides ../lib/silico_prop.pm
----------------------------------------------------
Label amides AMIDE_C, AMIDE_O, AMIDE_N
Bondorders must be correct
Note: This algorithm handles carbamates OK, but ureas somewhat imprecisely.
Requires: molecule, list of atoms to check (uses entire molecule if this
is not defined)
Returns: nothing
Label_amino_acids ../lib/silico_residue.pm
-------------------------------------------------------
Create residues and identify them based on a SMILES residue database
Uses residues as the basis on which to match an atom string.
Requires: molecule
Returns: nothing
Label_dendrimer_residues ../bin/starmaker
-----------------------------------------------
Label residues in a molecule according to the Silico dendrimer scheme. Core
COR1, First generation GAA, Second GAB, ... A rename of all atoms to COR1 is
enforced if the flag -rc is used, or if atoms are found that are not COR or
G**.
Requires: Molecule
Returns: Highest residue ID found
Label_fg_alcohol ../lib/silico_prop.pm
----------------------------------------------------
Label alcohols, diols and triols
Requires: molecule
Label_fg_benzhydrylamine ../lib/silico_prop.pm
----------------------------------------------------
Label benzhydrylamines
Requires: molecule
Label_fg_carbanion ../lib/silico_prop.pm
----------------------------------------------------
Label carbanions
Requires: molecule
Label_fg_carbon ../lib/silico_prop.pm
----------------------------------------------------
Label carbon 'functional groups'
Requires: molecule
Label_fg_carbonyl ../lib/silico_prop.pm
----------------------------------------------------
Label carbonyl, thioketone and formyl groups
Requires: molecule
Label_fg_halogen ../lib/silico_prop.pm
----------------------------------------------------
Label halogen atoms
Requires: molecule
Label_fg_nitrogen ../lib/silico_prop.pm
----------------------------------------------------
Label nitrogen containing functional groups
Requires: molecule
Label_fg_oxygen ../lib/silico_prop.pm
----------------------------------------------------
Label oxygen containing functional groups excluding CARBONYL_O, CARBOXYLIC_O
and CARBOXYLATE_O
Requires: molecule
Label_fg_phosphorous ../lib/silico_prop.pm
----------------------------------------------------
Label phosphorous containing functional groups
Requires: molecule
Label_fg_planar_carbon ../lib/silico_prop.pm
----------------------------------------------------
Label functional groups containing planar carbon atoms such as amide,
carboxylate and guanidine / guanidinium groups Carboxylate carbon if bonded
to two oxygen atoms that have only one bonded atom each. Carbonyl oxygen Ester
if connected to double bonded O and single bonded O with two carbon
attachments if double bond to oxygen
Label_fg_sulphur ../lib/silico_prop.pm
----------------------------------------------------
Label sulphur containing functional groups
Requires: molecule
Label_fg_tfm ../lib/silico_prop.pm
----------------------------------------------------
Label trifluoromethyl groups
Requires: molecule
Label_solvent ../lib/silico_prop.pm
----------------------------------------------------
Label solvent molecule atoms $atom->{FG}{SOL};
Requires: molecule, maximum number of atoms in solvent
Returns: number of water molecules
Label_waters ../lib/silico_prop.pm
----------------------------------------------------
Label water molecule atoms $atom->{FG}{W};
Requires: molecule, flag to force reading of all atoms in mol_has_h
Returns: number of water molecules
Lipophilicity_dipole ../lib/silico_rbox.pm
----------------------------------------------------
Calculate the polar vector of a molecule along the Y axis
Requires: molecule
Mae_get_tok ../lib/silico_mmod.pm
----------------------------------------------------
Read mae file, process tokens and return one at a time
Requires: filehandle
Returns: token (string)
Mae_ignore_block ../lib/silico_mmod.pm
----------------------------------------------------
Read a maestro data block but ignore the contents
Requires: filehandle
Returns: nothing
Mae_parse_atoms ../lib/silico_mmod.pm
----------------------------------------------------
Read a maestro atom block
Can handle full atom records (f_m_ct) and partial atom records (p_m_ct)
Requires: filehandle, molecule, number of atoms
Returns: nothing
Mae_parse_block_header ../lib/silico_mmod.pm
----------------------------------------------------
Parse the header information in a maestro data block
Requires: filehandle
Returns: array of headers, array of header types (r: real, i: integer,
etc), array of header source programs
Mae_parse_bonds ../lib/silico_mmod.pm
----------------------------------------------------
Read a maestro bond data block
Requires: filehandle, molecule, number of bonds
Returns: nothing
Mae_parse_ct_data ../lib/silico_mmod.pm
----------------------------------------------------
Parse a maestro connection table data block (a molecule)
Requires: filehandle, molecule (can be empty);
Returns: molecule
Mae_split_data ../lib/silico_mmod.pm
----------------------------------------------------
Split data into tokens
Requires: lines from input file (string)
Returns: array
Magnitude ../lib/silico_geom.pm
----------------------------------------------------
Calculates the magnitude of a vector.
Requires: vector as an array
Returns: scalar
Make_alternate_aa_forms ../lib/silico_residue.pm
-------------------------------------------------------
Generate alternate amino acid protonation states from parent structure
Requires: Molecule, hash
Returns: Nothing
Make_amides_trans ../lib/silico_geom.pm
----------------------------------------------------
Sets the C-N-C(O)-C bond in all secondary amides to 180 degrees
Requires: molecule, list of atoms to check (uses entire molecule if this
is not defined)
Returns: nothing
Make_aromatic_bonds ../lib/silico_rings.pm
-----------------------------------------------------
Make aromatic bonds (bondorder 4) in all 6-membered aromatic rings
Rings must contain only C and N
Requires: molecule, kekule flag
Returns: nothing
Make_atomset ../lib/silico_sybyl.pm
-----------------------------------------------------
Make an ATOMSET record from atoms carrying a particular flag
Flag must be defined and be set to true (ie not zero or undefined). Atomsets
are written out in mol2 format as static sets
Requires: molecule, set name, flag1, flag2, ...
Returns: count of atoms having that flag
Make_atomset_colour ../lib/silico_sybyl.pm
-----------------------------------------------------
Make an ATOMSET record from atoms carrying an atom->{COLOUR} flag. This
produces atomsets compatible with Sybyl
Atomsets have names of the type 'ATOM$RED'. Sybyl colours are WHITE RED
MAGENTA YELLOW ORANGE BLUE VIOLET GREEN BLUEGREEN REDORANGE CYAN PURPLE (In no
particular order).
Requires: molecule
Returns: count of atoms having that flag
Make_atomset_fg ../lib/silico_sybyl.pm
-----------------------------------------------------
Make an ATOMSET record from atoms carrying a particular functional group flag
Flag must be defined and be set to true (ie not zero or undefined). The set
name '*' will make an atomset of all functional groups Atomsets are written
out in mol2 format as static sets
Requires: molecule, set name, flag1, flag2, ...
Returns: count of atoms having that flag
Make_atomset_formal_charge ../lib/silico_mol2.pm
----------------------------------------------------
Make an ATOMSET record from atoms carrying a formal charge
Requires: molecule
Make_bins ../lib/silico_tabledata.pm
---------------------------------------------------------
Create a bin data structure
Bin data structure contains the following fields:
BINSIZE - bin size
RANGEMIN - minimium bin value
RANGEMAX - maximum bin value
UNDERFLOW - count of values less than rangemin
OVERFLOW - count of values greater than rangemin
COUNTS[i] - the number of values found for each key value for bin i
NUMBINS - number of bins
NOT_NUMERIC - count of non-numeric values found
Requires: Binsize, range minimium, range maximum
Returns: pointer to bin datastructure
Make_dendrimer ../bin/starmaker
-----------------------------------------------
Base dendrimer construction routine
Requires: ensemble
Returns: ensemble containing a single molecule
Make_flag ../lib/silico_io.pm
--------------------------------------------------
Create a flag based on input options
Use: make_flag (short_name, long_name, "description",
expects_value, default_value, prompt, verify_string, duplicate
defnition allowed)
'short name' is a short format switch starting with a single '-'
'long name' is a long format switch starting with '--'
'description' is a text description of the flag
'expects value' 0 - flag is a switch, 1 - expects scalar value, 2 - expects
array (values separated by spaces).
'default value' default value for flag (can be undef)
'option to prompt' (1 or 0) when set to 1 silico will prompt for data if it
undefined
'verify string' is used to check that the input data is of the correct type:
integer, real number, string, etc. See 'verify_input_data'
'duplicate definititions allowed'. This flag will prevent 'make flag' dying if
the flag is redefined. This is required when we wish to set default values for
a Silico standard flag
Requires: Short name, Long name, Description, Expects value?, Default
value, option to Prompt, verify string, duplicate definition
allowed flag
Returns: value the flag is to take
Make_gromacs_cell_from_pdb_cell_and_angles ../lib/silico_gromacs.pm
-------------------------------------------------------------------
Convert PDB cell information into gromacs box vectors
Requires: vector - a, b, c, alpha, beta, gamma
Returns: gromacs vector (6 numbers)
Make_molecule_copies ../lib/silico_rbox.pm
----------------------------------------------------
Generate multiple copies of molecules to be packed
Requires: ensemble of molecules to be packed, number to pack, starting
chain, starting segid, number of bonds to randomise
Returns: molecules
Make_smiles_string_from_list ../lib/silico_smiles.pm
------------------------------------------------------
Generate, from a list of atoms and tokens, a SMILES string.
Requires: List
Returns: string
Make_subset ../lib/silico_sybyl.pm
-----------------------------------------------------
Make a SUBSET (substructure set) record from atoms carrying a particular flag
Flag must be defined and be set to true (ie not zero or undefined). Atomsets
are written out in mol2 format as static sets
Requires: molecule, set name, flag1, flag2, ...
Returns: count of substructures having that flag
Make_types_summary ../lib/silico_control.pm
-------------------------------------------------------
Make a silico_msg type summary string
Requires: Types hash
Returns: string
Make_vectors_connected ../lib/silico_hydrogens.pm
---------------------------------------------------------
Make two unit vectors which are normal to and in the plane of atom -> con1 ->
con2
Makeboxmolecule ../lib/silico_geom.pm
----------------------------------------------------
Make a box molecule using (on-axis cuboid) unit cell size
Requires: molecule cell, flag to centre box on 0,0,0
Returns: box molecule
Match_amino_acid ../lib/silico_residue.pm
-------------------------------------------------------
Match a set of atoms against an amino acid.
Requires: molecule, list of atoms, hash of amino acids
Returns:
Match_amino_acid2 ../lib/silico_residue.pm
-------------------------------------------------------
Match a set of atoms against an amino acid. Revised version
Requires: molecule, list of atoms, hash of amino acids
Returns:
Maximum ../lib/silico_statistics.pm
----------------------------------------------------------
Determines the maximum value within a set of data
Requires: Array
Returns: Scalar
Maximum_minus_mean ../lib/silico_statistics.pm
----------------------------------------------------------
Determine the difference between the mean of a set of data and the maximum of
the same set.
Requires: Array
Returns: Scalar
Maximum_valences ../lib/silico_definitions.pm
-----------------------------------------------------------
Returns a hash containing, for each element, the maximum usual neutral valence
for that element.
Requires: nothing
Returns: hash
Mean ../lib/silico_statistics.pm
----------------------------------------------------------
Calculates the mean of a set of data
Requires: Array
Returns: mean (scalar quantity)
Mean_minus_minimum ../lib/silico_statistics.pm
----------------------------------------------------------
Determine the difference between the mean of a set of data and the minimum of
the same set.
Requires: Array
Returns: Scalar
Median ../lib/silico_statistics.pm
----------------------------------------------------------
Calculates the median of a set of data
Requires: Array
Returns: median (scalar quantity)
Median_absolute_deviation ../lib/silico_statistics.pm
----------------------------------------------------------
Calculates the median and median absolute deviation
See: en.wikipedia.org/wiki/Median_absolute_deviation
Requires: Array
Returns: median (scalar quantity), median absolute deveiation (scalar)
Memuse ../lib/silico_debug.pm
-----------------------------------------------------
Print out memory usage found using the SZ record of the 'ps' command
Requires: string to identify calling location.
Merck_calculate_formal_charge ../lib/silico_merck.pm
-----------------------------------------------------
Calculate the merck charge code for .mrk files
The valid charge codes are (From the charmm documentation):
Code Charge Code
0 Neutral
1 +1
2 -1
3 Radical
4 +2
5 -2
6 +3
7 -3
8 +4
9 -4
Requires: atom
Returns: charge code
Merck_charge_code_to_formal ../lib/silico_merck.pm
-----------------------------------------------------
Convert a Merck charge code to a formal charge
Merck_formal_to_charge_code ../lib/silico_merck.pm
-----------------------------------------------------
Convert a formal charge to a Merck charge code for .mrk files
Minimise_complex_with_sybyl_mmff ../lib/silico_sybyl.pm
-------------------------------------------------------
Minimise a complex with Sybyl using the MMFF forcefield keeping the protein
rigid
The location of the sybyl execuatble must be in $Silico::sybyl_exe
Temporary files are written to $Silico::temp_dir or to current working
directory if $Silico::debug is set.
Requires: Ligand, protein, number of minimisation steps (default 10000),
rms_gradient cutoff (default 0.1)
Returns: minimised ligand only (not protein) or undef if Sybyl failed
to write out a structure
Minimise_dendrimer ../bin/starmaker
-----------------------------------------------
Minimise a dendrimer
Requires: Molecule, layer number
Returns: In-situ modification of molecule
Minimise_sybyl ../lib/silico_sybyl.pm
-----------------------------------------------------
Minimise a molecule with Sybyl
The location of the sybyl executable must be in $Silico::sybyl_exe
Temporary files are written to $Silico::temp_dir, unless $Silico::debug is
set, in which case they are written to the current working directory.
Requires: molecule, Sybyl options
Returns: molecule or undef if Sybyl failed to write out a structure
Options:
QUIET Do not print advisory messages
NOPRINTSYB Do not print Sybyl data
Minimise_with_sybyl_gasteiger_marsilli ../lib/silico_sybyl.pm
-------------------------------------------------------------
Minimise a molecule with Sybyl using the TRIPOS forcefield and
Gasteiger_Marsilli charges
The location of the sybyl execuatble must be in $Silico::sybyl_exe
Temporary files are written to $Silico::temp_dir or to current working
directory if $Silico::debug is set.
Requires: molecule, number of minimisation steps (default 10000), flag
to add hydrogens using Sybyl (default don't), rms_gradient
cutoff (default 0.1)
Returns: molecule or undef if Sybyl failed to write out a structure
Minimise_with_sybyl_mmff ../lib/silico_sybyl.pm
-----------------------------------------------------
Minimise a molecule with Sybyl using the MMFF forcefield
The location of the sybyl execuatble must be in $Silico::sybyl_exe
Temporary files are written to $Silico::temp_dir or to current working
directory if $Silico::debug is set.
Requires: molecule, number of minimisation steps (default 10000), flag
to add hydrogens using Sybyl (default don't), rms_gradient
cutoff (default 0.1)
Returns: molecule or undef if Sybyl failed to write out a structure
Minimum ../lib/silico_statistics.pm
----------------------------------------------------------
Determines the minimum value within a set of data
Requires: Array
Returns: Scalar
Mmod_anneal ../lib/silico_mmod.pm
----------------------------------------------------
Write Macromodel command file for simulated annealing run
The first output structure produces is the initial, minimised structures one
structure is then written after each annealing cycle
Requires: molecule, output filebase (default anneal_tmp), minimum temp,
maximum temp, total cycle time (ps), number of annealing
cycles, forcefield, solvent, molecular dynamics timestep (fs),
number of structures to be saved from the cooling stage of the
annealing run
Returns: ensemble or undef if run failed
Mmod_calc_energy ../lib/silico_mmod.pm
----------------------------------------------------
Use Batchmin to to a 'single point' energy calculation
The output .mmo file is read and molecular energy vaules are stored as
SDF_DATA fields
Requires: molecule, output filebase, number of steps, solvent
Returns: ensemble or undef if run failed
Mmod_csearch ../lib/silico_mmod.pm
----------------------------------------------------
Write Macromodel command file for a conformational search run
Requires: molecule or ensemble (all molecules must be identical).
Optional or via flags: solvent, search_steps,
filebase(otherwise temp filenames are used) Other arguments
are passed via flags
Returns: ensemble unless nowait flag is specified (then 1)
Mmod_csearch_write_com ../lib/silico_mmod.pm
----------------------------------------------------
Write Macromodel command file for a conformational search run
Requires: molecule or ensemble (all molecules must be identical).
Optional or via flags: solvent, search_steps,
filebase(otherwise temp filenames are used) Other arguments
are passed via flags
Returns: ensemble or undef if run failed
Mmod_logfile_normal_termination ../lib/silico_mmod.pm
-----------------------------------------------------
Find if Batchmin logfile terminated properly
Mmod_logfile_num_conf ../lib/silico_mmod.pm
----------------------------------------------------
Count number of Conf lines in conformational search logfile
Mmod_make_complex ../lib/silico_mmod.pm
----------------------------------------------------
Create a receptor/ligand complex for use with Macromodel
Can be used to specify fixed and frozen atoms in the receptor
Defines atom->{MMOD}{FXAT} flag for receptor atoms and atom->{MMOD}{SUBS} flag
for ligand. Also sets flags mol->{MMOD}{FXAT} and mol->{MMOD}{SUBS}
DEBG 17 needs to be set so that all intramolecular interactions are not
discarded by Macromodel
Requires: Protein (receptor), ligand, forceconst1, forceconst2,
forceconst3 freeze distahce, constraint scheme, flag to
constrain hydrogens freeze atoms more than this distance from
the ligand
Returns: Molecule or undef if things go wrong
Mmod_min ../lib/silico_mmod.pm
----------------------------------------------------
Minimise a molecule using macromodel
If filebase is not specified, temporary files are written to
$Silico::temp_dir, unless $Silico::debug is set, in which case they are
written to the current working directory.
Requires: Molecule, filebase (default 'mini_tmp'), max number of steps,
final gradient forcefield, solvent, minimsation method
Returns: ensemble or undef if things go wrong
Mmod_min_h ../lib/silico_mmod.pm
----------------------------------------------------
Minimise hydrogens using macromodel. All other atoms are constrained
Requires: Molecule, filebase (default 'mini_tmp'), max number of steps,
final gradient forcefield, solvent, minimsation method
Returns: ensemble or undef if things go wrong
Mmod_mult_min ../lib/silico_mmod.pm
----------------------------------------------------
Use Batchmin to do a multiconformer minimisation
Requires: molecule, output filebase, number of steps, solvent
Returns: ensemble or undef if run failed
Mmod_qikprop ../lib/silico_mmod.pm
----------------------------------------------------
Run qikprop
Requires: filebase of macromodel com file, flag not to remove run files
Returns: molecule or undef if things go wrong
Mmod_run ../lib/silico_mmod.pm
----------------------------------------------------
Run macromodel
Will wait for output and read it in. Setting the nowait flag will cause it to
return as soon as the job has started, without returning output
Requires: filebase of macromodel com file, flag not to wait for job to
complete, flag not to remove run files,
number of used licenses (schrodinger_wait_for_license_availability
has already been run);
Returns: molecule or 1 if nowait flag is set.
Mol2_atom_record ../lib/silico_mol2.pm
----------------------------------------------------
Read in a @<TRIPOS>ATOM record.
Called from read_mol2. Checks to see if more than half the atoms have zero Z
coordinates, and sets mol->{HAS_BAD_GEOM} if this is the case.
Requires: molecule
Returns: 1 if successful, undef otherwise
Mol2_bond_record ../lib/silico_mol2.pm
----------------------------------------------------
Read in @<TRIPOS>BOND record.
Called from read_mol2.
Requires: molecule
Returns; 1 or undef on failure
Mol2_centroid_record ../lib/silico_mol2.pm
----------------------------------------------------
Read a tripos centroid feature record
The centroid is stored in $mol->{FEATURES}
Note: This code assumes that the CENTROID record is located after the SET
record. This is normally true but not strictly required.
Requires: molecule
Returns: nothing
Mol2_crystal_record ../lib/silico_mol2.pm
----------------------------------------------------
Read in a @<TRIPOS>CRYSIN record
Called from read_mol2().
Unit cell data is placed in hash keys within $mol.
Requires: molecule
Returns: Nothing
Mol2_fastsplit ../lib/silico_split.pm
-----------------------------------------------------
Split a multimolecule mol2 file into individual molecules without parsing the
file
Requires: infile, output directory (optional), output style (see
subroutine format_oname) max number of structures per output
file
Returns: list of files created
Mol2_molecule_record ../lib/silico_mol2.pm
----------------------------------------------------
Read in a @<TRIPOS>MOLECULE record.
Called from read_mol2.
Requires: molecule
Returns; 1 or undef on failure
Mol2_process_comments ../lib/silico_mol2.pm
----------------------------------------------------
Extract data from mol2 comments strings such as Dock energies and add it to a
molecule
Called from read_mol2.
Requires: molecule, comments
Returns: nothing
Mol2_set_formal_charges ../lib/silico_mol2.pm
----------------------------------------------------
Assign atomic formal charges based on FORMAL_CHARGE sets
FORMAL_CHARGE atomsets are then deleted
Requires: molecule
Mol2_set_record ../lib/silico_mol2.pm
----------------------------------------------------
Read in a @<TRIPOS>SET record.
Called from read_mol2. Only reads static sets of atoms. Ignores dynamic sets
or sets of bonds or substructures.
Atoms are placed in a record: mol->{ATOMSET}{<setname>}[<atoms>] and also
$mol->{ATOMSET_BY_NUMBER}[$i]
Requires: molecule
Returns: nothing
Mol2_substructure_record ../lib/silico_mol2.pm
----------------------------------------------------
Read in a @<TRIPOS>SUBSTRUCTURE record.
Called from read_mol2. Creates the following arrays: mol->{SUB_SUBNAME}, an
array of substructure names; mol->{SUB_ROOTATOM}, an array of root atoms;
mol->{SUB_CHAIN} (optional) an array of chains
Requires: molecule
Returns; 1 or undef on failure
Mol_add_atom ../lib/silico_molecules.pm
---------------------------------------------------------
Create a new atom and add it to the specified molecule.
Requires: molecule, atom name, atom element, x, y, z, subname, subid.
Returns: the new atom
Mol_add_hydrogens ../lib/silico_hydrogens.pm
---------------------------------------------------------
Add hydrogens to a molecule
By default the routine tries to approximate the protonation state at
physiological pH. The charge state is generated by mol_type_sybyl
Carboxylic acids are deprotonated.
Non-aromatic amines are protonated.
Aromatic and heterocylic amines are not protonated
This can be turned of using the fill_valence flag.
The Sybyl atom typing routines are used to generate atom types
Requires: Molecule, flag to add all hydrogens (routine otherwise
approximates protonation state at physiological pH), flag to
add polar (1) or nonpolar (carbon) hydrogens (2), flag to
delete hydrogens only from atoms where hydrogens need to be
added. Otherwise all hydrogens are deleted first and then
appropriate hydrogens are added back.
Returns: Number of hydrogens added, number of hydrogens deleted, total
change
Mol_add_hydrogens_nocoords ../lib/silico_hydrogens.pm
---------------------------------------------------------
Add hydrogens to a molecule that lacks coordinates (e.g. SMILES)
Returns: Number of hydrogens added, number of hydrogens deleted (always
zero), total change
Mol_add_lone_pairs ../lib/silico_hydrogens.pm
---------------------------------------------------------
Add lone pairs to N, O or S atoms in a molecule
Requires: Molecule
Returns: Number of lone pairs
Mol_aromatic_smiles ../lib/silico_smiles.pm
------------------------------------------------------
Of a list of atoms, mark each one as aromatic if it is.
Requires: molecule, optional list
Returns: nothing
Mol_assign_charge_groups_monte_carlo ../lib/silico_gromacs.pm
-------------------------------------------------------------
Allocate charge groups using a Monte Carlo method
Least squares minimisation of the per atom deviation from integer charges in
each charge group
Requires: molecule, maximum number of atoms in group, maximum iterations
(default 10^6)
Mol_assign_gromos_angles ../lib/silico_gromacs.pm
-------------------------------------------------------
Assign gromos angle types based on the ff54a7 forcefield
Mol_assign_gromos_atomtypes ../lib/silico_gromacs.pm
-------------------------------------------------------
Generate Gromos atom types (based on 54a7 ff)
Types are put in to $atom->{TYPE} and in $atom->{TYPE}
Assumes that bond orders are complete and correct and that polar hydrogens are
present.
Will only assign united atom types if a carbon is deficient in hydrogens.
Various solvent types (DMSO, Carbon-tet, Chloroform, etc) are not implemented.
Requires: molecule
Returns: -1 if there was an atom typing error.
Mol_assign_gromos_bonds ../lib/silico_gromacs.pm
-------------------------------------------------------
Assign gromos bond types based on the ff54a7 forcefield
Mol_assign_gromos_dihedrals ../lib/silico_gromacs.pm
-------------------------------------------------------
Assign gromos dihedral types based on the ff54a7 forcefield
Mol_bonded_interactions ../lib/silico_molecules.pm
---------------------------------------------------------
Creates tables containing bonds, angles, dihedrals and improper dihedrals in a
molecule
Calls: Mol_find_all_bonds Mol_find_all_angles Mol_find_all_dihedrals
Mol_find_planar_impropers Mol_find_double_bond_impropers
Requires: Molecule, flag to ignore waters, flag to skip hydrogen
dihedrals, flag to find only unique dihedrals
Returns: Nothing
Mol_calc_charge ../lib/silico_molecules.pm
---------------------------------------------------------
Calculates the total charge on a molecule and checks that it is integral
Also can calculate the charge on each residue and on each segment
Will return a warning if there are missing charges or if the total charge is
not integral
Requires: Molecule, flag to calculate residue totals, flag to calculate
segment totals
Returns: ERR if there are atoms with no set charge Total charge
otherwise
Mol_calc_hcount ../lib/silico_hydrogens.pm
---------------------------------------------------------
Calculate number of hydrogens on each heavy atom (but don't add them).
Requires: Molecules, atomlist, fill_valence flag (default on)
Sets: atom->{HCOUNT}, $atom->{HMISSING}
Returns: Nothing
Mol_check ../lib/silico_check.pm
-----------------------------------------------------
Check a molecule for self-consistency
This routine checks for problems with the internal representation of the
molecule.
Checks for undefined fields - ELEMENT, ELEMENT_NUM, NUM, NAME, that all atoms
connected to another atom actually exist and that atoms are not connected to
themselves.
Atoms with problems are marked with the flag $atom->{ERROR}
Requires: molecule.
Returns: minor error count or -1 if there is a major problem
Mol_check_all ../lib/silico_check.pm
-----------------------------------------------------
Call all the mol_check routines
Requires: molecule.
Returns; 0 if everything is OK. Otherwise returns the minor error count and
returns -1 if there is a major problem
Mol_check_amides ../lib/silico_check.pm
-----------------------------------------------------
Subroutine that checks for non-trans amides
Checks two dihedrals: C-C-N-C and O-C-N-H, as each of these should be 180
degrees
Requires: molecule, name of output file
Returns: Number of atoms in distorted amide groups
Mol_check_aromatic_bonds ../lib/silico_check.pm
-----------------------------------------------------
Subroutine to look for atoms, not in aromatic rings, which have aromatic bonds
This benefits from mol_check_distorted_rings being run first though that is
not strictly necessary
Requires: molecule
Returns: Number of atoms with out-of-place aromatic bonds
Mol_check_atom_overlap ../lib/silico_check.pm
-----------------------------------------------------
Pariwise check that no atoms in molecule overlap
Checks that atoms are not closer than 90% of the min VDW distance.
Requires: molecule, flag to supress warning messages and atom labelling
Returns: Overlap count
Mol_check_bondlengths ../lib/silico_check.pm
-----------------------------------------------------
Check molecule bondlengths
Sets $atom->{BONDLENGTH} on short and long bonds (generally those more than
10% longer than standard bond lengths)
Requires: molecule.
Returns; 1 if OK or -1 if there is a major problem
Mol_check_bondorders ../lib/silico_check.pm
-----------------------------------------------------
Simple check that bondorders are OK
An atom->{ERROR} flag is set on each offending atom
Requires: molecule,
Returns: 0 if OK, otherwise number of unusual bonds found
Mol_check_distorted_rings ../lib/silico_check.pm
-----------------------------------------------------
Look for distorted aromatic rings
Requires: molecule
Returns: Number of bent aromatic rings
Mol_check_elements ../lib/silico_check.pm
-----------------------------------------------------
Check to make sure that all atom elements are sensible
Requires: molecule
An atom->{ERROR} flag is set on each offending atom
Returns: Number of errors
Mol_check_unit_cell ../lib/silico_molecules.pm
---------------------------------------------------------
Make sure a molecule's unit cell is present
Requires: Molecule
Returns: 1 if OK, 0 otherwise
Mol_check_valences ../lib/silico_check.pm
-----------------------------------------------------
Simple check that atom valences are OK
Calls atom_check_valence
Requires: molecule, flag to mark that molecule is missing hydrogen
atoms, flag to convert non-ring aromatic bonds to
single/double bonds
Returns: Negative of number of atoms with abberant valences
An atom->{VALENCE} flag is set on each offending atom
Mol_copy_rec ../lib/silico_split.pm
-----------------------------------------------------
Recursively split atoms into a new ensemble
Called from mol_split
Requires: molecule, atomnumber, ensemble, submol
Returns: nothing
Mol_copy_unit_cell ../lib/silico_molecules.pm
---------------------------------------------------------
Copies as much as is defined of a unit cell record from one Silico molecule to
another.
Requires: two molecules
Returns: nothing
Mol_count_heavy_atoms ../lib/silico_prop.pm
----------------------------------------------------
Calculate the number of heavy (non-hydrogen) atoms in a molecule.
Requires: molecule
Returns: whole number
Mol_count_residue_contacts ../lib/silico_sequence.pm
--------------------------------------------------------
Count the number of non-neigbour atom-atom contacts for each residue of a
protein
Requires: Molecule
Mol_count_rot_bonds ../lib/silico_prop.pm
----------------------------------------------------
Count rotatable bonds
Rotatable bonds are defined as being single, connected to more than one atom
(excluding hydrogen), not amide bonds and not in a ring with less than 10
atoms.
This is close to the definition used in Veber et al. J. Med. Chem. 2002, 45,
2615
Requires: molecule
Sets: $mol->{SDF_DATA}{ROT_BONDS};
Returns: num rotatable bonds
Mol_count_valence_electrons ../lib/silico_mopac.pm
-----------------------------------------------------
Simplistic routine to calculate the total number of valence electrons and work
out if molecule is a radical or not
Requires: Molecule, charge
Returns: total number of valence electrons, flag denoting odd number of
valence electrons
Mol_delete_duplicate_atoms ../lib/silico_molecules.pm
---------------------------------------------------------
Delete an apparently duplicated atom. Looks for atoms that are close in space
(within 0.001 A). Then checks to make sure they are the same element. No
further checks are done. Hydrogen atoms are deleted where these are attached
to deleted heavy atoms, unless a flag is sent to keep them. This flag has no
effect where the hydrogen atoms are deleted by reason of being duplicates in
their own right.
Requires: Molecule, tolerance, optional flag to keep hydrogens when
these are attached to deleted atoms
Returns: Number of atoms deleted
Mol_find_all_angles ../lib/silico_molecules.pm
---------------------------------------------------------
Find all atom-atom-atom angles in a molecule
Angle array is stored in $mol->{ANGLES}
Label_waters must be run first if water is to be ignored
Requires: Molecule, (optional) flag to ignore waters
Returns: Arrayref of angles, each of which is an arrayref of 3 atom
numbers
Mol_find_all_bonds ../lib/silico_molecules.pm
---------------------------------------------------------
Find all bonds in a molecule
Bond array is stored in $mol->{BONDS}
Label_waters must be run first if water is to be ignored
Requires: Molecule, (optional) flag to ignore waters
Returns: Arrayref of bonds, each of which is an arrayref of 2 atom
numbers
Mol_find_all_dihedrals ../lib/silico_molecules.pm
---------------------------------------------------------
Find all atom-atom-atom-atom dihedral (torsion) angles in a molecule
Dihedral array is stored in $mol->{DIHEDRALS}
Label_waters must be run first if water is to be ignored
Requires: Molecule, (optional) flag to ignore waters, (optional) flag to
ignore dihedrals containing hydrogen, flag to only find unique
dihedrals (ie only one dihedral per bond)
Returns: Arrayref of sorted dihedrals, each of which is an arrayref of
4 atom numbers
Mol_find_chiral_impropers ../lib/silico_molecules.pm
---------------------------------------------------------
Find improper torsion angles for chiral centres (some force fields require
this)
Impropers are stored in $mol->{C_IMPROPERS}
Returns improper torsions where an atom has more than two attached atoms Only
one improper is produced in cases where an atom has four attached atoms using
the first three connected atoms.
Requires: Molecule
Returns: Arrayref of improper dihedrals, each of which is an arrayref
of 4 atom numbers
Mol_find_chiral_impropers_gms ../lib/silico_gromacs.pm
-------------------------------------------------------
Find improper torsion angles for chiral centres (some force fields require
this)
Impropers are stored in $mol->{C_IMPROPERS}
Returns improper torsions where an atom has three attached atoms
Requires: Molecule
Returns: Array of improper dihedrals
Mol_find_donors_acceptors ../lib/silico_hb.pm
--------------------------------------------------
Count molecule H-bond donors and acceptors and label them
Requires that hydrogens are present on molecule
Donors are defined as N, O or S with attatched H.
Acceptors: are N, O, but not in a planar 5-memebered ring. N is counted
provided valence < 4 except for amides; S is counted provided valence < 3;
Atoms are labelled as HBACCEPTOR and/or HBDONOR
Requires: molecule
Returns: number of donors (scalar), number of acceptors (scalar)
Mol_find_double_bond_impropers_gms ../lib/silico_gromacs.pm
-----------------------------------------------------------
Find all improper dihedrals defined by double bonds
Requires: Molecule
Returns: Array of improper dihedrals, each of which is an array of 4
atom numbers
Mol_find_neighbouring_atoms ../lib/silico_prop.pm
----------------------------------------------------
Make a list of connected atom properties in the 'CONNECTED' hash for each atom
Labels counts heteroatoms as 'HET'. Counts nonhydrogens as 'HEAVY'. Carbonyls
as 'CO'. Thioketo/nes as 'CS'
Requires: Molecule, optional list of atoms
Returns: Nothing
Mol_find_planar_impropers ../lib/silico_molecules.pm
---------------------------------------------------------
Finds improper dihedrals centred on planar atoms
Impropers are stored in $mol->{P_IMPROPERS}
J
|
I
/ \
K L
Orders improper dihedrals suitable for the OPLS force field
Atom I is always position 2, while the unique atom is usually position 1
Note this subroutine needs a good clean up to remove duplication
Requires: Molecule, flag to ignore waters
Returns: Arrayref of improper dihedrals, each of which is an arrayref
of 4 atom numbers
Mol_find_planar_impropers_gms ../lib/silico_gromacs.pm
-------------------------------------------------------
Find improper torsion angles for planar atoms for gromacs
Returns improper torsions where an atom has three attached atoms
Requires: Molecule
Returns: Array of improper dihedrals
Mol_fix_atom_names ../lib/silico_molecules.pm
---------------------------------------------------------
Removes initial and final spaces from atom names. Other spaces are replaced by
underscores.
Requires: molecule
Returns: nothing
Mol_fix_multiple_bonds_general ../lib/silico_molecules.pm
---------------------------------------------------------
Determine the bondorder score of any bond. Note: This subroutine is probably
deficient in setting bondorders of 5-membered planar rings with poor bond
lengths and no hydrogens.
Requires: molecule
Returns: nothing
Mol_fix_sodiums ../bin/make_index
------------------------------------------------
Ensures that all atoms named NA are recognised as sodium atoms.
Requires: Molecule
Returns: Nothing
Mol_fragment ../lib/silico_fp.pm
--------------------------------------------------
Generate molecule fragments and save in both an array and a hash
By default all unique fragments are returned. ALL fragments (including
duplicates) are returned if the 'return_paths' flag is set. $mol->{PATH_ARRAY}
is also set in this case.
Requires: molecule, fragment typing method, flag to add hydrogens, flag
to delete preexisting fragments, flag to return paths, flag to
be quiet
Sets: $mol->{FRAGMENT_HASH}, $mol->{FRAGMENT_ARRAY}, $mol->{FP_HASH}
and $mol->{FP_ARRAY} and optionally PATH_ARRAY
Returns: Array of fragments
Mol_fragment_and_path ../lib/silico_fp.pm
--------------------------------------------------
Generate ALL molecule fragments and corresponding atom paths
Paths and fragment arrays are stored as mol->{FRAGMENT_ARRAY} and {PATH_ARRAY}
Requires: molecule, optional: atomlist, fragment typer, min fragment
size max fragment size, flag to stop sorting fragments by
size, flag to force generation of fragments rather than use
cached ones
Returns: Array of fragments
Mol_get_functional_group ../lib/silico_prop.pm
----------------------------------------------------
Get array of functional groups given a functional group name
Requires: molecule, group name (string)
Returns: pointer to array of functional groups (each fg is a hash)
Mol_get_sequence ../lib/silico_sequence.pm
--------------------------------------------------------
Extract the amino or nucleic acid sequence from a molecule
Requires: Molecule, optional options string
Returns: Ensemble of sequences. One sequence for each CHAIN or SUBID
Options: NOHETATM - ignore all pdb HETATM records
Mol_has_h ../lib/silico_hydrogens.pm
---------------------------------------------------------
Find out if a molecule has no, polar or all hydrogens
This check is quick and not exhaustive. Note that it is fooled by molecules
that contain a some hydrogens but not all valences are full
Requires: molecule, flag to check if ANY hydrogens are present in file
Returns: 0 if no hydrogens, 1 if polar hydrogens, 2 nonpolar hydrogens
(ie connected to carbon) or -1 if hydrogens are present but
bonds are not. Also sets $mol->{HAS_HYDROGENS}
Mol_label_alpha_fg ../lib/silico_prop.pm
----------------------------------------------------
Label atoms as being alpha to a given functional group atom
Requires that mol_label_functional_group has been run
Requires: Molecule
Returns: Nothing
Mol_label_beta_fg ../lib/silico_prop.pm
----------------------------------------------------
Label atoms as being beta to a given functional group atom
Requires that mol_label_functional_group and mol_label_alpha_fg have been run
Requires: Molecule
Returns: Nothing
Mol_label_functional_group ../lib/silico_prop.pm
----------------------------------------------------
General functional group assigner
Label atoms of important functional groups and generate approximate charge
groups for carboxylates, amino groups, sulphate groups, guanidines and
guanidiniums
Identifies the following functional group atoms with the following
$atom->{FG}{<group>}
AA_CA AA_CTER AA_N AA_NTER ACETAL_O ACID_HALIDE_C ACID_HALIDE_O
ALCOHOL_C ALDEHYDE_C ALDEHYDE_O ALKENE_CH0 ALKENE_CH1 ALKENE_CH2
ALKOXIDE_C ALKOXIDE_O ALKYL_PHOSPHATE_P ALKYNE ALKYNE_ALPHA_CH0
ALKYNE_ALPHA_CH1 ALKYNE_ALPHA_CH2 ALKYNE_ALPHA_CH3 ALKYNE_CH1
ALPHA_GUANIDINE_C ALPHA_GUANIDINIUM_C AMIDE_C AMIDE_O AMIDO_C AMIDO_N
AMINO_C AMMONIUM_C AROM_NITRILE_C AROM_NITRILE_N
AROMATIC
CARBAMATE_C CARBAMATE_N CARBAMATE_O CARBANION_ALPHA_C CARBANION_C
CARBONYL_ALPHA_C CARBONYL_C CARBOXYLATE_C CARBOXYLATE_O CARBOXYLIC_C
CARBOXYLIC_O CHLOROALKENE_C CHLOROALKENE_Cl DIALKYL_PHOSPHATE_ESTER_O
DIALKYL_PHOSPHATE_P DICHLOROALKENE_C DIOL_C DISULFIDE_S DPE_O
ESTER_C ESTER_O ETHER_C ETHER_O FORMYL_C FORMYL_O
GUANIDINE_C GUANIDINE_N GUANIDINIUM_C GUANIDINIUM_N
IMIDE_C IMIDE_N IMIDE_O
KETONE_C KETONE_O
METHYL_C MONOALKYL_PHOSPHATE_ESTER_O MPE_O
NITRILE_ANION_ALPHA_C NITRILE_ANION_C NITRILE_ANION_N NITRILE_C
NITRILE_N NITRO_C NITRO_N NITRO_O
PHOSPHATE_ESTER_O PHOSPHATE_O PHOSPHATE_P PHOSPHONATE_C
PHOSPHONATE_ESTER_C PHOSPHONATE_O PHOSPHONATE_P PHOSPHONIUM_C
PHOSPHONIUM_P P_AMIDE_N P_AMINO_C P_AMINO_N P_AMMONIUM_C P_AMMONIUM_N
Q_AMMONIUM_N
SN_ALPHA_C SULFIDE_C SULFIDE_S SULFONAMIDE_C SULFONAMIDE_N
SULFONAMIDE_N_ALPHA_C SULFONAMIDE_O SULFONAMIDE_S SULFONATE_C
SULFONATE_O SULFONATE_S SULFONE_O SULFONE_S SULFOXIDE_C SULFOXIDE_O
SULFOXIDE_S S_AMIDE_N S_AMINO_C S_AMINO_N S_AMMONIUM_C S_AMMONIUM_N
S_CARBAMATE_N
TFM_C TFM_F THIOLATE_C THIOLATE_S THIOL_C THIOL_S TRIOL_C T_AMIDE_C
T_AMIDE_N T_AMINO_C T_AMINO_N T_AMMONIUM_C T_AMMONIUM_N T_CARBAMATE_N
UREA_C UREA_N UREA_O
List of all functional groups are stored in mol->{FG}
Charge groups are stored as an array of arrays in mol->{CHARGE_GROUP}
Note 1: The routine molecule_find_planar_atoms should be run first although it
will be run within this routine if it has not already
Note 2: This routine requires that bond orders are correct
Mol_label_heterocycles ../lib/silico_prop.pm
----------------------------------------------------
Label atoms in heterocyclic rings
Requires that find_rings has been run and that bond orders are present and
that aromatic rings are represented using aromatic bonds (ie
make_aromatic_bonds has been run). List of heterocycles is also put into
$mol->{HETEROCYCLES}
Requires: molecule, maximum ring size (default 8), optional prefix to
add to heterocycle name 'eg HET'
Returns: List of heterocycles in this molecule
Mol_label_smiles_invariants ../lib/silico_smiles.pm
------------------------------------------------------
Label all atoms in a molecule subset with their SMILES invariants
This is based on the CANGEN algorithm described in Weininger, Weininger and
Weininger, J. Chem. Inf. Comput. Sci. 1989, 29, (2), 97-101.
Requires: molecule, optional subset of atoms to use
Returns: nothing
Mol_label_united_atom ../lib/silico_prop.pm
----------------------------------------------------
Calculate missing hydrogens for carbon atoms and add UNITED_ATOM and
MISSING_HYDROGEN labels
Used for united atom forcefields
Requires: molecule
Returns: nothing
Mol_map_sequence ../lib/silico_sequence.pm
--------------------------------------------------------
Map residues of molecule file onto a sequence
Adds the atoms of each molecule residue to the sequence residue array
@{%res->{ATOMS}}
Requires; molecule, sequence
Returns: Nothing
Mol_move_atoms_into_cell ../lib/silico_geom.pm
----------------------------------------------------
Translate all atoms into the unit cell (ie into the range 0 -> cell_dim).
Requires: Molecule, cell
Returns: Nothing
Mol_move_into_cell ../lib/silico_geom.pm
----------------------------------------------------
Translate a molecule into a unit cell using the centroid of the molecule as a
reference
Unit cell has coordinates starting at 0,0,0
Requires: Molecule, cell, flag to move based on position the 'middle'
atom of the molecule rather than centroid (much faster).
Returns: Nothing
Mol_move_into_cell_using_cell_vectors ../lib/silico_gromacs.pm
--------------------------------------------------------------
Translate a molecule into a unit cell using cell_vecltors
Requires: Molecule, cell, flag to move based on position the 'middle'
atom of the molecule rather than centroid (much faster).
Returns: Nothing
Mol_partition_on_bond ../lib/silico_geom.pm
----------------------------------------------------
Label atoms on one side of a bond and not the other
Is expected to fail if the bond is within a ring
Requires: molecule, bond atom 1 (static), bond atom 2 (to move)
Returns: Time taken
Mol_partition_on_bond2 ../lib/silico_geom.pm
----------------------------------------------------
Label atoms on one side of a bond (best non-recursive version)
Will fail if start atom is in a ring
Requires: molecule, bond atom 1 (static), bond atom 2 (to move), anchor
atom
Returns: List of stationary atoms, list of mobile atoms
Mol_path_to_fragments ../lib/silico_fp.pm
--------------------------------------------------
Convert an atom path into fragments
Uses $Silico::fp_fragment_typer.
Atom types; element (atomic element), p_np (polar [p] or nonpolar
[n]) or none (all set to X)
Bond types; simple (set to single, double/aromatic, triple), none
(all set to single)
Requires: molecule, path, typer (optional otherwise uses
$Silico::fp_fragment_typer);
Returns: fragment
Mol_rama ../lib/silico_rama.pm
----------------------------------------------------
Extract backbone dihedral information from a molecule
Requires: Molecule
Returns: RAMADATA record or undef on error
Sets: An array: $mol->{RAMA}[<count>]{<VAR>} where <VAR> is PHI,
PSI, SUBID, SUBNAME, LABEL, @ATOMNUMS
Mol_rama_angles ../lib/silico_rama.pm
----------------------------------------------------
Caculate Ramachandran angles for RAMADATA
Requires: molecule
Sets: $mol->{RAMADATA}[$rescount]{PHI} and
$mol->{RAMADATA}[$rescount]{PSI} = $psi
Mol_read_error ../lib/silico_io.pm
--------------------------------------------------
Print an error on failing to read molecule data from a file
Requires: filename, flag to write error message and die
Returns: Nothing
Mol_rename_atoms ../lib/silico_molecules.pm
---------------------------------------------------------
Name atoms using one of several methods:
Consecutive; Atom numbering increases by atom
Consecutive-H; Atom numbering increases by atom, but hydrogens are named
after the parent heavy atom
Element; Atom numbering is independent for each element
Element-H; As for element, but hydrogens are named after the parent heavy
atom
Requires: molecule, method (consecutive, element, consecutive-h), flag
to only number if existing names are not unique
Returns: Nothing
Mol_renumber_residues ../bin/make_index
------------------------------------------------
Renumbers residues based on the order in which they are listed in the file
Requires: Molecule
Returns: Nothing
Mol_renumber_residues ../bin/mol_combine
-------------------------------------------------
Renumber residues in a molecule
Returns: min, max
Mol_renumber_substructures ../lib/silico_molecules.pm
---------------------------------------------------------
Renumbers substructures so all residues are numbered sequentially from 1
Increments count on SUBID, SUBNAME, SEGID, or CHAIN
Requires: Molecule, starting number (optional, default 1)
Returns: Highest new substructure number
Mol_rescale_bonds ../lib/silico_geom.pm
----------------------------------------------------
Rescale all bond lengths in a molecule, based on either a scaling factor, or
an optimum average C-C bond length.
Requires: Molecule, one of either scaling factor or target length
Returns: Nothing
Mol_rotate_euler{ ../lib/silico_geom.pm
----------------------------------------------------
Rotates a molecule using Euler angles
Uses the 'x convention'. See http://demonstrations.wolfram.com/EulerAngles/
Requires: mol, phi, theta, psi (angles in radians)
Returns: rotated molecule
Mol_score_hybridisation ../lib/silico_molecules.pm
---------------------------------------------------------
Determine the hybridisation state of each atom in a molecule.
Requires: molecule
Returns: nothing
Mol_sdf_stereo ../lib/silico_sdf.pm
---------------------------------------------------
Crudely use SDF stereo descriptors to convert 2D to 3D files
WARNING: This method works for simple molecules but will fail for complex,
fused systems. The minimised result from this should be checked with
sdf_check_chiral_parity
Assumes molecule has been squashed into the XY plane Adds a hydrogen atom to
carbons if there valences are not filled
Requires: molecule
Returns: nothing
Mol_set_source_data ../lib/silico_io.pm
--------------------------------------------------
Set up molecule source data such as SOURCE_FILE_TYPE, SOURCE_FILE_NAME, etc
Requires: molecule, file_record, format (optional)
Returns: nothing
Mol_smiles_string ../lib/silico_smiles.pm
------------------------------------------------------
Create a SMILES string from a molecule.
Requires: molecule, atom list, flags to generate explicit bondorders,
explicit hydrogens (1 = all atoms, 2 = only where present),
Kekule bonds, to mark missing hydrogens in molecule
Sets $mol->{SMILES}
Returns: string
Mol_sort_smiles ../lib/silico_smiles.pm
------------------------------------------------------
Sort the atoms in a molecule into a canonical order based on the smiles
representation
Runs mol_smiles_string if required;
Requires: molecule
Returns: canonical smiles string
Modifies: sorted molecule
Mol_tanimoto ../lib/silico_fp.pm
--------------------------------------------------
Calculate the Tanimoto coefficient given two molecules
Tanimoto coeff = Num common fragments / Num fragments in mol1 + Num fragments
in mol2 - Num common fragments
Tversky coeff = Num common fragments / alpha (Num fragments in mol1 - Num
common fragments) + beta (Num fragments in mol2 - Num common fragments) + Num
common fragments
alpha = 0 and beta = 1 => Molecule 2 as a substructure of Molecule 1
alpha = 1 and beta = 2 => Molecule 2 as a superstructure of Molecule 1
Requires: hash1, hash2, (alpha, beta coefficiencts for Tversky, optional)
Returns: Tanimoto coefficient
Mol_transfer_coordinates ../lib/silico_molecules.pm
---------------------------------------------------------
Transfer coordinates from molecule 2 to to molecule 1
Requires: molecule 1, molecule 2
Returns: new molecule with properties of molecule 1 and coordinates of
molecule2
Mol_type_mmod ../lib/silico_mmod.pm
----------------------------------------------------
Macromodel atom type routine
Assumes that structures are three-dimensional (ie not planar 2D
representations) and have complete bond types. Atom geometry is used to
identify aromatic rings and planar nitrogen atoms. Does not assume that
hydrogens are present. Makes primary amines N.4 and makes O-C=O into
carboxylate groups if explicit hydrogens are not present.
Requires: molecule.
Returns: Macromodel atom type.
Mol_type_sybyl ../lib/silico_mol2.pm
----------------------------------------------------
Generate Sybyl atom types for a molecule
Types are put in to $atom->{TYPE}.
This routine does not assume that hydrogens are present.
Calls molecule_find_rings to rings and planar rings
Identifies carboxylate, amide and guanidinium carbon atoms and marks them with
the flags $atom->{FG}{CARBOXYLATE_C}, $atom->{FG}{AMIDE_C} and
$atom->{FG}{GUANIDINIUM_C} respectively.
If hydrogens are not present then this routine uses simple rules to try to put
molecules in physiologialy relevant ionisation state. Makes primary amines N.4
and makes O-C=O into carboxylate groups.
This routine makes Ti,Cr and Co octahedral.
Requires: atom, molecule.
Returns: -1 if there was an atom typing error.
Molecule_bin_atoms ../lib/silico_geom.pm
----------------------------------------------------
Bin atoms
A faster bin atoms routine. This routine can optionally set atom->{BIN}
Requires: molecule, atomlist (optional), binsize (optional), numbins
array (optional), flag to add bin to atom (optional)
Returns: array of binned atoms
Molecule_centre ../lib/silico_geom.pm
----------------------------------------------------
Calculate the x, y, z extents of a molecule and the centre of the box.
Requires: Molecule
Returns: Array ({maxx, maxy, maxz, minx, miny, minz, centx, centy,
centz})
Molecule_centre_of_mass ../lib/silico_geom.pm
----------------------------------------------------
Calculate the centre of mass of a molecule or atom subset
Requires: Molecule, (optional) atom list
Returns: Centre of mass as an array ({x, y, z})
Molecule_check_and_fix_connectivity ../lib/silico_molecules.pm
--------------------------------------------------------------
Check that a molecule has bonds and that correct bond orders. Generate them if
they are missing
A reasonable number of bonds is deemed to be (numatoms-1)/2;
Valid options BOND, NOBOND
Requires: molecule, $options (optional)
Returns: 1 or undef on error
Molecule_check_cell ../lib/silico_geom.pm
----------------------------------------------------
Check that mol->CELL is set. If not, set it.
Requires: molecule
Returns: $cell
Molecule_check_join_points ../bin/starmaker
-----------------------------------------------
Check a dendrimer monomer for exactly one join point to a putative ancestor.
Requires: Molecule
Returns: Nothing
Molecule_connect_pdb_atoms_by_name ../lib/silico_pdb.pm
-------------------------------------------------------
Bond atoms together using a pdb lookup table
This routine bonds together atoms proteins using a lookup table
This routine depends on the atom names being correct (See also
molecule_pdb_rename_h). Terminal residues etc are not present in
amino_acid.dat file
Requires: molecule
Returns: nothing
Molecule_copy_coordinates ../lib/silico_molecules.pm
---------------------------------------------------------
Copy coordinates from one molecule to another (similar) molecule
Requires: two molecules
Returns: nothing
Molecule_copy_header ../lib/silico_molecules.pm
---------------------------------------------------------
Copy a molecule's header data to another molecule.
Requires: two molecules
Returns: nothing
Molecule_copy_noatoms ../lib/silico_molecules.pm
---------------------------------------------------------
Create a copy of a molecule, but without any atoms
Note: this routine fails for cyclic references. These could be implemented by
keeping a list of references in a hash.
Requires: Molecule
Returns: The same molecule, but containing no $mol->{ATOMS} records or
anything in $mol->{NUMATOMS}
Molecule_count_numbonds ../lib/silico_molecules.pm
---------------------------------------------------------
Return the number of bonds.
Note: Each bond is specified twice in CONNECT records, once for each of the
two atoms in the bond. So the total number of CONNECT records is divided by
two, giving the number of bonds.
Requires: Molecule
Returns: Number of bonds
Molecule_delete_alternate_atoms ../lib/silico_pdb.pm
----------------------------------------------------
Remove alternate atoms from a pdb file
Requires: Molecule, aternate atom to RETAIN (taken from get flag or
default value A)
Returns: Molecule, modified and renumbered
Molecule_delete_atom ../lib/silico_molecules.pm
---------------------------------------------------------
Deletes a single atom by offset.
Warning: You will need to run 'molecule_pack' after deleting a set of atoms or
all hell will break loose.
Requires: molecule, number of atom to be deleted.
Returns: 1
Molecule_delete_atoms ../lib/silico_molecules.pm
---------------------------------------------------------
Delete a list of atoms, identified via atom offsets.
Requires: molecule, list
Returns: nothing
Molecule_delete_dummy ../lib/silico_molecules.pm
---------------------------------------------------------
Delete all dummy atoms (eg lone pairs) from a molecule
Requires: Molecule, optional list identifying a subset
Returns: number of deleted atoms
Molecule_delete_h ../lib/silico_hydrogens.pm
---------------------------------------------------------
Delete all hydrogens from a molecule
Requires: Molecule
Returns: number of deleted hydrogens
Molecule_delete_h_resname ../bin/mol_del_h
-----------------------------------------------
Delete all hydrogens from a particular residue type within a molecule
Requires: Molecule
Returns: number of deleted hydrogens
Molecule_delete_nonpolar_h ../lib/silico_hydrogens.pm
---------------------------------------------------------
Delete nonpolar hydrogens from a molecule
Flag will to retain hydrogens bonded to SP2 carbons (aldehydes, aromatic
rings, double bonds, etc)
Charges on the hydrogens being deleted are transferred on to the parent atom.
Requires: molecule, flag
Returns: number of deleted hydrogens
Molecule_delete_polar_h ../lib/silico_hydrogens.pm
---------------------------------------------------------
Delete polar hydrogens (ie those not attached to carbon) from a molecule
Requires: molecule
Returns: number of deleted hydrogens
Molecule_dimensions ../lib/silico_geom.pm
----------------------------------------------------
Calculate the x, y, z dimensions of a molecule
Requires: Molecule, margin to add (optional)
Returns: Dimensions
Molecule_find_planar_atoms ../lib/silico_rings.pm
-----------------------------------------------------
Call geometry or bondorder based routines to find planar atoms
Uses geometry routine by default
Note that the geometry and bondorder routines do not return the same sets of
atoms. Also the results will vary if hydrogens are missing
Requires: molecule
Returns: nothing
Molecule_find_planar_atoms_bondorders ../lib/silico_rings.pm
------------------------------------------------------------
Find planar atoms using bondorders only
All atoms which have double bonds are planar. This includes S=O and P=O which
may cause some problems
Returns: an array of planar atoms and sets $mol->{PLANAR_ATOMS}
Molecule_find_planar_atoms_geom ../lib/silico_rings.pm
------------------------------------------------------
Find planar atoms using molecule geometry or bondorder
A planar atom is defined as one with having a double bond, aromatic bond or
three substituents and an improper dihedral less than 15 degrees from planar.
Does not find planar tetracoordinate atoms.
Returns: an array of planar atoms and sets $mol->{PLANAR_ATOMS}
Molecule_find_rings ../lib/silico_rings.pm
-----------------------------------------------------
Find rings and planar rings in a molecule.
Rings are arrays of atom numbers. This routine returns all rings found up to
max_ring_size. It does not find the minimum set of smallest rings. So
naphthalene will return three rings, two of size six and one of size 10.
Sets the following arrays for each molecule:
@{$molecule->{RINGS}} All rings in the molecule
@{$molecule->{PRINGS}} All planar rings
@{$molecule->{ARINGS}} All aromatic rings (where a planar ring is not
aromatic)
The maximum ring size is stored in $mol->{RINGSIZE_MAX}.
The following arrays are set for each atom. Where the atom is not a member of
any ring, the array is empty.
@{$atom->{RINGS}} All rings that that atom belongs to
@{$atom->{PRINGS}} All planar rings that that atom belongs to
In addition, the following flags are set
$atom->{AROMATIC RING} flag for all 5 and 6 membered aromatic rings.
$atom->{NOTRING} flag for all non-ring atoms
Requires: ensemble, maximum ring size (optional, default 8), use
non-recursive subroutine to find rings (optional), force
(optional)
Returns: rings, planar rings, aromatic rings
Molecule_fix_and_get_residues ../lib/silico_residue.pm
-------------------------------------------------------
Return an array of residues. Existing residues are returned if they exist and
seem sane otherwise new residues are generated
Calls either 'molecule_get_residues' or 'molecule_make_residues'
Sets $atom->{SUBCOUNT} (numbered from 1)
Requires: molecule
Returns: array of residues. Each residue is an array of atoms belonging
to that residue
Molecule_fix_sybyl_substructures ../lib/silico_mol2.pm
------------------------------------------------------
Creates records for sybyl substructures. Also generates BACKBONE status flags
if amino acids are identified.
Requires: molecule.
Returns: nothing.
Molecule_formal_charge ../lib/silico_prop.pm
----------------------------------------------------
Calculate the formal charge on a molecule. Note. Formal charges are
recalcuated for each atom which may REMOVE formal charges that are already
present. This happens particularly if no hydrogens are present in the molecule
Calls atom_formal_charge
Requires: molecule
Optional: atom_list, optional flag to denote missing hydrogens
Returns: total formal charge
Sets: $mol->{FORMAL_CHARGE}, $mol->{CHARGED_ATOMS};
Molecule_formula ../lib/silico_prop.pm
----------------------------------------------------
Calculate the molecular formula of a molecule
Missing hydrogens are calculated and they are added to the formula as 'H*'
Sets $mol->{FORMULA};
Requires: Molecule, flag to suppress no-hydrogens warning (optional),
atomlist (optional)
Returns: Molecular formula as a hash
Molecule_generate_bondorders ../lib/silico_molecules.pm
---------------------------------------------------------
Calculate bondorders for bonds
Requires: molecule, flag to reset all bondorders to single
Returns: nothing
Molecule_generate_bonds ../lib/silico_molecules.pm
---------------------------------------------------------
Create new bonds for structure with no connection table for example a pdb file
Uses a fast residue-based approach to generate bonds in waters if the molecule
contains more than 500 atoms
Requires: molecule
Returns: bondcount
Molecule_get_chains ../lib/silico_molecules.pm
---------------------------------------------------------
Return an array of chains
Requires: molecule
Returns: array of atom lists
Molecule_get_residues ../lib/silico_residue.pm
-------------------------------------------------------
Return an array of amino acid residues that already exist within a file. Each
residue is a simple array of atoms
Sets $atom->{SUBCOUNT} (numbered from 1)
Setting the gap flag will add empty residues for any gaps in the AA sequence.
The mark_first_residue flag will mark the first atom of each residue with a
'STARTRES' flag.
Requires: molecule, optional atom list containing a subset of atoms, gap
flag, flag to mark the first atom of each residue
Returns: array of arrays of pointers to all atoms in each residue
Molecule_get_residues_hash ../lib/silico_residue.pm
-------------------------------------------------------
Return an array of residues. Each residue is a hash. Residue atoms are in
$res->{ATOMS};
Requires: molecule, optional atom list containing a subset of atoms, gap
flag
Returns: array of hashes
Molecule_label_submols ../lib/silico_split.pm
-----------------------------------------------------
A non-recursive subroutine to label submolecules based on connectivity
Sets $atom->{SUBMOL}. Creates arrays of atoms in $mol->{SUBMOLS}[submol#]
Requires: Molecule, flag to also set CHAIN
Returns: $mol->{SUBMOLS}
Molecule_make_residues ../lib/silico_residue.pm
-------------------------------------------------------
Divide a molecule into a NEW set residues in a molecule based on connectivity
and amino acids. Old residues are overwritten.
Sets $atom->{SUBCOUNT} (numbered from 1)
Splits residues based on:
Amide bonds
Disulfides
Ethers
Esters
Triazoles resulting from click reactions according to the atoms from the
original azide and alkyne
Requires: molecule
Returns: List of residues ordered N->C as an array of arrays of
pointers to all atoms in each residue or undef if there is a
problem. Also sets $mol->{RESIDUES}
Molecule_mw ../lib/silico_prop.pm
----------------------------------------------------
Calculate molecule molecular weight
Requires: Molecule, optional list of atoms, flag to suppress check for
united atoms (not implemented) flag to supress 'no hydrogens'
warning message
Returns: Molecular weight as a scalar
Calcluates where hydrogens are missing (for united atom forcefields).
Molecule_pack ../lib/silico_molecules.pm
---------------------------------------------------------
Remove any undefined atoms from a molecule.
Bonds are updated. Atom->{NUM} is renumbered
Requires: molecule, nowarnings flag.
Returns: packed molecule
Molecule_path ../lib/silico_fp.pm
--------------------------------------------------
Call recursive routine to find all paths in a molecule
Requires: molecule, optional pointer to array of atom numbers Max
fragment size, min fragment size hydrogen treatment are
optionally set using globals $Silico::fp_max, $Silico::fp_min
Note will return a previously calculated, cached path unless the 'force' flag
is set
Returns: pointer to array of atom number arrays (paths)
Molecule_pdb_rename_backbone ../lib/silico_pdb.pm
---------------------------------------------------
Rename pdb backbone atoms
Requires: molecule
Molecule_pdb_rename_h ../lib/silico_pdb.pm
---------------------------------------------------
Rename protein hydrogens to conform to pdb nomenclature. Molecule is sorted if
hydrogens are out of order in file
Requires: molecule, aminoacid datafile (default amino_acid_atoms.dat),
flag to delete unnamed hydrogens
Returns: number of unassigned hydrogens
Molecule_pdb_rename_h_dataread ../lib/silico_pdb.pm
---------------------------------------------------
Read in data for molecule_pdb_rename_h
Requires: datafile
Returns: array, array, hash of residues
Molecule_printout ../lib/silico_debug.pm
-----------------------------------------------------
Print out several atoms from a molecule record.
Prints out all molecule records and those for the first 5 (MacOS) or 10 atoms.
Takes optional second argument 'last' prints last 10 atoms. 'all' prints all
atoms.
Requires: molecule, 'all' (optional), filehandle (optional).
Molecule_random_move_cartesian ../lib/silico_geom.pm
----------------------------------------------------
Move and rotate a molecule (around a random axis) by a random amount
Will use a periodic cell if supplied
Require: molecule, translation vector (default cell size, or 10, 10,
10), rotation vector (default random vector with up to 360 deg
rotation), cell (optional)
Molecule_renumber ../lib/silico_molecules.pm
---------------------------------------------------------
Renumber atoms in a molecule (only renumbers $atom->{NUM})
Renumbers from 1 or from an optional second argument.
Requires: molecule, (optional starting number).
Returns: nothing
Molecule_renumber2 ../lib/silico_molecules.pm
---------------------------------------------------------
Renumber atoms in a molecule using an offset.
Useful to renumber one molecule before combining with another
Renumbers $atom->NUM, CONNECT, GMX_BONDS, GMX_ANGLES, GMX_DIHEDRALS,
GMX_PAIRS, and GMX_EXCLUSIONS
Requires: molecule, Initial value for atom->{NUM} (default 1).
Returns: nothing
Molecule_reorder ../lib/silico_molecules.pm
---------------------------------------------------------
Sort atom order within a molecule using a specified order
Sort molecules according to specified field or $atom->{NEW_NUM} by default;
Requires: molecule.
Molecule_rot_angle_x ../lib/silico_geom.pm
----------------------------------------------------
Rotate a molecule around X axis by angle (degrees).
Requires: molecule, angle (deg);
Molecule_rot_angle_y ../lib/silico_geom.pm
----------------------------------------------------
Rotate a molecule around Y axis by angle (degrees).
Requires: molecule, angle (deg);
Molecule_rot_angle_z ../lib/silico_geom.pm
----------------------------------------------------
Rotate a molecule around Z axis by angle (degrees).
Requires: molecule, angle (deg);
Molecule_rotate ../lib/silico_geom.pm
----------------------------------------------------
Rotate a molecule using a 3x3 matrix .
Requires: molecule, m1..m9.
Molecule_rotate_axis ../lib/silico_geom.pm
----------------------------------------------------
Rotate atoms about an arbitrary axis using quaternions
Require: molecule, angle (in radians), axis (x1, y1, z1), origin (x2,
y2, z2) default 0,0,0
Molecule_solvate ../lib/silico_solvate.pm
-------------------------------------------------------
Solvate a molecule
Requires: molecule, solvent molecule, cell, number of molecules, bilayer flag,
output format (pdb etc)
Returns: molecule
Molecule_split ../lib/silico_split.pm
-----------------------------------------------------
A non-recursive subroutine to split a 'molecule' into a series of actual
molecules 21 October 2004: Improved to reduce memory use and produce atoms
sorted in the order in which they were present in the original molecule file.
Requires: Molecule, minimum molecule size to keep (default 1)
Returns: Ensemble
Molecule_split_keeping_largest_mol ../lib/silico_split.pm
---------------------------------------------------------
Split a Silico molecule up on the basis of connectivity and return the largest
of its component molecules
Requires: molecule
Returns: molecule
Molecule_trans_to_centre ../lib/silico_geom.pm
----------------------------------------------------
Translate the centre of a molecule to 0,0,0 or to centre of cell
Requires: molecule, specifier for origin or centre of cell ('cell' or
'origin'), specifier for whole molecule, largest substructure
or hydrophobic centre ('all', 'largest' or 'hydrophobic')
Returns: vector of translation
Molecule_translate ../lib/silico_geom.pm
----------------------------------------------------
Translate a molecule by a vector (x,y,z).
Requires: molecule, x, y, z.
Mols ../lib/silico_molecules.pm
---------------------------------------------------------
Return a list of molecules from a set of molecules or ensembles
Requires: molecule or ensemble
Returns: array of molecules
Name_pdb_molecule ../lib/silico_pdb.pm
---------------------------------------------------
Generate molecule name for pdb molecule
1. HEADER 2. COMPND or 3. filename
New_h ../lib/silico_hydrogens.pm
---------------------------------------------------------
Add a new hydrogens
Note: The global Silco::add_h_element can be used to change the element being
added
Note: The global Silco::add_h_bo can be used to change the order of the new
bond
Requires: atom, molecule, offsetX, offsetY, offsetZ
Returns: new atom
New_table_delimited ../lib/silico_tabledata.pm
---------------------------------------------------------
Create a new empty delimited table
Requires: nothing
Returns: table
Number_range ../lib/silico_data.pm
----------------------------------------------------
Turn a range of numbers (indicated by X-Y, where X and Y are integers) into a
list of those numbers spanned by the range.
Requires: integer range as text string
Returns: List of integers
Open_file ../lib/silico_io.pm
--------------------------------------------------
General subroutine to open molecule files for reading.
Note open_file and close_file are not designed to handle concurrently open
files
Example:
if (!open_file(*INFILE, $infile)) {
print "Error (read_mol2): Can not open file $infile for reading!\n";
return undef;
}
Can handle compressed files on UNIX systems.
Requires: filehandle, filename, 'single' flag to prevent opening files
that are already open
Returns: true if file opened ok or if the file was already open and the
'single' flag was set
Open_molfile ../lib/silico_io.pm
--------------------------------------------------
Open molecule file for reading one molecule at a time
Uses the extension to determine file type.
Requires: file record, file name, mode (read(default), write, append),
format, option string
Returns: file record or undef if open failed.
Options: GZ - gzip compression, BZ2 - bzip2 compression, QUIET - less
output
Optimise_geometry ../bin/starmaker
-----------------------------------------------
Attempts to find the most splayed geometry. In particular checks for overlap.
Requires: Molecule, two lists of atoms
Returns: Best (lowest) distance function value, and the lowest number
of overlaps
Origins ../lib/silico_rbox.pm
----------------------------------------------------
Origin points for holes o Single point at 0, 0, 0 a Single point in centre of
cell b Single point in centre of cell (X, Y) and 0 in Z c 4 hexagonally
arranged holes in xy plane
Orthogonal_least_squares_plane_atoms ../lib/silico_geom.pm
----------------------------------------------------------
Fits a plane to a set of atoms, using the orthogonal least squares method.
Requires: molecule, set of atoms
Returns: One point in the plane, normal vector to the plane
Overwrite_check ../lib/silico_io.pm
--------------------------------------------------
Check to see if an output file exists and prompt for response if it does
Check is overridden by -force flag
Requires: filename, flag to disallow option of changing filename
Returns: new filename (if changed) or original filename. The '-force'
flag is set if 'Yes to all' is selected.
Pack_gromacs_angles ../lib/silico_gromacs.pm
-------------------------------------------------------
Pack new format gromacs bonds and angles, etc.
Atoms are renumbered
Any bond or angle with undefined values is deleted.
Requires: Molecule, ctable (array of old and new atom numbers);
Pack_molecules ../lib/silico_rbox.pm
----------------------------------------------------
Pack molecules in a random or semirandom (e.g. bilayer) way
Requires: array of molecules to pack, molecule to embed, molecule cell
Also requires subroutine 'randomise_and_test_molecule_position'
Parse_amino_acids_smiles ../lib/silico_residue.pm
-------------------------------------------------------
Parse a file containing SMILES strings of amino acids, putting the entries
into a hash.
Requires: nothing, but takes an alternative file as an optional argument
Returns: hash
Parse_atom_specifier ../lib/silico_molecules.pm
---------------------------------------------------------
Parse an atom specifier string and return an array of hashes containing
specifier keys and key values
Allowed specifier keys: ANUM: ANAME: CHARGE: ELEMENT: NAME: RESNAME: SEGID:
SUBID: TYPE: X: Y: Z:
Requires: string
Returns: array of hashes
Parse_comma_separated_numbers ../lib/silico_data.pm
----------------------------------------------------
Take a list of comma-separated numbers, which may include number ranges, and
turn it into a list of individual numbers in array format.
Requires: string
Returns: array
Parse_pdb_space_group ../lib/silico_pdb.pm
---------------------------------------------------
Parse the file pdb_space_group.dat
Requires: File
Returns: hash
Parse_residue_dictionary ../lib/silico_residue.pm
-------------------------------------------------------
Parse a mol2 file containing residue definitions
Revised version that uses a simpler residue database and generate common
protonation states N and C termini etc.
Requires: Nothing
Returns: Hash of molecules - key is SMILES string
Parse_smiles ../lib/silico_smiles.pm
------------------------------------------------------
Parse a smiles string and return a molecule
Note. Can not handle chirality.
Requires: string
Returns: molecule
Pdb_fastsplit ../lib/silico_split.pm
-----------------------------------------------------
Quickly split a pdb file into component molecules/chains
Only ATOM, HETATM and CRYST lines are printed. Files are written directly to
disk named <filebase>_00001 etc, or by chain name if requested.
Requires: infile, output directory ('.' by default), output style (see
subroutine format_oname), flags to split on chain, END, ENDMDL
and TER records, flag to name output files by chain
Returns: list of files created
Pdb_format_atom_name ../lib/silico_pdb.pm
---------------------------------------------------
Format atom name for pdb file
Pads atom names with single character element names with a space (Insight
sometimes doesn't work otherwise)
Requires: atom, $mol->{WARN}{FIELD_TRUNCATION} as a local variable
Returns; string
Pdb_format_subname ../lib/silico_pdb.pm
---------------------------------------------------
Format substructure name to a length of four characters.
Length can be set to 3 or 4 characters Substructure name is truncated if it is
too long
Requires: atom, molecule, maxumum substructure name length,
$mol->{WARN}{FIELD_TRUNCATION} is also set
Returns; string
Pdb_get_ligands ../lib/silico_pdb.pm
---------------------------------------------------
Extract ligands from pdb file
Only the first example of each ligand residue type is extracted
Requires: molecule, min heavy atoms, max heavy atoms, min carbon atoms
Pdb_get_prot ../lib/silico_pdb.pm
---------------------------------------------------
Simple routine to extract pdb protein atoms
Requires: molecule
Pdb_molecule_sort_atoms ../lib/silico_pdb.pm
---------------------------------------------------
Routine to sort atoms in to a standard order Sorts by SEGID, CHAIN, residue
number then by atom number. HETATMS are sorted to the end of the file Atoms
with a ' ' chain specifier are sorted to the end of the file.
Atoms are then renumbered.
Requires: molecule. (optional, flags to ignore chain and segid when
sorting).
Pdb_read_errors ../lib/silico_pdb.pm
---------------------------------------------------
Report read errors for pdb files
Requires: molecules, options, filename
Pdb_rewind ../lib/silico_pdb.pm
---------------------------------------------------
Rewind a pdb file to the start
Requires: file record
Requires: nothing
Plot_amides ../bin/mol_amides
------------------------------------------------
Writes a grace parameter file for the amides plot, and calls grace
Requires: Amide data file (.adf)
Returns: Nothing
Pmmod ../lib/silico_mmod.pm
----------------------------------------------------
Write a formatted line of a macromodel com file
Requires: arguments as an array
Primes ../lib/silico_definitions.pm
-----------------------------------------------------------
Create an array of the first thousand prime numbers: @$Silico::primes
Requires: nothing
Returns: nothing (creation of package global array)
Print_finished_message ../lib/silico_control.pm
-------------------------------------------------------
Prints out a message to indicate a script is finished
Requires: Optional message to print (default finished)
optional character to surround it with (default *), filehandle
(optional)
Returns: Nothing
Print_flags ../lib/silico_io.pm
--------------------------------------------------
Print out valuues of all flags
Requires: optional filehadle (default STDOUT)
Print_timing_message ../lib/silico_control.pm
-------------------------------------------------------
Prints out a message containing the total user time and total wall time used
by the program
Requires: Starting user time, filehandle (optional)
Returns: Nothing
Print_title ../lib/silico_control.pm
-------------------------------------------------------
Print a program title banner.
Requires: program name, version (optional), filehandle (optional)
Printbox ../lib/silico_pdb.pm
---------------------------------------------------
Write out a pdb format box
Writes eight atoms. One at each cornder of the box. Compatible with the box
produced by DOCK
Requires: maxx, maxy, maxz, minz, miny, minz, (optional) filename
default 'box.pdb'
Returns: undef if file open failed
Printdoc ../lib/silico_doc.pm
---------------------------------------------------
Print marked up documentation for a file or the executing program and exit
Requires: filename, optional flag to continue without exiting
Printgroup ../lib/silico_gromacs.pm
-------------------------------------------------------
Debugging routine to print out atoms in charge group
Requires: group, label string
Printit ../lib/silico_rbox.pm
----------------------------------------------------
Print routine for pack_molecules
Prompt ../lib/silico_control.pm
-------------------------------------------------------
Print a prompting message and read a reply from standard input.
Requires: Text to prompt with
Returns: Chomped reply from standard input
Prune_family_tree ../lib/silico_prop.pm
----------------------------------------------------
Taking a list of branches in a family tree, throw away all those which are
incomplete.
Requires: list of branches
Returns: list of branches
Quaternion ../lib/silico_geom.pm
----------------------------------------------------
Calculates a quaternion - a 'rotation matrix' when you want to rotate a point
around a vector.
Requires: Angle, rotation vector
Returns: Rotation matrix as a 9-long (3x3) array
Quiet ../lib/silico_io.pm
--------------------------------------------------
Check if we are being quiet (i.e., the --quiet option is used).
Requires: nothing
Returns: 1 (quiet), 0 (not quiet)
Rad_to_deg ../lib/silico_geom.pm
----------------------------------------------------
Convert radians to degrees
Requires: scalar
Returns: scalar
Ramaplot ../lib/silico_rama.pm
----------------------------------------------------
Writes a grace parameter file for the Ramachandran plot, and calls grace
Requires: Ramachandran data file, format, hardcopy flag, residue label
flag
Returns: Nothing
Ramaplot_by_mol_open ../lib/silico_rama.pm
----------------------------------------------------
Open .ramol files and write headers
Requires: molecule, output filename base, options
Returns: file record
Options: 'CART' will output sin(phi), cos(phi), sin(psi), cos(psi)
instead of phi, phsi. NOHEADER - don't write comment at top of
file - required for R
Ramaplot_open ../lib/silico_rama.pm
----------------------------------------------------
Open .rama files and write headers
Requires:output filename
Returns: file record
Randomchar ../bin/mol_characterise
------------------------------------------------------
Generate a random two-letter string.
Requires: nothing
Returns: string
Randomise_and_test_molecule_position ../bin/bilayer_builder
-----------------------------------------------------------
Perform random translation and rotation in the bilayer plane and small
movements perpendicular to bilayer
Requires: molecule, cell
Returns: nothing
Range ../lib/silico_statistics.pm
----------------------------------------------------------
Determines the range of a set of data.
Requires: Array
Returns: scalar
Rank_by_neighbouring_primes ../lib/silico_smiles.pm
------------------------------------------------------
Attempt to resolve ties in SMILES ranks using the product of the prime numbers
corresponding to the ranks of the several neighbours of each of the atoms in
question.
Only atoms which have otherwise equivalent ranks will have their relative
ranks altered by this procedure (though the absolute rank of any given atom
may change as new ranks are created).
Requires: list of atoms, molecule
Returns: list of ranks
Rank_molecules ../bin/dock_sort
-----------------------------------------------
Create ranks for a data key. Correctly deals with tied ranks
Ranks start from 0.
Requires: molecules, SDF_DATA key for ranking
Rank_smiles_set ../lib/silico_smiles.pm
------------------------------------------------------
Rank a set of atoms on the basis of their SMILES invariants.
This is based on the CANGEN algorithm described in Weininger, Weininger and
Weininger, J. Chem. Inf. Comput. Sci. 1989, 29, (2), 97-101.
Requires: molecule, list of atoms that together form SMILES set
Returns: nothing; atoms are marked in $atom->{SMILES_RANK}
Read_atom_specifier_file ../lib/silico_molecules.pm
---------------------------------------------------------
Read an atom specifier file
Requires: filename
Returns: array of atom specifiers
Simple atom specifier examples:
-------------------------------
ANAME:CA Returns all atoms called 'CA'.
ANAME:CA,CB,CG Returns all atoms called 'CA' or 'CB' or 'CD'.
ANAME:CA,RESNAME:TRP Returns all atoms called 'CA' in all residues called TRP
ANAME:CA,SUBID:4 All atoms called 'CA' in residue number 4
In the examples above, atoms are returned in the order found in the file. Atom
specifiers are case sensitive.
Ordered atom specifier examples:
--------------------------------
Successive atom specifications can be made. Each is separated by a '|'
ANAME:CB|ANAME:CA|ANAME:CD Returns all atoms called 'CB', 'CA', 'CD' in that
order.
ANAME:CA,RESID:1|ANAME:CA,RESID:4 Returns 'CA' atoms from residue 1 and 4 in
that order.
Specifier file:
---------------
Contains two sets of atom specifiers. Each set starts with a 'Molecule' line
eg:
Molecule
ANAME:CA
ANAME:CB
ANAME:CD
Molecule
ANAME:CA
ANAME:CG
ANAME:CE
Read_clustal ../lib/silico_sequence.pm
--------------------------------------------------------
Read in Clustal format NA or Protein sequence files
Requires: Filename
Returns: Sequences record
Read_divcon_cart ../lib/silico_mopac.pm
-----------------------------------------------------
Read a DivCon Cartesian format file
Reads only a single structure
Requires: infile, undef, undef, options (optional)
Returns: ensemble or undef on read error
Read_doc ../lib/silico_doc.pm
---------------------------------------------------
Read marked up documentation from a silico file
Requires: Text file marked up using silico convention, flag to exit
after encountering first end markup marker ('#>')
Returns: Tagged silico text
Marked up text is also added to a global hash %$FILEHASH
Read_doc_subroutine ../lib/silico_doc.pm
---------------------------------------------------
Read marked up documentation from silico subroutines
Marked up text is returned in a global hash %$SUBHASH
Requires: Text file marked up using silico convention
Returns: All lines read
Read_fasta ../lib/silico_sequence.pm
--------------------------------------------------------
Read in fasta sequence format
INCOMPLETE
Requires: Filename, $options
Returns: Sequences record
Read_function_line ../bin/rdf
-----------------------------------------
A subroutine to process a single function line from an RDF input file in
preparation for adding to the FUNCLISTS element of the $input hash
Passed variables: @_
External variables: input hashref ($input)
Returns: A single list of functions, with parameters, or -1 if an error
occurred
Read_gamess_cart ../lib/silico_gamess.pm
------------------------------------------------------
Simplistic routine to extract Cartesian coordinates from a Gamess output file
Note all structures are read by default. To read only the final structure, use
the --last-structure flag
Requires: filename.
Returns: ensemble or zero if read failed.
Read_gaussian_cart ../lib/silico_gaussian.pm
--------------------------------------------------------
Simplistic routine to extract Cartesian coordinates from a Gaussian (98)
output file using the standard orientation
Note all structures are read by default. To read only the final structure, use
the --last-structure flag
Requires: filename.
Returns: ensemble or zero if read failed.
Read_gromacs_gro ../lib/silico_gromacs.pm
-------------------------------------------------------
Read a gromacs .gro coordinate file
Currently only reads the first structure in the file
Requires: filename, undef, options
Returns: ensemble or undef if failed
Read_gromacs_gro_single ../lib/silico_gromacs.pm
-------------------------------------------------------
Read in a single molecule record from a gromacs gro file.
Requires: file record, options
See read_pdb for general description
Requires; file_record, options
Returns: molecule or undef
Read_gromacs_indexfile ../lib/silico_gromacs.pm
-------------------------------------------------------
Read a gromacs indexfile
Requires: filename
Returns: Molecule index
Read_gromacs_itp ../lib/silico_gromacs.pm
-------------------------------------------------------
Reaad a grompacs .itp topology file Note: Blocks [ position_restraints ], [
molecules ] and [ system ] are ignored
Requires: inputfile, options
Returns: molecule
Read_gromacs_trr ../lib/silico_gromacs.pm
-------------------------------------------------------
Read a gromacs .trr file using a wrapper script with trjconv
Requires: filename(trr), filename(pdb,gro,etc), undef, options
Returns: ensemble or undef if failed
Read_maestro ../lib/silico_mmod.pm
----------------------------------------------------
Schroedinger maestro read routine.
Requires: filename, start molecule (currently ignored), max molecules,
option string
Returns: ensemble or undef if failed
Options: Returns an empty array when there are no more structures.
Will respond to a -me (maximum energy) and max molecule (-ms) flags
Read_maestro_single ../lib/silico_mmod.pm
----------------------------------------------------
Schroedinger maestro read routine.
Requires: filehandle, options
Returns: molecule
Options:
Read_merck ../lib/silico_merck.pm
-----------------------------------------------------
Read in Merck format file
Requires: filename, unused, unused, , options string;
Returns: ensemble
Read_mmod ../lib/silico_mmod.pm
----------------------------------------------------
Macromodel read routine.
Can read Macromodel 'short' text format.
Requires: filename, start molecule (currently ignored), max molecules,
option string
Returns: ensemble or undef if failed
Read_mmod_mmo ../lib/silico_mmod.pm
----------------------------------------------------
Read Macromodel .mmo energy file
Requires: filename,
Returns: ensemble or undef if failed
Read_mol2 ../lib/silico_mol2.pm
----------------------------------------------------
Read in a mol2 file and return as an ensemble
Reads multiple structures from a single file. Information is currently read
from the MOLECULE, ATOM, BOND, SUBSTRUCTURE and SET records. Only static atom
sets are supported. Comment lines preceeding the molecule data are preserved.
Other records are ignored.
DOCK binding energies are extracted from the Comment lines and stored as
$mol->{DOCK_ENERGY}
Requires: Filename, (optional), start record, maximum number of records,
options string .
Returns: ensemble or undef if no molecule is read.
Options:
Will respond to a -me (maximum energy) flag
QUIET - do not print 'Reading' line
NOSORT - do not sort atoms
Read_mol2_single ../lib/silico_mol2.pm
----------------------------------------------------
Read in a single record from a mol2 file.
See read_mol2 for general description
Requires: file record, options
Returns: molecule or undef
Read_mol_any ../lib/silico_io.pm
--------------------------------------------------
Read in any supported molecule file type.
Uses the extension to determine file type.
Reads following extensions:
.arc (Mopac archive)
.gro (Gromacs)
.dat/.out (will determine the difference between Macromdel, Gaussian
and Mopac files)
.mae,.maegz Schroedinger maestro formats
.mol2 (Sybyl)
.mrk (Merck format used with MMFF forcefield in CHARMm)
.rtf (CHARMm topology definition format)
.sdf .mol .rdf (MDL format)
.pdb .ent .coor (text format from NAMD)
.psf (CHARMm connectivity file) format
.xyz (tinker)
Will aslo handle gzipped (.gz), bzip2'd (.bz2) and compressed (.Z) versions of
these files
Requires: file name. Optionally can pass start structure, max molecules,
and option string to read routines although not all routines
support 'start structure' and 'max molecules'
Returns: undef if file open failed.
Read_mol_single ../lib/silico_io.pm
--------------------------------------------------
Read a single molecule
Uses the extension to determine file type.
Requires: file record, filename (optional), options, start structure
(optional), max molecules (optional)
Returns: molecule or undef
Read_mopac_cart ../lib/silico_mopac.pm
-----------------------------------------------------
Read in a Cartesian mopac .dat or .arc file
Requires: filename, (optional) unused, unused, options string
Returns: ensemble or zero if read failed.
Read_packings ../bin/micelle
---------------------------------------------
Read_pdb ../lib/silico_pdb.pm
---------------------------------------------------
Read in a pdb file.
Reads pdb files containing multiple MODEL records. Each is read into a
separate molecule file
Similarly, reads pdb files with multiple molecules separated by END records
(as produced by VMD)
Reads Autodock output files (this is now old and has not been checked
recently)
The $mol->{HAS_BAD_BONDORDERS} is set
Saves some information from the PDB header records. This is these are:
HEADER
COMPND
HETNAM
USER (Autodock energies)
REMARK (PDB_VERSION, PDB_RESOLUTION, PDB_EXPT_TYPE)
JRNL (PDB_JRNL_AUTH, PDB_JRNL_TITL, PDB_JRNL_REF)
Reads CRYST records and saves in Silico format
Assumes that atom names starting with Q are pseudo atoms. These atoms are set
to dummy (Du) type.
The PDB file is read in two passes. First to get all non atom information
(header info and CONECT records) then to read atoms. Header and CONECT record
information is read until an END record is encountered. It is then copied into
all subsequent molecules. This lets files containing MODELS be read.
Requires: Filename, start structure (numbered from 0), max_molecules,
option string
Options:
QUIET - do not print 'Reading' line or warnings
DELALT - delete alternate atoms
Returns: Ensemble containing molecule or undef if file open fails
Read_pdb_atom ../lib/silico_pdb.pm
---------------------------------------------------
Read in an ATOM line from a pdb file.
Requires; line, molecule, quiet flag, residue length (default 3)
Returns; new atom
Read_pdb_atom_fast ../lib/silico_pdb.pm
---------------------------------------------------
Read in an ATOM line from a pdb file, getting only some fields.
Requires: line, molecule
Returns: An atom
Read_pdb_compnd ../lib/silico_pdb.pm
---------------------------------------------------
Read PDB compnd line
Requires; line, molecule
Read_pdb_conect ../lib/silico_pdb.pm
---------------------------------------------------
Read in a CONECT line from a pdb file and save it in mol->{PDB_CONECT}
Requires; line, molecule
Returns; mol->{PDB_CONECT}
Read_pdb_connected ../lib/silico_pdb.pm
---------------------------------------------------
Read in datafile of amino acid connected atoms
Requires; optional datafile (Default datafile is 'amino_acid_atoms.dat' which
is found in the SILICO_DATA directory)
Returns: nothing
Sets $Silico::pdb_connected and $Silico::pdb_bondorder
Read_pdb_cryst ../lib/silico_pdb.pm
---------------------------------------------------
Read PDB CRYST line
Requires; line, molecule
Read_pdb_expdta ../lib/silico_pdb.pm
---------------------------------------------------
Read PDB EXPDTA line
Requires; line, molecule
Read_pdb_fast ../lib/silico_pdb.pm
---------------------------------------------------
Read in a pdb file.
Is able to read files containing multiple MODEL records and Autodock output
files. Sets the $mol->{HAS_BAD_BONDORDERS} flag
Also saves some information from the PDB header records these are:
HEADER
COMPND
HETNAM
USER
Assumes that atom names starting with Q are pseudo atoms. These atoms are set
to dummy (Du) type.
Requires: Filename, unused, unused, option string
Returns: Ensemble containing molecule or undef if file open fails
Read_pdb_header_line ../lib/silico_pdb.pm
---------------------------------------------------
Read PDB HEADER line
Requires; line, molecule
Read_pdb_hetnam ../lib/silico_pdb.pm
---------------------------------------------------
Read PDB HETNAM line
Requires; line, molecule
Read_pdb_jrnl ../lib/silico_pdb.pm
---------------------------------------------------
Read PDB JRNL record
Requires; line, molecule
Read_pdb_molecule ../lib/silico_pdb.pm
---------------------------------------------------
Read a single PDB molecule up to and END or ENDMDL record
Requires: file record, options
Returns: molecule, undef if end of file
Read_pdb_remark ../lib/silico_pdb.pm
---------------------------------------------------
Read PDB REMARK record
Extracts: PDB file version, Resolution and experiment type
Requires; line, molecule
Read_pdb_single ../lib/silico_pdb.pm
---------------------------------------------------
Read in a single record from a pdb file.
Requires: file record, options
See read_pdb for general description
Options:
Returns: molecule or undef
Read_pdb_title ../lib/silico_pdb.pm
---------------------------------------------------
Read PDB TITLE record
Requires; line, molecule
Read_pdb_user ../lib/silico_pdb.pm
---------------------------------------------------
Read USER record from pdb file
Requires; line, molecule
Read_rdf ../lib/silico_sdf.pm
---------------------------------------------------
Read an RDF file.
Only reads structure at present (no data). Sets the 3D flag on all structures
Requires: Filename - optional: start structure number (counting from 1),
number of structures to read.
Returns: Undef if file open failed.
Read_rdf_input_file ../bin/rdf
-----------------------------------------
A subroutine to read the contents of an RDF input file, and put them into a
hash
Passed variables: A file name ($file)
Returns: An input hash ($input); nothing (undef) if an error occurred
Read_sdf ../lib/silico_sdf.pm
---------------------------------------------------
Read an SDF file.
SDF data fields are stored in mol->{SDF_DATA}{<propertyname>}
Requires: Filename - optional: start structure number (counting from 1),
number of structures to read, options string
Returns: Ensemble or undef if file open failed.
Options:
QUIET - do not print messages
NOPARSE - only read SDF data fields. Do not parse molecule (Faster if
we are only interested in the data fields)
Read_sdf_atoms_bonds ../lib/silico_sdf.pm
---------------------------------------------------
Read in atoms and bonds in MDL mol format.
Called from read_sdf and read_rdf. Sets flag $mol->{HAS_BAD_GEOM},
$mol->{GEOM_2D} to 1 if molecule is 2D
Requires: file record
Returns: Molecule, undef if end of file, -1 if record read error
Read_sdf_single ../lib/silico_sdf.pm
---------------------------------------------------
Read in a single record from an sdffile.
Requires: file record, options
See read_pdb for general description
Returns: molecule or undef
Read_seq_any ../lib/silico_io.pm
--------------------------------------------------
Read any sequence format
Requires: filename, options
Returns: sequences
Read_sleuth_abstract ../lib/silico_tinker.pm
------------------------------------------------------
Read a SLEUTH abstract file
Requires: input file
Returns: sequence record or undef if file open failed otherwise returns
1.
Read_smiles ../lib/silico_smiles.pm
------------------------------------------------------
Simple routine to read smiles strings (one per line) from file and return as
an ensemble
Reads multiple structures from a single file. Information
QUIET - do not print 'Reading' line
Read_smiles_single ../lib/silico_smiles.pm
------------------------------------------------------
Read in a single smiles record from file.
Requires: file record, options
See read_pdb for general description
Options:
Returns: molecule or undef
Read_table_delimited ../lib/silico_tabledata.pm
---------------------------------------------------------
Read a character delimited text file
Creates a data structure that looks like:
$data->{VALUES}[<linennum>][<columnnum>] Values in array
$data->{HEADERS}[<columnnum>] Array of all column headers
$data->{KEYHASH}{} Hash of all column headers to alow translation to column
numbers
$data->{NUMLINES} Total number of lines
$data->{NUMKEYS} Total number of columns
Requires: filename, delimiter (strings 'space', 'tab', or 'comma' with
the default 'tab'), options
Returns: data structure or undef if file open failed
Options:
QUIET do not print messages
HEADER first line is a header line
CONVERT EMPTY convert empty values to '' (not undef)
CASE INSENSITIVE convert all headers to upper case
Read_tcoffee_score ../lib/silico_sequence.pm
--------------------------------------------------------
Read in tcoffee score file
Requires: Filename
Returns: Sequences record
Read_tinker_xyz ../lib/silico_tinker.pm
------------------------------------------------------
Tinker read routine.
Requires: filename, (optional) unused, unused, options string.
Returns: ensemble or undef if failed
Record_best_coords ../lib/silico_geom.pm
----------------------------------------------------
Records the current coordinates of each atom as being the best ones.
Requires: Molecule
Returns: Nothing
Remove_aromatic_bondorders ../lib/silico_mol2.pm
----------------------------------------------------
Convert aromatic bondorders in carboxylate and guanidinium groups to single
and double bonds
Requires: molecule
Returns; 1 or undef on failure
Remove_duplicates ../lib/silico_data.pm
----------------------------------------------------
Remove duplicate entries in a list.
Requires: list
Returns: pruned list
Remove_option ../lib/silico_io.pm
--------------------------------------------------
Delete a text string from the list of command-line options
Requires: Option to remove (string), list of existing options (string)
Returns: Modifies string provided to function
Reos_filter ../lib/silico_prop.pm
----------------------------------------------------
Implements a simple filter for the Rapid Elimination of Swill
Requires: molecule
Returns: true or false
Rescue_unbonded_hydrogens ../lib/silico_molecules.pm
---------------------------------------------------------
Make bond to hydrogens that have long bonds
Requires: molecule
Returns: number of bonds created
Reset_all_groups ../lib/silico_gromacs.pm
-------------------------------------------------------
Reset all charge groups to an inital state of one atom per group
Requires: molecule
Residue_printout ../lib/silico_sequence.pm
--------------------------------------------------------
Print out all seq_residue information
Requires; residue
Residues ../lib/silico_sequence.pm
--------------------------------------------------------
Return array of residues from a sequence record
Requires: Silico sequence record
Returns: array of residues
Revert_to_best_coords ../lib/silico_geom.pm
----------------------------------------------------
Sets atoms back to its best known position.
Requires: Molecule, atom list (optional)
Returns: Nothing
Rms ../lib/silico_geom.pm
----------------------------------------------------
Find the rms distance between two molecules (heavy atoms by default).
Requires: Two molecules, flag to only calculate for heavy atoms
Returns: rms or -ve numbers if something is wrong.
Rms_atomlist ../lib/silico_geom.pm
----------------------------------------------------
Find the rms distance between atomlists.
Requires: Two atomlists, flag to return sum of squares rather than rms
Returns: rms or -ve numbers if something is wrong.
Rms_fp ../lib/silico_fp.pm
--------------------------------------------------
Calculate the fragment-based RMS for two molecules
Requires: molecule1, molecule2
Returns: best fragment rms or -1 if no fit is found
Sets: {SDF_DATA}{RMS_FP_AV} {SDF_DATA}{MATCH_NAME} ;
Rotate_torsion_angle ../lib/silico_geom.pm
----------------------------------------------------
Rotate a torsion angle
Will do nothing if bond is in a ring
The static atoms are overridden if an ANCHOR atom is set.
Requires: molecule, 2 atoms (first one static), angle, anchor
(optional), flag to rotate atoms already marked with PFLAG
Returns: nothing
Rotate_torsion_angle2 ../lib/silico_geom.pm
----------------------------------------------------
Rotate a torsion angle
Will do nothing if bond is in a ring
Requires: molecule, vector atom1, vector_atom2, list of atoms to be
rotated, angle in radians
Returns: nothing
Run_gnuplot ../bin/dock_sort
-----------------------------------------------
Plots multiple data columns on a single graph
Requires: Gnuplot tab delimited data, output filename, optional title
Returns: nothing
Run_gnuplot1 ../lib/silico_gnuplot.pm
-------------------------------------------------------
Plots multiple data columns on separate graphs
Requires: Gnuplot tab delimited data, optional title
Returns: nothing
Run_gnuplot2 ../lib/silico_gnuplot.pm
-------------------------------------------------------
Plots multiple data columns on a single graph
Requires: Gnuplot tab delimited data, optional title
Returns: nothing
Run_mopac ../lib/silico_mopac.pm
-----------------------------------------------------
Run mopac minimisation or mopac ESP charge calculation on molecule
MOPAC keywords should be in $mol->{KEYWORDS}
Requires: Molecule, filebase, location of mopac_exe, flag to not clean
up mopac files after running
Returns: nothing
Same_substructure ../lib/silico_residue.pm
-------------------------------------------------------
Check if two atoms are in the same substructure. Looks at SUBNAME, SUBID,
SEGID and CHAIN.
Requires: Atom 1, atom 2
Returns: 1 if they are, 0 otherwise.
Sanitise_hydrogens ../lib/silico_hydrogens.pm
---------------------------------------------------------
Make sure that every hydrogen has the same residue name, number, segid and
chain as the parent atom
Requires: molecule
Sanitise_segid_chain ../bin/find_amino_acids
------------------------------------------------------
Make sure that the chain and segid are consistent within a residue.
Scale_vector ../lib/silico_geom.pm
----------------------------------------------------
Multiply a vector by a scalar
Requires: scalar, vector
Returns: vector
Score_ring_het ../lib/silico_rings.pm
-----------------------------------------------------
Score a heterocyclic ring so that it can be sorted into a canonical order
Score is a string made of atom element_numbers printed as C = 006, O = 008
etc. followed by a string of bondorders. Using this system, benzene is
represented as '006006006006006006444444'.
With added bridgeheads!
Requires: array of ring atom numbers, molecule
Returns: score string
Score_total_charge ../lib/silico_gromacs.pm
-------------------------------------------------------
Calculate the total deviation of charge groups from integer values and also
the single largest deviation
Requires: molecule, groups array
Returns: score, maximum_charge_deviation
Sdf_calc_atom_parity_error ../lib/silico_sdf.pm
---------------------------------------------------
Check that the chirality (parity) flags in an sdf file match the actual
stereochemistry in the file.
Requires: molecule, optional flag to mark failed atoms as Du
Returns: negative of the number of errors in parity
Sdf_check_chiral_parity ../lib/silico_sdf.pm
---------------------------------------------------
Check that the chirality (parity) flags in an sdf file match the actual
stereochemistry in the file.
Requires: molecule, optional flag to mark failed atoms as Du
Returns: negative of the number of errors in parity
Sdf_data_to_atom ../lib/silico_sdf.pm
---------------------------------------------------
Copy data from SDF_DATA to atom records
Assumes SDF data is in an array
Somewhat dangerous
Sdf_data_to_table_delimited ../lib/silico_tabledata.pm
---------------------------------------------------------
Copy ensemble sdf_data to table format
Requires: Ensemble
Returns: Table data structure
Sdf_error_mol ../lib/silico_sdf.pm
---------------------------------------------------
Produce an empty molecule as a result of a read error
Sdf_fastsplit ../lib/silico_split.pm
-----------------------------------------------------
Split an sdf file into individual molecules without parsing the file
Requires: input filename, output directory (optional), output style (see
subroutine format_oname), max number of structures per output
file, name of sdf field to rename structures, name of field to
split structures
Returns: list of files created
Select_residues ../bin/find_aggregate
----------------------------------------------------
Select important residues
Submolecules are identified by connectivity. Waters are excluded
Returns: array of residues, pseudo molecule containing all interesting
atoms
Select_residues ../bin/find_aggregate.x
------------------------------------------------------
Select important residues
Submolecules are identified by connectivity. Waters are excluded
Returns: array of residues, pseudo molecule containing all interesting
atoms
Select_rotate_bond ../lib/silico_geom.pm
----------------------------------------------------
Select a random rotatable bond from a list of atoms
Requires: molecule, atom list (uses heavy atoms if this is undefined)
Returns: atom1, atom2; undef if failed to find a rotatable bond
Seq_fix_residue_numbers ../lib/silico_sequence.pm
--------------------------------------------------------
Make sure residue numbers and the sequence are consistent.
Renumbers residues from 1 if any residue numbers are undefined.
Adds gaps to sequences if any residue numbers are missing
Requires: sequence
Returns: nothing
Seq_label_by_field ../lib/silico_sequence.pm
--------------------------------------------------------
Label molecule atoms in target sequence according to properties of property
sequence using a definable mapping
Requires: target sequene, property sequence, field, mappiing (hash
containing value, label pairs Eg clustal mapping is (KEY,
VALUE) *, CLUSTAL_CONS; :,CLUSTAL_STRONG; ., CLUSTAL_WEAK
Target and property sequences can be identical
Returns: nothing
Seq_label_by_homology ../lib/silico_sequence.pm
--------------------------------------------------------
Label residues by homology
Requires that sequences_consensus & map sequence have been run first
Percentage conservation is marked with the flags: H_CONS, H_HIGH H_MED, H_LOW
and H_VLOW. The occupancy of PDB files set to the fraction conservation
(fraction of sequences with the most popular amino acid). The value
$atom->{CONSERV} is also set to the fraction conservation
Requires: Sequence molecule, Consensus sequence
Returns: nothing
Seq_label_indels ../lib/silico_sequence.pm
--------------------------------------------------------
Label sequence insertion and deletion points
Requires that sequences_consensus & map sequence have been run first
Insertions and deletions is marked as the sets: INS and DEL
Requires: Sequence molecule, Consensus sequence
Returns: nothing
Seq_mark_start_end ../lib/silico_sequence.pm
--------------------------------------------------------
Mark gaps at the start and end of as sequence with '+'
Operates on non-consensus sequences
Seq_merge ../lib/silico_sequence.pm
--------------------------------------------------------
Merge fields from sequence1 into sequence2
Requires; sequence1, sequence2, fields to merge
Returns; nothing
Seq_printout ../lib/silico_sequence.pm
--------------------------------------------------------
Print out a single sequence record and sequence information
Requires: Single sequence record, option string
Returns: Nothing
Seq_printout_header ../lib/silico_sequence.pm
--------------------------------------------------------
Print out data from sequence hash except the actual SEQ records
Requires: sequence
Seq_printout_one ../lib/silico_sequence.pm
--------------------------------------------------------
Print out an AA sequence in one letter code
Requires: Single sequence record, number of AAs per line (opt), number
of AAs per group (opt)
Returns: Nothing
Seq_printout_three ../lib/silico_sequence.pm
--------------------------------------------------------
Print out an AA sequence in three letter code
Requires: Single sequence record
Returns: Nothing
Seq_read_error ../lib/silico_io.pm
--------------------------------------------------
Print an error on failing to read sequence data from a file
Requires: filename, flag to write error message and die
Returns: Nothing
Seq_residue_fields ../lib/silico_sequence.pm
--------------------------------------------------------
Get all residue fields of a sequence
Requires: sequence
Returns: fields as an array
Seq_string ../lib/silico_sequence.pm
--------------------------------------------------------
Return a sequence as a string of one-letter sequence
Requires: sequence, flag to delete gaps
Returns: string
Sequences_STD ../lib/silico_sequence.pm
--------------------------------------------------------
Select only amino acid sequences from a set of sequences
--------------------------------------------------------
Requires: sequences
Returns: sequences
Sequences_STD_nonSTD ../lib/silico_sequence.pm
--------------------------------------------------------
Select both aa and non-amino acid sequences from a set of sequences
-------------------------------------------------------------------
Requires: sequences
Returns: standard sequences, non aa sequences
Sequences_clustal_homology ../lib/silico_sequence.pm
--------------------------------------------------------
Calculate the homology of a set of sequences according to the clustal scheme
Sets the 'CONS' field to values of ~, ., : or * for each AA
Nonstandard sequences (ie seq->{TYPE} ne 'STD') and sequences with names
starting with
an underscore are ignored
Requires: Sequences
Returns: a sequence containing clustal markers of homology
Sequences_consensus ../lib/silico_sequence.pm
--------------------------------------------------------
Calculate a consensus sequences and other stats
Nonstandard sequences (ie seq->{TYPE} ne 'STD) and sequences with names
starting with an underscore are ignored
Requires: Sequences
Returns: consensus sequence record
Sequences_get_column ../lib/silico_sequence.pm
--------------------------------------------------------
Return one column from a set of sequences
Requires: sequence, column number
Returns: pointer to array of aas
Sequences_length ../lib/silico_sequence.pm
--------------------------------------------------------
Find longest sequence in a set of sequences
Requires: sequences
Returns: length of longest array indexed from 1
Sequences_nonSTD ../lib/silico_sequence.pm
--------------------------------------------------------
Select only non-amino acid sequences from a set of sequences
------------------------------------------------------------
Requires: sequences
Returns: sequences
Sequences_printout ../lib/silico_sequence.pm
--------------------------------------------------------
Print out a set of sequences using one letter code
Requires: sequences, options string
Returns: nothing
Sequences_read_mols ../lib/silico_sequence.pm
--------------------------------------------------------
Read in any molecule files that correspond to sequence names
Only considers pdb and mol2 files
Requires: sequences, flag to map residues in molecule to sequence (on by
default)
Returns: nothing
Sequences_write_mols ../lib/silico_sequence.pm
--------------------------------------------------------
Write any molecule files attached to sequences
Set_acidbase ../lib/silico_hydrogens.pm
---------------------------------------------------------
Set formal charges on acidic/basic atoms
Uses the subroutine find_nearby_formal_charges to prevent setting charges near
to atoms that are already charged
Currently set to search five bonds away
Requires: atom, molecule, formal charge
Returns: 1 if charge set, 0 if not set
Set_debg17 ../lib/silico_mmod.pm
----------------------------------------------------
Work out if macromodel debug command DEBG 17 should be set
Reqires: molecule
Returns: true or false
Set_default_oappend ../lib/silico_io.pm
--------------------------------------------------
Define a default oappend string
Requires: string
Set_flag ../lib/silico_io.pm
--------------------------------------------------
Set a flag to a value
Searches by short name (default) or long name (if 'l' is supplied as a second
argument).
Requires: flag name (string), search type (optional string), value
(default 1)
Returns: nothing
Set_lflag ../lib/silico_io.pm
--------------------------------------------------
Set flag by long name
Requires: flag name, value
Calls set_flag
Set_sflag ../lib/silico_io.pm
--------------------------------------------------
Set flag by short name
Requires: flag name, value
Calls set_flag
Set_torsion_angle ../lib/silico_geom.pm
----------------------------------------------------
Set a torsion angle to a particular angle
Will rotate whole molecule if bond is in a ring
The static atoms are overridden if an ANCHOR atom is set.
Requires: Molecule, 4 atoms (first two static), angle
Returns: Nothing
Setup_flags ../lib/silico_io.pm
--------------------------------------------------
Initiate flag by checking for menu or help options
Setup_fp_flags ../lib/silico_fp.pm
--------------------------------------------------
Make flags required for fingerprints
Requires: max fragment size (default 8), min fragment size (default 3)
Returns: nothing
Setup_mopac_keywords ../lib/silico_mopac.pm
-----------------------------------------------------
Setup mopac keywords
Requires: Nothing
Returns: keywords
Shared_rings ../lib/silico_rings.pm
-----------------------------------------------------
Counts the number of common rings a pair of atoms share.
Requires: Molecule, atom 1, atom 2
Returns: Number of shared rings
Silico_msg ../lib/silico_control.pm
-------------------------------------------------------
Print out a note, warning, error or fatal-error message.
Types are c, comment etc, g debug etc etc
Requires: Type (single-character string), strings
Returns: Nothing
Silico_putline ../lib/silico_io.pm
--------------------------------------------------
Put a line back on 'the stack'
Requires: line, file record
Silico_readline ../lib/silico_io.pm
--------------------------------------------------
Read a line from $fr->{FH}. Remove carriage returns and line feeds
Lines can be stored in var $fr->{READLINE}
$fr->{END} is set if the end of the file is reached.
Requires: file record
Returns: processed line
Silico_setup ../bin/backbone
----------------------------------------------
Silico_setup ../bin/bilayer_builder
-----------------------------------------------------
Silico_setup ../bin/cexplot
---------------------------------------------
Silico_setup ../bin/checkbox
----------------------------------------------
Silico_setup ../bin/clip
------------------------------------------
Silico_setup ../bin/cluster
---------------------------------------------
Silico_setup ../bin/cluster_fp
------------------------------------------------
Silico_setup ../bin/dock_sort
-----------------------------------------------
Silico_setup ../bin/ens_randomise_order
---------------------------------------------------------
Silico_setup ../bin/ens_sort
----------------------------------------------
Silico_setup ../bin/extract_lig_prot
------------------------------------------------------
Silico_setup ../bin/file_rename
-------------------------------------------------
Silico_setup ../bin/find_aggregate
----------------------------------------------------
Silico_setup ../bin/find_aggregate.x
------------------------------------------------------
Silico_setup ../bin/find_amino_acids
------------------------------------------------------
Locate the Silico libraries and read in the parent library, silico.pm
Sets: $Silico::home_dir, $Silico::lib_dir
Requires: nothing
Returns: nothing
Silico_setup ../bin/find_clash
------------------------------------------------
Silico_setup ../bin/find_close_atoms
------------------------------------------------------
Silico_setup ../bin/find_close_water
------------------------------------------------------
Silico_setup ../bin/find_groups
-------------------------------------------------
Silico_setup ../bin/find_rings
------------------------------------------------
Silico_setup ../bin/find_similar
--------------------------------------------------
Silico_setup ../bin/fix_cis_amides
----------------------------------------------------
Silico_setup ../bin/flatten
---------------------------------------------
Silico_setup ../bin/formatdoc
-----------------------------------------------
Silico_setup ../bin/gromacs_fix_chiral_impropers
------------------------------------------------------------------
Silico_setup ../bin/make_box
----------------------------------------------
Silico_setup ../bin/make_index
------------------------------------------------
Silico_setup ../bin/max_similarity_fp
-------------------------------------------------------
Silico_setup ../bin/micelle
---------------------------------------------
Silico_setup ../bin/mmod_csearch
--------------------------------------------------
Silico_setup ../bin/mmod_min
----------------------------------------------
Silico_setup ../bin/mmod_qikprop
--------------------------------------------------
Silico_setup ../bin/mol2seq
---------------------------------------------
Silico_setup ../bin/mol2split
-----------------------------------------------
Silico_setup ../bin/mol_add_h
-----------------------------------------------
Silico_setup ../bin/mol_add_lp
------------------------------------------------
Silico_setup ../bin/mol_add_segid
---------------------------------------------------
Silico_setup ../bin/mol_amides
------------------------------------------------
Silico_setup ../bin/mol_boltz_pop
---------------------------------------------------
Silico_setup ../bin/mol_centre
------------------------------------------------
Silico_setup ../bin/mol_characterise
------------------------------------------------------
Silico_setup ../bin/mol_charge
------------------------------------------------
Silico_setup ../bin/mol_check
-----------------------------------------------
Silico_setup ../bin/mol_combine
-------------------------------------------------
Silico_setup ../bin/mol_del_atoms
---------------------------------------------------
Silico_setup ../bin/mol_del_dummy
---------------------------------------------------
Silico_setup ../bin/mol_del_excess_solv
---------------------------------------------------------
Silico_setup ../bin/mol_del_h
-----------------------------------------------
Silico_setup ../bin/mol_del_solvent
-----------------------------------------------------
Silico_setup ../bin/mol_divide
------------------------------------------------
Silico_setup ../bin/mol_ensemble_average
----------------------------------------------------------
Silico_setup ../bin/mol_extents
-------------------------------------------------
Silico_setup ../bin/mol_filter
------------------------------------------------
Silico_setup ../bin/mol_fp
--------------------------------------------
Silico_setup ../bin/mol_hydrogen_bonds
--------------------------------------------------------
Silico_setup ../bin/mol_label_fg
--------------------------------------------------
Silico_setup ../bin/mol_mw
--------------------------------------------
Silico_setup ../bin/mol_rama
----------------------------------------------
Silico_setup ../bin/mol_rename
------------------------------------------------
Silico_setup ../bin/mol_renumber
--------------------------------------------------
Silico_setup ../bin/mol_rescale_bonds
-------------------------------------------------------
Silico_setup ../bin/mol_rot
---------------------------------------------
Silico_setup ../bin/mol_rot_bond
--------------------------------------------------
Silico_setup ../bin/mol_rotrans
-------------------------------------------------
Silico_setup ../bin/mol_segment
-------------------------------------------------
Silico_setup ../bin/mol_smiles
------------------------------------------------
Silico_setup ../bin/mol_solvate
-------------------------------------------------
Silico_setup ../bin/mol_sort
----------------------------------------------
Silico_setup ../bin/mol_sort_fp
-------------------------------------------------
Silico_setup ../bin/mol_split
-----------------------------------------------
Silico_setup ../bin/mol_split_segid
-----------------------------------------------------
Silico_setup ../bin/mol_transfer_coords
---------------------------------------------------------
Silico_setup ../bin/mol_unsplit
-------------------------------------------------
Silico_setup ../bin/mol_wrap_cell
---------------------------------------------------
Silico_setup ../bin/n_dist
--------------------------------------------
Silico_setup ../bin/pdb_chain_split
-----------------------------------------------------
Silico_setup ../bin/pdb_rename_hydrogens
----------------------------------------------------------
Silico_setup ../bin/pdbsplit
----------------------------------------------
Silico_setup ../bin/plot_dihedrals
----------------------------------------------------
Silico_setup ../bin/radius_of_gyration
--------------------------------------------------------
Silico_setup ../bin/random_box
------------------------------------------------
Silico_setup ../bin/randomise
-----------------------------------------------
Silico_setup ../bin/randomise_conformation
------------------------------------------------------------
Silico_setup ../bin/rdf
-----------------------------------------
Silico_setup ../bin/renumber_residues
-------------------------------------------------------
Silico_setup ../bin/residue_distance
------------------------------------------------------
Silico_setup ../bin/residue_rename
----------------------------------------------------
Silico_setup ../bin/rms
-----------------------------------------
Silico_setup ../bin/rms_pairs
-----------------------------------------------
Silico_setup ../bin/scale
-------------------------------------------
Silico_setup ../bin/sdfsplit
----------------------------------------------
Silico_setup ../bin/similarity_fp
---------------------------------------------------
Silico_setup ../bin/slurp
-------------------------------------------
Silico_setup ../bin/smooth
--------------------------------------------
Silico_setup ../bin/starmaker
-----------------------------------------------
Silico_setup ../bin/tabulate
----------------------------------------------
Silico_setup ../bin/vesicle_builder
-----------------------------------------------------
Silico_setup ../bin/water_to_ion
--------------------------------------------------
Silico_setup ../bin/write_g03zmat
---------------------------------------------------
Silico_setup ../bin/write_gro
-----------------------------------------------
Silico_setup ../bin/write_itp
-----------------------------------------------
Silico_setup ../bin/write_merck
-------------------------------------------------
Silico_setup ../bin/write_mmod
------------------------------------------------
Silico_setup ../bin/write_mol
-----------------------------------------------
Silico_setup ../bin/write_mol2
------------------------------------------------
Silico_setup ../bin/write_mopac
-------------------------------------------------
Silico_setup ../bin/write_pdb
-----------------------------------------------
Silico_setup ../bin/write_sdf
-----------------------------------------------
Silico_setup ../bin/write_seq
-----------------------------------------------
Silico_setup ../bin/write_tab
-----------------------------------------------
Silico_setup ../bin/write_tinker
--------------------------------------------------
Silico_vdw_radii ../lib/silico_definitions.pm
-----------------------------------------------------------
Create a list of Silico van der Waals radii, one for each atom.
This data should be used only to determine whether or not to create a bond
when generating connectivity information.
Some elements have their radii artifically set to zero, so as to prevent bonds
from being created to these elements.
The hydrogen atom's radius is reduced to 0.2 Angstroms.
Bonds to (between?) C, H, N, O, P and S are determined elsewhere with
reference to the expected lengths for bonds to these atoms.
Requires: nothing
Returns: nothing
Simple_atomtype ../lib/silico_prop.pm
----------------------------------------------------
Simple polar/nonpolar atom type routine
Sleep_or_stop ../lib/silico_control.pm
-------------------------------------------------------
Check for sleep and stop files
Waits while a sleep file is present in the working directory
Returns 1 if stop file found
Slurp_file ../lib/silico_io.pm
--------------------------------------------------
Read a molecule file and split into separate molecules as TEXT files.
Currently only splits pdb, mol2 and sdf files. All others are returned unsplit
Requires: filename
Returns: an array containing each molecule as text
Smiles_invariant ../lib/silico_smiles.pm
------------------------------------------------------
Generates a SMILES invariant for each atom, so as to assist in forming Unique
SMILES strings.
Requires: atom, molecule, list of atoms in SMILES set
Returns: invariant string
Smiles_list_recursive ../lib/silico_smiles.pm
------------------------------------------------------
Determine the SMILES string representation for a given atom.
Requires: atom, molecule, ...
Returns: string
Smooth_delimited ../lib/silico_tabledata.pm
---------------------------------------------------------
Average data in a delimited file over a window
Window is the number of values on either side to average over. i.e. a window
value of 1 will average over 3 values.
Sort_atoms_label ../bin/water_to_ion
--------------------------------------------------
Routine to sort atoms using atom->{SORT_LABEL}
Requires: molecule.
Sort_itp_by_atom_number ../bin/write_itp
-----------------------------------------------
Sort GMX_BONDS GMX_PAIRS GMX_ANGLES GMX_DIHEDRALS GMX_EXCLUSIONS in ascending
order by atom bumber
Requires: molecule
Returns: nothing
Sort_itp_by_smiles ../bin/write_itp
-----------------------------------------------
Sort itp file by canonical smiles ascending order by atom bumber
Requires: molecule
Returns: nothing
Space_group_pdb_to_silico ../lib/silico_pdb.pm
---------------------------------------------------
Turn a PDB space group string into a Silico space group code.
This subroutine assumes that there is only one key (Silico space group code)
for each value (PDB space group string).
Requires: string
Returns: string
Space_group_silico_to_pdb ../lib/silico_pdb.pm
---------------------------------------------------
Turn a Silico space group code into a PDB space group string.
Requires: string
Returns: string
Splitline ../lib/silico_data.pm
----------------------------------------------------
Take a line of text, clean it up and split it into an array
Requires: Text
Returns: Array
Standard_bond_lengths ../lib/silico_definitions.pm
-----------------------------------------------------------
Create a hash containing standard chemical bond lengths. The hash key contains
the bond: two atoms, between which is a character denoting the bond order.
Dash ('-'): single bond Equals sign ('='): double bond Percent sign ("%"):
triple bond
At the moment, bond lengths are given twice: one for A-B, the other for B-A.
This is because we can't be sure in advance which order the atoms will be
given in.
Bond lengths were sourced from
http://chemviz.ncsa.uiuc.edu/content/doc-resources-bond.pdf, January 2007.
Note: The bond length for Sb-Cl is for antimony trichloride, not antimony
pentachloride.
Requires: nothing
Returns: nothing
Standard_deviation_bias_corrected ../lib/silico_statistics.pm
-------------------------------------------------------------
Calculates the bias-corrected (n-1) standard deviation of a set of data
Requires: Array
Returns: standard deviation (scalar quantity)
Standard_deviation_bias_uncorrected ../lib/silico_statistics.pm
---------------------------------------------------------------
Calculates the bias-uncorrected standard deviation of a set of data
Requires: Array
Returns: standard deviation (scalar quantity)
Standardise_boolean ../lib/silico_data.pm
----------------------------------------------------
Turn a Silico boolean value into 1 or 0 depending on what it is.
Requires: Text
Returns: Number
Standardise_ring ../lib/silico_rings.pm
-----------------------------------------------------
Order a ring (list of atom numbers) that is in a standard 'orientation'.
Rearrange atoms in a ring list so that atom[0] has the lowest number and
atom[1] has a lower number than atom[-1].
Requires: ptr to array of atom numbers.
Returns: ptr to normalised array of atom numbers.
Standardise_ring_by_heteroatoms ../lib/silico_rings.pm
------------------------------------------------------
Order a list of ring atoms so that is in a standard 'orientation' organised by
hetero ring atoms and bondorders.
Rearrange atoms in a ring list so that the highest atomic number has the
lowest position in the ring with a subsequent requirement that the highest
bondorder is at the lowest position in the ring.
Requires: ptr to array of atom numbers.
Returns: ptr to normalised array of atom numbers, string made of atom
elements and bondorders - for example pyridine will be
returned as 'N4C4C4C4C4C4'.
Subname ../lib/silico_control.pm
-------------------------------------------------------
Return the name of the subroutine in which this was called
Requires: Nothing
Returns: Name
Superimpose_sybyl ../lib/silico_sybyl.pm
-----------------------------------------------------
Superimpose a molecule with Sybyl
The location of the sybyl executable must be in $Silico::sybyl_exe
Temporary files are written to $Silico::temp_dir or to current working
directory if $Silico::debug is set.
Requires: molecule1, molecule2, atoms (mol11), atoms (mol2), flag to
specify that atoms are provided as atom numbers Atom numbers
are indexed from zero.
Returns: molecule2 in superimposed orientation (undef if Sybyl failed
to write out a structure)
Superimpose_sybyl_multi ../lib/silico_sybyl.pm
-----------------------------------------------------
Superimpose many molecules with Sybyl.
The location of the sybyl executable must be in $Silico::sybyl_exe
Temporary files are written to $Silico::temp_dir or to current working
directory if $Silico::debug is set.
Requires: molecule1, molecules2, atomlist1, atomlists2, offset
Returns: ensemble of molecules2 in superimposed orientation (undef if
Sybyl failed to write out a structure)
Sybyl_align ../lib/silico_sybyl.pm
-----------------------------------------------------
Align pdb structures by using the Sybyl 'biopolymer align_structure' command
Requires: pdb filename 1, pdb filename 2
Returns: molecule or undef if Sybyl failed to write out a structure
Sybyl_sort ../lib/silico_mol2.pm
----------------------------------------------------
Ensure that molecule is written out with substructures in numerical order.
This can cause problems with other software packages if it is not the case.
Sybyl doesn't mind this though
Requires: ensemble.
Returns: nothing.
Sybyl_spectrum ../lib/silico_sybyl.pm
-----------------------------------------------------
Return a Sybyl colour based on a value and a maximum range
Assumes that the value is between 0 and $range. Returns one of a spectrum of
10 colours (RED REDORANGE ORANGE YELLOW GREEN GREENBLUE CYAN BLUE PURPLE
VIOLET)
Reqires: value, minimum value of colour range (default 0), maximum
value of colour range (default 100)
Returns: colour (string)
Table_delimited_addcolumn ../lib/silico_tabledata.pm
---------------------------------------------------------
Add a new column to a 'delimited' data structure
Requires: Data structure, new key name
Returns: new column number (zero based)
Table_delimited_getrow ../lib/silico_tabledata.pm
---------------------------------------------------------
Return a row from a delimited data structure
Requires: Data structure, array of column names
Returns: array or undef if finished
Increments $data->{CURRENT_LINE} to keep track of row. Reset
$data->{CURRENT_LINE} to undef to start from the beginning again
Table_delimited_getval ../lib/silico_tabledata.pm
---------------------------------------------------------
Return a value from the current line
Requires: Data structure, column name
Returns: value
Uses $data->{CURRENT_LINE} to keep track of row
Table_delimited_inc_row ../lib/silico_tabledata.pm
---------------------------------------------------------
Return a row from a delimited data structure
Requires: Data structure
Returns: array or undef if finished
Increments $data->{CURRENT_LINE} to keep track of row. Reset
$data->{CURRENT_LINE} to undef to start from the beginning again
Tag_markup ../lib/silico_doc.pm
---------------------------------------------------
Clean up comment text and convert silico markup to tags
Tags are:
< HEAD# > (#!)
< STD > (#.)
< STD_DESC > (#?)
< HANG > (#;)
< HANG_SHORT > (#:)
< INDENT > (#,)
< LIST > (#-)
< LINKaddress > text for html links. These do not correspond to
anything in the silico simple markup scheme
(Note that extra spaces have been added to the tags above to stop them being
recognised by makedoc).
The first part of a hanging indent can use underscores to represent spaces
Tan_substructure_frac ../lib/silico_fp.pm
--------------------------------------------------
Calculate fraction of substructure keys present in a parent molecule
frac = Num common fragments / Num fragments in mol1
Requires: hash of fragments 1, hash of fragments 2
Returns: Tanimoto coefficient
Tanimoto ../lib/silico_fp.pm
--------------------------------------------------
Calculate the Tanimoto (or Tversky) coefficient given two hashes of fragments.
See http://www.chemaxon.com/jchem/doc/user/query_similarity.html#metrics
Tanimoto coeff = Num common fragments / Num fragments in mol1 + Num fragments
in mol2 - Num common fragments
Tversky coeff = Num common fragments / alpha (Num fragments in mol1 - Num
common fragments) + beta (Num fragments in mol2 - Num common fragments) + Num
common fragments
alpha = 0 and beta = 1 => Molecule 2 as a substructure of Molecule 1
alpha = 1 and beta = 2 => Molecule 2 as a superstructure of Molecule 1
Requires: hash1, hash2, (alpha, beta coefficiencts for Tversky, optional)
Returns: Tanimoto coefficient
Tanimoto_freq ../lib/silico_fp.pm
--------------------------------------------------
Calculate the Tanimoto coefficient given two hashes of fragments including
fragment frequencies
Requires: hash of fragments 1, hash of fragments 2
Returns: Tanimoto coefficient
Tanimoto_matrix ../lib/silico_fp.pm
--------------------------------------------------
Calculate a matrix of Tanimoto coefficients for two ensembles
Requires: ensemble1, ensemble2 (optional), (alpha, beta coefficiencts for
Tversky, optional)
Returns: array
Test_all_shapes ../lib/silico_rbox.pm
----------------------------------------------------
Test whether a molecule complies with a set of geometric restrictions provided
by flags
Requires: molecule, cell
Returns: true or false
Test_cylinder_arb ../lib/silico_rbox.pm
----------------------------------------------------
Test if all atoms of a molecule are INSIDE or OUTSIDE a set of cylinders lying
along arbitrary axes
If invert is FALSE then function returns TRUE if molecule is OUTSIDE ALL
cylinders
If invert is TRUE then function returns TRUE if molecule is INSIDE ANY
cylinder
Note the sense of this test is the opposite of the others. Probably should be
modified.
Requires: Molecule, cell, invert flag
Returns: True or false
Test_energy_molcount ../lib/silico_mmod.pm
----------------------------------------------------
Test to see if we have exceeded molecule maximum energy or maximum molecule
count set by flags
Requires: filehandle, molecule, max_energy (optional or from flag), max
molcount (optional or from flag)
Returns; true if we have exeeded counts/energy
Test_plane ../lib/silico_rbox.pm
----------------------------------------------------
Test if molecule lies completely within (or completely outside) a (set of)
plane(s)
Plane centres are set by by Silico:origin_points
Plane direction default xz or xy by flag
If invert NOT set
Returns 1 if molecule lies completely inside any one plane.
If invert IS set
Returns 1 if molecule lies completely outside ALL planes
Requires: molecule, cell, invert flag
Returns: true or false
Tinker_space_group ../lib/silico_tinker.pm
------------------------------------------------------
Convert a Silico space group (numeric code) to Tinker format based on
Hermann-Mauguin symbols.
Requires: Space group in Silico format
Returns: Space group in Tinker format; undef if error
Traverse ../lib/silico_rings.pm
-----------------------------------------------------
Recursive subroutine to find rings
Called from find_atom_rings
Requires: path
Returns: nothing
Two_bond_angle ../lib/silico_geom.pm
----------------------------------------------------
Find the angle between two bonds (four atoms)
Requires: atom1, atom2, atom3, atom4
Returns: angle in radians.
Two_bond_normal ../lib/silico_geom.pm
----------------------------------------------------
Return a normal vector to two bonds (four atoms)
Requires: atom1, atom2, atom3, atom4
Returns: vector (x, y, z)
Unit_normal_vector ../lib/silico_geom.pm
----------------------------------------------------
Return a unit vector normal to a given vector
Vector will also be normal to X, Y or Z axis
Requires: vector
Returns: vector
Unit_vector ../lib/silico_geom.pm
----------------------------------------------------
Normalises a vector, providing a unit vector.
Requires: array of three elements (x, y and z components)
Returns: unit vector as an array
Valence ../lib/silico_molecules.pm
---------------------------------------------------------
Return the valence of an atom
Note that THIS ROUTINE CAN RETURN NON-INTEGRAL VALUES for bonds involving
aromatic bond types (eg carboxylates or guanidines represented using aromatic
bonds). The valence is corrected for aromatic bridgehead atoms which return a
valence of 4 rather than 4.5 (which would result from three aromatic bonds).
The minimum possible valence is returned for poorly defined bond types (>=5)
Requires: atom, molecule (optional but necessary to detect lone pairs)
Returns: valence
Variance_bias_corrected ../lib/silico_statistics.pm
----------------------------------------------------------
Calculates the bias-corrected (n-1) variance of a set of data
Requires: Array
Returns: variance (scalar quantity)
Variance_bias_uncorrected ../lib/silico_statistics.pm
----------------------------------------------------------
Calculates the bias-uncorrected (n) variance of a set of data
Requires: Array
Returns: variance (scalar quantity)
Vector ../lib/silico_geom.pm
----------------------------------------------------
Calculates a vector from two Cartesian points.
Requires: coord1, coord2
Returns: vector as an array
Vector_add ../lib/silico_geom.pm
----------------------------------------------------
Add two vectors (length 3)
Requires: vectors, vector
Returns: vector
Veryquiet ../lib/silico_io.pm
--------------------------------------------------
Check if we are being very quiet (i.e., the --very-quiet option is used).
Requires: nothing
Returns: 1 (very quiet), 0 (not very quiet)
Wraphtml ../lib/silico_doc.pm
---------------------------------------------------
Add header and footer to formatted html
Write_binfile ../lib/silico_tabledata.pm
---------------------------------------------------------
Write out a tab-delimited file of binned data
Requires: output filename
Returns: one or undef if file open failed.
Write_clustal ../lib/silico_sequence.pm
--------------------------------------------------------
Write a clustal format file
Requires: Sequences, filename
Returns: Nothing
Options:
DELIMITER='x' Delimiter between fields
NUMLINE=XX Print XX residues per line
WIDTH=XX Print XX characters per residue
Write_divcon_cart ../lib/silico_mopac.pm
-----------------------------------------------------
Print out a DivCon Cartesian format file
Currently prints out only the first molecule of the ensemble
Options: CLUSTER
Flags: nmr (peptide, all), opt (num optimization steps)
Requires: Ensemble (or molecule), filename.
Returns: undef if file open fails otherwise returns 1.
Write_fasta ../lib/silico_sequence.pm
--------------------------------------------------------
Write fasta format
Requires: Sequences, filename, options
Returns: Nothing
Write_gaussian_cart ../lib/silico_gaussian.pm
--------------------------------------------------------
Print out a gaussian Cartesian format file
Requires: ensemble (or molecule), output filename
Returns: undef if write failed
Write_gaussian_zmatrix ../lib/silico_gaussian.pm
--------------------------------------------------------
Gaussian Z-matrix writer.
Requires: ensemble or molecule, filename, forcefield file (optional) to
type atoms.
Returns: undef if file open failed otherwise returns 1.
Write_gromacs_gro ../lib/silico_gromacs.pm
-------------------------------------------------------
Write a gro file
Requires: Ensemble, filename, $options.
Returns: Zero if file open failed otherwise returns 1.
Options:
SPLIT - print out an ensemble as separate Gromacs files
PRECISE - increase precision of gro file to 0.001 Angstroms
VERYPRECISE - increase precision of gro file to 0.0001 Angstroms
Requires: Ensemble, filename, options
Returns: Undef if write failed, otherwise 1
Write_gromacs_gro_molecule ../lib/silico_gromacs.pm
-------------------------------------------------------
Print out a single gro format molecule
Called from write_gromacs_gro
Requires: Molecule, optional flag to increase precision of file
Returns: nothing
Write_gromacs_index_file ../lib/silico_gromacs.pm
-------------------------------------------------------
Write gromacs index file
Requires: Output filename, hash of atomlists, array of hash keys, flag
to index atom numbers from zero
Returns: Nothing
Write_gromacs_itp ../lib/silico_gromacs.pm
-------------------------------------------------------
Write a gromacs included topology file
Requires: Ensemble (or molecule), options
Returns: Undef if write failed, otherwise 1
Write_gromacs_itp_mol ../lib/silico_gromacs.pm
-------------------------------------------------------
Write a gromacs included topology file
Assumes that bonds are present and that bond orders are correct
Requires: file_record, molecule, options
Returns: Undef if write failed, otherwise 1
Note that these subroutines use a new BONDS and ANGLES format
currently called GMX_BONDS etc
Write_mae ../lib/silico_mmod.pm
----------------------------------------------------
Basic Maestro write routine.
Requires: ensemble (or molecule), filename.
Returns: undef if file open failed otherwise returns 1.
Options: GZ (writes maegz format)
Write_mae_molecule ../lib/silico_mmod.pm
----------------------------------------------------
Write a single record from a pdb file.
Requires: file record, molecule, options
See read_pdb for general description
Returns: 1 or undef if failed
Write_maegz ../lib/silico_mmod.pm
----------------------------------------------------
Basic Maestro maegz write routine (wrapper for write_mae)
Requires: ensemble (or molecule), filename.
Returns: undef if file open failed otherwise returns 1.
Write_merck ../lib/silico_merck.pm
-----------------------------------------------------
Print out an ensemble as separate Merck molecules
Requires: Ensemble (or molecule), filename
Returns: undef if failed
Write_merck_mol ../lib/silico_merck.pm
-----------------------------------------------------
Print out a single Merck format molecule
Currently crudely attempts to assign Merck formal charge parameters. This
makes the assumption that all hydrogens are present and all bond valences are
correct
Attempts to fix valence of dataive bonds to single and use alternating double
and single bonds for aromatic rings
Requires: Molecule, optional output options string
Returns: 1
Write_mmod ../lib/silico_mmod.pm
----------------------------------------------------
Macromodel write routine.
Requires: ensemble (or molecule), filename.
Returns: undef if file open failed otherwise returns 1.
Write_mmod_com_mdyn_stage ../lib/silico_mmod.pm
----------------------------------------------------
Write the molecular dynamics stage of a macromodel com file
Requires: output filename, simulation time (ps), temperature (K),
timestep, initial temp (opt), final temp (opt), shake flag (0
- none, 1 - hydrogens, 2 - all bonds), stochastic dynamics
flag, output frequency (ps)
Write_mmod_com_mini_stage ../lib/silico_mmod.pm
----------------------------------------------------
Write the minimisation stage of a macromodel com file
Requires: number of steps, final gradient, macromodel minimisation
method code. Flag to loop minimisation
Write_mmod_com_setup ../lib/silico_mmod.pm
----------------------------------------------------
Write initial section of Macromodel command file for a minimisation or other
simulation
Requires: molecule, output filename (required), structure input filename
(opt), structure output filename (opt), forcefield (opls3,
opls2005, opls2001, amber94, amber, mm3, mm2), solvent (water,
chloroform, octanol, none), minimisation method (macromodel
codes, default 20),
Returns: undef if write failed
Write_mmod_com_write_stage ../lib/silico_mmod.pm
----------------------------------------------------
Write a macromodel 'WRIT' command to a macromodel com file
Requires:outfile
Write_mmod_sbc ../lib/silico_mmod.pm
----------------------------------------------------
Write Macromodel constraint commands (SUBS, FXAT) to .sbc or .com files
Uses flags $atom->{MMOD}{XXX} where XXX is SUBS, FXAT, etc
Force constants and other MMOD parameters are stored on a per atom basis in
$atom->{MMOD}{ZZZ} where ZZZ can be FXAT_WELL_HALF_WIDTH, FXAT_FORCECONST,
FXAT_X, FXAT_Y, FXAT_Z
Requires: molecule, filename
Returns: undef if write failed
Write_mol2 ../lib/silico_mol2.pm
----------------------------------------------------
Write an ensemble as a mol2 file.
Carries out the following steps:
Sort atoms so that substructures are written out in numerical order
Generate bonds if there seem to be too few (less than (NUMATOMS -1)/2)
Convert kekule representation of aromatic rings to aromatic type bonds
Convert guanidinium and carboxylates to aromatic type bonds
Generate @<TRIPOS>SUBSTRUCTURE record
Generate Sybyl atom types
Requires: ensemble (or molecule), filename, optional options string.
Returns: undef if file open failed or other error, otherwise 1.
Options:
BOND - Force bond generation
DIVIDE - Write each molecule to a separate file
FAST - Equivalent to NOSORT, NOBOND, NOTYPE. This option can be used
if the file read was already a good quality mol2 file
FLAT - atom type molecule using routines that do not require good
geometry
MOLMOL - produce nonstandard mol2 file that is compatible with molmol
NOSORT - do not sort atom order before writing
NOTYPE - do not perform Sybyl atom typing
NOBOND - do not create any bonds
NOSDF_DATA - do not write SDF_DATA into comments
NO_AROM_DELOC_BONDS - do not convert carboxylate and guanidinium bonds
to aromatic
PROTEIN - write in Sybyl protein format
QUIET - do not print 'Writing' line
SMALL - write in Sybyl small molecule format
Note that by default write_mol2 will change the order of the atoms in the
molecule data structure. This may upset subsequent routines.
Write_mol2_atoms ../lib/silico_mol2.pm
----------------------------------------------------
Write out mol2 atom records
Requires: molecule, filehandle, options;
Returns: nothing
Write_mol2_bonds ../lib/silico_mol2.pm
----------------------------------------------------
Write a mol2 bond records
Note. This routine converts carboxylate and guanidinium groups to aromatic
bond order (in the output file)
Requires: molecule, filehandle, options
Returns: nothing
Write_mol2_comments ../lib/silico_mol2.pm
----------------------------------------------------
Write mol2 comments
Requires: molecule, filehandle
Returns: nothing
Write_mol2_crystal ../lib/silico_mol2.pm
----------------------------------------------------
Write out the CRYSTAL record to a mol2 file
Requires: Molecule, filehandle
Returns: Nothing
Write_mol2_molecule ../lib/silico_mol2.pm
----------------------------------------------------
Write a single molecule record to a mol2 file
Requires: file record, molecule, options
See read_mol2 for general description
Returns: 1 or undef if failed
Write_mol2_sdfdata ../lib/silico_mol2.pm
----------------------------------------------------
Write SDF datainto mol2 comment lines
Requires: molecule, filehandle
Returns: nothing
Write_mol2_set ../lib/silico_mol2.pm
----------------------------------------------------
Write mol2 static sets
Requires: molecule, filehandle
Write_mol2_substructures ../lib/silico_mol2.pm
----------------------------------------------------
Write a mol2 substructure record
Requires: molecule, filehandle
Returns: nothing
Write_mol_any ../lib/silico_io.pm
--------------------------------------------------
Write any supported molecule file type.
Current formats are cml, pdb (pdb or ent), mol2 (mol2) , merck (mrk), sdf (sdf
or mol), tinker (xyz), mopac (out), mmod (out).
Requires: ensemble (or molecule), filebase (determined by subroutine
'obase' if not specified), format (determined by subroutine
'get_oformat' if not specified), (optional) options string
Returns: undef if file open failed or other problem
Write_mol_any_check ../lib/silico_io.pm
--------------------------------------------------
Check that a specified output format is valid for write_mol_any
Requires: format string
Returns: 1 or 0
Write_mol_single ../lib/silico_io.pm
--------------------------------------------------
Write a single molecule
Requires: file_record, molecule, filename base, file format, filename
append_string, options
Returns: 1 or undef
Write_mopac_cart ../lib/silico_mopac.pm
-----------------------------------------------------
Print out a mopac Cartesian format file
Currently prints out only the first molecule of the ensemble
Requires: Ensemble or molecule, filename.
Returns: undef if file open fails otherwise returns 1.
Write_pdb ../lib/silico_pdb.pm
---------------------------------------------------
Write a pdb file
Requires: Ensemble or molecule, filename, $options.
Returns: Zero if file open failed otherwise returns 1.
Options: FAST, NOSORT, NOCONECT, BOND, MODEL
Note: this routine renumbers the ensemble of pdb files
Also note: the handling of pdb chains is somewhat confused
A TER record will be written following an atom with atom->{TER} set
Write_pdb_cryst ../lib/silico_pdb.pm
---------------------------------------------------
Write PDB crystal record
Requires: molecule, filehandle
Returns: nothing
Write_pdb_molecule ../lib/silico_pdb.pm
---------------------------------------------------
Write a single record from a pdb file.
Options: FAST, NOSORT, BOND, NOCONECT, DUCONECT, MODEL
Requires: file record, molecule, options
See read_pdb for general description
Returns: 1 or undef if failed
Write_pdb_sdfdata ../lib/silico_pdb.pm
---------------------------------------------------
Write SDF datainto REMARK records
Requires: molecule, filehandle
Returns: nothing
Write_pir ../lib/silico_sequence.pm
--------------------------------------------------------
Write a pir format file (also known as NBRF format) that is compatible with
Modeller
Requires: Sequences, filename
Returns: Nothing
Write_rama_structure ../lib/silico_rama.pm
----------------------------------------------------
Write out a _rama.txt file of a single structure suitable for the subroutine
'ramaplot'
Requires: molecule, filehandle, optional residue number (indexed from
0).
Returns: nothing
Write_rama_structure_by_mol ../lib/silico_rama.pm
----------------------------------------------------
Write out a .ramol file of a single structure with all phi and psi angles
written on a single line
Requires: molecule, file record, optional residue number (indexed from
0), options
Options: 'CART' will output sin(phi), cos(phi), sin(psi), cos(psi)
instead of phi, phsi
Returns: nothing
Write_sdf ../lib/silico_sdf.pm
---------------------------------------------------
Write an SDF file.
Additional properties are written from mol->{SDF_DATA}{<propertyname>}
All aromatic bonds are converted to kekule representation
Requires: ensemble (or molecule), filename.
Returns: Undef if file open fails otherwise returns one.
Note: Aromatic bondorders are only allowd in database searches.
therefore aromatic bonds must be converted to single/double.
This is currently done for aromatic rings, carboxylates and
guanadines. Hence, database searches containing aromatic bonds
will be modified adversely.
Options:
BOND - force bond generation
NOOND - do not generate bonds
QUIET - do not print 'Writing' line
2D - Set 2D flag in header (default 3D). May be requred for CACTVS
csbr 3D may be required to read in molecules to Insight
Write_sdf_atoms_bonds ../lib/silico_sdf.pm
---------------------------------------------------
Write an MDL Mol record
Note: 2D option forces all Z coordinates to zero
Options: 3D (flag --sdf-3D), 2D (flag --sdf-2D), NO_SQUASH_HCOUNT (flag
--sdf-squash-hcount)
Requires: file record, molecule, options
Returns: undef if error
Write_seq_any ../lib/silico_io.pm
--------------------------------------------------
Write any supported sequence file type.
Requires: sequence ensemble, filebase, format
Returns: undef if file open failed or other problem
Write_seq_any_check ../lib/silico_io.pm
--------------------------------------------------
Check that a specified output format is valid for write_seq_any
Requires: format string
Returns: 1 or 0
Write_smiles ../lib/silico_smiles.pm
------------------------------------------------------
Write an ensemble as a smiles file
Basic implementation
Write_starmaker_comment ../bin/starmaker
-----------------------------------------------
Write comments that will appear in the output file
Requires: molecule
Returns: nothing
Write_table_delimited ../lib/silico_tabledata.pm
---------------------------------------------------------
Write a character delimited text file
Requires: silico tabulated data structure, output filename, delimiter
(default tab), options, list of keys to write out (default
all). Missing values are written as a pair of single quotes
('')
Returns: 1 if OK or undef if file open failed
Options: None yet
QUIET Do not print advisory messages
Write_tinker_prm ../lib/silico_tinker.pm
------------------------------------------------------
Write a TINKER force field parameter file
Requires: Ensemble, filename
Returns: 0 if any molecules failed, 1 if success
Write_tinker_prm_mol_dihedrals_oplsaa ../lib/silico_tinker.pm
-------------------------------------------------------------
Writes out parameters for each dihedral type in the molecule
Requires: Molecule
Returns: Nothing
Write_tinker_prm_oplsaa ../lib/silico_tinker.pm
------------------------------------------------------
Write those parts of a TINKER parameter file that pertain to the OPLS-AA force
field
Requires:
Returns:
Write_tinker_xyz ../lib/silico_tinker.pm
------------------------------------------------------
Tinker write routine.
Requires: ensemble (or molecule), filename, forcefield file (optional)
to type atoms.
Returns: undef if file open failed otherwise returns 1.