A generic tool for sequence alignment