X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=erange.git;a=blobdiff_plain;f=findall.py;fp=findall.py;h=827ee503ba7956b37143481beabae171a35f7619;hp=f8907a66c2db6d3b36a4ac9a13872554c1f1d9ca;hb=4522d28194e3d1c048bced84038760d394038285;hpb=4ad5495359e4322da39868020a7398676261679e diff --git a/findall.py b/findall.py index f8907a6..827ee50 100755 --- a/findall.py +++ b/findall.py @@ -927,6 +927,7 @@ def setMultireadPercentage(region, sampleBAM, hitRDSsize, currentTotalWeight, cu def regionAndPeakPass(regionFinder, region, regionLength, peakScore, plusRatio): regionPasses = False if regionPassesCriteria(regionFinder, region.numReads, region.foldRatio, regionLength): + #TODO: here is where the test dataset is failing if peakScore >= regionFinder.minPeak and regionFinder.minPlusRatio <= plusRatio <= regionFinder.maxPlusRatio: regionPasses = True @@ -1008,4 +1009,4 @@ def getBestShiftInDict(shiftDict): if __name__ == "__main__": - main(sys.argv) + main(sys.argv) \ No newline at end of file