Skip to content
Snippets Groups Projects
Commit a6e1ecba authored by arq5x's avatar arq5x
Browse files

Merge branch 'master' of https://github.com/arq5x/bedtools2

parents 042294d9 6744fd0c
No related branches found
No related tags found
No related merge requests found
......@@ -189,13 +189,11 @@ CloseSweep::rateOvlpType CloseSweep::considerRecord(const Record *cacheRec, int
}
// HIT IS DOWNSTREAM.
// MUST FIRST DETERMINE WHETHER TO STOP SCANNING.
if (currDist> abs(_minDownstreamDist[dbIdx])) {
if (_context->ignoreDownstream() || currDist> abs(_minDownstreamDist[dbIdx])) {
stopScanning = true;
return IGNORE;
}
if (_context->ignoreDownstream()) {
return IGNORE;
}
//Still here? Valid hit.
if (currDist <= abs(_minDownstreamDist[dbIdx])) {
if (currDist< abs(_minDownstreamDist[dbIdx])) {
......
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