|
cuSBF
|
An alphabet for encoding DNA sequences, consisting of the symbols A, C, G, and T. More...
Static Public Member Functions | |
| constexpr __host__ __device__ static __forceinline__ uint8_t | encode (const char *input) |
Static Public Attributes | |
| static constexpr uint64_t | symbolWidth = 1 |
| static constexpr uint64_t | symbolCount = 4 |
| static constexpr uint8_t | invalidSymbol = 0xFFu |
| static constexpr uint8_t | separator = 'N' |
| static constexpr char | validBytes [] = "ACGT" |
An alphabet for encoding DNA sequences, consisting of the symbols A, C, G, and T.
Each symbol is encoded as a 2-bit value: A=0, C=1, T=2, G=3. Invalid bytes are encoded as 0xFF.
Definition at line 113 of file Alphabet.cuh.
|
inlinestaticconstexpr |
Definition at line 120 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 116 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 117 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 115 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 114 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 118 of file Alphabet.cuh.