ddarriba / jmodeltest2

Automatically exported from code.google.com/p/jmodeltest2
GNU General Public License v3.0
74 stars 47 forks source link

Error: point (.) in first sequence name #33

Open thobrock opened 8 years ago

thobrock commented 8 years ago

Thanks for this nice tool. I used an older version a lot and upgraded recently to 2.1.10.

But there is one thing that I don't understand and it's maybe a bug.

If I have a point in the first sequence name of the alignment (e.g. ara|AT4G36090.3) the program stops with the following error message:

The specified file "test.fasta" cannot be read as an alignment 
failed.
Alignment parse exception: Copy character (.) in first sequence not allowed (pos. 4)

But if the first sequence does not contain a point, it works even if the following sequence names contain a point again. E.g:

>stu|PGSC0003DMP400006353
...
>araAT4G36090.3
...

It doesn't matter if it's a fasta or phylip input file.

Can you please take a look in this problem? (Otherwise, I would have to edit several thousand files.)

PS: a minor thing: In the manual file, you referring to version 0.1.10 instead of 2.1.10.

\providecommand{\versionnumber}{0.1.10}
thobrock commented 8 years ago

Some news on this?

Till this issue is fixed, I renamed all the sequences to remove the '.'. But it's a bit frustrating, because I have to rename the files afterwords again to get the original geneIDs back. It's an unnecessary step.

mailygonzalez13 commented 3 years ago

Can anyone solve this problem?

yunjookang commented 1 year ago

I had same problem while using jmodeltest! I renamed the sample with '.' at the last. Try with the sample name of 'araAT4G360903'.