output now takes alignment, not just sequences