X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=erange.git;a=blobdiff_plain;f=distalPairs.py;fp=distalPairs.py;h=dc836501c6b2b98f53b5a4a84ce8778c9673a1a7;hp=be403109110c3fb40f7bba831f6c2ea48e496536;hb=b54eee5365a0fad35d2f6168eaac82ff5a359222;hpb=a3c0e60eb30c924232d7baaa348a15c5554e3864 diff --git a/distalPairs.py b/distalPairs.py index be40310..dc83650 100755 --- a/distalPairs.py +++ b/distalPairs.py @@ -147,13 +147,15 @@ def addSplicesToUniqReads(RDS, uniqDict): for readID in splicesDict: theRead = splicesDict[readID] read0 = theRead[0] - del read0[1] + read0["start"] = read0["startL"] + del read0["stopL"] try: uniqDict[readID].append(read0) except: if len(theRead) == 4: read2 = theRead[2] - del read2[1] + read2["start"] = read2["startL"] + del read2["stopL"] uniqDict[readID] = [read0,read2]