Commit 42dfd8c9 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

repseq_vdj.py: actual IgReC output has also one locus field

parent a4366d74
Pipeline #86455 passed with stage
in 5 seconds
...@@ -102,7 +102,7 @@ class Result(VDJ_Formatter): ...@@ -102,7 +102,7 @@ class Result(VDJ_Formatter):
### IgReC ### IgReC
IGREC_LABELS = [ IGREC_LABELS = [
'Read id', 'Read id', 'locus',
'V id', 'V start', 'V end', 'V score', 'V id', 'V start', 'V end', 'V score',
'J id', 'J start', 'J end', 'J score', 'J id', 'J start', 'J end', 'J score',
] ]
...@@ -110,7 +110,7 @@ IGREC_LABELS = [ ...@@ -110,7 +110,7 @@ IGREC_LABELS = [
class IgReC_Result(Result): class IgReC_Result(Result):
r''' r'''
>>> lig = '\t'.join(['blabli4577', 'TRBV13*02', '1', '164', '0.58156', 'TRBJ1-5*01', '319', '367', '0.94']) >>> lig = '\t'.join(['blabli4577', 'TRB', 'TRBV13*02', '1', '164', '0.58156', 'TRBJ1-5*01', '319', '367', '0.94'])
>>> r = IgReC_Result(lig) >>> r = IgReC_Result(lig)
>>> r['Read id'] >>> r['Read id']
......
Supports Markdown
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