diff --git a/IsoClass.py b/IsoClass.py index a71a65e..cad9514 100644 --- a/IsoClass.py +++ b/IsoClass.py @@ -35,9 +35,9 @@ while k < exon_count-1: first=re.findall('[^,]+',elements[k]) second=re.findall('[^,]+',elements[k+1]) - left=max([left,first[1]]); + left=max([left,int(first[1])]); #overlapped exons - if left > second[0]: + if left > int(second[0]): if not(k in exon_newindex_dic): exon_newindex_dic[k]=str(exon_newindex)+exon_add; exon_add+='A'