PredFull
PredFull copied to clipboard
Peptide of length < 30 exceeding max length of 30
Hello,
Some of my input peptides which are shorter than length 30 were ignored during prediction. For example, KPIQRTILM(O)M(O)GRYVEPIEDVPCGNI was ignored because the M(O) was interpreted as 4 instead of 1 amino acids long.
I did a quick fix by replacing line 200 in predfull.py with the following, but there is probably a cleaner way to do this pep_len = 0 for char in item.Peptide: if char in Alist: pep_len += 1 #if len(item.Peptide) > max_len: if pep_len > max_len:
Thank you for this great tool, Kevin