Closed rvosa closed 10 years ago
Here's probably how we might do this:
As of revision c6732b84b6f2cf6dd775256a655e6d444e4ee6bc, the SequenceGetter can wrap around very many different alignment tools, namely: mafft, clustalw, kalign, muscle, probalign, probcons, tcoffee, and amap. The user preference for which one to use is specified in phylota.ini (key: MSA_TOOL). The unit test t/align.t verifies this behaviour.
As of revision a530bd06ef44934624562fb4eb47fc0bb44ac0ac, the puppet manifest includes the steps for installing MAFFT, which is the other preferred aligner (next to muscle) that we want to install by default.
We need to provide users with the option to specify which alignment tool to use, both for cluster alignment and profile alignment. It is probably best to do this by setting both separately in phylota.ini, and then having AlignmentService subclasses (::muscle, ::mafft, etc.) which are loaded by the SequenceGetter.