Skip to content

Commit

Permalink
Start fixing #700. The regions sent to deepBlue weren't adjusted for …
Browse files Browse the repository at this point in the history
…-b and -a before.
  • Loading branch information
dpryan79 committed Jun 8, 2018
1 parent 2122179 commit 70c07b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* `computeMatrixOperations` can now be used to change sample and group names.
* `computeMatrixOperations` can now filter rows by minimum and/or maximum value.
* `--maxThreshold` and `--minThreshold` are now more consistently honoured. (#702)
* Fixed region handling when using files on deepBlue (#700)

3.0.2

Expand Down
4 changes: 2 additions & 2 deletions deeptools/deepBlue.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def makeRegions(BED, args):
o = []
extend = 0
# The before/after stuff is specific to computeMatrix
if "beforeRegionsStartLength" in args:
extend = max(args.beforeRegionsStartLength, args.afterRegionsStartLength)
if "beforeRegionStartLength" in args:
extend = max(args.beforeRegionStartLength, args.afterRegionStartLength)
for chrom in itree.chroms:
regs = itree.findOverlaps(chrom, 0, 4294967295) # bigWig files use 32 bit coordinates
for reg in regs:
Expand Down

0 comments on commit 70c07b4

Please sign in to comment.