noporpoise / seq-align

Fast, portable C implementations of Needleman-Wunsch and Smith-Waterman sequence alignment
94 stars 39 forks source link

Wrong NW example? #8

Open haghshenas opened 5 years ago

haghshenas commented 5 years ago

Hi there,

Thanks for you great tool.

I was trying to use your software as a library for performing NW alignment. It seems like your nw_example.cpp is not correct. You have:

    bool no_gaps_in_a = true, no_gaps_in_b = true;
    bool no_mismatches = true, case_sensitive = true;

Should it not be that no_gaps_in_a, no_gaps_in_b and no_mismatches all set to false?