/usr/include/meryl.H is in libmeryl-dev 0~20150903+r2013-1.
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 | #ifndef MERYL_H
#define MERYL_H
#include "bio++.H"
#define PERSONALITY_MERGE 0xff
#define PERSONALITY_MIN 0x01
#define PERSONALITY_MINEXIST 0x02
#define PERSONALITY_MAX 0x03
#define PERSONALITY_MAXEXIST 0x04
#define PERSONALITY_ADD 0x05
#define PERSONALITY_SUB 0x06
#define PERSONALITY_DIVIDE 0x07
#define PERSONALITY_ABS 0x08
#define PERSONALITY_AND 0x10
#define PERSONALITY_NAND 0x11
#define PERSONALITY_OR 0x12
#define PERSONALITY_XOR 0x13
#define PERSONALITY_LEQ 0x14
#define PERSONALITY_GEQ 0x15
#define PERSONALITY_EQ 0x16
class merylArgs {
public:
merylArgs(int argc, char **argv);
merylArgs(const char *prefix);
~merylArgs();
void usage(void);
void clear(void);
uint64 hash(kMer const &mer) {
return(mer.startOfMer(numBuckets_log2));
};
bool writeConfig(void);
bool readConfig(const char *prefix);
public:
char *execName;
char *options;
bool beVerbose;
bool doForward;
bool doReverse;
bool doCanonical;
char *inputFile;
char *outputFile;
char *queryFile;
uint32 merSize;
uint32 merComp;
bool positionsEnabled;
uint64 numMersEstimated;
uint64 numMersActual;
uint64 numBasesActual;
uint64 mersPerBatch;
uint64 basesPerBatch;
uint64 numBuckets;
uint32 numBuckets_log2;
uint32 merDataWidth;
uint64 merDataMask;
uint32 bucketPointerWidth;
uint32 numThreads;
uint64 memoryLimit;
uint64 segmentLimit;
bool configBatch;
bool countBatch;
bool mergeBatch;
uint32 batchNumber;
char *sgeJobName;
char *sgeBuildOpt;
char *sgeMergeOpt;
bool isOnGrid;
uint32 lowCount;
uint32 highCount;
uint32 desiredCount;
bool outputCount;
bool outputAll;
bool outputPosition;
bool includeDefLine;
bool includeMer;
uint32 mergeFilesMax;
uint32 mergeFilesLen;
char **mergeFiles;
uint32 personality;
};
uint64
estimateNumMersInMemorySize(uint32 merSize,
uint64 mem,
bool positionsEnabled,
bool beVerbose);
uint64
estimateMemory(uint32 merSize,
uint64 numMers,
bool positionsEnabled);
uint32
optimalNumberOfBuckets(uint32 merSize,
uint64 numMers,
bool positionsEnabled);
void estimate(merylArgs *args);
void build(merylArgs *args);
void multipleOperations(merylArgs *args);
void binaryOperations(merylArgs *args);
void unaryOperations(merylArgs *args);
void dump(merylArgs *args);
void dumpThreshold(merylArgs *args);
void dumpPositions(merylArgs *args);
void countUnique(merylArgs *args);
void dumpDistanceBetweenMers(merylArgs *args);
void plotHistogram(merylArgs *args);
#endif // MERYL_H
|