MesquiteProject / MesquiteCore

The core Mesquite repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FASTA output is incorrect if there are "N"s in the sequence

stuckyb opened this issue · comments

Hello,

First, thanks so much for developing such a useful software product and making it free and open source!

I've noticed a bug when exporting sequence data in FASTA format. If there are any "N"s in the sequence, they evidently do not get counted correctly when Mesquite determines where to break lines in the FASTA file. The line ends up being too long by how ever many "N" characters were encountered. These two lines are example output that illustrates the problem.

CCTGCAGGAGGAGGAGACCCAATTTTATACCAACACCTATTTTGATTTTT
TGNNNNNNNNNNNANTAATTTCTCATATTATTAGCCAAGAATCAGGTAAAAAGGAAACTTTT

I am using Mesquite 2.75.

Thanks!

Thanks for the bug report! I will look into this hopefully next week.

I think this is fixed; I went ahead and merged the change because it seems like a pretty small fix that shouldn't affect anything else.