1 #include <boost/python.hpp>
2 using namespace boost::python;
4 #include "alg/sequence.hpp"
8 class_<motif>("motif", init<int, std::string>())
9 .def_readwrite("begin", &motif::begin)
10 .def_readwrite("end", &motif::end)
11 .def_readwrite("type", &motif::type)
12 .def_readwrite("name", &motif::name)
13 .def_readwrite("sequence", &motif::sequence)