| 1 | #cxx . . $ `<file>/meryl/meryl.H`/ifndef MERYL_H |
| 2 | #define MERYL_Hcxx . . $ `meryl/meryl.H:2:9`! |
| 3 | |
| 4 | #include "bio++.H"cxx . . $ `<file>/libbio/bio++.H`/ |
| 5 | |
| 6 | #define PERSONALITY_MERGEcxx . . $ `meryl/meryl.H:6:9`! 0xff |
| 7 | |
| 8 | #define PERSONALITY_MINcxx . . $ `meryl/meryl.H:8:9`! 0x01 |
| 9 | #define PERSONALITY_MINEXISTcxx . . $ `meryl/meryl.H:9:9`! 0x02 |
| 10 | #define PERSONALITY_MAXcxx . . $ `meryl/meryl.H:10:9`! 0x03 |
| 11 | #define PERSONALITY_MAXEXISTcxx . . $ `meryl/meryl.H:11:9`! 0x04 |
| 12 | #define PERSONALITY_ADDcxx . . $ `meryl/meryl.H:12:9`! 0x05 |
| 13 | #define PERSONALITY_SUBcxx . . $ `meryl/meryl.H:13:9`! 0x06 |
| 14 | #define PERSONALITY_DIVIDEcxx . . $ `meryl/meryl.H:14:9`! 0x07 |
| 15 | #define PERSONALITY_ABScxx . . $ `meryl/meryl.H:15:9`! 0x08 |
| 16 | |
| 17 | #define PERSONALITY_ANDcxx . . $ `meryl/meryl.H:17:9`! 0x10 |
| 18 | #define PERSONALITY_NANDcxx . . $ `meryl/meryl.H:18:9`! 0x11 |
| 19 | #define PERSONALITY_ORcxx . . $ `meryl/meryl.H:19:9`! 0x12 |
| 20 | #define PERSONALITY_XORcxx . . $ `meryl/meryl.H:20:9`! 0x13 |
| 21 | #define PERSONALITY_LEQcxx . . $ `meryl/meryl.H:21:9`! 0x14 |
| 22 | #define PERSONALITY_GEQcxx . . $ `meryl/meryl.H:22:9`! 0x15 |
| 23 | #define PERSONALITY_EQcxx . . $ `meryl/meryl.H:23:9`! 0x16 |
| 24 | |
| 25 | class merylArgscxx . . $ merylArgs# { |
| 26 | public: |
| 27 | merylArgscxx . . $ merylArgs#merylArgs(c759356ac01a31e7).(int argc, char **argv); |
| 28 | merylArgscxx . . $ merylArgs#merylArgs(85c52e162fed56f9).(const char *prefix); |
| 29 | ~cxx . . $ merylArgs#`~merylArgs`(49f6e7a06ebc5aa8).merylArgscxx . . $ merylArgs#(); |
| 30 | |
| 31 | void usagecxx . . $ merylArgs#usage(49f6e7a06ebc5aa8).(void); |
| 32 | void clearcxx . . $ merylArgs#clear(49f6e7a06ebc5aa8).(void); |
| 33 | |
| 34 | uint64cxx . . $ uint64# hashcxx . . $ merylArgs#hash(ca592cb021009579).(kMercxx . . $ kMer# const &mer) { |
| 35 | return(mer.startOfMercxx . . $ kMerTiny#startOfMer(24d83b250d602a6a).(numBuckets_log2cxx . . $ merylArgs#numBuckets_log2.)); |
| 36 | }; |
| 37 | |
| 38 | bool writeConfigcxx . . $ merylArgs#writeConfig(c9857a73d68e59ba).(void); |
| 39 | bool readConfigcxx . . $ merylArgs#readConfig(c5f7da30cbc0f4e9).(const char *prefix); |
| 40 | public: |
| 41 | char *execNamecxx . . $ merylArgs#execName.; |
| 42 | char *optionscxx . . $ merylArgs#options.; |
| 43 | |
| 44 | bool beVerbosecxx . . $ merylArgs#beVerbose.; |
| 45 | bool doForwardcxx . . $ merylArgs#doForward.; |
| 46 | bool doReversecxx . . $ merylArgs#doReverse.; |
| 47 | bool doCanonicalcxx . . $ merylArgs#doCanonical.; |
| 48 | |
| 49 | char *inputFilecxx . . $ merylArgs#inputFile.; |
| 50 | char *outputFilecxx . . $ merylArgs#outputFile.; |
| 51 | char *queryFilecxx . . $ merylArgs#queryFile.; |
| 52 | |
| 53 | uint32cxx . . $ uint32# merSizecxx . . $ merylArgs#merSize.; |
| 54 | uint32cxx . . $ uint32# merCompcxx . . $ merylArgs#merComp.; |
| 55 | bool positionsEnabledcxx . . $ merylArgs#positionsEnabled.; |
| 56 | |
| 57 | uint64cxx . . $ uint64# numMersEstimatedcxx . . $ merylArgs#numMersEstimated.; |
| 58 | uint64cxx . . $ uint64# numMersActualcxx . . $ merylArgs#numMersActual.; |
| 59 | |
| 60 | uint64cxx . . $ uint64# numBasesActualcxx . . $ merylArgs#numBasesActual.; |
| 61 | |
| 62 | uint64cxx . . $ uint64# mersPerBatchcxx . . $ merylArgs#mersPerBatch.; |
| 63 | uint64cxx . . $ uint64# basesPerBatchcxx . . $ merylArgs#basesPerBatch.; |
| 64 | |
| 65 | uint64cxx . . $ uint64# numBucketscxx . . $ merylArgs#numBuckets.; |
| 66 | uint32cxx . . $ uint32# numBuckets_log2cxx . . $ merylArgs#numBuckets_log2.; |
| 67 | uint32cxx . . $ uint32# merDataWidthcxx . . $ merylArgs#merDataWidth.; |
| 68 | uint64cxx . . $ uint64# merDataMaskcxx . . $ merylArgs#merDataMask.; |
| 69 | uint32cxx . . $ uint32# bucketPointerWidthcxx . . $ merylArgs#bucketPointerWidth.; |
| 70 | |
| 71 | uint32cxx . . $ uint32# numThreadscxx . . $ merylArgs#numThreads.; |
| 72 | uint64cxx . . $ uint64# memoryLimitcxx . . $ merylArgs#memoryLimit.; |
| 73 | uint64cxx . . $ uint64# segmentLimitcxx . . $ merylArgs#segmentLimit.; |
| 74 | bool configBatchcxx . . $ merylArgs#configBatch.; |
| 75 | bool countBatchcxx . . $ merylArgs#countBatch.; |
| 76 | bool mergeBatchcxx . . $ merylArgs#mergeBatch.; |
| 77 | uint32cxx . . $ uint32# batchNumbercxx . . $ merylArgs#batchNumber.; |
| 78 | |
| 79 | char *sgeJobNamecxx . . $ merylArgs#sgeJobName.; |
| 80 | char *sgeBuildOptcxx . . $ merylArgs#sgeBuildOpt.; |
| 81 | char *sgeMergeOptcxx . . $ merylArgs#sgeMergeOpt.; |
| 82 | bool isOnGridcxx . . $ merylArgs#isOnGrid.; |
| 83 | |
| 84 | uint32cxx . . $ uint32# lowCountcxx . . $ merylArgs#lowCount.; |
| 85 | uint32cxx . . $ uint32# highCountcxx . . $ merylArgs#highCount.; |
| 86 | uint32cxx . . $ uint32# desiredCountcxx . . $ merylArgs#desiredCount.; |
| 87 | |
| 88 | bool outputCountcxx . . $ merylArgs#outputCount.; |
| 89 | bool outputAllcxx . . $ merylArgs#outputAll.; |
| 90 | bool outputPositioncxx . . $ merylArgs#outputPosition.; |
| 91 | |
| 92 | bool includeDefLinecxx . . $ merylArgs#includeDefLine.; |
| 93 | bool includeMercxx . . $ merylArgs#includeMer.; |
| 94 | |
| 95 | uint32cxx . . $ uint32# mergeFilesMaxcxx . . $ merylArgs#mergeFilesMax.; |
| 96 | uint32cxx . . $ uint32# mergeFilesLencxx . . $ merylArgs#mergeFilesLen.; |
| 97 | char **mergeFilescxx . . $ merylArgs#mergeFiles.; |
| 98 | |
| 99 | uint32cxx . . $ uint32# personalitycxx . . $ merylArgs#personality.; |
| 100 | }; |
| 101 | |
| 102 | |
| 103 | uint64cxx . . $ uint64# |
| 104 | estimateNumMersInMemorySizecxx . . $ estimateNumMersInMemorySize(523f3ef4c24d4155).(uint32cxx . . $ uint32# merSize, |
| 105 | uint64cxx . . $ uint64# mem, |
| 106 | bool positionsEnabled, |
| 107 | bool beVerbose); |
| 108 | |
| 109 | uint64cxx . . $ uint64# |
| 110 | estimateMemorycxx . . $ estimateMemory(d0900995b195fb9f).(uint32cxx . . $ uint32# merSize, |
| 111 | uint64cxx . . $ uint64# numMers, |
| 112 | bool positionsEnabled); |
| 113 | |
| 114 | uint32cxx . . $ uint32# |
| 115 | optimalNumberOfBucketscxx . . $ optimalNumberOfBuckets(5f3177df75efc44).(uint32cxx . . $ uint32# merSize, |
| 116 | uint64cxx . . $ uint64# numMers, |
| 117 | bool positionsEnabled); |
| 118 | |
| 119 | void estimatecxx . . $ estimate(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 120 | void buildcxx . . $ build(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 121 | |
| 122 | void multipleOperationscxx . . $ multipleOperations(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 123 | void binaryOperationscxx . . $ binaryOperations(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 124 | void unaryOperationscxx . . $ unaryOperations(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 125 | |
| 126 | void dumpcxx . . $ dump(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 127 | void dumpThresholdcxx . . $ dumpThreshold(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 128 | void dumpPositionscxx . . $ dumpPositions(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 129 | void countUniquecxx . . $ countUnique(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 130 | void dumpDistanceBetweenMerscxx . . $ dumpDistanceBetweenMers(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 131 | void plotHistogramcxx . . $ plotHistogram(aab238e627804bcb).(merylArgscxx . . $ merylArgs# *args); |
| 132 | |
| 133 | #endif // MERYL_H |