|
cuSBF
|
An alphabet for encoding protein sequences, consisting of the 20 standard amino acids plus common ambiguous and rare residue symbols: 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 = 26 |
| static constexpr uint8_t | invalidSymbol = 0xFFu |
| static constexpr uint8_t | separator = '*' |
| static constexpr char | validBytes [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
An alphabet for encoding protein sequences, consisting of the 20 standard amino acids plus common ambiguous and rare residue symbols:
A through Z.
Each symbol is encoded as a unique 5-bit value from 0 to 25. Invalid bytes are encoded as 0xFF.
Definition at line 167 of file Alphabet.cuh.
|
inlinestaticconstexpr |
Definition at line 174 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 170 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 171 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 169 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 168 of file Alphabet.cuh.
|
staticconstexpr |
Definition at line 172 of file Alphabet.cuh.