File: Types.h

package info (click to toggle)
pbseqlib 0~20161219-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,924 kB
  • ctags: 5,123
  • sloc: cpp: 82,727; makefile: 305; python: 239; sh: 8
file content (29 lines) | stat: -rw-r--r-- 728 bytes parent folder | download | duplicates (2)
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 _BLASR_TYPES_H_
#define _BLASR_TYPES_H_

#include <stdint.h>

typedef unsigned char Nucleotide;
// DNA sequence related definitions.
typedef uint32_t DNALength;
// Genome length, first step towards > 4G genome length, not there yet.
typedef uint64_t GenomeLength;

//
// Add definitions to handle 64/32 bit computing environments
//
// H5 Dataset length (e.g., total number of pulses in a pls.h5 file.)
typedef uint64_t DSLength; 
// used in alignment/tuple/BaseTuple class
typedef uint64_t TupleData;

typedef uint32_t VectorIndex;
typedef uint32_t UInt;
typedef uint8_t  Byte;
typedef uint8_t  UChar;
typedef uint16_t HalfWord;
typedef float MatchWeight;

#define PB_UNUSED(VAR) (void)(VAR)

#endif // _BLASR_TYPES_H_