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
8877bab6
Commit
8877bab6
authored
Nov 10, 2016
by
Mathieu Giraud
Browse files
imgt-to-vdj.py: gene, parse detail
parent
984cf3b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/tests/imgt-to-vdj.py
View file @
8877bab6
...
...
@@ -18,7 +18,7 @@ def parse_gene_and_allele_to_vdj(s):
genes
=
[]
for
term
in
s
.
replace
(
','
,
''
).
split
():
if
term
in
[
'Homsap'
,
'[F]'
,
'(F)'
,
'F'
,
'P'
,
'or'
,
'and'
,
'(see'
,
'comment)'
,
'ORF'
]:
if
term
in
[
'Homsap'
,
'[F]'
,
'(F)'
,
'F'
,
'P'
,
'or'
,
'and'
,
'(see'
,
'comment)'
,
'ORF'
,
'[ORF]'
]:
continue
genes
+=
[
term
]
...
...
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