1 #include <boost/python.hpp>
2 using namespace boost::python;
5 #include "alg/glsequence.hpp"
9 class_<Sequence>("Sequence")
10 .def(init<std::string>())
11 .def("__str__", &Sequence::get_seq, return_value_policy<return_by_value>())
12 .def("size", &Sequence::size)
13 .def("__len__", &Sequence::size)
14 //.add_property("header", &Sequence::get_header)