fe2357d86f58b3f8bc2855a0283ecb0bc455ae0c max Thu Oct 19 15:49:30 2017 -0700 changing comment in uniprot converter, email from Angie, no redmine diff --git src/utils/uniprotToTab src/utils/uniprotToTab index 7782afa..47d06f7 100755 --- src/utils/uniprotToTab +++ src/utils/uniprotToTab @@ -643,31 +643,31 @@ # we convert them to begin=xxx and end=xxx+1 if posEl!=None: begin = posEl.attrib["position"] end = str(int(begin)+1) else: beginEl = featEl.find("location/begin") begin = beginEl.attrib.get("position", None) if begin==None: logging.debug("Unknown start, skipping a feature") continue endEl = featEl.find("location/end") end = endEl.attrib.get("position", None) if end==None: logging.debug("Unknown end, skipping a feature") continue - end = str(int(end)+1) # UniProt is 1-based, closed-end + end = str(int(end)+1) # UniProt is 1-based, open-end desc = featEl.attrib.get("description", None) if desc==None: desc = "" if "sulfinic" in desc: shortFeatType = "sulfo" descWords = desc.split() if len(descWords)>0: desc1 = descWords[0].lower() if "phos" in desc1: shortFeatType = "phos" elif "acetyl" in desc1: shortFeatType = "acetyl" elif "methyl" in desc1: