Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mhc_rank
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Skillman-Lawrence
mhc_rank
Commits
882a5a69
Commit
882a5a69
authored
5 years ago
by
Tim O'Donnell
Browse files
Options
Downloads
Patches
Plain Diff
dropping py2 support
parent
eeab5995
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
README.md
+1
-1
1 addition, 1 deletion
README.md
mhcflurry/class1_affinity_predictor.py
+1
-1
1 addition, 1 deletion
mhcflurry/class1_affinity_predictor.py
with
3 additions
and
3 deletions
.travis.yml
+
1
−
1
View file @
882a5a69
language
:
python
language
:
python
python
:
python
:
-
"
2.7"
-
"
3.6"
-
"
3.6"
-
"
3.7"
before_install
:
before_install
:
-
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
-
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
882a5a69
...
@@ -8,7 +8,7 @@ prediction package with competitive accuracy and a fast and
...
@@ -8,7 +8,7 @@ prediction package with competitive accuracy and a fast and
MHCflurry implements class I peptide/MHC binding affinity prediction. By default
MHCflurry implements class I peptide/MHC binding affinity prediction. By default
it supports 112 MHC alleles using ensembles of allele-specific models.
it supports 112 MHC alleles using ensembles of allele-specific models.
Pan-allele predictors supporting virtually any MHC allele of known sequence
Pan-allele predictors supporting virtually any MHC allele of known sequence
are available for testing (see below). MHCflurry runs on Python
2.7 and
3.4+ using the
are available for testing (see below). MHCflurry runs on Python 3.4+ using the
[
keras
](
https://keras.io
)
neural network library.
[
keras
](
https://keras.io
)
neural network library.
It exposes
[
command-line
](
http://openvax.github.io/mhcflurry/commandline_tutorial.html
)
It exposes
[
command-line
](
http://openvax.github.io/mhcflurry/commandline_tutorial.html
)
and
[
Python library
](
http://openvax.github.io/mhcflurry/python_tutorial.html
)
and
[
Python library
](
http://openvax.github.io/mhcflurry/python_tutorial.html
)
...
...
This diff is collapsed.
Click to expand it.
mhcflurry/class1_affinity_predictor.py
+
1
−
1
View file @
882a5a69
...
@@ -422,7 +422,7 @@ class Class1AffinityPredictor(object):
...
@@ -422,7 +422,7 @@ class Class1AffinityPredictor(object):
numpy
.
testing
.
assert_array_almost_equal
(
numpy
.
testing
.
assert_array_almost_equal
(
series
.
index
.
values
,
series
.
index
.
values
,
percent_ranks_df
.
index
.
values
)
percent_ranks_df
.
index
.
values
)
percent_ranks_df
[
allele
]
=
series
percent_ranks_df
[
allele
]
=
series
.
values
percent_ranks_path
=
join
(
models_dir
,
"
percent_ranks.csv
"
)
percent_ranks_path
=
join
(
models_dir
,
"
percent_ranks.csv
"
)
percent_ranks_df
.
to_csv
(
percent_ranks_df
.
to_csv
(
percent_ranks_path
,
percent_ranks_path
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment