This file is indexed.

/usr/lib/emboss/include/ensdata.h is in emboss-lib 6.3.1-6ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
#ifdef __cplusplus
extern "C"
{
#endif

#ifndef ensdata_h
#define ensdata_h

#include "enscache.h"
#include "enscoordsystem.h"
#include "ensmapper.h"




/* #data EnsPAttributeadaptor *************************************************
**
** Ensembl Attribute Adaptor. (defined as an alias in EnsPDatabaseadaptor)
**
** #alias EnsPDatabaseadaptor
** ##
******************************************************************************/

#define EnsPAttributeadaptor EnsPDatabaseadaptor




/* @data EnsPAttribute ********************************************************
**
** Ensembl Attribute.
**
** @alias EnsSAttribute
** @alias EnsOAttribute
**
** @cc Bio::EnsEMBL::Attribute
** @attr Code [AjPStr] Ensembl Code
** @attr Name [AjPStr] Ensembl Name
** @attr Description [AjPStr] Description
** @attr Value [AjPStr] Value
** @attr Use [ajuint] Use counter
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/

typedef struct EnsSAttribute {
    AjPStr Code;
    AjPStr Name;
    AjPStr Description;
    AjPStr Value;
    ajuint Use;
    ajuint Padding;
} EnsOAttribute;

#define EnsPAttribute EnsOAttribute*




/* @data EnsPSeqregionadaptor *************************************************
**
** Ensembl Sequence Region Adaptor.
**
** @attr Adaptor [EnsPDatabaseadaptor] Ensembl Database Adaptor
** @attr CacheByIdentifier [EnsPCache] Ensembl Cache to store Ensembl Sequence
**                              Regions with SQL-database identifiers as index
** @attr CacheByName [AjPTable] AJAX Table to cache Ensembl Sequence Regions
**                              with 'SequenceRegionName:CoordinatesystemId'
**                              AJAX Strings as index
** @attr CacheNonReference [AjPTable] AJAX Table to cache Ensembl Sequence
**                                    Regions, which are associated with an
**                                    Ensembl Attribute of code 'non_ref' that
**                                    is usually set for haplotype assembly
**                                    paths. The Table uses AJAX unsigned
**                                    integer key and AJAX Boolean value data.
** @@
******************************************************************************/

typedef struct EnsSSeqregionadaptor {
    EnsPDatabaseadaptor Adaptor;
    EnsPCache CacheByIdentifier;
    AjPTable CacheByName;
    AjPTable CacheNonReference;
} EnsOSeqregionadaptor;

#define EnsPSeqregionadaptor EnsOSeqregionadaptor*




/* @data EnsPSeqregion ********************************************************
**
** Ensembl Sequence Region.
**
** @attr Use [ajuint] Usage counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] Internal SQL database identifier (primary key)
** @attr Adaptor [EnsPSeqregionadaptor] Ensembl Sequence Region Adaptor
** @cc Bio::EnsEMBL::???
** @attr Coordsystem [EnsPCoordsystem] Ensembl Coordinate System
** @attr Name [AjPStr] Name
** @attr Attributes [AjPList] AJAX List of Ensembl Attributes
** @attr Length [ajint] Length
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/

typedef struct EnsSSeqregion {
    ajuint Use;
    ajuint Identifier;
    EnsPSeqregionadaptor Adaptor;
    EnsPCoordsystem Coordsystem;
    AjPStr Name;
    AjPList Attributes;
    ajint Length;
    ajuint Padding;
} EnsOSeqregion;

#define EnsPSeqregion EnsOSeqregion*




/* @data EnsPSliceadaptor *****************************************************
**
** Ensembl Slice Adaptor.
**
** @attr Adaptor [EnsPDatabaseadaptor] Ensembl Database Adaptor
** @attr CacheByIdentifier [EnsPCache] Cache Ensembl Slice by their
**                                     Ensembl Sequence Region identifier,
**                                     start, end and strand coordinate.
** @attr CacheByName [AjPTable] Cache Ensembl Slices by their
**                              Ensembl Sequence Region name, start, end and
**                              strand coordinate.
** @@
******************************************************************************/

typedef struct EnsSSliceadaptor {
    EnsPDatabaseadaptor Adaptor;
    EnsPCache CacheByIdentifier;
    AjPTable CacheByName;
} EnsOSliceadaptor;

#define EnsPSliceadaptor EnsOSliceadaptor*




/* @data EnsPSlice ************************************************************
**
** Ensembl Slice.
**
** Holds information about a genome sequence slice.
**
** @alias EnsSSlice
** @alias EnsOSlice
**
** @attr Adaptor [EnsPSliceadaptor] Ensembl Slice Adaptor
** @attr Seqregion [EnsPSeqregion] Ensembl Sequence Region
** @attr Sequence [AjPStr] Sequence
** @attr Start [ajint] Start coordinate
** @attr End [ajint] End coordinate
** @attr Strand [ajint] Strand information (+1|-1)
** @attr Use [ajuint] Use counter
** @@
******************************************************************************/

typedef struct EnsSSlice {
    EnsPSliceadaptor Adaptor;
    EnsPSeqregion Seqregion;
    AjPStr Sequence;
    ajint Start;
    ajint End;
    ajint Strand;
    ajuint Use;
} EnsOSlice;

#define EnsPSlice EnsOSlice*




/* @data EnsPAssemblymapperadaptor ********************************************
**
** Ensembl Assembly Mapper Adaptor.
**
** The Ensembl Assembly Mapper Adaptor is used to retrieve Ensembl Mappers
** between any two Ensembl Coordinate Systems whose makeup is described by
** the 'assembly' table. Currently, one-step (explicit) and two-step (implict)
** pairwise mapping is supported. In one-step mapping an explicit relationship
** between the Coordinate Systems is defined in the 'assembly' table.
** In two-step 'chained' mapping no explicit mapping is present, but the
** Coordinate Systems must share a common mapping to an intermediate
** Coordinate System.
**
** @alias EnsSAssemblymapperadaptor
** @alias EnsOAssemblymapperadaptor
**
** @attr Adaptor [EnsPDatabaseadaptor] Ensembl Database Adaptor
** @attr AsmMapperCache [AjPTable] Ensembl Assembly Mapper cache
** @attr MultipleMappings [AjPTable] Sequence Regions that have more than one
**                                   entry in the Ensembl Core 'assembly'
**                                   table, i. e. they map to more than one
**                                   location.
** @@
** The Ensembl Assembly Mapper cache is implemented as an AJAX Table with
** Ensembl Coordinate System identifiers as AJAX String keys and
** Ensembl Assembly Mapper objects as values.
******************************************************************************/

typedef struct EnsSAssemblymapperadaptor {
    EnsPDatabaseadaptor Adaptor;
    AjPTable AsmMapperCache;
    AjPTable MultipleMappings;
} EnsOAssemblymapperadaptor;

#define EnsPAssemblymapperadaptor EnsOAssemblymapperadaptor*




/* @data EnsPGenericassemblymapper ********************************************
**
** Ensembl Generic Assembly Mapper.
**
** The Ensembl Generic Assembly Mapper handles mappings between two Ensembl
** Coordinate Systems using the information stored in the 'assembly' table of
** an Ensembl Core database.
**
** The Ensembl Generic Assembly Mapper is a database aware mapper, which
** facilitates conversion of coordinates between any two coordinate systems
** with a relationship explicitly defined in the assembly table. In future,
** it may be possible to perform multiple step (implicit) mapping between
** coordinate systems.
**
** It is implemented using the Ensembl Mapper object, which is a generic mapper
** object between disjoint coordinate systems.
**
** @alias EnsSGenericassemblymapper
** @alias EnsOGenericassemblymapper
**
** @attr Adaptor [EnsPAssemblymapperadaptor] Ensembl Assembly Mapper Adaptor
** @attr AsmCoordsystem [EnsPCoordsystem] Assembled Ensembl Coordinate System
** @attr CmpCoordsystem [EnsPCoordsystem] Component Ensembl Coordinate System
** @attr AsmRegister [AjPTable] Assembled Register
** @attr CmpRegister [AjPTable] Component Register
** @attr Mapper [EnsPMapper] Ensembl Mapper
** @attr MaxPairCount [ajuint] Maximum Ensembl Mapper Pair count
** @attr Use [ajuint] Use counter
** @@
******************************************************************************/

typedef struct EnsSGenericassemblymapper {
    EnsPAssemblymapperadaptor Adaptor;
    EnsPCoordsystem AsmCoordsystem;
    EnsPCoordsystem CmpCoordsystem;
    AjPTable AsmRegister;
    AjPTable CmpRegister;
    EnsPMapper Mapper;
    ajuint MaxPairCount;
    ajuint Use;
} EnsOGenericassemblymapper;

#define EnsPGenericassemblymapper EnsOGenericassemblymapper*




/* @data EnsPChainedassemblymapper ********************************************
**
** Ensembl Chained Assembly Mapper.
**
** The Ensembl Chained Assembly Mapper is an extension of the regular
** Ensembl Generic Assembly Mapper that allows for mappings between
** Ensembl Coordinate Systems that require multi-step mapping.
** For example if explicit mappings are defined between the following
** Coordinate Systems,
**   chromosome ... contig
**   contig     ... clone
** the Ensembl Chained Assembly Mapper would be able to perform implicit
** mapping between the chromosome and clone coordinate systems. This should be
** transparent to the user of this module, and users should not even realise
** that they are using a Chained Assembly Mapper as opposed to a
** Generic Assembly Mapper.
**
** @alias EnsSChainedassemblymapper
** @alias EnsOChainedassemblymapper
**
** @attr Adaptor [EnsPAssemblymapperadaptor] Ensembl Assembly Mapper Adaptor
** @attr SourceCoordsystem [EnsPCoordsystem] Source Ensembl Coordinate System
** @attr MiddleCoordsystem [EnsPCoordsystem] Middle Ensembl Coordinate System
** @attr TargetCoordsystem [EnsPCoordsystem] Target Ensembl Coordinate System
** @attr SourceMiddleMapper [EnsPMapper] Source to middle Ensembl Mapper
** @attr TargetMiddleMapper [EnsPMapper] Target to middle Ensembl Mapper
** @attr SourceTargetMapper [EnsPMapper] Source to target Ensembl Mapper
** @attr SourceRegistry [EnsPMapperrangeregistry] Source Ensembl Mapper
**                                                Range Registry
** @attr TargetRegistry [EnsPMapperrangeregistry] Target Ensembl Mapper
**                                                Range Registry
** @attr MaxPairCount [ajuint] Maximum Ensembl Mapper Pair count
** @attr Use [ajuint] Use counter
** @@
******************************************************************************/

typedef struct EnsSChainedassemblymapper {
    EnsPAssemblymapperadaptor Adaptor;
    EnsPCoordsystem SourceCoordsystem;
    EnsPCoordsystem MiddleCoordsystem;
    EnsPCoordsystem TargetCoordsystem;
    EnsPMapper SourceMiddleMapper;
    EnsPMapper TargetMiddleMapper;
    EnsPMapper SourceTargetMapper;
    EnsPMapperrangeregistry SourceRegistry;
    EnsPMapperrangeregistry TargetRegistry;
    ajuint MaxPairCount;
    ajuint Use;
} EnsOChainedassemblymapper;

#define EnsPChainedassemblymapper EnsOChainedassemblymapper*




/* @data EnsPToplevelassemblymapper *******************************************
**
** Ensembl Top-Level Assembly Mapper.
**
** The Ensembl Top-Level Assembly Mapper performs mapping between a provided
** Ensembl Coordinate System and the top-level pseudo Cooordinate System.
** The top-level Coordinate System is not a real Coordinate System, but
** represents the highest Coordinate System that can be mapped to in a given
** Sequence Region. It is only possible to perform unidirectional mapping
** using this Mapper, because it does not make sense to map from the top-level
** Coordinate System to another Coordinate System.
**
** @alias EnsSToplevelassemblymapper
** @alias EnsOToplevelassemblymapper
**
** @attr Adaptor [EnsPAssemblymapperadaptor] Ensembl Assembly Mapper Adaptor.
** @attr Coordsystems [AjPList] AJAX List of Ensembl Coordinate Systems.
** @attr TopLevelCoordsystem [EnsPCoordsystem]
**                            Top-level Ensembl Coordinate System.
** @attr OtherCoordsystem [EnsPCoordsystem] Other Ensembl Coordinate System.
** @attr Use [ajuint] Use counter.
** @attr Padding [ajuint] Padding to alignment boundary.
** @@
******************************************************************************/

typedef struct EnsSToplevelassemblymapper {
    EnsPAssemblymapperadaptor Adaptor;
    AjPList Coordsystems;
    EnsPCoordsystem TopLevelCoordsystem;
    EnsPCoordsystem OtherCoordsystem;
    ajuint Use;
    ajuint Padding;
} EnsOToplevelassemblymapper;

#define EnsPToplevelassemblymapper EnsOToplevelassemblymapper*




/* @data EnsPAssemblymapper ***************************************************
**
** Ensembl Assembly Mapper.
**
** The Ensembl Assembly Mapper is a wrapper for specialised Assembly Mappers.
**
** @alias EnsSAssemblymapper
** @alias EnsOAssemblymapper
**
** @attr Adaptor [EnsPAssemblymapperadaptor] Ensembl Assembly Mapper Adaptor.
** @attr Generic [EnsPGenericassemblymapper] Ensembl Generic Assembly Mapper.
** @attr Chained [EnsPChainedassemblymapper] Ensembl Chained Assembly Mapper.
** @attr TopLevel [EnsPToplevelassemblymapper] Ensembl Top-Level
**                                            Assembly Mapper.
** @attr Use [ajuint] Use counter.
** @attr Padding [ajuint] Padding to alignment boundary.
** @@
** NOTE: This object subsumes the following Perl objects all returned by the
** Bio::EnsEMBL::DBSQL::AssemblyMapperAdaptor
**
** Bio::EnsEMBL::AssemblyMapper (here Ensembl Generic Assembly Mapper)
** Bio::EnsEMBL::ChainedAssemblyMapper
** Bio::EnsEMBL::TopLevelAssemblyMapper
**
** The objects can be distinguished by their Type element.
******************************************************************************/

typedef struct EnsSAssemblymapper {
    EnsPAssemblymapperadaptor Adaptor;
    EnsPGenericassemblymapper Generic;
    EnsPChainedassemblymapper Chained;
    EnsPToplevelassemblymapper TopLevel;
    ajuint Use;
    ajuint Padding;
} EnsOAssemblymapper;

#define EnsPAssemblymapper EnsOAssemblymapper*




/* @data EnsPBaseadaptorLeftJoin **********************************************
**
** Ensembl Base Adaptor Left Join Statement.
**
** @alias EnsSBaseadaptorLeftJoin
** @alias EnsOBaseadaptorLeftJoin
**
** @attr Table [const char*] SQL Table
** @attr Condition [const char*] SQL Condition for a LEFT JOIN statement
** @@
******************************************************************************/

typedef struct EnsSBaseadaptorLeftJoin {
    const char *Table;
    const char *Condition;
} EnsOBaseadaptorLeftJoin;

#define EnsPBaseadaptorLeftJoin EnsOBaseadaptorLeftJoin*




/* @data EnsPBaseadaptor ******************************************************
**
** Ensembl Base Adaptor.
**
** @alias EnsSBaseadaptor
** @alias EnsOBaseadaptor
**
** @alias EnsPGvsampleadaptor
** @alias EnsPGvindividualadaptor
** @alias EnsPGvpopulationadaptor
**
** @attr Adaptor [EnsPDatabaseadaptor] Ensembl Database Adaptor.
** @attr Tables [const char**] One dimensional array of table name character
**                              strings
** @attr Columns [const char**] One dimensional array of column name character
**                               strings
** @attr LeftJoin [EnsOBaseadaptorLeftJoin*] Address of an array of
**                                   Ensembl Base Adaptor Left Join Statements
** @attr DefaultCondition [const char*] Default condition in a
**                                       SQL SELECT statement
** @attr FinalCondition [const char*] Final condition in a
**                                     SQL SELECT statement
** @attr StraightJoin [AjBool] Set the MySQL-specific STRAIGHT_JOIN option in a
**                             SQL SELECT statement
** @attr Padding [ajuint] Padding to alignment boundary
** @attr Query [(AjBool*)] Function pointer to an Ensembl object-spcific Query
**                        function, consolidating SQL results into Ensembl
**                        objects
** @@
** NOTE: In constrast to the Perl API, this implementation does not have a
** species_id element, which is already available from the Database Adaptor.
******************************************************************************/

typedef struct EnsSBaseadaptor {
    EnsPDatabaseadaptor Adaptor;
    const char **Tables;
    const char **Columns;
    EnsOBaseadaptorLeftJoin *LeftJoin;
    const char *DefaultCondition;
    const char *FinalCondition;
    AjBool StraightJoin;
    ajuint Padding;
    AjBool (*Query)(EnsPDatabaseadaptor dba,
                    const AjPStr sql,
                    EnsPAssemblymapper mapper,
                    EnsPSlice slice,
                    AjPList objects);
} EnsOBaseadaptor;

#define EnsPBaseadaptor EnsOBaseadaptor*




/* @data EnsPAnalysisadaptor **************************************************
**
** Ensembl Analysis Adaptor.
**
** @alias EnsSAnalysisadaptor
** @alias EnsOAnalysisadaptor
**
** @attr Adaptor [EnsPBaseadaptor] Ensembl Base Adaptor
** @attr CacheByIdentifier [AjPTable] Identifier cache
** @attr CacheByName [AjPTable] Name cache
** @@
******************************************************************************/

typedef struct EnsSAnalysisadaptor {
    EnsPBaseadaptor Adaptor;
    AjPTable CacheByIdentifier;
    AjPTable CacheByName;
} EnsOAnalysisadaptor;

#define EnsPAnalysisadaptor EnsOAnalysisadaptor*




/* @data EnsPAnalysis *********************************************************
**
** Ensembl Analysis.
** An Ensembl Analysis object stores details of an analysis within the
** Ensembl genome analysis and annotation pipeline.
**
** @alias EnsSAnalysis
** @alias EnsOAnalysis
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPAnalysisadaptor] Ensembl Analysis Adaptor
** @cc Bio::EnsEMBL::Analysis
** @cc 'analysis' SQL table
** @attr CreationDate [AjPStr] Creation date
** @attr Name [AjPStr] Name
** @attr DatabaseName [AjPStr] Database name
** @attr DatabaseVersion [AjPStr] Database version
** @attr DatabaseFile [AjPStr] Database file
** @attr ProgramName [AjPStr] Program name
** @attr ProgramVersion [AjPStr] Program version
** @attr ProgramFile [AjPStr] Program file
** @attr Parameters [AjPStr] Parameters
** @attr ModuleName [AjPStr] Module name
** @attr ModuleVersion [AjPStr] Module version
** @attr GFFSource [AjPStr] GFF source
** @attr GFFFeature [AjPStr] GFF feature
** @cc 'analysis_description' SQL table
** @attr Description [AjPStr] Description
** @attr DisplayLabel [AjPStr] Display label for the Ensembl website
** @attr WebData [AjPStr] Configuration information for the Ensembl web site
** @attr Displayable [AjBool] Displayable on the Ensembl web site
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/

typedef struct EnsSAnalysis {
    ajuint Use;
    ajuint Identifier;
    EnsPAnalysisadaptor Adaptor;
    AjPStr CreationDate;
    AjPStr Name;
    AjPStr DatabaseName;
    AjPStr DatabaseVersion;
    AjPStr DatabaseFile;
    AjPStr ProgramName;
    AjPStr ProgramVersion;
    AjPStr ProgramFile;
    AjPStr Parameters;
    AjPStr ModuleName;
    AjPStr ModuleVersion;
    AjPStr GFFSource;
    AjPStr GFFFeature;
    AjPStr Description;
    AjPStr DisplayLabel;
    AjPStr WebData;
    AjBool Displayable;
    ajuint Padding;
} EnsOAnalysis;

#define EnsPAnalysis EnsOAnalysis*




/* @data EnsPExternaldatabaseadaptor ******************************************
**
** Ensembl External Database Adaptor.
**
** @alias EnsSExternaldatabaseadaptor
** @alias EnsOExternaldatabaseadaptor
**
** @attr Adaptor [EnsPBaseadaptor] Ensembl Base Adaptor
** @attr CacheByIdentifier [AjPTable] Identifier cache
** @attr CacheByName [AjPTable] Name cache
** @@
******************************************************************************/

typedef struct EnsSExternaldatabaseadaptor {
    EnsPBaseadaptor Adaptor;
    AjPTable CacheByIdentifier;
    AjPTable CacheByName;
} EnsOExternaldatabaseadaptor;

#define EnsPExternaldatabaseadaptor EnsOExternaldatabaseadaptor*




/* EnsEExternaldatabaseStatus *************************************************
**
** Ensembl External Database Status enumeration.
**
******************************************************************************/

typedef enum EnsOExternaldatabaseStatus
{
    ensEExternaldatabaseStatusNULL,
    ensEExternaldatabaseStatusKnownXref,
    ensEExternaldatabaseStatusKnown,
    ensEExternaldatabaseStatusXref,
    ensEExternaldatabaseStatusPred,
    ensEExternaldatabaseStatusOrth,
    ensEExternaldatabaseStatusPseudo
} EnsEExternaldatabaseStatus;




/* EnsEExternaldatabaseType ***************************************************
**
** Ensembl External Database Type enumeration.
**
******************************************************************************/

typedef enum EnsOExternaldatabaseType
{
    ensEExternaldatabaseTypeNULL,
    ensEExternaldatabaseTypeArray,
    ensEExternaldatabaseTypeAltTrans,
    ensEExternaldatabaseTypeMisc,
    ensEExternaldatabaseTypeLit,
    ensEExternaldatabaseTypePrimaryDbSynonym,
    ensEExternaldatabaseTypeEnsembl
} EnsEExternaldatabaseType;




/* @data EnsPExternaldatabase *************************************************
**
** Ensembl External Database.
**
** @alias EnsSExternaldatabase
** @alias EnsOExternaldatabase
**
** @attr Use [ajuint] Use counter.
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] Internal SQL database identifier (primary key).
** @attr Adaptor [EnsPExternaldatabaseadaptor] Ensembl External
**                                             Database Adaptor
** @cc Bio::EnsEMBL::???
** @cc 'external_db' SQL table
** @attr Name [AjPStr] Database name
** @attr Release [AjPStr] Database release
** @attr DisplayName [AjPStr] Database display name
** @attr SecondaryName [AjPStr] Secondary database name
** @attr SecondaryTable [AjPStr] Secondary database table
** @attr Description [AjPStr] Description
** @attr PrimaryIdIsLinkable [AjBool] Primary identifier is linkable
** @attr DisplayIdIsLinkable [AjBool] Display identifier is linkable
** @attr Status [EnsEExternaldatabaseStatus] Status
** @attr Type [EnsEExternaldatabaseType] Type
** @attr Priority [ajint] Priority
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/

typedef struct EnsSExternaldatabase {
    ajuint Use;
    ajuint Identifier;
    EnsPExternaldatabaseadaptor Adaptor;
    AjPStr Name;
    AjPStr Release;
    AjPStr DisplayName;
    AjPStr SecondaryName;
    AjPStr SecondaryTable;
    AjPStr Description;
    AjBool PrimaryIdIsLinkable;
    AjBool DisplayIdIsLinkable;
    EnsEExternaldatabaseStatus Status;
    EnsEExternaldatabaseType Type;
    ajint Priority;
    ajuint Padding;
} EnsOExternaldatabase;

#define EnsPExternaldatabase EnsOExternaldatabase*




/* EnsEExternalreferenceInfoType **********************************************
**
** Ensembl External Reference InfoType enumeration.
**
******************************************************************************/

typedef enum EnsOExternalreferenceInfoType
{
    ensEExternalreferenceInfoTypeNULL,
    ensEExternalreferenceInfoTypeProjection,
    ensEExternalreferenceInfoTypeMisc,
    ensEExternalreferenceInfoTypeDependent,
    ensEExternalreferenceInfoTypeDirect,
    ensEExternalreferenceInfoTypeSequenceMatch,
    ensEExternalreferenceInfoTypeInferrredPair,
    ensEExternalreferenceInfoTypeProbe,
    ensEExternalreferenceInfoTypeUnmapped,
    ensEExternalreferenceInfoTypeCoordinateOverlap
} EnsEExternalreferenceInfoType;




/* @data EnsPExternalreference ************************************************
**
** Ensembl External Reference.
**
** @alias EnsSExternalreference
** @alias EnsOExternalreference
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] Internal SQL database identifier (primary key)
** @attr Analysis [EnsPAnalysis] Ensembl Analysis
** @cc 'xref' SQL table
** @attr Externaldatabase [EnsPExternaldatabase] Ensembl External Database
** @attr PrimaryIdentifier [AjPStr] Primary identifier
** @attr DisplayIdentifier [AjPStr] Display identifier
** @attr Version [AjPStr] Version
** @attr Description [AjPStr] Description
** @attr LinkageAnnotation [AjPStr] Linkage annotation
** @attr InfoText [AjPStr] Information text
** @attr InfoType [EnsEExternalreferenceInfoType] Information type
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/

typedef struct EnsSExternalreference {
    ajuint Use;
    ajuint Identifier;
    EnsPAnalysis Analysis;
    EnsPExternaldatabase Externaldatabase;
    AjPStr PrimaryIdentifier;
    AjPStr DisplayIdentifier;
    AjPStr Version;
    AjPStr Description;
    AjPStr LinkageAnnotation;
    AjPStr InfoText;
    EnsEExternalreferenceInfoType InfoType;
    ajuint Padding;
} EnsOExternalreference;

#define EnsPExternalreference EnsOExternalreference*
/*  EnsPExternalreferenceadaptor Adaptor; */




/* @data EnsPIdentityreference ************************************************
**
** Ensembl Identity Reference.
**
** @alias EnsSIdentityreference
** @alias EnsOIdentityreference
**
** @cc Bio::EnsEMBL::IdentityXref
** @cc 'identity_xref' SQL table
** @attr Cigar [AjPStr] Cigar line (See exonerate(1))
** @attr QueryStart [ajint] Query start
** @attr QueryEnd [ajint] Query end
** @attr QueryIdentity [ajint] Query sequence identity
** @attr TargetStart [ajint] Target start
** @attr TargetEnd [ajint] Target end
** @attr TargetIdentity [ajint] Target sequence identity
** @attr Use [ajuint] Use counter
** @attr Padding [ajuint] Padding to alignment boundary
** @attr Evalue [double] e-Value
** @attr Score [double] Score
** @@
******************************************************************************/

typedef struct EnsSIdentityreference {
    AjPStr Cigar;
    ajint QueryStart;
    ajint QueryEnd;
    ajint QueryIdentity;
    ajint TargetStart;
    ajint TargetEnd;
    ajint TargetIdentity;
    ajuint Use;
    ajuint Padding;
    double Evalue;
    double Score;
} EnsOIdentityreference;

#define EnsPIdentityreference EnsOIdentityreference*




/* @data EnsPDatabaseentryadaptor *********************************************
**
** Ensembl Database Entry Adaptor.
**
** @alias EnsSDatabaseentryadaptor
** @alias EnsODatabaseentryadaptor
**
** @attr Adaptor [EnsPDatabaseadaptor] Ensembl Database Adaptor
** @@
******************************************************************************/

typedef struct EnsSDatabaseentryadaptor {
    EnsPDatabaseadaptor Adaptor;
} EnsODatabaseentryadaptor;

#define EnsPDatabaseentryadaptor EnsODatabaseentryadaptor*




/* @data EnsPDatabaseentry ****************************************************
**
** Ensembl Database Entry.
**
** @alias EnsSDatabaseentry
** @alias EnsODatabaseentry
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] Internal SQL database identifier (primary key)
** @attr Adaptor [EnsPDatabaseentryadaptor] Ensembl Database Entry Adaptor
** @cc Bio::EnsEMBL::DbEntry
** @cc 'xref' SQL table
** @attr Externalreference [EnsPExternalreference] Ensembl External Reference
** @cc Bio::EnsEMBL::IdentityXref
** @attr Identityreference [EnsPIdentityreference] Ensembl Identity Reference
** @cc 'external_synonym' SQL table
** @attr Synonyms [AjPList] Synonyms
** @attr GoLinkageTypes [AjPList] Gene Ontology linkage types
** @@
******************************************************************************/

typedef struct EnsSDatabaseentry {
    ajuint Use;
    ajuint Identifier;
    EnsPDatabaseentryadaptor Adaptor;
    EnsPExternalreference Externalreference;
    EnsPIdentityreference Identityreference;
    AjPList Synonyms;
    AjPList GoLinkageTypes;
} EnsODatabaseentry;

#define EnsPDatabaseentry EnsODatabaseentry*




/* @data EnsPGeneontologylinkage **********************************************
**
** Ensembl Gene Ontology Linkage.
**
** @alias EnsSGeneontologylinkage
** @alias EnsOGeneontologylinkage
**
** @cc 'go_xref' SQL table
** @attr LinkageType [AjPStr] Likage type (Gene Ontology Evidence Code)
** @attr Source [EnsPDatabaseentry] Source Ensembl Database Entry
** @attr Use [ajuint] Use counter
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/

typedef struct EnsSGeneontologylinkage {
    AjPStr LinkageType;
    EnsPDatabaseentry Source;
    ajuint Use;
    ajuint Padding;
} EnsOGeneontologylinkage;

#define EnsPGeneontologylinkage EnsOGeneontologylinkage*




/* @data EnsPFeature **********************************************************
**
** Ensembl Feature.
**
** @alias EnsSFeature
** @alias EnsOFeature
**
** @cc Bio::EnsEMBL::Feature
** @attr Analysis [EnsPAnalysis] Ensembl Analysis
** @attr Slice [EnsPSlice] Ensembl Slice
** @attr SequenceName [AjPStr] Sequence name
** @attr Start [ajint] Start coordinate
** @attr End [ajint] End coordinate
** @attr Strand [ajint] Strand orientation
** @attr Use [ajuint] Use counter
** @@
******************************************************************************/

typedef struct EnsSFeature {
    EnsPAnalysis Analysis;
    EnsPSlice Slice;
    AjPStr SequenceName;
    ajint Start;
    ajint End;
    ajint Strand;
    ajuint Use;
} EnsOFeature;

#define EnsPFeature EnsOFeature*




/* @data EnsPFeatureadaptor ***************************************************
**
** Ensembl Feature Adaptor.
**
** @alias EnsSFeatureadaptor
** @alias EnsOFeatureadaptor
**
** @attr Adaptor [EnsPBaseadaptor] Ensembl Base Adaptor
** @attr Cache [EnsPCache] Ensembl LRU Cache
** @attr Tables [char**] Tables
** @attr Condition [char*] Default SQL condition
** @attr GetFeature [(EnsPFeature*)] Ensembl Object-specific 'GetFeature'
**                                  element function
** @attr Reference [(void**)] Ensembl Object-specific referencing function
** @attr Delete [(void*)] Ensembl Object-specific deletion function
** @attr MaxFeatureLength [ajuint] Maximum length of a particular Feature type
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/

typedef struct EnsSFeatureadaptor {
    EnsPBaseadaptor Adaptor;
    EnsPCache Cache;
    char **Tables;
    char *Condition;
    EnsPFeature (*GetFeature)(const void *object);
    void* (*Reference)(void* value);
    void (*Delete)(void** value);
    ajuint MaxFeatureLength;
    ajuint Padding;
} EnsOFeatureadaptor;

#define EnsPFeatureadaptor EnsOFeatureadaptor*




/* @data EnsPExonadaptor ******************************************************
**
** Ensembl Exon Adaptor.
**
** @alias EnsSExonadaptor
** @alias EnsOExonadaptor
**
** @cc Bio::EnsEMBL::DBSQL::BaseFeatureAdaptor
** @attr Adaptor [EnsPFeatureadaptor] Ensembl Feature Adaptor
** @@
******************************************************************************/

typedef struct EnsSExonadaptor {
    EnsPFeatureadaptor Adaptor;
} EnsOExonadaptor;

#define EnsPExonadaptor EnsOExonadaptor*




/* @data EnsPExon *************************************************************
**
** Ensembl Exon.
**
** @alias EnsSExon
** @alias EnsOExon
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] Internal SQL database identifier (primary key)
** @attr Adaptor [EnsPExonadaptor] Ensembl Exon Adaptor
** @cc Bio::EnsEMBL::Feature
** @attr Feature [EnsPFeature] Ensembl Feature
** @cc Bio::EnsEMBL::Exon
** @cc 'exon' SQL table
** @attr StartPhase [ajint] Exon start phase
** @attr EndPhase [ajint] Exon end phase
** @attr Current [AjBool] Current
** @attr Constitutive [AjBool] Consitutive
** @cc 'exon_stable_id' SQL table
** @attr StableIdentifier [AjPStr] Stable identifier
** @attr Version [ajuint] Version
** @attr Padding [ajuint] Padding to alignment boundary
** @attr CreationDate [AjPStr] Creation date
** @attr ModificationDate [AjPStr] Modification date
** @cc Additional elements not in SQL tables
** @attr SequenceCache [AjPStr] Sequence Cache
** @attr Supportingfeatures [AjPList] AJAX List of Ensembl Base Align Features
** @attr Coordinates [AjPTable] Exon Coordinates indexed by
**                              Ensembl Transcript identifiers
** @@
******************************************************************************/

typedef struct EnsSExon {
    ajuint Use;
    ajuint Identifier;
    EnsPExonadaptor Adaptor;
    EnsPFeature Feature;
    ajint StartPhase;
    ajint EndPhase;
    AjBool Current;
    AjBool Constitutive;
    AjPStr StableIdentifier;
    ajuint Version;
    ajuint Padding;
    AjPStr CreationDate;
    AjPStr ModificationDate;
    AjPStr SequenceCache;
    AjPList Supportingfeatures;
    AjPTable Coordinates;
} EnsOExon;

#define EnsPExon EnsOExon*




/* @data EnsPIntron ***********************************************************
**
** Ensembl Intron.
**
** @alias EnsSIntron
** @alias EnsOIntron
**
** @cc Bio::EnsEMBL::Feature
** @attr Feature [EnsPFeature] Ensembl Feature
** @cc Bio::EnsEMBL::Intron
** @attr PreviousExon [EnsPExon] Previous Ensembl Exon
** @attr NextExon [EnsPExon] Next Ensembl Exon
** @attr Use [ajuint] Use counter
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/

typedef struct EnsSIntron {
    EnsPFeature Feature;
    EnsPExon PreviousExon;
    EnsPExon NextExon;
    ajuint Use;
    ajuint Padding;
} EnsOIntron;

#define EnsPIntron EnsOIntron*




/* @data EnsPTranslationadaptor ***********************************************
**
** Ensembl Translation Adaptor.
**
** @alias EnsSTranslationadaptor
** @alias EnsOTranslationadaptor
**
** @cc Bio::EnsEMBL::DBSQL::BaseAdaptor
** @attr Adaptor [EnsPBaseadaptor] Ensembl Base Adaptor
** @@
******************************************************************************/

typedef struct EnsSTranslationadaptor {
    EnsPBaseadaptor Adaptor;
} EnsOTranslationadaptor;

#define EnsPTranslationadaptor EnsOTranslationadaptor*




/* @data EnsPTranslation ******************************************************
**
** Ensembl Translation.
**
** @alias EnsSTranslation
** @alias EnsOTranslation
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] Internal SQL database identifier (primary key)
** @attr Adaptor [EnsPTranslationadaptor] Ensembl Translation Adaptor
** @cc Bio::EnsEMBL::Translation
** @cc 'translation' SQL table
** @attr StartExon [EnsPExon] Ensembl Exon in which the Translation
**                            start coordinate is annotated
** @attr EndExon [EnsPExon] Ensembl Exon in which the Translation
**                          end coordinate is annotated
** @attr Start [ajuint] Start coordinate relative to start Ensembl Exon
** @attr End [ajuint] End coordinate relative to end Ensembl Exon
** @cc 'translation_stable_id' SQL table
** @attr StableIdentifier [AjPStr] Stable identifier
** @attr CreationDate [AjPStr] Creation date
** @attr ModificationDate [AjPStr] Modification date
** @attr Version [ajuint] Version
** @attr Padding [ajuint] Padding to alignment boundary
** @cc Additional elements not in SQL tables
** @attr Attributes [AjPList] AJAX List of Ensembl Attributes
** @attr DatabaseEntries [AjPList] AJAX List of Ensembl Database Entries
** @attr Proteinfeatures [AjPList] AJAX List of Ensembl Protein Features
** @attr Sequence [AjPStr] Translation sequence
** @attr TranscriptStart [ajuint] Start coordinate relative to
**                                Ensembl Transcript (cDNA)
** @attr TranscriptEnd [ajuint] End coordinate relative to
**                              Ensembl Transcript (cDNA)
** @attr SliceStart [ajuint] Start coordinate relative to the Slice
** @attr SliceEnd [ajuint] End coordinate relative to the Slice
** @@
******************************************************************************/

typedef struct EnsSTranslation {
    ajuint Use;
    ajuint Identifier;
    EnsPTranslationadaptor Adaptor;
    EnsPExon StartExon;
    EnsPExon EndExon;
    ajuint Start;
    ajuint End;
    AjPStr StableIdentifier;
    AjPStr CreationDate;
    AjPStr ModificationDate;
    ajuint Version;
    ajuint Padding;
    AjPList Attributes;
    AjPList DatabaseEntries;
    AjPList Proteinfeatures;
    AjPStr Sequence;
    ajuint TranscriptStart;
    ajuint TranscriptEnd;
    ajuint SliceStart;
    ajuint SliceEnd;
} EnsOTranslation;

#define EnsPTranslation EnsOTranslation*




/* @data EnsPTranscriptadaptor ************************************************
**
** Ensembl Transcript Adaptor.
**
** @alias EnsSTranscriptadaptor
** @alias EnsOTranscriptadaptor
**
** @cc Bio::EnsEMBL::DBSQL::BaseFeatureAdaptor
** @attr Adaptor [EnsPFeatureadaptor] Ensembl Feature Adaptor
** @@
******************************************************************************/

typedef struct EnsSTranscriptadaptor {
    EnsPFeatureadaptor Adaptor;
} EnsOTranscriptadaptor;

#define EnsPTranscriptadaptor EnsOTranscriptadaptor*



/* EnsETranscriptStatus *******************************************************
**
** Ensembl Transcript Status enumeration.
**
******************************************************************************/

typedef enum EnsOTranscriptStatus
{
    ensETranscriptStatusNULL,
    ensETranscriptStatusKnown,
    ensETranscriptStatusNovel,
    ensETranscriptStatusPutative,
    ensETranscriptStatusPredicted,
    ensETranscriptStatusKnownByProjection,
    ensETranscriptStatusUnknown
} EnsETranscriptStatus;




/* @data EnsPTranscript *******************************************************
**
** Ensembl Transcript.
**
** @alias EnsSTranscript
** @alias EnsOTranscript
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] Internal SQL database identifier (primary key)
** @attr Adaptor [EnsPTranscriptadaptor] Ensembl Transcript Adaptor
** @cc Bio::EnsEMBL::Feature
** @attr Feature [EnsPFeature] Ensembl Feature
** @cc Bio::EnsEMBL::Transcript
** @cc 'transcript' SQL table
** @attr DisplayReference [EnsPDatabaseentry] Display External Reference
** @attr Description [AjPStr] Description
** @attr BioType [AjPStr] Biological type
** @attr Status [EnsETranscriptStatus] Status
** @attr Current [AjBool] Current attribute
** @cc 'transcript_stable_id' SQL table
** @attr StableIdentifier [AjPStr] Stable identifier
** @attr CreationDate [AjPStr] Creation date
** @attr ModificationDate [AjPStr] Modification date
** @attr Version [ajuint] Version
** @cc Additional elements not in SQL tables
** @attr GeneIdentifier [ajuint] Ensembl Gene identifier
** @attr AlternativeTranslations [AjPList] AJAX List of alternative
**                                         Ensembl Translations
** @attr Attributes [AjPList] AJAX List of Ensembl Attributes
** @attr DatabaseEntries [AjPList] AJAX List of Ensembl Database Entries
** @attr Exons [AjPList] AJAX List of Ensembl Exons
** @attr Supportingfeatures [AjPList] AJAX List of Ensembl Base Align Features
** @attr Translation [EnsPTranslation] Ensembl Translation
** @attr SliceCodingStart [ajuint] Coding start in Slice coordinates
** @attr SliceCodingEnd [ajuint] Coding end in Slice coordinates
** @attr TranscriptCodingStart [ajuint] Coding start in Transcript coordinates
** @attr TranscriptCodingEnd [ajuint] Coding end in Transcript coordinates
** @attr EnableSequenceEdits [AjBool] Enable Ensembl Sequence Edits
** @attr StartPhase [ajint] Start phase
** @cc Bio::EnsEMBL::TranscriptMapper
** @attr ExonCoordMapper [EnsPMapper] Ensembl Mapper
** @@
******************************************************************************/

typedef struct EnsSTranscript {
    ajuint Use;
    ajuint Identifier;
    EnsPTranscriptadaptor Adaptor;
    EnsPFeature Feature;
    EnsPDatabaseentry DisplayReference;
    AjPStr Description;
    AjPStr BioType;
    EnsETranscriptStatus Status;
    AjBool Current;
    AjPStr StableIdentifier;
    AjPStr CreationDate;
    AjPStr ModificationDate;
    ajuint Version;
    ajuint GeneIdentifier;
    AjPList AlternativeTranslations;
    AjPList Attributes;
    AjPList DatabaseEntries;
    AjPList Exons;
    AjPList Supportingfeatures;
    EnsPTranslation Translation;
    ajuint SliceCodingStart;
    ajuint SliceCodingEnd;
    ajuint TranscriptCodingStart;
    ajuint TranscriptCodingEnd;
    AjBool EnableSequenceEdits;
    ajint StartPhase;
    EnsPMapper ExonCoordMapper;
} EnsOTranscript;

#define EnsPTranscript EnsOTranscript*




/* @data EnsPGeneadaptor ******************************************************
**
** Ensembl Gene Adaptor.
**
** @alias EnsSGeneadaptor
** @alias EnsOGeneadaptor
**
** @cc Bio::EnsEMBL::DBSQL::BaseFeatureAdaptor
** @attr Adaptor [EnsPFeatureadaptor] Ensembl Feature Adaptor
** @@
******************************************************************************/

typedef struct EnsSGeneadaptor {
    EnsPFeatureadaptor Adaptor;
} EnsOGeneadaptor;

#define EnsPGeneadaptor EnsOGeneadaptor*




/* EnsEGeneStatus *************************************************************
**
** Ensembl Gene Status enumeration.
**
******************************************************************************/

typedef enum EnsOGeneStatus
{
    ensEGeneStatusNULL,
    ensEGeneStatusKnown,
    ensEGeneStatusNovel,
    ensEGeneStatusPutative,
    ensEGeneStatusPredicted,
    ensEGeneStatusKnownByProjection,
    ensEGeneStatusUnknown
} EnsEGeneStatus;




/* @data EnsPGene *************************************************************
**
** Ensembl Gene.
**
** @alias EnsSGene
** @alias EnsOGene
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] Internal SQL database identifier (primary key)
** @attr Adaptor [EnsPGeneadaptor] Ensembl Gene Adaptor
** @cc Bio::EnsEMBL::Feature
** @attr Feature [EnsPFeature] Ensembl Feature
** @cc Bio::EnsEMBL::Gene
** @cc 'gene' SQL table
** @attr DisplayReference [EnsPDatabaseentry] Display External Reference
** @attr Description [AjPStr] Description
** @attr Source [AjPStr] Source
** @attr BioType [AjPStr] Biological type
** @attr Status [EnsEGeneStatus] Status
** @attr Current [AjBool] Current attribute
** @attr CanonicalAnnotation [AjPStr] Canonical annotation
** @attr CanonicalTranscriptIdentifier [ajuint] Canonical Ensembl Transcript
**                                              identifier
** @attr Version [ajuint] Version
** @cc 'gene_stable_id' SQL table
** @attr StableIdentifier [AjPStr] Stable identifier
** @attr CreationDate [AjPStr] Creation date
** @attr ModificationDate [AjPStr] Modification date
** @cc Additional elements not in SQL tables
** @attr Attributes [AjPList] AJAX List of Ensembl Attributes
** @attr DatabaseEntries [AjPList] AJAX List of Ensembl Database Entries
** @attr Transcripts [AjPList] AJAX List of Ensembl Transcripts
** @@
******************************************************************************/

typedef struct EnsSGene {
    ajuint Use;
    ajuint Identifier;
    EnsPGeneadaptor Adaptor;
    EnsPFeature Feature;
    EnsPDatabaseentry DisplayReference;
    AjPStr Description;
    AjPStr Source;
    AjPStr BioType;
    EnsEGeneStatus Status;
    AjBool Current;
    AjPStr CanonicalAnnotation;
    ajuint CanonicalTranscriptIdentifier;
    ajuint Version;
    AjPStr StableIdentifier;
    AjPStr CreationDate;
    AjPStr ModificationDate;
    AjPList Attributes;
    AjPList DatabaseEntries;
    AjPList Transcripts;
} EnsOGene;

#define EnsPGene EnsOGene*




#endif /* ensdata_h */

#ifdef __cplusplus
}
#endif