| 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 |
#ifndef ENSGVPOPULATION_H |
| 30 |
#define ENSGVPOPULATION_H |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
#include "ensgvdata.h" |
| 37 |
|
| 38 |
AJ_BEGIN_DECLS |
| 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 |
EnsPGvpopulation ensGvpopulationNewCpy(const EnsPGvpopulation gvp); |
| 68 |
|
| 69 |
EnsPGvpopulation ensGvpopulationNewIni(EnsPGvpopulationadaptor gvpa, |
| 70 |
ajuint identifier, |
| 71 |
EnsPGvsample gvs, |
| 72 |
AjPList subpopulations); |
| 73 |
|
| 74 |
EnsPGvpopulation ensGvpopulationNewRef(EnsPGvpopulation gvp); |
| 75 |
|
| 76 |
void ensGvpopulationDel(EnsPGvpopulation *Pgvp); |
| 77 |
|
| 78 |
EnsPGvpopulationadaptor ensGvpopulationGetAdaptor(const EnsPGvpopulation gvp); |
| 79 |
|
| 80 |
EnsPGvsample ensGvpopulationGetGvsample(const EnsPGvpopulation gvp); |
| 81 |
|
| 82 |
ajuint ensGvpopulationGetIdentifier(const EnsPGvpopulation gvp); |
| 83 |
|
| 84 |
const AjPList ensGvpopulationGetSubgvpopulations(const EnsPGvpopulation gvp); |
| 85 |
|
| 86 |
AjBool ensGvpopulationSetAdaptor(EnsPGvpopulation gvp, |
| 87 |
EnsPGvpopulationadaptor gvpa); |
| 88 |
|
| 89 |
AjBool ensGvpopulationSetGvsample(EnsPGvpopulation gvp, EnsPGvsample gvs); |
| 90 |
|
| 91 |
AjBool ensGvpopulationSetIdentifier(EnsPGvpopulation gvp, ajuint identifier); |
| 92 |
|
| 93 |
AjBool ensGvpopulationAddSubgvpopulation(EnsPGvpopulation gvp, |
| 94 |
EnsPGvpopulation subgvp); |
| 95 |
|
| 96 |
AjBool ensGvpopulationTrace(const EnsPGvpopulation gvp, ajuint level); |
| 97 |
|
| 98 |
size_t ensGvpopulationCalculateMemsize(const EnsPGvpopulation gvp); |
| 99 |
|
| 100 |
AjBool ensGvpopulationFetchAllGvindividuals(EnsPGvpopulation gvp, |
| 101 |
AjPList gvis); |
| 102 |
|
| 103 |
AjBool ensGvpopulationFetchAllSynonyms(EnsPGvpopulation gvp, |
| 104 |
const AjPStr source, |
| 105 |
AjPList synonyms); |
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
EnsPGvpopulationadaptor ensRegistryGetGvpopulationadaptor( |
| 110 |
EnsPDatabaseadaptor dba); |
| 111 |
|
| 112 |
EnsPGvpopulationadaptor ensGvpopulationadaptorNew( |
| 113 |
EnsPDatabaseadaptor dba); |
| 114 |
|
| 115 |
void ensGvpopulationadaptorDel(EnsPGvpopulationadaptor *Pgvpa); |
| 116 |
|
| 117 |
EnsPGvsampleadaptor ensGvpopulationadaptorGetBaseadaptor( |
| 118 |
EnsPGvpopulationadaptor gvpa); |
| 119 |
|
| 120 |
EnsPDatabaseadaptor ensGvpopulationadaptorGetDatabaseadaptor( |
| 121 |
EnsPGvpopulationadaptor gvpa); |
| 122 |
|
| 123 |
AjBool ensGvpopulationadaptorFetchAllHapmap( |
| 124 |
EnsPGvpopulationadaptor gvpa, |
| 125 |
AjPList gvps); |
| 126 |
|
| 127 |
AjBool ensGvpopulationadaptorFetchAllLd( |
| 128 |
EnsPGvpopulationadaptor gvpa, |
| 129 |
AjPList gvps); |
| 130 |
|
| 131 |
AjBool ensGvpopulationadaptorFetchAllTagged( |
| 132 |
EnsPGvpopulationadaptor gvpa, |
| 133 |
const EnsPGvvariationfeature gvvf, |
| 134 |
AjPList gvps); |
| 135 |
|
| 136 |
AjBool ensGvpopulationadaptorFetchAllTags( |
| 137 |
EnsPGvpopulationadaptor gvpa, |
| 138 |
const EnsPGvvariationfeature gvvf, |
| 139 |
AjPList gvps); |
| 140 |
|
| 141 |
AjBool ensGvpopulationadaptorFetchAllThousandgenomes( |
| 142 |
EnsPGvpopulationadaptor gvpa, |
| 143 |
AjPList gvps); |
| 144 |
|
| 145 |
AjBool ensGvpopulationadaptorFetchAllbyGvindividual( |
| 146 |
EnsPGvpopulationadaptor gvpa, |
| 147 |
const EnsPGvindividual gvi, |
| 148 |
AjPList gvps); |
| 149 |
|
| 150 |
AjBool ensGvpopulationadaptorFetchAllbyGvindividuals( |
| 151 |
EnsPGvpopulationadaptor gvpa, |
| 152 |
AjPList gvis, |
| 153 |
AjPList gvps); |
| 154 |
|
| 155 |
AjBool ensGvpopulationadaptorFetchAllbyGvpopulationSub( |
| 156 |
EnsPGvpopulationadaptor gvpa, |
| 157 |
const EnsPGvpopulation gvp, |
| 158 |
AjPList gvps); |
| 159 |
|
| 160 |
AjBool ensGvpopulationadaptorFetchAllbyGvpopulationSuper( |
| 161 |
EnsPGvpopulationadaptor gvpa, |
| 162 |
const EnsPGvpopulation gvp, |
| 163 |
AjPList gvps); |
| 164 |
|
| 165 |
AjBool ensGvpopulationadaptorFetchAllbyIdentifiers( |
| 166 |
EnsPGvpopulationadaptor gvpa, |
| 167 |
AjPTable gvps); |
| 168 |
|
| 169 |
AjBool ensGvpopulationadaptorFetchAllbyNamesearch( |
| 170 |
EnsPGvpopulationadaptor gvpa, |
| 171 |
const AjPStr name, |
| 172 |
AjPList gvps); |
| 173 |
|
| 174 |
AjBool ensGvpopulationadaptorFetchAllbySynonym( |
| 175 |
EnsPGvpopulationadaptor gvpa, |
| 176 |
const AjPStr synonym, |
| 177 |
const AjPStr source, |
| 178 |
AjPList gvps); |
| 179 |
|
| 180 |
AjBool ensGvpopulationadaptorFetchByIdentifier( |
| 181 |
EnsPGvpopulationadaptor gvpa, |
| 182 |
ajuint identifier, |
| 183 |
EnsPGvpopulation *Pgvp); |
| 184 |
|
| 185 |
AjBool ensGvpopulationadaptorFetchByName( |
| 186 |
EnsPGvpopulationadaptor gvpa, |
| 187 |
const AjPStr name, |
| 188 |
EnsPGvpopulation *Pgvp); |
| 189 |
|
| 190 |
AjBool ensGvpopulationadaptorFetchDefaultld( |
| 191 |
EnsPGvpopulationadaptor gvpa, |
| 192 |
EnsPGvpopulation *Pgvp); |
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
EnsPGvpopulationgenotype ensGvpopulationgenotypeNewCpy( |
| 197 |
const EnsPGvpopulationgenotype gvpg); |
| 198 |
|
| 199 |
EnsPGvpopulationgenotype ensGvpopulationgenotypeNewIni( |
| 200 |
EnsPGvpopulationgenotypeadaptor gvpga, |
| 201 |
ajuint identifier, |
| 202 |
EnsPGvpopulation gvp, |
| 203 |
EnsPGvgenotype gvg, |
| 204 |
ajuint counter, |
| 205 |
float frequency); |
| 206 |
|
| 207 |
EnsPGvpopulationgenotype ensGvpopulationgenotypeNewRef( |
| 208 |
EnsPGvpopulationgenotype gvpg); |
| 209 |
|
| 210 |
void ensGvpopulationgenotypeDel(EnsPGvpopulationgenotype *Pgvpg); |
| 211 |
|
| 212 |
EnsPGvpopulationgenotypeadaptor ensGvpopulationgenotypeGetAdaptor( |
| 213 |
const EnsPGvpopulationgenotype gvpg); |
| 214 |
|
| 215 |
ajuint ensGvpopulationgenotypeGetCounter( |
| 216 |
const EnsPGvpopulationgenotype gvpg); |
| 217 |
|
| 218 |
float ensGvpopulationgenotypeGetFrequency( |
| 219 |
const EnsPGvpopulationgenotype gvpg); |
| 220 |
|
| 221 |
EnsPGvgenotype ensGvpopulationgenotypeGetGvgenotype( |
| 222 |
const EnsPGvpopulationgenotype gvpg); |
| 223 |
|
| 224 |
EnsPGvpopulation ensGvpopulationgenotypeGetGvpopulation( |
| 225 |
const EnsPGvpopulationgenotype gvpg); |
| 226 |
|
| 227 |
ajuint ensGvpopulationgenotypeGetIdentifier( |
| 228 |
const EnsPGvpopulationgenotype gvpg); |
| 229 |
|
| 230 |
AjBool ensGvpopulationgenotypeSetAdaptor( |
| 231 |
EnsPGvpopulationgenotype gvpg, |
| 232 |
EnsPGvpopulationgenotypeadaptor gvpga); |
| 233 |
|
| 234 |
AjBool ensGvpopulationgenotypeSetCounter( |
| 235 |
EnsPGvpopulationgenotype gvpg, |
| 236 |
ajuint counter); |
| 237 |
|
| 238 |
AjBool ensGvpopulationgenotypeSetFrequency( |
| 239 |
EnsPGvpopulationgenotype gvpg, |
| 240 |
float frequency); |
| 241 |
|
| 242 |
AjBool ensGvpopulationgenotypeSetGvgenotype( |
| 243 |
EnsPGvpopulationgenotype gvpg, |
| 244 |
EnsPGvgenotype gvg); |
| 245 |
|
| 246 |
AjBool ensGvpopulationgenotypeSetGvpopulation( |
| 247 |
EnsPGvpopulationgenotype gvpg, |
| 248 |
EnsPGvpopulation gvp); |
| 249 |
|
| 250 |
AjBool ensGvpopulationgenotypeSetIdentifier( |
| 251 |
EnsPGvpopulationgenotype gvpg, |
| 252 |
ajuint identifier); |
| 253 |
|
| 254 |
AjBool ensGvpopulationgenotypeTrace(const EnsPGvpopulationgenotype gvpg, |
| 255 |
ajuint level); |
| 256 |
|
| 257 |
AjPStr ensGvpopulationgenotypeGetSubhandle( |
| 258 |
const EnsPGvpopulationgenotype gvpg); |
| 259 |
|
| 260 |
ajuint ensGvpopulationgenotypeGetSubidentifier( |
| 261 |
const EnsPGvpopulationgenotype gvpg); |
| 262 |
|
| 263 |
size_t ensGvpopulationgenotypeCalculateMemsize( |
| 264 |
const EnsPGvpopulationgenotype gvpg); |
| 265 |
|
| 266 |
|
| 267 |
|
| 268 |
EnsPGvpopulationgenotypeadaptor ensRegistryGetGvpopulationgenotypeadaptor( |
| 269 |
EnsPDatabaseadaptor dba); |
| 270 |
|
| 271 |
EnsPGvpopulationgenotypeadaptor ensGvpopulationgenotypeadaptorNew( |
| 272 |
EnsPDatabaseadaptor dba); |
| 273 |
|
| 274 |
void ensGvpopulationgenotypeadaptorDel( |
| 275 |
EnsPGvpopulationgenotypeadaptor *Pgvpga); |
| 276 |
|
| 277 |
EnsPBaseadaptor ensGvpopulationgenotypeadaptorGetBaseadaptor( |
| 278 |
EnsPGvpopulationgenotypeadaptor gvpga); |
| 279 |
|
| 280 |
EnsPDatabaseadaptor ensGvpopulationgenotypeadaptorGetDatabaseadaptor( |
| 281 |
EnsPGvpopulationgenotypeadaptor gvpga); |
| 282 |
|
| 283 |
EnsPGvbaseadaptor ensGvpopulationgenotypeadaptorGetGvbaseadaptor( |
| 284 |
EnsPGvpopulationgenotypeadaptor gvpga); |
| 285 |
|
| 286 |
EnsPGvdatabaseadaptor ensGvpopulationgenotypeadaptorGetGvdatabaseadaptor( |
| 287 |
EnsPGvpopulationgenotypeadaptor gvpga); |
| 288 |
|
| 289 |
AjBool ensGvpopulationgenotypeadaptorFetchAllbyGvpopulation( |
| 290 |
EnsPGvpopulationgenotypeadaptor gvpga, |
| 291 |
const EnsPGvpopulation gvp, |
| 292 |
AjPList gvpgs); |
| 293 |
|
| 294 |
AjBool ensGvpopulationgenotypeadaptorFetchAllbyGvvariation( |
| 295 |
EnsPGvpopulationgenotypeadaptor gvpga, |
| 296 |
const EnsPGvvariation gvv, |
| 297 |
AjPList gvpgs); |
| 298 |
|
| 299 |
|
| 300 |
|
| 301 |
|
| 302 |
|
| 303 |
|
| 304 |
|
| 305 |
|
| 306 |
AJ_END_DECLS |
| 307 |
|
| 308 |
#endif |