I found out that the bug could be easily corrected by substituting all the
typeId by
.getSourceAlphabet()->getAlphabetType()
For example:
if (typeid(site.getAlphabet()) != typeid(gCode.getSourceAlphabet())) by
if (site.getAlphabet()->getAlphabetType() != gCode.getSourceAlphabet()->getAlphabetType())
I modify CodonSiteTools.cpp accordingly and it seems to work. I attached the source here.
Benoit
--
Benoit Nabholz
Institut des Sciences de l'Evolution. CC64
Université Montpellier II
Place Eugène Bataillon
34095 Montpellier cedex 5
France
Tel : 0033 (0)4 67 14 36 97