Skip to content
Snippets Groups Projects
Commit 538d9924 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

Python export for HMM algorithm

parent 58f5d157
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,8 @@
#include <ost/seq/alg/clip_alignment.hh>
#include <ost/seq/alg/distance_map.hh>
#include <ost/seq/alg/variance_map.hh>
#include <ost/seq/alg/hmm_pseudo_counts.hh>
#include <ost/seq/alg/hmm_score.hh>
using namespace boost::python;
using namespace ost::seq;
......@@ -223,9 +225,19 @@ void export_distance_analysis()
;
}
////////////////////////////////////////////////////////////////////
// algorithms involving hmms
void export_hmm_algorithms() {
def("AddAAPseudoCounts", &AddAAPseudoCounts, (arg("profile")));
def("AddTransitionPseudoCounts", &AddTransitionPseudoCounts, (arg("profile")));
def("HMMScore", &HMMScore, (arg("profile_0"), arg("profile_1"), arg("alignment"),
arg("s_0_idx"), arg("s_1_idx")));
}
BOOST_PYTHON_MODULE(_ost_seq_alg)
{
export_aln_alg();
export_contact_prediction();
export_distance_analysis();
export_hmm_algorithms();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment