Entering edit mode
I am trying to read into R a .mzid file using the readPSMs() function of the PSMatch package. This file was exported from the ProteinPilot software (Sciex) after searching 4 raw files (.wiff) of DDA data against a sequence database obtained from UniProt. After reading it into R with the PSMatch package the following error message appears:
Error: BiocParallel errors
1 remote errors, element index: 1
0 unevaluated and other errors
first remote error:
Error in as_data_frame(mzR::openIDfile(f)): identical(iddf[, 1], scores[, 1]) is not TRUE
It seems to work fine with other .mzid files obtained from ProteomeXchange. What am I doing wrong?
I don't think you are doing anything wrong. The
mzR::openIDfile()
function does some extra checks and one of them fails. This is possibly related to ProteinPilot export. You could try to change the importer parser to"mzID"
.Also, make sure you set the import arguments right - check (and use) the
PSM()
manual page.I tried changing the parser but it didn't work. The error message is different though.
Input:
Output:
It seems I have an unsupported version of.. something.. I don't know what.
One thing that comes to mind is that ProteinPilot exports search results in mzIdentML version 1.2. Is this incompatible with PSMatch?
mzID
seems to struggle, indeed.You could test if the version is an issue with
(see
?openIDfile
frommzR
for details)If that works, check that the import arguments in
?PSM
.I'm happy to look into it by the end of August. Not sure I'll have time before.