-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathraxml_interface.h
45 lines (34 loc) · 1.88 KB
/
raxml_interface.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* Copyright (C) 2009-2012 Simon A. Berger
*
* This file is part of papara.
*
* papara is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* papara is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with papara. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __raxml_interface_h
#define __raxml_interface_h
#include "ivymike/tree_parser.h"
#include <string>
#include <vector>
#include <map>
#include <stdint.h>
#include <boost/array.hpp>
#include <boost/numeric/ublas/fwd.hpp>
#include <iosfwd>
void optimize_branch_lengths( ivy_mike::tree_parser_ms::lnode *tree, const std::map<std::string, const std::vector<uint8_t> * const> &name_to_seq );
ivy_mike::tree_parser_ms::lnode *optimize_branch_lengths2( ivy_mike::tree_parser_ms::lnode *tree, const std::map<std::string, const std::vector<uint8_t> * const> &name_to_seq, ivy_mike::tree_parser_ms::ln_pool &pool );
std::vector<boost::numeric::ublas::matrix<double> > read_binary_anc_probs( std::istream &pis );
//ivy_mike::tree_parser_ms::lnode *generate_marginal_ancestral_state_pvecs( ivy_mike::tree_parser_ms::ln_pool &pool, const std::string &tree_name, const std::string &ali_name, std::vector<boost::array<std::vector<double>, 4> > *pvecs );
ivy_mike::tree_parser_ms::lnode *generate_marginal_ancestral_state_pvecs( ivy_mike::tree_parser_ms::ln_pool &pool, const std::string &tree_name, const std::string &ali_name, std::vector<boost::numeric::ublas::matrix<double> > *pvecs );
#endif