The appears to be a bug in SitePatternsParser. If to="x" is specified as an attribute then the site pattern is actually created up to an including site number x-1 (counting the first site as 1). This is inconsistent with the handling of the "from" attribute. It also causes an inconsistency between the XML and the output of BEAST when the file is run. This should be added to the list of fixes in next BEAST release.
The appears to be a bug in SitePatternsParser. If to="x" is specified as an attribute then the site pattern is actually created up to an including site number x-1 (counting the first site as 1). This is inconsistent with the handling of the "from" attribute. It also causes an inconsistency between the XML and the output of BEAST when the file is run. This should be added to the list of fixes in next BEAST release.

benb/beast-mcmc,benb/beast-mcmc,benb/beast-mcmc,benb/beast-mcmc,benb/beast-mcmc