Skip to content

Commit

Permalink
Update straw.py
Browse files Browse the repository at this point in the history
Get rid of normalization check since this is now arbitrary
  • Loading branch information
nchernia authored Oct 22, 2019
1 parent 80644d9 commit 85045e5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/straw/straw.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,6 @@ def straw(norm, infile, chr1loc, chr2loc, unit, binsize, is_synapse=False):
totalbytes=myrange[1]
else:
req=open(infile, 'rb')

if (not (norm=="NONE" or norm=="VC" or norm=="VC_SQRT" or norm=="KR")):
print("Norm specified incorrectly, must be one of <NONE/VC/VC_SQRT/KR>\nUsage: straw <NONE/VC/VC_SQRT/KR> <hicFile(s)> <chr1>[:x1:x2] <chr2>[:y1:y2] <BP/FRAG> <binsize>\n")
return -1
if (not (unit=="BP" or unit=="FRAG")):
print("Unit specified incorrectly, must be one of <BP/FRAG>\nUsage: straw <NONE/VC/VC_SQRT/KR> <hicFile(s)> <chr1>[:x1:x2] <chr2>[:y1:y2] <BP/FRAG> <binsize>\n")
return -1
Expand Down

0 comments on commit 85045e5

Please sign in to comment.