remove annot class in favor of SeqSpan
[mussa.git] / py / annot.cpp
1 #include <boost/python.hpp>
2 using namespace boost::python;
3
4 #include "alg/sequence.hpp"
5
6 void export_annot()
7 {
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)
14   ;
15 }