Skip to content
Snippets Groups Projects
Commit 04a6b489 authored by Aaron's avatar Aaron
Browse files

GFF can't have 0-length features.

parent 7207d6ea
No related branches found
No related tags found
No related merge requests found
...@@ -718,10 +718,10 @@ private: ...@@ -718,10 +718,10 @@ private:
bed.otherFields.push_back(lineVector[8]); // add GFF "group". unused in BED bed.otherFields.push_back(lineVector[8]); // add GFF "group". unused in BED
// handle starts == end (e.g., insertions in reference genome) // handle starts == end (e.g., insertions in reference genome)
if (bed.start == bed.end) { // if (bed.start == bed.end) {
bed.end++; // bed.end++;
bed.zeroLength = true; // bed.zeroLength = true;
} // }
// GFF uses 1-based starts, covert to zero-based // GFF uses 1-based starts, covert to zero-based
bed.start--; bed.start--;
} }
......
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