Fred2.TAPPrediction Module¶
TAPPrediction.PSSM¶
-
class
Fred2.TAPPrediction.PSSM.APSSMTAPPrediction¶ Bases:
Fred2.Core.Base.ATAPPredictionAbstract base class for PSSM predictions. Implements predict functionality
-
name¶ The name of the predictor
-
predict(peptides, **kwargs)¶ Returns TAP predictions for given
Peptide.Parameters: peptides (list( Peptide) orPeptide) – A singlePeptideor a list ofPeptideReturns: Returns a TAPPredictionResultobject with the prediction resultsReturn type: TAPPredictionResult
-
supportedLength¶ The supported lengths of the predictor
-
version¶ Parameter specifying the version of the prediction method
-
-
class
Fred2.TAPPrediction.PSSM.SMMTAP¶ Bases:
Fred2.TAPPrediction.PSSM.APSSMTAPPredictionImplementation of SMMTAP.
Note
Peters, B., Bulik, S., Tampe, R., Van Endert, P. M., & Holzhuetter, H. G. (2003). Identifying MHC class I epitopes by predicting the TAP transport efficiency of epitope precursors. The Journal of Immunology, 171(4), 1741-1749.
-
name¶ The name of the predictor
-
predict(peptides, **kwargs)¶ Returns TAP predictions for given
Peptide.Parameters: peptides (list( Peptide) orPeptide) – A singlePeptideor a list ofPeptideReturns: Returns a TAPPredictionResultobject with the prediction resultsReturn type: TAPPredictionResult
-
version¶ The version of the predictor
-
-
class
Fred2.TAPPrediction.PSSM.TAPDoytchinova¶ Bases:
Fred2.TAPPrediction.PSSM.APSSMTAPPredictionImplements the TAP prediction model from Doytchinova.
Note
Doytchinova, I., Hemsley, S. and Flower, D. R. Transporter associated with antigen processing preselection of peptides binding to the MHC: a bioinformatic evaluation. J. Immunol, 2004, 173, 6813-6819
-
name¶ The name of the predictor
-
predict(peptides, **kwargs)¶ Returns TAP predictions for given
Peptide.Parameters: peptides (list( Peptide) orPeptide) – A singlePeptideor a list ofPeptideReturns: Returns a TAPPredictionResultobject with the prediction resultsReturn type: TAPPredictionResult
-
version¶ The version of the predictor
-
TAPPrediction.SVM¶
-
class
Fred2.TAPPrediction.SVM.ASVMTAPPrediction¶ Bases:
Fred2.Core.Base.ATAPPrediction,Fred2.Core.Base.ASVM-
encode(peptides)¶ Returns the feature encoding for peptides
Parameters: peptides (list( Peptide)/Peptide) – List of or a singlePeptideobjectReturns: Feature encoding of the Peptide objects Return type: list(Object)
-
name¶ The name of the predictor
-
predict(peptides, **kwargs)¶ Returns TAP predictions for given
Peptide.Parameters: peptides (list( Peptide) orPeptide) – A singlePeptideor a list ofPeptideReturns: Returns a TAPPredictionResultobject with the prediction resultsReturn type: TAPPredictionResult
-
supportedLength¶ The supported lengths of the predictor
-
version¶ Parameter specifying the version of the prediction method
-
-
class
Fred2.TAPPrediction.SVM.SVMTAP¶ Bases:
Fred2.TAPPrediction.SVM.ASVMTAPPredictionImplements SVMTAP prediction of Doeness et al.
Note
Doennes, P. and Kohlbacher, O. Integrated modeling of the major events in the MHC class I antigen processing pathway. Protein Sci, 2005
-
encode(peptides)¶ Encodes the
Peptidewith a binary sparse encodingParameters: peptides (list(str)) – A list of PeptideReturns: Dictionary with Peptideas key and feature encoding as value (see svmlight encoding scheme http://svmlight.joachims.org/)Return type: dict( Peptide, (tuple(int, list(tuple(int,float))))
-
name¶ The name of the predictor
-
predict(peptides, **kwargs)¶ Returns predictions for given
Peptide.Parameters: peptides (list( Peptide) orPeptide) – A singlePeptideor a list ofPeptideReturns: Returns a TAPPredictionResultobject with the prediction resultsReturn type: TAPPredictionResult
-
supportedLength¶ A list of supported peptide lengths
-
version¶ The version of the predictor
-