/usr/lib/emboss/include/ensgene.h is in emboss-lib 6.6.0+dfsg-6.
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 | /* @include ensgene ***********************************************************
**
** Ensembl Gene functions
**
** @author Copyright (C) 1999 Ensembl Developers
** @author Copyright (C) 2006 Michael K. Schuster
** @version $Revision: 1.32 $
** @modified 2009 by Alan Bleasby for incorporation into EMBOSS core
** @modified $Date: 2013/02/17 13:06:15 $ 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 ENSGENE_H
#define ENSGENE_H
/* ========================================================================= */
/* ============================= include files ============================= */
/* ========================================================================= */
#include "ensfeature.h"
AJ_BEGIN_DECLS
/* ========================================================================= */
/* =============================== constants =============================== */
/* ========================================================================= */
/* ========================================================================= */
/* ============================== public data ============================== */
/* ========================================================================= */
/* ========================================================================= */
/* =========================== public functions ============================ */
/* ========================================================================= */
/*
** Prototype definitions
*/
/* Ensembl Gene */
EnsPGene ensGeneNewCpy(const EnsPGene gene);
EnsPGene ensGeneNewIni(EnsPGeneadaptor ga,
ajuint identifier,
EnsPFeature feature,
EnsPDatabaseentry displaydbe,
AjPStr description,
AjPStr source,
AjPStr biotype,
EnsEGeneStatus status,
AjBool current,
ajuint cantrcid,
AjPStr canann,
AjPStr stableid,
ajuint version,
AjPStr cdate,
AjPStr mdate,
AjPList transcripts);
EnsPGene ensGeneNewRef(EnsPGene gene);
void ensGeneDel(EnsPGene *Pgene);
EnsPGeneadaptor ensGeneGetAdaptor(const EnsPGene gene);
AjPStr ensGeneGetBiotype(const EnsPGene gene);
AjPStr ensGeneGetCanonicalannotation(const EnsPGene gene);
ajuint ensGeneGetCanonicaltranscriptidentifier(const EnsPGene gene);
AjBool ensGeneGetCurrent(const EnsPGene gene);
AjPStr ensGeneGetDateCreation(const EnsPGene gene);
AjPStr ensGeneGetDateModification(const EnsPGene gene);
AjPStr ensGeneGetDescription(const EnsPGene gene);
EnsPDatabaseentry ensGeneGetDisplayreference(const EnsPGene gene);
EnsPFeature ensGeneGetFeature(const EnsPGene gene);
ajuint ensGeneGetIdentifier(const EnsPGene gene);
AjPStr ensGeneGetSource(const EnsPGene gene);
AjPStr ensGeneGetStableidentifier(const EnsPGene gene);
EnsEGeneStatus ensGeneGetStatus(const EnsPGene gene);
ajuint ensGeneGetVersion(const EnsPGene gene);
const AjPList ensGeneLoadAttributes(EnsPGene gene);
const AjPList ensGeneLoadDatabaseentries(EnsPGene gene);
const AjPList ensGeneLoadTranscripts(EnsPGene gene);
AjBool ensGeneSetAdaptor(EnsPGene gene, EnsPGeneadaptor ga);
AjBool ensGeneSetBiotype(EnsPGene gene, AjPStr biotype);
AjBool ensGeneSetCanonicalannotation(EnsPGene gene, AjPStr canann);
AjBool ensGeneSetCanonicaltranscriptidentifier(EnsPGene gene, ajuint cantrcid);
AjBool ensGeneSetCurrent(EnsPGene gene, AjBool current);
AjBool ensGeneSetDateCreation(EnsPGene gene, AjPStr cdate);
AjBool ensGeneSetDateModification(EnsPGene gene, AjPStr mdate);
AjBool ensGeneSetDescription(EnsPGene gene, AjPStr description);
AjBool ensGeneSetDisplayreference(EnsPGene gene, EnsPDatabaseentry dbe);
AjBool ensGeneSetFeature(EnsPGene gene, EnsPFeature feature);
AjBool ensGeneSetIdentifier(EnsPGene gene, ajuint identifier);
AjBool ensGeneSetSource(EnsPGene gene, AjPStr source);
AjBool ensGeneSetStableidentifier(EnsPGene gene, AjPStr stableid);
AjBool ensGeneSetStatus(EnsPGene gene, EnsEGeneStatus status);
AjBool ensGeneSetVersion(EnsPGene gene, ajuint version);
AjBool ensGeneAddAttribute(EnsPGene gene, EnsPAttribute attribute);
AjBool ensGeneAddDatabaseentry(EnsPGene gene, EnsPDatabaseentry dbe);
AjBool ensGeneAddTranscript(EnsPGene gene, EnsPTranscript transcript);
AjBool ensGeneTrace(const EnsPGene gene, ajuint level);
size_t ensGeneCalculateMemsize(const EnsPGene gene);
AjBool ensGeneCalculateCoordinates(EnsPGene gene);
AjBool ensGeneFetchAllAttributes(EnsPGene gene,
const AjPStr code,
AjPList attributes);
AjBool ensGeneFetchAllDatabaseentries(EnsPGene gene,
const AjPStr name,
EnsEExternaldatabaseType type,
AjPList dbes);
AjBool ensGeneFetchAllExons(EnsPGene gene, AjPList exons);
AjBool ensGeneFetchCanonicaltranscript(EnsPGene gene,
EnsPTranscript *Ptranscript);
AjBool ensGeneFetchDisplayidentifier(const EnsPGene gene,
AjPStr *Pidentifier);
AjBool ensGeneSimilarity(EnsPGene gene1, EnsPGene gene2);
EnsPGene ensGeneTransfer(EnsPGene gene, EnsPSlice slice);
EnsPGene ensGeneTransform(EnsPGene gene,
const AjPStr csname,
const AjPStr csversion);
AjBool ensGeneCheckReference(const EnsPGene gene, AjBool *Presult);
EnsEGeneStatus ensGeneStatusFromStr(const AjPStr status);
const char *ensGeneStatusToChar(EnsEGeneStatus status);
/* AJAX List of Ensembl Gene objects */
AjBool ensListGeneSortEndAscending(AjPList genes);
AjBool ensListGeneSortEndDescending(AjPList genes);
AjBool ensListGeneSortIdentifierAscending(AjPList genes);
AjBool ensListGeneSortStartAscending(AjPList genes);
AjBool ensListGeneSortStartDescending(AjPList genes);
AjBool ensSequenceAddFeatureGene(AjPSeq seq,
EnsPGene gene,
AjPFeature *Pfeature);
/* Ensembl Gene Adaptor */
EnsPGeneadaptor ensRegistryGetGeneadaptor(
EnsPDatabaseadaptor dba);
EnsPGeneadaptor ensGeneadaptorNew(
EnsPDatabaseadaptor dba);
void ensGeneadaptorDel(EnsPGeneadaptor *Pga);
EnsPBaseadaptor ensGeneadaptorGetBaseadaptor(
EnsPGeneadaptor ga);
EnsPDatabaseadaptor ensGeneadaptorGetDatabaseadaptor(
EnsPGeneadaptor ga);
EnsPFeatureadaptor ensGeneadaptorGetFeatureadaptor(
EnsPGeneadaptor ga);
AjBool ensGeneadaptorFetchAll(
EnsPGeneadaptor ga,
AjPList genes);
AjBool ensGeneadaptorFetchAllbyBiotype(
EnsPGeneadaptor ga,
const AjPStr biotype,
AjPList genes);
AjBool ensGeneadaptorFetchAllbyDisplaylabel(
EnsPGeneadaptor ga,
const AjPStr label,
AjPList genes);
AjBool ensGeneadaptorFetchAllbyExternaldatabasename(
EnsPGeneadaptor ga,
const AjPStr dbname,
AjPList genes);
AjBool ensGeneadaptorFetchAllbyExternalname(
EnsPGeneadaptor ga,
const AjPStr name,
const AjPStr dbname,
AjBool override,
AjPList genes);
AjBool ensGeneadaptorFetchAllbyIdentifiers(
EnsPGeneadaptor ga,
AjPTable genes);
AjBool ensGeneadaptorFetchAllbySlice(
EnsPGeneadaptor ga,
EnsPSlice slice,
const AjPStr anname,
const AjPStr source,
const AjPStr biotype,
AjBool loadtranscripts,
AjPList genes);
AjBool ensGeneadaptorFetchAllbyStableidentifier(
EnsPGeneadaptor ga,
const AjPStr stableid,
AjPList genes);
AjBool ensGeneadaptorFetchByDisplaylabel(
EnsPGeneadaptor ga,
const AjPStr label,
EnsPGene *Pgene);
AjBool ensGeneadaptorFetchByExonidentifier(
EnsPGeneadaptor ga,
ajuint identifier,
EnsPGene *Pgene);
AjBool ensGeneadaptorFetchByExonstableidentifier(
EnsPGeneadaptor ga,
const AjPStr stableid,
EnsPGene *Pgene);
AjBool ensGeneadaptorFetchByIdentifier(
EnsPGeneadaptor ga,
ajuint identifier,
EnsPGene *Pgene);
AjBool ensGeneadaptorFetchByStableidentifier(
EnsPGeneadaptor ga,
const AjPStr stableid,
ajuint version,
EnsPGene *Pgene);
AjBool ensGeneadaptorFetchByTranscriptidentifier(
EnsPGeneadaptor ga,
ajuint identifier,
EnsPGene *Pgene);
AjBool ensGeneadaptorFetchByTranscriptstableidentifier(
EnsPGeneadaptor ga,
const AjPStr stableid,
EnsPGene *Pgene);
AjBool ensGeneadaptorFetchByTranslationstableidentifier(
EnsPGeneadaptor ga,
const AjPStr stableid,
EnsPGene *Pgene);
AjBool ensGeneadaptorRetrieveAllIdentifiers(
EnsPGeneadaptor ga,
AjPList identifiers);
AjBool ensGeneadaptorRetrieveAllStableidentifiers(
EnsPGeneadaptor ga,
AjPList stableids);
AjBool ensGeneadaptorCheckReference(
EnsPGeneadaptor ga,
const EnsPGene gene,
AjBool *Presult);
/*
** End of prototype definitions
*/
AJ_END_DECLS
#endif /* !ENSGENE_H */
|