forked from BenLangmead/bowtie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
btypes.h
32 lines (25 loc) · 736 Bytes
/
btypes.h
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
#ifndef BOWTIE_INDEX_TYPES_H
#define BOWTIE_INDEX_TYPES_H
#ifdef BOWTIE_64BIT_INDEX
#define OFF_MASK 0xffffffffffffffff
#define OFF_LEN_MASK 0xc000000000000000
#define LS_SIZE 0x100000000000000
#define OFF_SIZE 8
#define CACHE_WRAPPER_BIT 0x8000000000000000
#define WORD_SIZE 64
#define BITSET_MASK 0x000000000000003f
typedef uint64_t TIndexOffU;
typedef int64_t TIndexOff;
#else
#define OFF_MASK 0xffffffff
#define OFF_LEN_MASK 0xc0000000
#define LS_SIZE 0x10000000
#define OFF_SIZE 4
#define CACHE_WRAPPER_BIT 0x80000000
#define WORD_SIZE 32
#define BITSET_MASK 0x0000001f
typedef uint32_t TIndexOffU;
typedef int TIndexOff;
#endif /* BOWTIE_64BIT_INDEX */
extern const std::string gEbwt_ext;
#endif /* BOWTIE_INDEX_TYPES_H */