void smith_waterman_free(sw_aligner_t *sw) { aligner_destroy(&(sw->aligner)); bitset_dealloc(&sw->history.match_scores_mask); free(sw->history.sorted_match_indices); free(sw); }
void needleman_wunsch_free(nw_aligner_t *nw) { aligner_destroy(nw); free(nw); }