Commit 44f7aa46 authored by Mathieu Giraud's avatar Mathieu Giraud

core/segment.{h,cpp}: getMidLength()

This is the N length when there is no D.
parent 242de05f
......@@ -249,6 +249,10 @@ int Segmenter::getRight() const {
return box_J->start;
}
int Segmenter::getMidLength() const {
return box_J->start - box_V->end - 1;
}
int Segmenter::getLeftD() const {
return box_D->start;
}
......
......@@ -231,7 +231,14 @@ protected:
* @return the right position (on forward strand) of the segmentation
*/
int getRight() const;
/**
* @return the number of positions between the left and the right positions
*/
int getMidLength() const;
/**
* @return the left position (on forward strand) of the D segmentation.
*/
......
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