outfile.write(outline + "\n")
if len(finalresults) == 0:
- outline = "%s\tNR\tNR\t%0.00" % line
+ outline = "%s\tNR\tNR\t0.00" % line
print outline
outfile.write(outline + "\n")
if __name__ == "__main__":
- main(sys.argv)
\ No newline at end of file
+ main(sys.argv)
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]
if limitChrom is not None:
chromLimit = True
+ groupName = ""
if group:
groupName = "group=%s" % group