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