| 1 | /* @include ensgvbaseadaptor ************************************************** |
| 2 | ** |
| 3 | ** Ensembl Genetic Variation Base Adaptor functions |
| 4 | ** |
| 5 | ** @author Copyright (C) 1999 Ensembl Developers |
| 6 | ** @author Copyright (C) 2006 Michael K. Schuster |
| 7 | ** @version $Revision: 1.12 $ |
| 8 | ** @modified 2009 by Alan Bleasby for incorporation into EMBOSS core |
| 9 | ** @modified $Date: 2013/02/17 13:16:34 $ 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 ENSGVBASEADAPTOR_H |
| 30 | #define ENSGVBASEADAPTOR_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 Base Adaptor */ |
| 66 | |
| 67 | EnsPGvbaseadaptor ensGvbaseadaptorNew( |
| 68 | EnsPGvdatabaseadaptor gvdba, |
| 69 | const char *const *Ptablenames, |
| 70 | const char *const *Pcolumnnames, |
| 71 | const EnsPBaseadaptorLeftjoin leftjoins, |
| 72 | const char *defaultcondition, |
| 73 | const char *finalcondition, |
| 74 | AjBool (*Fstatement) (EnsPBaseadaptor ba, |
| 75 | const AjPStr statement, |
| 76 | EnsPAssemblymapper am, |
| 77 | EnsPSlice slice, |
| 78 | AjPList objects)); |
| 79 | |
| 80 | void ensGvbaseadaptorDel(EnsPGvbaseadaptor *Pgvba); |
| 81 | |
| 82 | EnsPBaseadaptor ensGvbaseadaptorGetBaseadaptor( |
| 83 | EnsPGvbaseadaptor gvba); |
| 84 | |
| 85 | EnsPDatabaseadaptor ensGvbaseadaptorGetDatabaseadaptor( |
| 86 | EnsPGvbaseadaptor gvba); |
| 87 | |
| 88 | AjBool ensGvbaseadaptorGetFailedvariations( |
| 89 | EnsPGvbaseadaptor gvba); |
| 90 | |
| 91 | EnsPGvdatabaseadaptor ensGvbaseadaptorGetGvdatabaseadaptor( |
| 92 | EnsPGvbaseadaptor gvba); |
| 93 | |
| 94 | ajuint ensGvbaseadaptorLoadPloidy( |
| 95 | EnsPGvbaseadaptor gvba); |
| 96 | |
| 97 | /* |
| 98 | ** End of prototype definitions |
| 99 | */ |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | AJ_END_DECLS |
| 105 | |
| 106 | #endif /* !ENSGVBASEADAPTOR_H */ |