nf-core/epitopeprediction

Provide option to customize binder threshold

jonasscheid opened this issue · 1 comments

Currently the affinity threshold for a peptide prediction is set to >= 50% to decide whether a peptide is considered as a binder or not. It would be convenient to customize the threshold for each given prediction tool.

Hi @jonasscheid, thanks for feature request, makes totally sense. The place where we would have to change this is here (for Syfpeithi and others):

return True if aff > 50.0 else False

In addition we will need a new pipeline parameter that can be forwarded to the Python script call here:

epaa.py ${input_type} --identifier ${inputs.baseName} \