I noticed that if there are no transcripts in the set/there was no passing peptides, pvacview displays the error: An error has occurred. Check your logs or contact the app author for clarification.. When running it locally the error is: 'names' attribute [6] must be the same length as the vector [5]..
So I made the change to L171 to be:
GB_transcripts <- data.frame("Transcript" = character(), "Expression" = character(), "TSL" = character(), "Biotype" = character(), "Transcript Length (#AA)"= character(), "Length" = character())
This seems to fix the issue. I believe the problem was just that the vector was missing "Transcript Length (#AA)"= character().
https://github.com/griffithlab/pVACtools/blob/b74da8797dc23929c6bc4e09912f1c402f47b6b9/pvactools/tools/pvacview/server.R#L717
I noticed that if there are no transcripts in the set/there was no passing peptides, pvacview displays the error:
An error has occurred. Check your logs or contact the app author for clarification.
. When running it locally the error is:'names' attribute [6] must be the same length as the vector [5].
.So I made the change to L171 to be:
GB_transcripts <- data.frame("Transcript" = character(), "Expression" = character(), "TSL" = character(), "Biotype" = character(), "Transcript Length (#AA)"= character(), "Length" = character())
This seems to fix the issue. I believe the problem was just that the vector was missing
"Transcript Length (#AA)"= character()
.What the error looked liked: