comparison jbrowse2.py @ 11:f5ce31c2f47d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 4baeb144cafbb61ae0587cce731066129097c168
author fubar
date Sat, 20 Jan 2024 09:33:22 +0000
parents c60b17456297
children 247e17ce504b
comparison
equal deleted inserted replaced
10:c60b17456297 11:f5ce31c2f47d
1172 # The view for the assembly we're adding 1172 # The view for the assembly we're adding
1173 view_json = {"type": "LinearGenomeView", "tracks": tracks_data} 1173 view_json = {"type": "LinearGenomeView", "tracks": tracks_data}
1174 1174
1175 refName = None 1175 refName = None
1176 if data.get("defaultLocation", ""): 1176 if data.get("defaultLocation", ""):
1177 loc_match = re.search(r"^(\w+):(\d+)\.+(\d+)$", data["defaultLocation"]) 1177 loc_match = re.search(r"^(\w.+):(\d+)\.+(\d+)$", data["defaultLocation"])
1178 if loc_match: 1178 if loc_match:
1179 refName = loc_match.group(1) 1179 refName = loc_match.group(1)
1180 start = int(loc_match.group(2)) 1180 start = int(loc_match.group(2))
1181 end = int(loc_match.group(3)) 1181 end = int(loc_match.group(3))
1182 elif self.genome_name is not None: 1182 elif self.genome_name is not None: