Skip to content
Snippets Groups Projects
Commit 2aa3ed5d authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

use programoutput in docs

parent 5447695a
No related branches found
No related tags found
No related merge requests found
...@@ -26,21 +26,12 @@ It defaults to using the pre-trained models you downloaded above but this can ...@@ -26,21 +26,12 @@ It defaults to using the pre-trained models you downloaded above but this can
be customized with the ``--models`` argument. See ``mhcflurry-predict -h`` for be customized with the ``--models`` argument. See ``mhcflurry-predict -h`` for
details. details.
.. code:: shell .. command-output:: mhcflurry-predict --alleles HLA-A0201 HLA-A0301 --peptides SIINFEKL SIINFEKD SIINFEKQ
$ mhcflurry-predict --alleles HLA-A0201 HLA-A0301 --peptides SIINFEKL SIINFEKD SIINFEKQ
allele,peptide,mhcflurry_prediction,mhcflurry_prediction_low,mhcflurry_prediction_high
HLA-A0201,SIINFEKL,5326.541919062165,3757.86675352994,7461.37693353508
HLA-A0201,SIINFEKD,18763.70298522213,13140.82000240037,23269.82139560844
HLA-A0201,SIINFEKQ,18620.10057358322,13096.425874678192,23223.148184869413
HLA-A0301,SIINFEKL,24481.726678691946,21035.52779725433,27245.371837497867
HLA-A0301,SIINFEKD,24687.529360239587,21582.590014592537,27749.39869616437
HLA-A0301,SIINFEKQ,25923.062203902562,23522.5793450799,28079.456657427705
The predictions returned are affinities (KD) in nM. The ``prediction_low`` and The predictions returned are affinities (KD) in nM. The ``prediction_low`` and
``prediction_high`` fields give the 5-95 percentile predictions across ``prediction_high`` fields give the 5-95 percentile predictions across
the models in the ensemble. The predictions above were generated with MHCflurry the models in the ensemble. The predictions above were generated with MHCflurry
0.9.2. |version|.
Your exact predictions may vary slightly from these (up to about 1 nM) depending Your exact predictions may vary slightly from these (up to about 1 nM) depending
on the Keras backend in use and other numerical details. Different versions of on the Keras backend in use and other numerical details. Different versions of
......
...@@ -39,6 +39,7 @@ extensions = [ ...@@ -39,6 +39,7 @@ extensions = [
'sphinx.ext.githubpages', 'sphinx.ext.githubpages',
'numpydoc', 'numpydoc',
'sphinx_autorun', 'sphinx_autorun',
'sphinxcontrib.programoutput',
] ]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
......
...@@ -5,9 +5,11 @@ ...@@ -5,9 +5,11 @@
:target: https://coveralls.io/github/hammerlab/mhcflurry :target: https://coveralls.io/github/hammerlab/mhcflurry
mhcflurry mhcflurry
========= ===================
Open source neural network models for peptide-MHC binding affinity predictionMHCflurry is a Python package for peptide/MHC I binding affinity Open source neural network models for peptide-MHC binding affinity prediction
MHCflurry is a Python package for peptide/MHC I binding affinity
prediction. It provides competitive accuracy with a fast, documented, prediction. It provides competitive accuracy with a fast, documented,
open source implementation. open source implementation.
...@@ -90,18 +92,20 @@ downloaded above but this can be customized with the "--models" ...@@ -90,18 +92,20 @@ downloaded above but this can be customized with the "--models"
argument. See "mhcflurry-predict -h" for details. argument. See "mhcflurry-predict -h" for details.
$ mhcflurry-predict --alleles HLA-A0201 HLA-A0301 --peptides SIINFEKL SIINFEKD SIINFEKQ $ mhcflurry-predict --alleles HLA-A0201 HLA-A0301 --peptides SIINFEKL SIINFEKD SIINFEKQ
allele,peptide,mhcflurry_prediction,mhcflurry_prediction_low,mhcflurry_prediction_high 2017-12-21 13:15:45.075649: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
HLA-A0201,SIINFEKL,5326.541919062165,3757.86675352994,7461.37693353508 Using TensorFlow backend.
HLA-A0201,SIINFEKD,18763.70298522213,13140.82000240037,23269.82139560844 allele,peptide,mhcflurry_prediction,mhcflurry_prediction_low,mhcflurry_prediction_high,mhcflurry_prediction_percentile
HLA-A0201,SIINFEKQ,18620.10057358322,13096.425874678192,23223.148184869413 HLA-A0201,SIINFEKL,4899.047843425702,2767.7636539507857,7269.683642935029,6.509787499999997
HLA-A0301,SIINFEKL,24481.726678691946,21035.52779725433,27245.371837497867 HLA-A0201,SIINFEKD,21050.420242970613,16834.65859138968,24129.046091695887,34.297175
HLA-A0301,SIINFEKD,24687.529360239587,21582.590014592537,27749.39869616437 HLA-A0201,SIINFEKQ,21048.47265780004,16736.561254929948,24111.013114442652,34.297175
HLA-A0301,SIINFEKQ,25923.062203902562,23522.5793450799,28079.456657427705 HLA-A0301,SIINFEKL,28227.298909150148,24826.30790978725,32714.28597399942,33.95121249999998
HLA-A0301,SIINFEKD,30816.721218383507,27685.50847082019,36037.32590461623,41.22577499999998
HLA-A0301,SIINFEKQ,24183.021046496786,19346.154182011513,32263.71247531383,24.81096249999999
The predictions returned are affinities (KD) in nM. The The predictions returned are affinities (KD) in nM. The
"prediction_low" and "prediction_high" fields give the 5-95 percentile "prediction_low" and "prediction_high" fields give the 5-95 percentile
predictions across the models in the ensemble. The predictions above predictions across the models in the ensemble. The predictions above
were generated with MHCflurry 0.9.2. were generated with MHCflurry 1.0.0.
Your exact predictions may vary slightly from these (up to about 1 nM) Your exact predictions may vary slightly from these (up to about 1 nM)
depending on the Keras backend in use and other numerical details. depending on the Keras backend in use and other numerical details.
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
:target: https://coveralls.io/github/hammerlab/mhcflurry :target: https://coveralls.io/github/hammerlab/mhcflurry
mhcflurry mhcflurry
========= ===================
Open source neural network models for peptide-MHC binding affinity prediction
Open source neural network models for peptide-MHC binding affinity prediction
\ No newline at end of file
sphinx-autorun sphinx-autorun
sphinxcontrib-programoutput
sphinx sphinx
numpydoc numpydoc
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