Skip to content
Snippets Groups Projects
Commit 206cc5d1 authored by Aaron's avatar Aaron
Browse files

fix flanks for zerlonegth features.

parent 992c47cc
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,9 @@ void BedFlank::AddFlank(BED &bed, int leftFlank, int rightFlank) { ...@@ -85,6 +85,9 @@ void BedFlank::AddFlank(BED &bed, int leftFlank, int rightFlank) {
BED left = bed; BED left = bed;
BED right = bed; BED right = bed;
left.zeroLength = false;
right.zeroLength = false;
// make the left flank (if necessary) // make the left flank (if necessary)
if ((leftFlank > 0) && (left.start != 0)) { if ((leftFlank > 0) && (left.start != 0)) {
if ( (static_cast<int>(left.start) - leftFlank) > 0) if ( (static_cast<int>(left.start) - leftFlank) > 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment