deps/kb_meme/meme-5.0.1/src/alph-in.c
/*
 * alph_reader_core
 * Adds a core symbol bypassing the text processing.
 */
alph_reader_core
Adds a core symbol bypassing the text processing.
alph_reader_core Adds a core symbol bypassing the text processing .
void alph_reader_core(ALPH_READER_T *reader, char symbol, const char* aliases, const char* name, int colour, char complement) {
  if (reader->state != STATE_CORE) die("Alphabet core symbols must be specified before ambiguous symbols!");
  process_core(reader, -1, symbol, (name == NULL ? NULL : strdup(name)), colour, complement);
  if (aliases != NULL) {
    char comprise[2];
    int i;
    comprise[0] = symbol;
    comprise[1] = '\0';
    for (i = 0; aliases[i] != '\0'; i++) process_ambig(reader, -1, aliases[i], NULL, -1, strdup(comprise));
  }
}
void alph_reader_core ( ALPH_READER_T * reader , char symbol , const char * aliases , const char * name , int colour , char complement ) { if ( reader -> state != STATE_CORE ) die ( " " ) ; process_core ( reader , -1 , symbol , ( name == NULL ? NULL : strdup ( name ) ) , colour , complement ) ; if ( aliases != NULL ) { char comprise [ 2 ] ; int i ; comprise [ 0 ] = symbol ; comprise [ 1 ] = ' \0 ' ; for ( i = 0 ; aliases [ i ] != ' \0 ' ; i ++ ) process_ambig ( reader , -1 , aliases [ i ] , NULL , -1 , strdup ( comprise ) ) ; } }
alph_reader_core
 Adds a core symbol bypassing the text processing.
alph_reader_core Adds a core symbol bypassing the text processing .