comparison jbrowse2.py @ 28:9a5c409f33f4 draft

planemo upload for repository https://github.com/usegalaxy-eu/temporary-tools/tree/master/jbrowse2 commit e65f2527a97a04173091d28b939e42101582bc56-dirty
author fubar
date Wed, 07 Feb 2024 22:51:54 +0000
parents 4ff1ed2065cc
children f728cf0df71d
comparison
equal deleted inserted replaced
27:4ff1ed2065cc 28:9a5c409f33f4
1282 # allow commas like 100,000 but ignore as integer 1282 # allow commas like 100,000 but ignore as integer
1283 if loc_match: 1283 if loc_match:
1284 refName = loc_match.group(1) 1284 refName = loc_match.group(1)
1285 drdict["refName"] = refName 1285 drdict["refName"] = refName
1286 if loc_match.group(2) > "": 1286 if loc_match.group(2) > "":
1287 drdict["start"] = int(loc_match.group(2).replace(',','')) 1287 drdict["start"] = int(loc_match.group(2).replace(",", ""))
1288 if loc_match.group(3) > "": 1288 if loc_match.group(3) > "":
1289 drdict["end"] = int(loc_match.group(3).replace(',','')) 1289 drdict["end"] = int(loc_match.group(3).replace(",", ""))
1290 else: 1290 else:
1291 logging.info( 1291 logging.info(
1292 "@@@ regexp could not match contig:start..end in the supplied location %s - please fix" 1292 "@@@ regexp could not match contig:start..end in the supplied location %s - please fix"
1293 % ddl 1293 % ddl
1294 ) 1294 )