Commit c3d8721e authored by Mikaël Salson's avatar Mikaël Salson

should-vdj-to-tap.py: When ignoring D genes, we don't want to put the * separator for the allele

parent 123328b8
......@@ -134,7 +134,10 @@ def should_pattern_to_regex(p):
if args.ignore_allele:
allele = '\d*'
term = gene + '[*]' + allele
allele_separator = '[*]'
if args.ignore_D or args.ignore_allele:
allele_separator += '?'
term = gene + allele_separator + allele
return [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