Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1,426
Issues
1,426
List
Boards
Labels
Milestones
Merge Requests
49
Merge Requests
49
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
c65f84e5
Commit
c65f84e5
authored
Jul 10, 2019
by
Mikaël Salson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repseq_vdj.py: Field renaming for MiXCR
parent
50c032e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
algo/tests/repseq_vdj.py
algo/tests/repseq_vdj.py
+9
-9
No files found.
algo/tests/repseq_vdj.py
View file @
c65f84e5
...
@@ -155,16 +155,16 @@ class MiXCR_Result(Result):
...
@@ -155,16 +155,16 @@ class MiXCR_Result(Result):
return
None
return
None
def
populate
(
self
):
def
populate
(
self
):
self
.
vdj
[
V
]
=
[
self
[
'
Best V h
it'
]]
self
.
vdj
[
V
]
=
[
self
[
'
bestVH
it'
]]
if
self
[
'
Best D h
it'
]:
if
self
[
'
bestDH
it'
]:
self
.
vdj
[
D
]
=
[
self
[
'
Best D h
it'
]]
self
.
vdj
[
D
]
=
[
self
[
'
bestDH
it'
]]
self
.
vdj
[
J
]
=
[
self
[
'
Best J h
it'
]]
self
.
vdj
[
J
]
=
[
self
[
'
bestJH
it'
]]
self
.
vdj
[
N1
]
=
self
[
'
N. Seq.
VDJunction'
]
self
.
vdj
[
N1
]
=
self
[
'
nSeq
VDJunction'
]
self
.
vdj
[
N2
]
=
self
[
'
N. Seq.
DJJunction'
]
self
.
vdj
[
N2
]
=
self
[
'
nSeq
DJJunction'
]
self
.
vdj
[
N
]
=
self
[
'
N. Seq.
VJJunction'
]
self
.
vdj
[
N
]
=
self
[
'
nSeq
VJJunction'
]
self
.
vdj
[
JUNCTION
]
=
self
[
'
AA. Seq.
CDR3'
]
self
.
vdj
[
JUNCTION
]
=
self
[
'
aaSeq
CDR3'
]
def
header_mixcr_results
(
ff_mixcr
):
def
header_mixcr_results
(
ff_mixcr
):
...
@@ -177,7 +177,7 @@ def header_mixcr_results(ff_mixcr):
...
@@ -177,7 +177,7 @@ def header_mixcr_results(ff_mixcr):
while
True
:
while
True
:
l
=
f
.
next
()
l
=
f
.
next
()
result
=
MiXCR_Result
(
l
)
result
=
MiXCR_Result
(
l
)
yield
result
[
'
Description
R1'
],
result
.
to_vdj
()
yield
result
[
'
descrs
R1'
],
result
.
to_vdj
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment