/usr/lib/emboss/include/ensgvdata.h is in emboss-lib 6.6.0-1.
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 | /* @include ensgvdata *********************************************************
**
** Ensembl Genetic Variation Data functions
**
** @author Copyright (C) 1999 Ensembl Developers
** @author Copyright (C) 2006 Michael K. Schuster
** @version $Revision: 1.22 $
** @modified 2009 by Alan Bleasby for incorporation into EMBOSS core
** @modified $Date: 2013/02/17 13:06:34 $ by $Author: mks $
** @@
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License as published by the Free Software Foundation; either
** version 2.1 of the License, or (at your option) any later version.
**
** This library is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** Lesser General Public License for more details.
**
** You should have received a copy of the GNU Lesser General Public
** License along with this library; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
** MA 02110-1301, USA.
**
******************************************************************************/
#ifndef ENSGVDATA_H
#define ENSGVDATA_H
/* ========================================================================= */
/* ============================= include files ============================= */
/* ========================================================================= */
#include "ensfeature.h"
AJ_BEGIN_DECLS
/* ========================================================================= */
/* =============================== constants =============================== */
/* ========================================================================= */
/* @const EnsPGvgenotypeadaptor ***********************************************
**
** Ensembl Genetic Variation Genotype Adaptor.
** Defined as an alias in EnsPDatabaseadaptor
**
** #alias EnsPDatabaseadaptor
** ##
******************************************************************************/
#define EnsPGvgenotypeadaptor EnsPDatabaseadaptor
/* @const EnsPGvgenotypecodeadaptor *******************************************
**
** Ensembl Genetic Variation Genotype Code Adaptor.
** Defined as an alias in EnsPGvbaseadaptor
**
** #alias EnsPGvbaseadaptor
** ##
******************************************************************************/
#define EnsPGvgenotypecodeadaptor EnsPGvbaseadaptor
/* @const EnsPGvindividualadaptor *********************************************
**
** Ensembl Genetic Variation Individual Adaptor.
** Defined as an alias in EnsPBaseadaptor
**
** #alias EnsPBaseadaptor
** ##
******************************************************************************/
#define EnsPGvindividualadaptor EnsPBaseadaptor
/* @const EnsPGvpopulationadaptor *********************************************
**
** Ensembl Genetic Variation Population Adaptor.
** Defined as an alias in EnsPBaseadaptor
**
** #alias EnsPBaseadaptor
** ##
******************************************************************************/
#define EnsPGvpopulationadaptor EnsPBaseadaptor
/* @const EnsPGvpopulationgenotypeadaptor *************************************
**
** Ensembl Genetic Variation Population Genotype Adaptor.
** Defined as an alias in EnsPGvbaseadaptor
**
** #alias EnsPGvbaseadaptor
** ##
******************************************************************************/
#define EnsPGvpopulationgenotypeadaptor EnsPGvbaseadaptor
/* @const EnsPGvsampleadaptor *************************************************
**
** Ensembl Genetic Variation Sample Adaptor.
** Defined as an alias in EnsPBaseadaptor
**
** #alias EnsPBaseadaptor
** ##
******************************************************************************/
#define EnsPGvsampleadaptor EnsPBaseadaptor
/* @const EnsPGvsynonymadaptor ************************************************
**
** Ensembl Genetic Variation Synonym Adaptor.
** Defined as an alias in EnsPDatabaseadaptor
**
** #alias EnsPDatabaseadaptor
** ##
******************************************************************************/
#define EnsPGvsynonymadaptor EnsPDatabaseadaptor
/* @const EnsPGvvariationsetadaptor *******************************************
**
** Ensembl Genetic Variation Variation Set Adaptor.
** Defined as an alias in EnsPBaseadaptor
**
** #alias EnsPBaseadaptor
** ##
******************************************************************************/
#define EnsPGvvariationsetadaptor EnsPBaseadaptor
/* @enum EnsEGvindividualGender ***********************************************
**
** Ensembl Genetic Variation Individual Gender enumeration
**
** @value ensEGvindividualGenderNULL Null
** @value ensEGvindividualGenderMale Male
** @value ensEGvindividualGenderFemale Female
** @value ensEGvindividualGenderUnknown Unknown
** @@
******************************************************************************/
typedef enum EnsOGvindividualGender
{
ensEGvindividualGenderNULL,
ensEGvindividualGenderMale,
ensEGvindividualGenderFemale,
ensEGvindividualGenderUnknown
} EnsEGvindividualGender;
/* @enum EnsEGvindividualType *************************************************
**
** Ensembl Genetic Variation Individual Type enumeration
**
** @value ensEGvindividualTypeNULL Null
** @value ensEGvindividualTypeFullyInbred Fully inbred
** @value ensEGvindividualTypePartlyInbred Partly inbred
** @value ensEGvindividualTypeOutbred Outbred
** @value ensEGvindividualTypeMutant Mutant
** @value ensEGvindividualTypeUnknown Unknown
** @@
******************************************************************************/
typedef enum EnsOGvindividualType
{
ensEGvindividualTypeNULL,
ensEGvindividualTypeFullyInbred,
ensEGvindividualTypePartlyInbred,
ensEGvindividualTypeOutbred,
ensEGvindividualTypeMutant,
ensEGvindividualTypeUnknown
} EnsEGvindividualType;
/* @enum EnsEGvsampleDisplay **************************************************
**
** Ensembl Genetic Variation Sample Display enumeration
**
** @value ensEGvsampleDisplayNULL Null
** @value ensEGvsampleDisplayReference Reference
** @value ensEGvsampleDisplayDefault Default
** @value ensEGvsampleDisplayDisplayable Displayable
** @value ensEGvsampleDisplayUndisplayable Undisplayable
** @value ensEGvsampleDisplayLD Linkage Disequilibrium
** @value ensEGvsampleMartdisplayable Displayable in BioMart
** @@
******************************************************************************/
typedef enum EnsOGvsampleDisplay
{
ensEGvsampleDisplayNULL,
ensEGvsampleDisplayReference,
ensEGvsampleDisplayDefault,
ensEGvsampleDisplayDisplayable,
ensEGvsampleDisplayUndisplayable,
ensEGvsampleDisplayLD,
ensEGvsampleMartdisplayable
} EnsEGvsampleDisplay;
/* @enum EnsEGvsourceSomatic **************************************************
**
** Ensembl Genetic Variation Source Somatic enumeration
**
** @value ensEGvsourceSomaticNULL Null
** @value ensEGvsourceSomaticGermline Germline
** @value ensEGvsourceSomaticSomatic Somatic
** @value ensEGvsourceSomaticMixed Mixed
** @@
******************************************************************************/
typedef enum EnsOGvsourceSomatic
{
ensEGvsourceSomaticNULL,
ensEGvsourceSomaticGermline,
ensEGvsourceSomaticSomatic,
ensEGvsourceSomaticMixed
} EnsEGvsourceSomatic;
/* @enum EnsEGvsourceType *****************************************************
**
** Ensembl Genetic Variation Source Type enumeration
**
** @value ensEGvsourceTypeNULL Null
** @value ensEGvsourceTypeChip Chip
** @@
******************************************************************************/
typedef enum EnsOGvsourceType
{
ensEGvsourceTypeNULL,
ensEGvsourceTypeChip
} EnsEGvsourceType;
/* @enum EnsEGvvariationClass *************************************************
**
** Ensembl Genetic Variation Variation Class enumeration
**
** @value ensEGvvariationClassNULL Null
** @value ensEGvvariationClassSO0001483 SNV
** @value ensEGvvariationClassSO1000002 substitution
** @value ensEGvvariationClassSO0000667 insertion
** @value ensEGvvariationClassSO0000159 deletion
** @value ensEGvvariationClassSO0000705 tandem_repeat
** @value ensEGvvariationClassSO1000032 indel
** @value ensEGvvariationClassSO0001059 sequence_alteration
** @value ensEGvvariationClassSO0001019 copy_number_variation
** @@
******************************************************************************/
typedef enum EnsOGvvariationClass
{
ensEGvvariationClassNULL,
ensEGvvariationClassSO0001483,
ensEGvvariationClassSO1000002,
ensEGvvariationClassSO0000667,
ensEGvvariationClassSO0000159,
ensEGvvariationClassSO0000705,
ensEGvvariationClassSO1000032,
ensEGvvariationClassSO0001059,
ensEGvvariationClassSO0001019
} EnsEGvvariationClass;
/* @enum EnsEGvvariationValidation ********************************************
**
** Ensembl Genetic Variation Variation Validation enumeration
**
** @value ensEGvvariationValidationNULL Null
** @value ensEGvvariationValidationCluster Cluster
** @value ensEGvvariationValidationFrequency Frequency
** @value ensEGvvariationValidationSubmitter Submitter
** @value ensEGvvariationValidationDoublehit Double-hit
** @value ensEGvvariationValidationHapMap HAP Map Project
** @value ensEGvvariationValidation1000Genomes 1000 Genomes Project
** @value ensEGvvariationValidationFailed Failed
** @value ensEGvvariationValidationPrecious Precious
** @@
******************************************************************************/
typedef enum EnsOGvvariationValidation
{
ensEGvvariationValidationNULL,
ensEGvvariationValidationCluster,
ensEGvvariationValidationFrequency,
ensEGvvariationValidationSubmitter,
ensEGvvariationValidationDoublehit,
ensEGvvariationValidationHapMap,
ensEGvvariationValidation1000Genomes,
ensEGvvariationValidationFailed,
ensEGvvariationValidationPrecious
} EnsEGvvariationValidation;
/* ========================================================================= */
/* ============================== public data ============================== */
/* ========================================================================= */
struct EnsSGvsource;
/* @data EnsPGvdatabaseadaptor ************************************************
**
** Ensembl Genetic Variation Database Adaptor.
**
** @alias EnsSGvdatabaseadaptor
** @alias EnsOGvdatabaseadaptor
**
** @alias EnsPGvvariationadaptor
**
** @cc Bio::EnsEMBL::Variation::DBSQL::DBAdaptor
** @attr Adaptor [EnsPDatabaseadaptor] Ensembl Database Adaptor
** @attr Failedvariations [AjBool] Failed variation
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/
typedef struct EnsSGvdatabaseadaptor
{
EnsPDatabaseadaptor Adaptor;
AjBool Failedvariations;
ajuint Padding;
} EnsOGvdatabaseadaptor;
#define EnsPGvdatabaseadaptor EnsOGvdatabaseadaptor*
/* @data EnsPGvbaseadaptorLeftjoin ********************************************
**
** Ensembl Genetic Variation Base Adaptor SQL LEFT JOIN condition
**
** @alias EnsSGvbaseadaptorLeftjoin
** @alias EnsOGvbaseadaptorLeftjoin
**
** @attr Tablename [char*] SQL table name
** @attr Condition [char*] SQL LEFT JOIN condition
** @@
** FIXME: Could this just become an alias of EnsPBaseadaptorLeftjoin
******************************************************************************/
typedef struct EnsSGvbaseadaptorLeftjoin
{
char *Tablename;
char *Condition;
} EnsOGvbaseadaptorLeftjoin;
#define EnsPGvbaseadaptorLeftjoin EnsOGvbaseadaptorLeftjoin*
/* @data EnsPGvbaseadaptor ****************************************************
**
** Ensembl Genetic Variation Base Adaptor.
**
** @alias EnsSGvbaseadaptor
** @alias EnsOGvbaseadaptor
**
** @alias EnsPGvgenotypecodeadaptor
** @alias EnsPGvpopulationgenotypeadaptor
** @alias EnsPGvtranscriptvariationadaptor
**
** @cc Bio::EnsEMBL::Variation::DBSQL::BaseAdaptor
** @attr Adaptor [EnsPGvdatabaseadaptor]
** Ensembl Genetic Variation Database Adaptor
** @attr Baseadaptor [EnsPBaseadaptor]
** Ensembl Base Adaptor
** @attr Ploidy [ajuint] Ploidy
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/
typedef struct EnsSGvbaseadaptor
{
EnsPGvdatabaseadaptor Adaptor;
EnsPBaseadaptor Baseadaptor;
ajuint Ploidy;
ajuint Padding;
} EnsOGvbaseadaptor;
#define EnsPGvbaseadaptor EnsOGvbaseadaptor*
/* @data EnsPGvattributeadaptor ***********************************************
**
** Ensembl Genetic Variation Attribute Adaptor
**
** @alias EnsSGvattributeadaptor
** @alias EnsOGvattributeadaptor
**
** @cc Bio::EnsEMBL::Variation::DBSQL::AttributeAdaptor
** @attr Adaptor [EnsPBaseadaptor] Ensembl Base Adaptor
** @attr CacheByIdentifier [AjPTable] Identifier cache
** @attr CacheBySet [AjPVoid] Cache by attribute sets
** @@
******************************************************************************/
typedef struct EnsSGvattributeadaptor
{
EnsPBaseadaptor Adaptor;
AjPTable CacheByIdentifier;
AjPVoid CacheBySet;
} EnsOGvattributeadaptor;
#define EnsPGvattributeadaptor EnsOGvattributeadaptor*
/* @data EnsPGvattribute ******************************************************
**
** Ensembl Genetic Variation Attribute
**
** @alias EnsSGvattribute
** @alias EnsOGvattribute
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvattributeadaptor]
** Ensembl Genetic Variation Attribute Adaptor
** @attr Attributetype [EnsPAttributetype] Ensembl Attribute Type
** @attr Value [AjPStr] Value
** @@
******************************************************************************/
typedef struct EnsSGvattribute
{
ajuint Use;
ajuint Identifier;
EnsPGvattributeadaptor Adaptor;
EnsPAttributetype Attributetype;
AjPStr Value;
} EnsOGvattribute;
#define EnsPGvattribute EnsOGvattribute*
/* @data EnsPGvsample *********************************************************
**
** Ensembl Genetic Variation Sample.
**
** @alias EnsSGvsample
** @alias EnsOGvsample
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvsampleadaptor]
** Ensembl Genetic Variation Sample Adaptor
** @cc Bio::EnsEMBL::Variation::Sample
** @attr Name [AjPStr] Name
** @attr Description [AjPStr] Description
** @attr Display [EnsEGvsampleDisplay] Display
** @attr Size [ajuint] Size
** @@
******************************************************************************/
typedef struct EnsSGvsample
{
ajuint Use;
ajuint Identifier;
EnsPGvsampleadaptor Adaptor;
AjPStr Name;
AjPStr Description;
EnsEGvsampleDisplay Display;
ajuint Size;
} EnsOGvsample;
#define EnsPGvsample EnsOGvsample*
/* @data EnsPGvindividual *****************************************************
**
** Ensembl Genetic Variation Individual.
**
** @alias EnsSGvindividual
** @alias EnsOGvindividual
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvindividualadaptor]
** Ensembl Genetic Variation Individual Adaptor
** @cc Bio::EnsEMBL::Variation::Sample
** @attr Gvsample [EnsPGvsample] Sample
** @cc Bio::EnsEMBL::Variation::Individual
** @attr Father [struct EnsSGvindividual*] Father Individual
** @attr Mother [struct EnsSGvindividual*] Mother Individual
** @attr Gender [EnsEGvindividualGender] Gender
** @attr Type [EnsEGvindividualType] Type
** @attr Description [AjPStr] Description
** @@
******************************************************************************/
typedef struct EnsSGvindividual
{
ajuint Use;
ajuint Identifier;
EnsPGvindividualadaptor Adaptor;
EnsPGvsample Gvsample;
struct EnsSGvindividual *Father;
struct EnsSGvindividual *Mother;
EnsEGvindividualGender Gender;
EnsEGvindividualType Type;
AjPStr Description;
} EnsOGvindividual;
#define EnsPGvindividual EnsOGvindividual*
/* @data EnsPGvpopulation *****************************************************
**
** Ensembl Genetic Variation Population.
**
** @alias EnsSGvpopulation
** @alias EnsOGvpopulation
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvpopulationadaptor]
** Ensembl Genetic Variation Population Adaptor
** @cc Bio::EnsEMBL::Variation::Sample
** @attr Gvsample [EnsPGvsample] Sample
** @cc Bio::EnsEMBL::Variation::Population
** @attr Subgvpopulations [AjPList]
** AJAX List of (Sub-) Ensembl Genetic Variation Population objects
** @@
******************************************************************************/
typedef struct EnsSGvpopulation
{
ajuint Use;
ajuint Identifier;
EnsPGvpopulationadaptor Adaptor;
EnsPGvsample Gvsample;
AjPList Subgvpopulations;
} EnsOGvpopulation;
#define EnsPGvpopulation EnsOGvpopulation*
/* @data EnsPGvalleleadaptor **************************************************
**
** Ensembl Genetic Variation Allele Adaptor.
**
** @alias EnsSGvalleleadaptor
** @alias EnsOGvalleleadaptor
**
** @cc Bio::EnsEMBL::Variation::DBSQL::AlleleAdaptor
** @attr Excludeadaptor [EnsPGvbaseadaptor]
** Ensembl Genetic Variation Base Adaptor excluding the failed_variation table
** @attr Includeadaptor [EnsPGvbaseadaptor]
** Ensembl Genetic Variation Base Adaptor including the failed_variation table
** @@
******************************************************************************/
typedef struct EnsSGvalleleadaptor
{
EnsPGvbaseadaptor Excludeadaptor;
EnsPGvbaseadaptor Includeadaptor;
} EnsOGvalleleadaptor;
#define EnsPGvalleleadaptor EnsOGvalleleadaptor*
/* @data EnsPGvallele *********************************************************
**
** Ensembl Genetic Variation Allele.
**
** @alias EnsSGvallele
** @alias EnsOGvallele
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvalleleadaptor] Ensembl Genetic Variation
** Allele Adaptor
** @cc Bio::EnsEMBL::Variation::Allele
** @attr Gvpopulation [EnsPGvpopulation] Ensembl Genetic Variation Population
** @attr Allele [AjPStr] Allele
** @attr Subhandle [AjPStr] Subhandle
** @attr Faileddescriptions [AjPList]
** AJAX List of AJAX String (failed description) objects
** @attr Counter [ajuint] Counter
** @attr Gvvariationidentifier [ajuint]
** Ensembl Genetic Variation Variation identifier
** @attr Subidentifier [ajuint] Subidentifier
** @attr Frequency [float] Frequency
** @@
******************************************************************************/
typedef struct EnsSGvallele
{
ajuint Use;
ajuint Identifier;
EnsPGvalleleadaptor Adaptor;
EnsPGvpopulation Gvpopulation;
AjPStr Allele;
AjPStr Subhandle;
AjPList Faileddescriptions;
ajuint Counter;
ajuint Gvvariationidentifier;
ajuint Subidentifier;
float Frequency;
} EnsOGvallele;
#define EnsPGvallele EnsOGvallele*
/* @data EnsPGvsourceadaptor **************************************************
**
** Ensembl Genetic Variation Source Adaptor.
**
** @alias EnsSGvsourceadaptor
** @alias EnsOGvsourceadaptor
**
** @attr Adaptor [EnsPBaseadaptor] Ensembl Base Adaptor
** @attr CacheByIdentifier [AjPTable] Identifier cache
** @attr CacheByName [AjPTable] Name cache
** @attr DefaultGvsource [struct EnsSGvsource*]
** Default Ensembl Genetic Variation Source
** @@
******************************************************************************/
typedef struct EnsSGvsourceadaptor
{
EnsPBaseadaptor Adaptor;
AjPTable CacheByIdentifier;
AjPTable CacheByName;
struct EnsSGvsource *DefaultGvsource;
} EnsOGvsourceadaptor;
#define EnsPGvsourceadaptor EnsOGvsourceadaptor*
/* @data EnsPGvsource *********************************************************
**
** Ensembl Genetic Variation Source.
**
** @alias EnsSGvsource
** @alias EnsOGvsource
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvsourceadaptor] Ensembl Genetic Variation
** Source Adaptor
** @cc Bio::EnsEMBL::Variation::???
** @attr Name [AjPStr] Name
** @attr Version [AjPStr] Version
** @attr Description [AjPStr] Description
** @attr URL [AjPStr] Uniform Resource Locator
** @attr Somatic [EnsEGvsourceSomatic]
** Ensembl Genetic Variation Source Somatic enumeration
** @attr Type [EnsEGvsourceType]
** Ensembl Genetic Variation Source Type enumeration
** @@
******************************************************************************/
typedef struct EnsSGvsource
{
ajuint Use;
ajuint Identifier;
EnsPGvsourceadaptor Adaptor;
AjPStr Name;
AjPStr Version;
AjPStr Description;
AjPStr URL;
EnsEGvsourceSomatic Somatic;
EnsEGvsourceType Type;
} EnsOGvsource;
#define EnsPGvsource EnsOGvsource*
/* @data EnsPGvsynonym ********************************************************
**
** Ensembl Genetic Variation Synonym.
**
** @alias EnsSGvsynonym
** @alias EnsOGvsynonym
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvsynonymadaptor] Ensembl Genetic Variation
** Synonym Adaptor
** @cc Bio::EnsEMBL::Variation::??
** @attr Gvsource [EnsPGvsource] Ensembl Genetic Variation Source
** @attr Name [AjPStr] Name
** @attr Moleculetype [AjPStr] Molecule type
** @attr Gvvariationidentifier [ajuint] Ensembl Genetic Variation identifier
** @attr Subidentifier [ajuint] Subidentifier
** @@
******************************************************************************/
typedef struct EnsSGvsynonym
{
ajuint Use;
ajuint Identifier;
EnsPGvsynonymadaptor Adaptor;
EnsPGvsource Gvsource;
AjPStr Name;
AjPStr Moleculetype;
ajuint Gvvariationidentifier;
ajuint Subidentifier;
} EnsOGvsynonym;
#define EnsPGvsynonym EnsOGvsynonym*
/* @data EnsPGvvariationadaptor ***********************************************
**
** Ensembl Genetic Variation Variation Adaptor.
**
** @alias EnsOGvvariationadaptor
** @alias EnsSGvvariationadaptor
**
** @attr Adaptor [EnsPGvbaseadaptor] Ensembl Genetic Variation Base Adaptor
** @attr Tablenames [char**] SQL table name array
** @attr Columnnames [char**] SQL column name array
** @attr Condition [char*] SQL SELECT default condition,
** which is dynamically assigned.
** @attr Leftjoins [EnsPGvbaseadaptorLeftjoin] SQL LEFT JOIN conditions
** @attr Defaultcondition [char*] SQL SELECT default condition
** @@
******************************************************************************/
typedef struct EnsSGvvariationadaptor
{
EnsPGvbaseadaptor Adaptor;
char **Tablenames;
char **Columnnames;
char *Condition;
EnsPGvbaseadaptorLeftjoin Leftjoins;
char *Defaultcondition;
} EnsOGvvariationadaptor;
#define EnsPGvvariationadaptor EnsOGvvariationadaptor*
/* @data EnsPGvvariation ******************************************************
**
** Ensembl Genetic Variation Variation.
**
** @alias EnsSGvvariation
** @alias EnsOGvvariation
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvvariationadaptor] Ensembl Genetic Variation
** Variation Adaptor
** @cc Bio::EnsEMBL::Variation::Variation
** @attr Class [EnsPGvattribute]
** Class Ensembl Genetic Variation Attribute
** @attr Clinical [EnsPGvattribute]
** Clinical Significance Ensembl Genetic Variation Attribute
** @attr Gvsource [EnsPGvsource] Ensembl Genetic Variation Source
** @attr Name [AjPStr] Name
** @attr Handles [AjPTable] Handles
** @attr Ancestralallele [AjPStr] Ancestral allele
** @attr MinoralleleAllele [AjPStr] Minor allele allele
** @attr Gvalleles [AjPList] AJAX List of
** Ensembl Genetic Variation Allele objects
** @attr Gvsynonyms [AjPList] AJAX List of
** Ensembl Genetic Variation Synonym objects
** @attr Faileddescriptions [AjPList] AJAX List of
** AJAX String (failed description) objects
** @attr Moleculetype [AjPStr] Molecule type
** @attr FlankFive [AjPStr] Five-prime flanking sequence
** @attr FlankThree [AjPStr] Three-prime flanking sequence
** @attr FlankExists [AjBool] A five-prime or three-prime flank exists
** @attr Flipped [AjBool] Flipped
** @attr Somatic [AjBool] Somatic or germline flag
** @attr Validations [ajuint] Bit field of validation states
** @attr MinoralleleCount [ajuint] Minor allele count
** @attr MinoralleleFrequency [float] Minor allele frequency
** @@
******************************************************************************/
typedef struct EnsSGvvariation
{
ajuint Use;
ajuint Identifier;
EnsPGvvariationadaptor Adaptor;
EnsPGvattribute Class;
EnsPGvattribute Clinical;
EnsPGvsource Gvsource;
AjPStr Name;
AjPTable Handles;
AjPStr Ancestralallele;
AjPStr MinoralleleAllele;
AjPList Gvalleles;
AjPList Gvsynonyms;
AjPList Faileddescriptions;
AjPStr Moleculetype;
AjPStr FlankFive;
AjPStr FlankThree;
AjBool FlankExists;
AjBool Flipped;
AjBool Somatic;
ajuint Validations;
ajuint MinoralleleCount;
float MinoralleleFrequency;
} EnsOGvvariation;
#define EnsPGvvariation EnsOGvvariation*
/* @data EnsPGvvariationfeatureadaptor ****************************************
**
** Ensembl Genetic Variation Variation Feature Adaptor.
**
** @alias EnsSGvvariationfeatureadaptor
** @alias EnsOGvvariationfeatureadaptor
**
** @attr Adaptor [EnsPGvdatabaseadaptor]
** Ensembl Genetic Variation Database Adaptor
** @attr Featureadaptor [EnsPFeatureadaptor] Ensembl Feature Adaptor
** @@
******************************************************************************/
typedef struct EnsSGvvariationfeatureadaptor
{
EnsPGvdatabaseadaptor Adaptor;
EnsPFeatureadaptor Featureadaptor;
} EnsOGvvariationfeatureadaptor;
#define EnsPGvvariationfeatureadaptor EnsOGvvariationfeatureadaptor*
/* @data EnsPGvvariationfeature ***********************************************
**
** Ensembl Genetic Variation Variation Feature.
**
** @alias EnsSGvvariationfeature
** @alias EnsOGvvariationfeature
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvvariationfeatureadaptor] Ensembl Genetic Variation
** Genotype Adaptor
** @cc Bio::EnsEMBL::Feature
** @attr Feature [EnsPFeature] Ensembl Feature
** @cc Bio::EnsEMBL::Variation::VariationFeature
** @attr Gvsource [EnsPGvsource] Ensembl Genetic Variation Source
** @attr Gvvariation [EnsPGvvariation] Ensembl Genetic Variation Variation
** @attr Allele [AjPStr] Allele, denormalisation from allele.allele
** @attr Name [AjPStr] Name, denormalisation from variation.name
** @attr Validationcode [AjPStr] Validation code
** @attr Consequencetype [AjPStr] Consequence type
** @attr Mapweight [ajuint] Map weight or the number of times that the
** Variation associated with this Feature has hit
** the genome. If this was the only Feature associated
** with this Variation Feature the map weight would be
** 1.
** @attr Gvvariationidentifier [ajuint] Ensembl Genetic Variation Variation
** identifier
** @attr GvvariationClass [EnsEGvvariationClass]
** Ensembl Genetic Variation Variation Class enumeration
** @attr Padding [ajuint] Padding to alignment boundary
** @cc The somatic member is part of the EnsSGvsource data structure
** @@
******************************************************************************/
typedef struct EnsSGvvariationfeature
{
ajuint Use;
ajuint Identifier;
EnsPGvvariationfeatureadaptor Adaptor;
EnsPFeature Feature;
EnsPGvsource Gvsource;
EnsPGvvariation Gvvariation;
AjPStr Allele;
AjPStr Name;
AjPStr Validationcode;
AjPStr Consequencetype;
ajuint Mapweight;
ajuint Gvvariationidentifier;
EnsEGvvariationClass GvvariationClass;
ajuint Padding;
} EnsOGvvariationfeature;
#define EnsPGvvariationfeature EnsOGvvariationfeature*
/* @data EnsPGvvariationset ***************************************************
**
** Ensembl Genetic Variation Variation Set.
**
** @alias EnsSGvvariationset
** @alias EnsOGvvariationset
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvvariationsetadaptor] Ensembl Genetic Variation
** Set Adaptor
** @cc Bio::EnsEMBL::Variation::VariationSet
** @attr Name [AjPStr] Name
** @attr Description [AjPStr] Description
** @attr Shortname [AjPStr] Short name
** @@
******************************************************************************/
typedef struct EnsSGvvariationset
{
ajuint Use;
ajuint Identifier;
EnsPGvvariationsetadaptor Adaptor;
AjPStr Name;
AjPStr Description;
AjPStr Shortname;
} EnsOGvvariationset;
#define EnsPGvvariationset EnsOGvvariationset*
/* @data EnsPGvgenotype *******************************************************
**
** Ensembl Genetic Variation Genotype.
**
** @alias EnsSGvgenotype
** @alias EnsOGvgenotype
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvgenotypeadaptor] Ensembl Genetic Variation
** Genotype Adaptor
** @cc Bio::EnsEMBL::Variation::Genotype
** @attr Gvvariation [EnsPGvvariation] Ensembl Genetic Variation Variation
** @attr Alleles [AjPList] AJAX List of AJAX String objects
** @attr Subhandle [AjPStr] Subhandle
** @attr Subidentifier [ajuint] Subidentifier
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/
typedef struct EnsSGvgenotype
{
ajuint Use;
ajuint Identifier;
EnsPGvgenotypeadaptor Adaptor;
EnsPGvvariation Gvvariation;
AjPList Alleles;
AjPStr Subhandle;
ajuint Subidentifier;
ajuint Padding;
} EnsOGvgenotype;
#define EnsPGvgenotype EnsOGvgenotype*
/* @data EnsPGvgenotypecode ***************************************************
**
** Ensembl Genetic Variation Genotype Code.
**
** @alias EnsSGvgenotypecode
** @alias EnsOGvgenotypecode
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvgenotypecodeadaptor]
** Ensembl Genetic Variation Genotype Code Adaptor
** @cc Bio::EnsEMBL::Variation::GenotypeCode
** @attr Alleles [AjPList] AJAX List of AJAX String (allele) objects
** @@
******************************************************************************/
typedef struct EnsSGvgenotypecode
{
ajuint Use;
ajuint Identifier;
EnsPGvgenotypecodeadaptor Adaptor;
AjPList Alleles;
} EnsOGvgenotypecode;
#define EnsPGvgenotypecode EnsOGvgenotypecode*
/* @data EnsPGvpopulationgenotype *********************************************
**
** Ensembl Genetic Variation Population Genotype.
**
** @alias EnsSGvpopulationgenotype
** @alias EnsOGvpopulationgenotype
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPGvpopulationgenotypeadaptor] Ensembl Genetic
** Variation Population Genotype Adaptor
** @cc Bio::EnsEMBL::Variation::PopulationGenotype
** @attr Gvpopulation [EnsPGvpopulation] Ensembl Genetic Variation Population
** @attr Gvgenotype [EnsPGvgenotype] Ensembl Genetic Variation Genotype
** @attr Counter [ajuint] Counter
** @attr Frequency [float] Frequency
** @@
******************************************************************************/
typedef struct EnsSGvpopulationgenotype
{
ajuint Use;
ajuint Identifier;
EnsPGvpopulationgenotypeadaptor Adaptor;
EnsPGvpopulation Gvpopulation;
EnsPGvgenotype Gvgenotype;
ajuint Counter;
float Frequency;
} EnsOGvpopulationgenotype;
#define EnsPGvpopulationgenotype EnsOGvpopulationgenotype*
/* ========================================================================= */
/* =========================== public functions ============================ */
/* ========================================================================= */
/*
** Prototype definitions
*/
/*
** End of prototype definitions
*/
AJ_END_DECLS
#endif /* !ENSGVDATA_H */
|