deps/kb_meme/meme-5.0.1/src/meme2alph.c
/**************************************************************************
 * Load the alphabet from the motif file
 **************************************************************************/
Load the alphabet from the motif file
Load the alphabet from the motif file
ALPH_T* load_alphabet(OPTIONS_T *options) {
  MREAD_T *mread;
  ALPH_T *alph;
  mread = mread_create(options->motifs_file, OPEN_MFILE, false);
  alph = alph_hold(mread_get_alphabet(mread));
  mread_destroy(mread);
  return alph;
}
ALPH_T * load_alphabet ( OPTIONS_T * options ) { MREAD_T * mread ; ALPH_T * alph ; mread = mread_create ( options -> motifs_file , OPEN_MFILE , false ) ; alph = alph_hold ( mread_get_alphabet ( mread ) ) ; mread_destroy ( mread ) ; return alph ; }
Load the alphabet from the motif file
Load the alphabet from the motif file