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

update variants

parent 527a608d
No related merge requests found
......@@ -143,7 +143,7 @@ do
echo bzip2 -f "$(pwd)/benchmark.multiallelic.production.$kind.csv" >> commands/multiallelic.production.$kind.sh
fi
for variant in no_additional_ms compact_peptide affinity_only no_pretrain single_hidden_no_pretrain
for variant in no_additional_ms compact_peptide affinity_only no_pretrain single_hidden_no_pretrain 500nm
do
if [ "$2" == "continue-incomplete" ] && [ -f "benchmark.multiallelic.${variant}.$kind.csv.bz2" ]
then
......
......@@ -252,6 +252,22 @@ class Class1PresentationPredictor(object):
n_flanks=None,
c_flanks=None,
verbose=1):
"""
Predict presentation scores across a set of peptides.
Parameters
----------
peptides : list of string, or EncodableSequences
alleles : list of string or string -> string dict
experiment_names :
n_flanks
c_flanks
verbose
Returns
-------
"""
return self.predict_to_dataframe(
peptides=peptides,
alleles=alleles,
......@@ -273,7 +289,7 @@ class Class1PresentationPredictor(object):
verbose=1,
throw=True):
"""
Predict across protein sequences.
Predict presentation across protein sequences.
Parameters
----------
......@@ -439,6 +455,23 @@ class Class1PresentationPredictor(object):
include_affinity_percentile=False,
verbose=1,
throw=True):
"""
Parameters
----------
peptides
alleles
experiment_names
n_flanks
c_flanks
include_affinity_percentile
verbose
throw
Returns
-------
"""
if isinstance(peptides, string_types):
raise TypeError("peptides must be a list not a string")
......
......@@ -37,7 +37,7 @@ releases:
default: false
- name: models_class1_pan_variants
url: https://github.com/openvax/mhcflurry/releases/download/1.6.0/models_class1_pan_variants.selected.20200109.tar.bz2
url: https://github.com/openvax/mhcflurry/releases/download/1.6.0/models_class1_pan_variants.selected.20200307.tar.bz2
default: false
- name: models_class1_processing_variants
......
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