bredelings / BAli-Phy

Bayesian co-estimation of phylogenies and multiple alignments via MCMC
http://www.bali-phy.org/
GNU General Public License v2.0
46 stars 17 forks source link

Add alignment constraints to handle long sequences #4

Open bredelings opened 6 years ago

bredelings commented 6 years ago

When aligning long sequences we need to constrain the alignment in order to avoid taking too much CPU time (and RAM).

The problem here is that dynamic programming for 3 or more sequences allows constraints like x[i] <= y[i]. However, we must then decompose the alignment of three sequences into three pairwise alignments. This relaxes the ordering imposed encoding the alignments into paths through the dynamic programming matrix.

Ideas