Commit 00971938 authored by Mathieu Giraud's avatar Mathieu Giraud

tests: should-vdj-to-tap.py, update for generic .vdj.fa headers

parent e0027e44
......@@ -187,8 +187,10 @@ def id_line_to_tap(l, tap_id):
'''
l = l.strip()
pos = l.find(' + ') if ' + ' in l else l.find(' - ')
should = l[1:pos]
pos = l.find('\t')
should = l[1:pos].replace(' + VJ','').replace(' + VDJ','').replace(' - VJ','').replace(' - VDJ','')
result = l[pos+1:] + ' '
should_pattern = should.replace('_', ' ')
......
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