Open jakobnissen opened 3 years ago
Hi Jakob! Thanks for the bug report. And sorry for the late reply --- it seems github issues have been sent to my spam folder.
What happens here is that there is no or almost no space for the actual sequence. I did not think that would occur, but left the assert for catching possible edge cases. What would be a good solution for when this is happening?
There is the option -aa
that you could try. Maybe a version of this would be a good automatic workaround?
Actually, I realise now that I did not read your bug report properly. I will have another look.
It would help me if you could share some sample data that triggers this error, because I can't replicate the bug as you report it. Finding other problems, however...
I hate to break it to you, but I created a terminal alignment viewer myself in the meantime :) Check it out, it's pretty neat! https://github.com/jakobnissen/alen I'll try to find a minimal example to trigger the bug when I'm back from holiday.
This FASTA file breaks it on my computer:
>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
a
At least I think. I have a large-ish alignment with some sequences having quite long names. Running
alv aln.fna
works, butalv aln.fna | less
results in: