| 1 |
module MCMC.Moves.Alignment where |
| 2 |
|
| 3 |
import MCMC.Types |
| 4 |
import Data.IntMap (IntMap) |
| 5 |
import Bio.Alignment (PairwiseAlignment) |
| 6 |
|
| 7 |
foreign import bpcall "MCMC:" walkTreeSampleAlignmentsRaw :: Modifiable t -> IntMap PairwiseAlignment -> ContextIndex -> IO () |
| 8 |
walkTreeSampleAlignments tree as = TransitionKernel $ walkTreeSampleAlignmentsRaw tree as |
| 9 |
|
| 10 |
foreign import bpcall "MCMC:" walkTreeSampleNNIandARaw :: Modifiable t -> ContextIndex -> IO () |
| 11 |
walkTreeSampleNNIandA tree = TransitionKernel $ walkTreeSampleNNIandARaw tree |
| 12 |
|
| 13 |
foreign import bpcall "MCMC:" realignFromTipsRaw :: Modifiable t -> IntMap PairwiseAlignment -> ContextIndex -> IO () |
| 14 |
realignFromTips tree as = TransitionKernel $ realignFromTipsRaw tree as |
| 15 |
|
| 16 |
|