add function for marking 'N' regions
[mussa.git] / alg / glsequence.hpp
index 4d93d15b66969aea13f3a51026352c58c9524a4a..7882d23a9340db77cbea53fdd2a3893726f46660 100644 (file)
@@ -35,6 +35,8 @@ public:
   static DrawableRef default_drawable();
   static DrawableRef copy_drawable(DrawableRef s);
   
+  //! search through sequence and add an annotation highlighting all the non AGCT characters
+  void add_annotations_for_undefined_sequence(Drawable::draw_func_ptr draw=0);
   //! set our starting x (horizontal) coordinate
   void setX(float x);
   //! get our starting x (horizontal) coordinate
@@ -105,6 +107,12 @@ protected:
   AnnotationColorsRef color_mapper;
   const GLfloat char_pix_per_world_unit;
 
+  //! initalize a SeqSpanRef covering start, count
+  SeqSpanRef GlSequence::make_undefined_sequence_annotation(
+    Drawable::draw_func_ptr draw,
+    size_type start,
+    size_type count);
+
   //! Return the pixel width of the opengl viewport.
   static int get_viewport_width_in_pixels();
   //! draw a from left to right +/- height/2