Commit 123328b8 authored by Mikaël Salson's avatar Mikaël Salson

should-vdj-to-tap.py: When ignoring N we may not put the / /

parent 6441d83d
......@@ -115,7 +115,10 @@ def should_pattern_to_regex(p):
if args.ignore_N:
n_region = '[ACGT]*'
return ['/'.join((trim_left, n_region, trim_right))]
separator = '/'
if args.ignore_N:
separator='/?'
return [separator.join((trim_left, n_region, trim_right))]
# Gene name, possibly without allele information
if not '*' in term:
......
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