Commit 39bddf7a authored by Mikael Salson's avatar Mikael Salson

split-from-imgt: Remove the letter before coordinate

We don't know yet the meaning of this letter. Depending on this answer
we may add some processing
parent bfa6dc58
......@@ -72,6 +72,8 @@ def get_gene_coord(imgt_line):
if elements[5].find('..') == -1:
return None, None
start, end = elements[5].split('..')
if start.find(',') > -1:
start = start[2:]
return elements[0][1:], {'from': int(start),
'to': int(end),
'imgt_name': elements[1]}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment