Skip to content

Commit

Permalink
add guidelines section to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mobiusklein committed Nov 2, 2024
1 parent 3d8c08d commit ab907c4
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ the developers of spectral library search tools and resources.
- [Introduction](#introduction)
- [Development](#development)
- [Reference implementation](#reference-implementation)
- [Guidelines](#guidelines)
- [Contributing](#contributing)

---
Expand Down Expand Up @@ -69,6 +70,9 @@ A reference implementation of the mzSpecLib format is available in the form of a
Check out the [mzspeclib-py](https://github.com/HUPO-PSI/mzspeclib-py) repository or the
[Python package documentation](https://mzspeclib.readthedocs.io/) for more information.

## Guidelines

The mzSpecLib format is flexible, but we have examples showing how to use it in certain ways in

## Contributing

Expand Down
8 changes: 8 additions & 0 deletions docs/guidelines/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Guidelines
----------

.. toctree::
:caption: Guidelines

mz_terms
mass_terms
4 changes: 4 additions & 0 deletions docs/guidelines/mass_terms.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Term,Intended Use
``MS:1000224|molecular mass``,"Describes the neutral mass of the molecule being measured without the charge carriers"
``MS:1003243|adduct ion mass``,"Describes the neutral mass of the molecule *plus* the mass of the charge carrier(s)"
``MS:1001117|theoretical neutral mass``,"Describes the neutral mass of the molecule without the charge carriers calculated directly from the molecule identity"
11 changes: 11 additions & 0 deletions docs/guidelines/mass_terms.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Specifying Ion Mass
-------------------

.. csv-table:: Mass Controlled Vocabulary Terms
:file: mass_terms.csv
:widths: 30, 70
:header-rows: 1
:name: ion mass terms


TODO
4 changes: 4 additions & 0 deletions docs/guidelines/mz_terms.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Term,Intended Use
``MS:1000744|selected ion m/z``,"The selected precursor ion as reported by the instrument for isolation. Should be used for a `Spectrum`"
``MS:|experimentally determined monoisotopic m/z``,"The monoisotopic peak of the selected ion as determined by the implementation. Usually used for a `Spectrum`, but for chimeric or ambiguous spectra may also be used in an `Interpretation` or `InterpretationMember`"
``MS:1003053|theoretical monoisotopic m/z``,"The theoretical m/z for an ion calculated by the implementation. Should be used for an `Analyte`"
31 changes: 31 additions & 0 deletions docs/guidelines/mz_terms.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Specifying ion m/z
------------------

.. csv-table:: M/Z Controlled Vocabulary Terms
:file: mz_terms.csv
:widths: 30, 70
:header-rows: 1
:name: m/z terms

Selected Ion M/Z
================

The :title-reference:`selected ion m/z` term is intended to be used in
:title-reference:`mzSpecLib` in the same manner as in :title-reference:`mzML`.
It reflects the assumption that this value is not refined by some other
method that the implementation used, and carries with it the same uncertainty.
Because it is not directly related to an `Analyte`'s identity, this attribute
belongs to the `Spectrum` alone.

Experimentally Determined Monoisotopic M/Z
==========================================

The :title-reference:`experimentally determined monoisotopic m/z` term
was created for :title-reference:`mzSpecLib` to indicate that this m/z
value was refined in some way by the implementation. This implies that
the value is expected to be *correct* in-so-far as the implementation
can tell.

Because the determination might be done with information about
an `Analyte`, this attribute could appear under either the `Spectrum` or
the `Interpretation` or `InterpretationMember` sections.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
Home <self>
specification/index
contributing
guidelines/index

0 comments on commit ab907c4

Please sign in to comment.