Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
00971938
Commit
00971938
authored
Aug 05, 2016
by
Mathieu Giraud
Browse files
tests: should-vdj-to-tap.py, update for generic .vdj.fa headers
parent
e0027e44
Changes
1
Show whitespace changes
Inline
Side-by-side
algo/tests/should-vdj-to-tap.py
View file @
00971938
...
...
@@ -187,8 +187,10 @@ def id_line_to_tap(l, tap_id):
'''
l
=
l
.
strip
()
pos
=
l
.
find
(
' + '
)
if
' + '
in
l
else
l
.
find
(
' - '
)
should
=
l
[
1
:
pos
]
pos
=
l
.
find
(
'
\t
'
)
should
=
l
[
1
:
pos
].
replace
(
' + VJ'
,
''
).
replace
(
' + VDJ'
,
''
).
replace
(
' - VJ'
,
''
).
replace
(
' - VDJ'
,
''
)
result
=
l
[
pos
+
1
:]
+
' '
should_pattern
=
should
.
replace
(
'_'
,
' '
)
...
...
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