예제 #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)