This is an issue I only just recognised, but also exists in the HOIP dataset: if you look carefully at the plots from the plotEpitopeMap function, each peptide is 1 residue too long on the N-terminus.
I noticed this as I was getting a perhaps related error that I couldn't resolve that implies that my fasta file was one residue too long/short, where maximum redundancy = 11:
Error in $<-.data.frame(*tmp*, "Z", value = c(1L, 1L, 1L, 1L, 1L, :
replacement has 4719 rows, data has 4708
If I artificially reduce the length of the fasta file by 1 aa, the function works. So I also thought that this error occurs when numlines is not a factor of the number of residues (which is an issue when your construct has a prime number of residues!)
This is an issue I only just recognised, but also exists in the HOIP dataset: if you look carefully at the plots from the plotEpitopeMap function, each peptide is 1 residue too long on the N-terminus.
I noticed this as I was getting a perhaps related error that I couldn't resolve that implies that my fasta file was one residue too long/short, where maximum redundancy = 11:
Error in
$<-.data.frame
(*tmp*
, "Z", value = c(1L, 1L, 1L, 1L, 1L, : replacement has 4719 rows, data has 4708If I artificially reduce the length of the fasta file by 1 aa, the function works. So I also thought that this error occurs when numlines is not a factor of the number of residues (which is an issue when your construct has a prime number of residues!)