File: Types.h

package info (click to toggle)
pbseqlib 5.3.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,020 kB
  • sloc: cpp: 77,246; python: 331; sh: 103; makefile: 42
file content (29 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (3)
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 <cstdint>

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_