Commit c60fef3c authored by Mathieu Giraud's avatar Mathieu Giraud

split-from-imgt.py: Remove the letter after coordinate

This completes 39bddf7a.
parent 42c8b4c0
......@@ -74,6 +74,8 @@ def get_gene_coord(imgt_line):
start, end = elements[5].split('..')
if start.find(',') > -1:
start = start[2:]
if end.find(',') > -1:
end = end.split(',')[0]
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