Commit 6bcafec8 authored by Cyprien Borée's avatar Cyprien Borée

Store BioReader pointer in AlignBox

This pointer is necessary to have the Bioreader where the N best genes will be
exported.

For more informations, see #1409.
parent 4f6c817c
...@@ -926,7 +926,7 @@ void align_against_collection(string &read, BioReader &rep, int forbidden_rep_id ...@@ -926,7 +926,7 @@ void align_against_collection(string &read, BioReader &rep, int forbidden_rep_id
box->del_right = reverse_both ? best_best_j : box->ref.size() - best_best_j - 1; box->del_right = reverse_both ? best_best_j : box->ref.size() - best_best_j - 1;
box->del_left = best_first_j; box->del_left = best_first_j;
box->start = best_first_i; box->start = best_first_i;
box->rep = &rep;
box->score = score_r; box->score = score_r;
#ifdef DEBUG_SEGMENT #ifdef DEBUG_SEGMENT
......
...@@ -91,6 +91,7 @@ const char* const segmented_mesg[] = { "?", ...@@ -91,6 +91,7 @@ const char* const segmented_mesg[] = { "?",
class AlignBox class AlignBox
{ {
public: public:
BioReader *rep;
string key; string key;
string color; string color;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment