/usr/lib/emboss/include/ensdensity.h is in emboss-lib 6.3.1-6ubuntu3.
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 | #ifdef __cplusplus
extern "C"
{
#endif
#ifndef ensdensity_h
#define ensdensity_h
#include "ensfeature.h"
/* @data EnsPDensitytypeadaptor ***********************************************
**
** Ensembl Density Type Adaptor.
**
** @alias EnsSDensitytypeadaptor
** @alias EnsODensitytypeadaptor
**
** @attr Adaptor [EnsPBaseadaptor] Ensembl Base Adaptor
** @attr CacheByIdentifier [AjPTable] Identifier cache
** @@
******************************************************************************/
typedef struct EnsSDensitytypeadaptor
{
EnsPBaseadaptor Adaptor;
AjPTable CacheByIdentifier;
} EnsODensitytypeadaptor;
#define EnsPDensitytypeadaptor EnsODensitytypeadaptor*
/* EnsEDensitytypeValueType ***************************************************
**
** Ensembl Density Type value type enumeration.
**
******************************************************************************/
typedef enum EnsODensitytypeValueType
{
ensEDensitytypeValueTypeNULL,
ensEDensitytypeValueTypeSum,
ensEDensitytypeValueTypeRatio
} EnsEDensitytypeValueType;
/* @data EnsPDensitytype ******************************************************
**
** Ensembl Density Type.
**
** @alias EnsSDensitytype
** @alias EnsODensitytype
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] Internal SQL database identifier (primary key)
** @attr Adaptor [EnsPDensitytypeadaptor] Ensembl Density Type Adaptor
** @cc Bio::EnsEMBL::Densitytype
** @attr Analysis [EnsPAnalysis] Ensembl Analysis
** @attr ValueType [EnsEDensitytypeValueType] Value type enumeration
** @attr BlockSize [ajuint] Block size
** @attr RegionFeatures [ajuint] Number of Features per Sequence Region in
** this Density Type
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/
typedef struct EnsSDensitytype
{
ajuint Use;
ajuint Identifier;
EnsPDensitytypeadaptor Adaptor;
EnsPAnalysis Analysis;
EnsEDensitytypeValueType ValueType;
ajuint BlockSize;
ajuint RegionFeatures;
ajuint Padding;
} EnsODensitytype;
#define EnsPDensitytype EnsODensitytype*
/* @data EnsPDensityfeatureadaptor ********************************************
**
** Ensembl Density Feature Adaptor.
**
** @alias EnsSDensityfeatureadaptor
** @alias EnsODensityfeatureadaptor
**
** @attr Adaptor [EnsPFeatureadaptor] Ensembl Feature Adaptor
** @@
******************************************************************************/
typedef struct EnsSDensityfeatureadaptor
{
EnsPFeatureadaptor Adaptor;
} EnsODensityfeatureadaptor;
#define EnsPDensityfeatureadaptor EnsODensityfeatureadaptor*
/* @data EnsPDensityfeature ***************************************************
**
** Ensembl Density Feature.
**
** @alias EnsSDensityfeature
** @alias EnsODensityfeature
**
** @attr Use [ajuint] Use counter
** @cc Bio::EnsEMBL::Storable
** @attr Identifier [ajuint] SQL database-internal identifier
** @attr Adaptor [EnsPDensityfeatureadaptor] Ensembl Density Feature Adaptor
** @cc Bio::EnsEMBL::Feature
** @attr Feature [EnsPFeature] Ensembl Feature
** @cc Bio::EnsEMBL::Densityfeature
** @attr Densitytype [EnsPDensitytype] Ensembl Density Type
** @attr DensityValue [float] Density value
** @attr Padding [ajuint] Padding to alignment boundary
** @@
******************************************************************************/
typedef struct EnsSDensityfeature
{
ajuint Use;
ajuint Identifier;
EnsPDensityfeatureadaptor Adaptor;
EnsPFeature Feature;
EnsPDensitytype Densitytype;
float DensityValue;
ajuint Padding;
} EnsODensityfeature;
#define EnsPDensityfeature EnsODensityfeature*
/*
** Prototype definitions
*/
/* Ensembl Density Type */
EnsPDensitytype ensDensitytypeNew(EnsPDensitytypeadaptor dta,
ajuint identifier,
EnsPAnalysis analysis,
EnsEDensitytypeValueType type,
ajuint size,
ajuint features);
EnsPDensitytype ensDensitytypeNewObj(const EnsPDensitytype object);
EnsPDensitytype ensDensitytypeNewRef(EnsPDensitytype dt);
void ensDensitytypeDel(EnsPDensitytype* Pdt);
EnsPDensitytypeadaptor ensDensitytypeGetAdaptor(const EnsPDensitytype dt);
ajuint ensDensitytypeGetIdentifier(const EnsPDensitytype dt);
EnsPAnalysis ensDensitytypeGetAnalysis(const EnsPDensitytype dt);
EnsEDensitytypeValueType ensDensitytypeGetValueType(const EnsPDensitytype dt);
ajuint ensDensitytypeGetBlockSize(const EnsPDensitytype dt);
ajuint ensDensitytypeGetRegionFeatures(const EnsPDensitytype dt);
AjBool ensDensitytypeSetAdaptor(EnsPDensitytype dt,
EnsPDensitytypeadaptor dta);
AjBool ensDensitytypeSetIdentifier(EnsPDensitytype dt,
ajuint identifier);
AjBool ensDensitytypeSetAnalysis(EnsPDensitytype dt,
EnsPAnalysis analysis);
AjBool ensDensitytypeSetValueType(EnsPDensitytype dt,
EnsEDensitytypeValueType type);
AjBool ensDensitytypeSetBlockSize(EnsPDensitytype dt,
ajuint size);
AjBool ensDensitytypeSetRegionFeatures(EnsPDensitytype dt,
ajuint features);
AjBool ensDensitytypeTrace(const EnsPDensitytype dt, ajuint level);
ajulong ensDensitytypeGetMemsize(const EnsPDensitytype dt);
EnsEDensitytypeValueType ensDensitytypeValeTypeFromStr(const AjPStr type);
const char* ensDensitytypeValeTypeToChar(const EnsEDensitytypeValueType type);
/* Ensembl Density Type Adaptor */
EnsPDensitytypeadaptor ensRegistryGetDensitytypeadaptor(
EnsPDatabaseadaptor dba);
EnsPDensitytypeadaptor ensDensitytypeadaptorNew(
EnsPDatabaseadaptor dba);
void ensDensitytypeadaptorDel(EnsPDensitytypeadaptor* Pdta);
EnsPBaseadaptor ensDensitytypeadaptorGetBaseadaptor(
const EnsPDensitytypeadaptor dta);
EnsPDatabaseadaptor ensDensitytypeadaptorGetDatabaseadaptor(
const EnsPDensitytypeadaptor dta);
AjBool ensDensitytypeadaptorFetchAll(
EnsPDensitytypeadaptor dta,
AjPList dts);
AjBool ensDensitytypeadaptorFetchByIdentifier(
EnsPDensitytypeadaptor dta,
ajuint identifier,
EnsPDensitytype *Pdt);
AjBool ensDensitytypeadaptorFetchAllByAnalysisName(
EnsPDensitytypeadaptor dta,
const AjPStr name,
AjPList dts);
/* Ensembl Density Feature */
EnsPDensityfeature ensDensityfeatureNew(EnsPDensityfeatureadaptor dfa,
ajuint identifier,
EnsPFeature feature,
EnsPDensitytype dt,
float value);
EnsPDensityfeature ensDensityfeatureNewObj(const EnsPDensityfeature object);
EnsPDensityfeature ensDensityfeatureNewRef(EnsPDensityfeature df);
void ensDensityfeatureDel(EnsPDensityfeature* Pdf);
EnsPDensityfeatureadaptor ensDensityfeatureGetAdaptor(
const EnsPDensityfeature df);
ajuint ensDensityfeatureGetIdentifier(const EnsPDensityfeature df);
EnsPFeature ensDensityfeatureGetFeature(const EnsPDensityfeature df);
EnsPDensitytype ensDensityfeatureGetDensitytype(const EnsPDensityfeature df);
float ensDensityfeatureGetDensityValue(const EnsPDensityfeature df);
AjBool ensDensityfeatureSetAdaptor(EnsPDensityfeature df,
EnsPDensityfeatureadaptor dfa);
AjBool ensDensityfeatureSetIdentifier(EnsPDensityfeature df,
ajuint identifier);
AjBool ensDensityfeatureSetFeature(EnsPDensityfeature df,
EnsPFeature feature);
AjBool ensDensityfeatureSetDensitytype(EnsPDensityfeature df,
EnsPDensitytype dt);
AjBool ensDensityfeatureSetDensityValue(EnsPDensityfeature df,
float value);
AjBool ensDensityfeatureTrace(const EnsPDensityfeature df, ajuint level);
ajulong ensDensityfeatureGetMemsize(const EnsPDensityfeature df);
AjBool ensDensityfeatureSortByStartAscending(AjPList dfs);
AjBool ensDensityfeatureSortByStartDescending(AjPList dfs);
/* Ensembl Density Feature Adaptor */
EnsPDensityfeatureadaptor ensRegistryGetDensityfeatureadaptor(
EnsPDatabaseadaptor dba);
EnsPDensityfeatureadaptor ensDensityfeatureadaptorNew(
EnsPDatabaseadaptor dba);
void ensDensityfeatureadaptorDel(EnsPDensityfeatureadaptor *Pdfa);
AjBool ensDensityfeatureadaptorFetchAllBySlice(
EnsPDensityfeatureadaptor dfa,
EnsPSlice slice,
const AjPStr anname,
ajuint blocks,
AjBool interpolate,
float maxratio,
AjPList dfs);
/*
** End of prototype definitions
*/
#endif /* ensdensity_h */
#ifdef __cplusplus
}
#endif
|