Skip to content
Snippets Groups Projects
Commit 834f363c authored by Tim O'Donnell's avatar Tim O'Donnell Committed by GitHub
Browse files

Merge pull request #50 from hammerlab/docker-tweaks

Tweak Dockerfile
parents d692e1dd d21edb69
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@ sudo: false # Use container-based infrastructure
language: python
python:
- "2.7"
- "3.4"
- "3.5"
before_install:
# Commands below copied from: http://conda.pydata.org/docs/travis.html
......
......@@ -3,9 +3,11 @@ FROM nvidia/cuda:cudnn-runtime
MAINTAINER Tim O'Donnell <timodonnell@gmail.com>
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get clean && \
apt-get update && \
apt-get install --yes \
gfortran \
git \
libatlas-base-dev \
libatlas3gf-base \
libblas-dev \
......@@ -42,11 +44,12 @@ WORKDIR /home/user
# issue in python2, but installing it separately seems to work.
# We also install bokeh so that dask distributed will have an admin web interface.
RUN virtualenv venv-py3 --python=python3 && \
venv-py3/bin/pip install \
venv-py3/bin/pip install --upgrade pip && \
venv-py3/bin/pip install --upgrade \
numpy \
bokeh \
cherrypy \
distributed \
git+https://github.com/dask/distributed.git \
jupyter \
lxml \
scipy \
......
[![Build Status](https://travis-ci.org/hammerlab/mhcflurry.svg?branch=master)](https://travis-ci.org/hammerlab/mhcflurry) [![Coverage Status](https://coveralls.io/repos/github/hammerlab/mhcflurry/badge.svg?branch=master)](https://coveralls.io/github/hammerlab/mhcflurry?branch=master)
# mhcflurry
Peptide-MHC binding affinity prediction
Open source neural network models for peptide-MHC binding affinity prediction
The presentation of protein fragments by MHC molecules is central to adaptive immunity. Machine learning models of the strength of the peptide/MHC interaction are routinely used in studies of infectious diseases, autoimmune diseases, vaccine development, and cancer immunotherapy. MHCflurry is an open source implementation of neural network models for this task.
The [adaptive immune system](https://en.wikipedia.org/wiki/Adaptive_immune_system) depends on the presentation of protein fragments by [MHC](https://en.wikipedia.org/wiki/Major_histocompatibility_complex) molecules. Machine learning models of this interaction are routinely used in studies of infectious diseases, autoimmune diseases, vaccine development, and cancer immunotherapy.
MHCflurry currently supports peptide / MHC class I affinity prediction using one model per MHC allele. The predictors may be trained on data that has been augmented with data imputed based on other alleles (see [Rubinsteyn 2016](http://biorxiv.org/content/early/2016/06/07/054775)). We anticipate developing a number of additional models in the future, including pan-allele and class II predictors.
MHCflurry currently supports peptide / [MHC class I](https://en.wikipedia.org/wiki/MHC_class_I) affinity prediction using one model per MHC allele. The predictors may be trained on data that has been augmented with data imputed based on other alleles (see [Rubinsteyn 2016](http://biorxiv.org/content/early/2016/06/07/054775)). We anticipate adding additional models, including pan-allele and class II predictors.
You can fit MHCflurry models to your own data or download trained models that we provide. Our models are trained on data from [IEDB](http://www.iedb.org/home_v3.php) and [Kim 2014](http://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-15-241). See [here](downloads-generation/data_combined_iedb_kim2014) for details on the training data preparation. The steps we use to train predictors on this data, including hyperparameter selection using cross validation, are [here](downloads-generation/models_class1_allele_specific_single).
......@@ -40,7 +40,7 @@ predict(alleles=['A0201'], peptides=['SIINFEKL'])
```
Allele Peptide Prediction
0 A0201 SIINFEKL 586.730529
0 A0201 SIINFEKL 10672.347656
```
## Details on the downloaded class I allele-specific models
......
......@@ -8,7 +8,7 @@
# by name, the downloads with "default=true" are downloaded.
# This should usually be the latest release.
current-release: 0.0.1
current-release: 0.0.8
# An integer indicating what models the current MHCflurry code base is compatible
# with. Increment this integer when changes are made to MHCflurry that would break
......@@ -17,18 +17,17 @@ current-compatibility-version: 1
# Add new releases here as they are made.
releases:
0.0.1:
0.0.8:
compatibility-version: 1
downloads:
- name: models_class1_allele_specific_single
#url: http://github.com/hammerlab/mhcflurry/releases/download/0.0.0/models_class1_allele_specific_single.tar.bz2
url: http://github.com/hammerlab/mhcflurry/releases/download/0.0.0/models_class1_allele_specific_single.no_impute.tar.bz2
url: http://github.com/hammerlab/mhcflurry/releases/download/0.0.8/models_class1_allele_specific_single.no_impute.tar.bz2
default: true
- name: data_kim2014
url: http://github.com/hammerlab/mhcflurry/releases/download/0.0.0/data_kim2014.tar.bz2
url: http://github.com/hammerlab/mhcflurry/releases/download/0.0.8/data_kim2014.tar.bz2
default: true
- name: data_combined_iedb_kim2014
url: http://github.com/hammerlab/mhcflurry/releases/download/0.0.0/data_combined_iedb_kim2014.tar.bz2
url: http://github.com/hammerlab/mhcflurry/releases/download/0.0.8/data_combined_iedb_kim2014.tar.bz2
default: true
__version__ = "0.0.7"
__version__ = "0.0.8"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment