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
changzhan
Haim-Lab-Python
Commits
6da2fc35
Commit
6da2fc35
authored
Apr 10, 2019
by
changzhan
Browse files
fix specificity cant calculate arbitrary positions
parent
495beac7
Pipeline
#51
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/HIV/Profile_Matching/specificity.py
View file @
6da2fc35
...
...
@@ -162,7 +162,7 @@ def _main():
elif
cmd_args
.
epitope
==
[
'pngs'
]:
positions
=
POS_PNGS
else
:
positions
=
(
int
(
pos
)
for
pos
in
cmd_args
.
epitope
)
# parse as a list of positions given at cmdln
positions
=
[
int
(
pos
)
for
pos
in
cmd_args
.
epitope
]
# parse as a list of positions given at cmdln
all_prof
=
_select_sub_group
(
get_all_static_profiles
(),
cmd_args
.
clade_region_pairs
,
positions
)
all_prof
=
all_prof
.
log_convert
()
...
...
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