Entering edit mode
Using the msa package, I did a multiple alignment of 3 highly similar sequences, each of length ~8 kb.
I then tried to print them to an image using the msaPrettyPrint function.
LaTeX complains about exceeding the input stack size = 5000
Of course, that is exactly what I would have answered. If you have any other questions or issues, please let us know. All the best!