def score_epitopes_mhc_cons(transcripts_df, alleles): predictor = ConsensusBindingPredictor(alleles) return predictor.predict(transcripts_df)
def make_mhc_predictor(): if args.netmhc_cons: return ConsensusBindingPredictor(hla_allele_names) else: return PanBindingPredictor(hla_allele_names)