示例#1
0
文件: ui.py 项目: xflicsu/immuno
def score_epitopes_mhc_cons(transcripts_df, alleles):
    predictor = ConsensusBindingPredictor(alleles)
    return predictor.predict(transcripts_df)
示例#2
0
 def make_mhc_predictor():
     if args.netmhc_cons:
         return ConsensusBindingPredictor(hla_allele_names)
     else:
         return PanBindingPredictor(hla_allele_names)