1 /* @include ensgvdatabaseadaptor ********************************************** 2 ** 3 ** Ensembl Genetic Variation Database Adaptor functions 4 ** 5 ** @author Copyright (C) 1999 Ensembl Developers 6 ** @author Copyright (C) 2006 Michael K. Schuster 7 ** @version $Revision: 1.7 $ 8 ** @modified 2009 by Alan Bleasby for incorporation into EMBOSS core 9 ** @modified $Date: 2012/03/28 21:08:38 $ by $Author: mks $ 10 ** @@ 11 ** 12 ** This library is free software; you can redistribute it and/or 13 ** modify it under the terms of the GNU Lesser General Public 14 ** License as published by the Free Software Foundation; either 15 ** version 2.1 of the License, or (at your option) any later version. 16 ** 17 ** This library is distributed in the hope that it will be useful, 18 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 19 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 ** Lesser General Public License for more details. 21 ** 22 ** You should have received a copy of the GNU Lesser General Public 23 ** License along with this library; if not, write to the Free Software 24 ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 25 ** MA 02110-1301, USA. 26 ** 27 ******************************************************************************/ 28 29 #ifndef ENSGVDATABASEADAPTOR_H 30 #define ENSGVDATABASEADAPTOR_H 31 32 /* ========================================================================= */ 33 /* ============================= include files ============================= */ 34 /* ========================================================================= */ 35 36 #include "ensgvdata.h" 37 38 AJ_BEGIN_DECLS 39 40 41 42 43 /* ========================================================================= */ 44 /* =============================== constants =============================== */ 45 /* ========================================================================= */ 46 47 48 49 50 /* ========================================================================= */ 51 /* ============================== public data ============================== */ 52 /* ========================================================================= */ 53 54 55 56 57 /* ========================================================================= */ 58 /* =========================== public functions ============================ */ 59 /* ========================================================================= */ 60 61 /* 62 ** Prototype definitions 63 */ 64 65 /* Ensembl Genetic Variation Database Adaptor */ 66 67 EnsPGvdatabaseadaptor ensRegistryGetGvdatabaseadaptor( 68 EnsPDatabaseadaptor dba); 69 70 EnsPGvdatabaseadaptor ensGvdatabaseadaptorNewIni(EnsPDatabaseadaptor dba); 71 72 void ensGvdatabaseadaptorDel(EnsPGvdatabaseadaptor *Pgvdba); 73 74 EnsPDatabaseadaptor ensGvdatabaseadaptorGetDatabaseadaptor( 75 const EnsPGvdatabaseadaptor gvdba); 76 77 AjBool ensGvdatabaseadaptorGetFailedvariations( 78 const EnsPGvdatabaseadaptor gvdba); 79 80 AjBool ensGvdatabaseadaptorSetDatabaseadaptor(EnsPGvdatabaseadaptor gvdba, 81 EnsPDatabaseadaptor dba); 82 83 AjBool ensGvdatabaseadaptorSetFailedvariations(EnsPGvdatabaseadaptor gvdba, 84 AjBool fv); 85 86 AjBool ensGvdatabaseadaptorTrace(const EnsPGvdatabaseadaptor gvdba, 87 ajuint level); 88 89 AjBool ensGvdatabaseadaptorFailedallelesconstraint( 90 EnsPGvdatabaseadaptor gvdba, 91 const AjPStr tablename, 92 AjPStr *Pconstraint); 93 94 AjBool ensGvdatabaseadaptorFailedstructuralsconstraint( 95 EnsPGvdatabaseadaptor gvdba, 96 const AjPStr tablename, 97 AjPStr *Pconstraint); 98 99 AjBool ensGvdatabaseadaptorFailedvariationsconstraint( 100 EnsPGvdatabaseadaptor gvdba, 101 const AjPStr tablename, 102 AjPStr *Pconstraint); 103 104 /* 105 ** End of prototype definitions 106 */ 107 108 109 110 111 AJ_END_DECLS 112 113 #endif /* !ENSGVDATABASEADAPTOR_H */ 114