| 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 ENSKARYOTYPE_H |
| 30 |
#define ENSKARYOTYPE_H |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
#include "ensfeature.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 |
#define EnsPKaryotypebandadaptor EnsPFeatureadaptor |
| 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 |
typedef struct EnsSKaryotypeband |
| 86 |
{ |
| 87 |
ajuint Use; |
| 88 |
ajuint Identifier; |
| 89 |
EnsPKaryotypebandadaptor Adaptor; |
| 90 |
EnsPFeature Feature; |
| 91 |
AjPStr Name; |
| 92 |
AjPStr Stain; |
| 93 |
} EnsOKaryotypeband; |
| 94 |
|
| 95 |
#define EnsPKaryotypeband EnsOKaryotypeband* |
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
EnsPKaryotypeband ensKaryotypebandNewCpy(const EnsPKaryotypeband kb); |
| 111 |
|
| 112 |
EnsPKaryotypeband ensKaryotypebandNewIni(EnsPKaryotypebandadaptor kba, |
| 113 |
ajuint identifier, |
| 114 |
EnsPFeature feature, |
| 115 |
AjPStr name, |
| 116 |
AjPStr stain); |
| 117 |
|
| 118 |
EnsPKaryotypeband ensKaryotypebandNewRef(EnsPKaryotypeband kb); |
| 119 |
|
| 120 |
void ensKaryotypebandDel(EnsPKaryotypeband *Pkb); |
| 121 |
|
| 122 |
EnsPKaryotypebandadaptor ensKaryotypebandGetAdaptor( |
| 123 |
const EnsPKaryotypeband kb); |
| 124 |
|
| 125 |
EnsPFeature ensKaryotypebandGetFeature( |
| 126 |
const EnsPKaryotypeband kb); |
| 127 |
|
| 128 |
ajuint ensKaryotypebandGetIdentifier( |
| 129 |
const EnsPKaryotypeband kb); |
| 130 |
|
| 131 |
AjPStr ensKaryotypebandGetName( |
| 132 |
const EnsPKaryotypeband kb); |
| 133 |
|
| 134 |
AjPStr ensKaryotypebandGetStain( |
| 135 |
const EnsPKaryotypeband kb); |
| 136 |
|
| 137 |
AjBool ensKaryotypebandSetAdaptor(EnsPKaryotypeband kb, |
| 138 |
EnsPKaryotypebandadaptor kba); |
| 139 |
|
| 140 |
AjBool ensKaryotypebandSetFeature(EnsPKaryotypeband kb, |
| 141 |
EnsPFeature feature); |
| 142 |
|
| 143 |
AjBool ensKaryotypebandSetIdentifier(EnsPKaryotypeband kb, |
| 144 |
ajuint identifier); |
| 145 |
|
| 146 |
AjBool ensKaryotypebandSetName(EnsPKaryotypeband kb, |
| 147 |
AjPStr name); |
| 148 |
|
| 149 |
AjBool ensKaryotypebandSetStain(EnsPKaryotypeband kb, |
| 150 |
AjPStr stain); |
| 151 |
|
| 152 |
AjBool ensKaryotypebandTrace(const EnsPKaryotypeband kb, |
| 153 |
ajuint level); |
| 154 |
|
| 155 |
size_t ensKaryotypebandCalculateMemsize(const EnsPKaryotypeband kb); |
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
AjBool ensListKaryotypebandSortEndAscending(AjPList kbs); |
| 160 |
|
| 161 |
AjBool ensListKaryotypebandSortEndDescending(AjPList kbs); |
| 162 |
|
| 163 |
AjBool ensListKaryotypebandSortIdentifierAscending(AjPList kbs); |
| 164 |
|
| 165 |
AjBool ensListKaryotypebandSortStartAscending(AjPList kbs); |
| 166 |
|
| 167 |
AjBool ensListKaryotypebandSortStartDescending(AjPList kbs); |
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
EnsPKaryotypebandadaptor ensRegistryGetKaryotypebandadaptor( |
| 172 |
EnsPDatabaseadaptor dba); |
| 173 |
|
| 174 |
EnsPKaryotypebandadaptor ensKaryotypebandadaptorNew( |
| 175 |
EnsPDatabaseadaptor dba); |
| 176 |
|
| 177 |
void ensKaryotypebandadaptorDel(EnsPKaryotypebandadaptor *Padaptor); |
| 178 |
|
| 179 |
EnsPBaseadaptor ensKaryotypebandadaptorGetBaseadaptor( |
| 180 |
EnsPKaryotypebandadaptor kba); |
| 181 |
|
| 182 |
EnsPDatabaseadaptor ensKaryotypebandadaptorGetDatabaseadaptor( |
| 183 |
EnsPKaryotypebandadaptor kba); |
| 184 |
|
| 185 |
EnsPFeatureadaptor ensKaryotypebandadaptorGetFeatureadaptor( |
| 186 |
EnsPKaryotypebandadaptor kba); |
| 187 |
|
| 188 |
AjBool ensKaryotypebandadaptorFetchAllbyChromosomeband( |
| 189 |
EnsPKaryotypebandadaptor adaptor, |
| 190 |
const AjPStr name, |
| 191 |
const AjPStr band, |
| 192 |
AjPList kblist); |
| 193 |
|
| 194 |
AjBool ensKaryotypebandadaptorFetchAllbyChromosomename( |
| 195 |
EnsPKaryotypebandadaptor adaptor, |
| 196 |
const AjPStr name, |
| 197 |
AjPList kblist); |
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
AJ_END_DECLS |
| 207 |
|
| 208 |
#endif |