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

should-vdj-to-tap.py: Some software may not keep the / in the gene names

eg. MiXCR
parent 3d570086
......@@ -131,6 +131,9 @@ def should_pattern_to_regex(p):
else:
gene, allele = term.split('*')
if '/' in gene:
gene = gene.replace('/', '/?')
if args.ignore_D and ('IGHD' in gene or 'TRBD' in gene or 'TRDD' in gene):
gene = '\S*'
allele = '\d*'
......
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