DP-HLS
|
Functions | |
template<int N> | |
string | Sequence (char alphabet[N], int length) |
template<typename T > | |
std::vector< T > | SequenceComplex (int length) |
template<int WID> | |
std::vector< std::array< int, 5 > > | SequenceProfileAlignment (int len) |
A function that generates a random sequence in the format of the input of profile alignment. Each element of the output vector is an array of length 5. Each element in the array is the count of A, T, C, G, and _ in the column. The integers in the array should be non negative and sum up to WID. More... | |
string Random::Sequence | ( | char | alphabet[N], |
int | length | ||
) |
std::vector<T> Random::SequenceComplex | ( | int | length | ) |
std::vector<std::array<int, 5> > Random::SequenceProfileAlignment | ( | int | len | ) |
A function that generates a random sequence in the format of the input of profile alignment. Each element of the output vector is an array of length 5. Each element in the array is the count of A, T, C, G, and _ in the column. The integers in the array should be non negative and sum up to WID.
WID | Number of sequences in the aligned sequences. |