4. Reverse-complement function for searching both strands
The Gotoh implementation uses three matrices (M, X, Y) to track match/mismatch and gap states separately, resulting in significantly better alignments for sequences with indels. Your existing 'nw_align' function remains unchanged.
Should I create a quick test to verify everything works?
→ Add a follow-up instruction
Grok 4.6
/ for commands · @ for files