Module: Amino acid words.
More...
#include <stdint.h>
#include <stdbool.h>
#include "uproc/alphabet.h"
Go to the source code of this file.
|
typedef struct uproc_worditer_s | uproc_worditer |
| Iterator over all words in an amino acid sequence. More...
|
|
|
int | uproc_word_from_string (struct uproc_word *word, const char *str, const uproc_alphabet *alpha) |
| Transform a string to amino acid word. More...
|
|
int | uproc_word_to_string (char *str, const struct uproc_word *word, const uproc_alphabet *alpha) |
| Build string corresponding to amino acid word. More...
|
|
void | uproc_word_append (struct uproc_word *word, uproc_amino amino) |
| Append amino acid. More...
|
|
void | uproc_word_prepend (struct uproc_word *word, uproc_amino amino) |
| Prepend amino acid. More...
|
|
bool | uproc_word_startswith (const struct uproc_word *word, uproc_amino amino) |
| Compare first amino acid of a word. More...
|
|
int | uproc_word_cmp (const struct uproc_word *w1, const struct uproc_word *w2) |
| Compare words. More...
|
|
uproc_worditer * | uproc_worditer_create (const char *seq, const uproc_alphabet *alpha) |
| Create worditer object. More...
|
|
int | uproc_worditer_next (uproc_worditer *iter, size_t *index, struct uproc_word *fwd, struct uproc_word *rev) |
| Obtain the next word(s) from a word iterator. More...
|
|
void | uproc_worditer_destroy (uproc_worditer *iter) |
| Destroy worditer object. More...
|
|