ddiem-ri-4D / epiTCR

epiTCR: a highly sensitive predictor for TCR–peptide binding
https://github.com/ddiem-ri-4D/epiTCR
MIT License
8 stars 5 forks source link

Does not work for peptides longer than 11 amino acids #8

Open Leob44 opened 6 months ago

Leob44 commented 6 months ago

Hello,

Everytime I try to predict binding of a peptide longer than 11 amino acids, I get the error : "could not broadcast input array from shape (25,20) into shape (11,20)".

Any clue how I might solve that ?

Thanks

ddiem-ri-4D commented 6 months ago

Hi @Leob44,

For my model, the input data requires the peptide length to be >=8 and <=11, so the fixed size is always (11,20). Considering that your peptides have a length >=11, you need to exclude those peptides from the test set to use my model.

Thank you for your attention.

Best regards, My Diem

Screenshot 2024-03-09 at 2 24 44 PM