Commit 276ff5e8 authored by Mikaël Salson's avatar Mikaël Salson

should-vdj-to-tap.py: doctests

parent dbd61c55
Pipeline #86275 passed with stages
in 35 minutes and 53 seconds
...@@ -248,6 +248,17 @@ def should_result_to_tap(should_pattern, result, tap_id): ...@@ -248,6 +248,17 @@ def should_result_to_tap(should_pattern, result, tap_id):
True True
>>> srtt_ok(should, other_allele) >>> srtt_ok(should, other_allele)
True True
>>> should = 'TRAV1-1 TRAJ1'
>>> other = 'TRAV1-1*01 1/ACG/3 TRAJ1*01'
>>> (args.ignore_N, args.ignore_del) = (True, True)
>>> srtt_ok(should, other)
True
>>> should = 'TRAV1-1 (TRAJ1, TRAJ2)'
>>> other = 'TRAV1-1*01 1/ACG/3 TRAJ1*01'
>>> srtt_ok(should, other)
True
''' '''
m_locus = r_locus.search(should_pattern) m_locus = r_locus.search(should_pattern)
......
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