#include <boost/python.hpp>
+#include <boost/python/return_internal_reference.hpp>
+#include <boost/python/return_by_value.hpp>
+#include <boost/python/return_value_policy.hpp>
using namespace boost::python;
#include <string>
.def("__str__", &Sequence::get_seq, return_value_policy<return_by_value>())
.def("size", &Sequence::size)
.def("__len__", &Sequence::size)
- //.add_property("header", &Sequence::get_header)
+ .add_property("header", &Sequence::get_header, &Sequence::set_header)
+ //.add_property("seq", &Sequence::get_seq, &Sequence::set_seq)
+ .def("rcseq", &Sequence::rev_comp, return_value_policy<return_by_value>())
;
}