The MS program generates a genealogy of the sample and then distribute mutations on this genealogy. In order to generate a sequence alignment, one need to superimpose a model of mutation. This can be achieved using the seq-gen program (for instance).
The creation of simulated sequence alignments therefore proceeds in 2 steps:
- Use MS to generate a genealogy
- Use Seq-Gen to generate an alignment from the genealogy