Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation issues with OpenxQuest_example.mzid #52

Closed
edeutsch opened this issue Jun 21, 2016 · 15 comments
Closed

Validation issues with OpenxQuest_example.mzid #52

edeutsch opened this issue Jun 21, 2016 · 15 comments
Assignees

Comments

@edeutsch
Copy link
Contributor

WARNING: XL:00002 should be 'DSS' instead of 'Xlink:DSS'

ERROR: cvParam retention time has an illegal unit accession number "second"!

The latter is complaining about this:
cvParam accession="MS:1000894" cvRef="PSI-MS" name="retention time" value="5458.13539999998" unitAccession="second" unitName="" unitCvRef="se"/>

The name is written in the accession. There is no name. Also in error the unitCvRef is "se", but in the cvlist, the ID is "UO":

@edeutsch
Copy link
Contributor Author

These same problems apply to OpenxQuest_example_added_annotations.mzid

@germa
Copy link
Collaborator

germa commented Jun 23, 2016

It seems that these examples also violate the .mzid XML schema definition

@germa
Copy link
Collaborator

germa commented Jun 23, 2016

I think for the moment it would suffice to replace

xsi:schemaLocation="http://psidev.info/psi/pi/mzIdentML/1.2.0 https://raw.githubusercontent.com/HUPO-PSI/mzIdentML/master/schema/mzIdentML1.2.0.xsd"
xmlns="http://psidev.info/psi/pi/mzIdentML/1.2.0"

by
xsi:schemaLocation="http://psidev.info/psi/pi/mzIdentML/1.2 https://raw.githubusercontent.com/HUPO-PSI/mzIdentML/master/schema/mzIdentML1.2.0.xsd"
xmlns="http://psidev.info/psi/pi/mzIdentML/1.2"

@edeutsch
Copy link
Contributor Author

and:
Error at file /net/db/projects/PSI/mzIdentML/1.2/genDoc/OpenxQuest_example.mzid, line 173, char 114
Message: Datatype error: Type:InvalidDatatypeValueException, Message:Value 'file:///C:\MSData\S26_Yeast_RAW/aleitner_M1012_004.mzML' is NOT a valid URI .

Error at file /net/db/projects/PSI/mzIdentML/1.2/genDoc/OpenxQuest_example.mzid, line 312, char 13
Message: The key for identity constraint of element 'MzIdentML' is not found.

@mwalzer
Copy link

mwalzer commented Jun 29, 2016

Yes, unit is a problem in the way we generate that cv element that slipped my attention.

@mwalzer mwalzer self-assigned this Jun 29, 2016
@mwalzer
Copy link

mwalzer commented Jun 29, 2016

so, the version scheme of 1.2.0 to change to 1.2 is done readily, but @germa are there other schema violations my checker isnt telling me or was it that schema validation didnt find anything under 1.2.0?

@mwalzer
Copy link

mwalzer commented Jul 5, 2016

one warning remains though:

Message 2:
    Level: WARN
    --> unanticipated terms for XPath '/MzIdentML/DataCollection/AnalysisData/SpectrumIdentificationList/spectrumIdentificationResult/spectrumIdentificationItem/cvParam/@accession' : [MS:1000894]

which comes from the rt cv at SII instead of at SIR, which is needed, because of referencing several spectra ...

@mwalzer
Copy link

mwalzer commented Jul 5, 2016

@andrewrobertjones @germa should this be reflected in the rules?

@edeutsch
Copy link
Contributor Author

edeutsch commented Jul 5, 2016

CV validation issues today:

ERROR: cvParam retention time has an illegal unit second!
(word "second" in place of accession number)

WARNING: XL:00002 should be 'cross-linker related PTM' instead of 'Xlink:DSS'
(XL accessions changed!)

@edeutsch
Copy link
Contributor Author

edeutsch commented Jul 5, 2016

also, in addition to the CV issues above, the XML name space is incorrect:

Error at file /net/db/projects/PSI/mzIdentML/1.2/genDoc/OpenxQuest_example.mzid, line 7, char 37
Message: Schema in mzIdentML1.2.0.xsd has a different target namespace from the one specified in the instance document http://psidev.info/psi/pi/mzIdentML/1.2.0.

@mwalzer
Copy link

mwalzer commented Jul 6, 2016

@edeutsch I have not merged the pull request yet, to leave the option to comment and my guess is you checked the master branch. In the PR, the issues should be resolved; for example the seconds issue like this

@edeutsch but thank you for checking, could you check the two from the branch? Here are the direct links to the files: OpenxQuest_example.mzid OpenxQuest_example_added_annotations.mzid
They checked out with the validator from the repository, now I'd be curious to what your validator reads before merging.

@germa
Copy link
Collaborator

germa commented Jul 15, 2016

@mwalzer: Use of XLMOD:nnnnn instead of XL:nnnnn, see also GitHub issue #60

@andrewrobertjones
Copy link
Contributor

@mwalzer Can you fix all the issues and then close the issue. I would like to assemble all material for submission to PSI process next week.

@edeutsch
Copy link
Contributor Author

The only remaining issue I see still is the one mentioned above. XL: needs to be XLMOD:

@mwalzer
Copy link

mwalzer commented Jul 20, 2016

fixed in #77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants