for read in hitDict[fullchrom]:
tagStart = read["start"]
tagReadID = read["readID"]
- if read.has_key("sense"):
+ if "sense" in read:
tagSense = read["sense"]
ignoreSense = False
try:
tagValue = uniqueCountDict[gid]
except KeyError:
- tagValue = 1
+ pass
tagDenom = 0.
for relatedGID in read2GidDict[readID]: