-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/HUPO-PSI/mzPAF into add-sph…
…inx-docs
- Loading branch information
Showing
24 changed files
with
769 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.python-version | ||
.venv/ | ||
.github/ | ||
docs/_build/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
all: publish-references | ||
|
||
publish-references: | ||
cp ./specification/reference_data/reference_molecules.json ./implementations/python/mzpaf/data/reference_molecules.json | ||
cd ./specification/reference_data/ && python reference_mol_to_md.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,21 @@ | |
|
||
## About | ||
|
||
The mzPAF proposed standard is a specification for a fragment ion peak annotation format for mass spectra, focused on | ||
peptides. This provides for a standardized format for describing the origin of fragment ions to be used in spectral | ||
libraries, other formats that aim to describe fragment ions, and software tools that annotate fragment ions. | ||
mzPAF is a specification for a fragment ion peak annotation format for mass spectra, focused on | ||
peptides. This provides for a standardized format for describing the origin of fragment ions to be | ||
used in spectral libraries, other formats that aim to describe fragment ions, and software tools | ||
that annotate fragment ions. | ||
|
||
- Official mzPAF homepage: [psidev.info/mzPAF](https://psidev.info/mzPAF) | ||
- mzPAF documentation: [mzpaf.readthedocs.io](https://mzpaf.readthedocs.io) | ||
|
||
## Status | ||
|
||
_Updated: 2024-10-15_ | ||
|
||
The specification has been resubmitted to the PSI Document Process and is undergoing final | ||
community review. It is anticipated to become a formal PSI standard near the end of 2024. | ||
|
||
## In short | ||
|
||
- mzPAF is a single string of characters, case sensitive, without length limit | ||
|
@@ -89,24 +97,19 @@ Learn more at the | |
|
||
### mzPAF regular expressions | ||
|
||
[todo] | ||
|
||
### mzPAF Lark grammar | ||
The mzPAF specification includes regular expressions for parsing mzPAF strings. These can be used | ||
in any programming language that supports regular expressions. | ||
|
||
[todo] | ||
|
||
## Specification status | ||
|
||
Updated: 2023-09-01 | ||
Learn more at the | ||
[mzPAF regex documentation](https://mzpaf.readthedocs.io/en/latest/implementations/regex/). | ||
|
||
The specification has been resubmitted to the PSI Document Process and is undergoing final | ||
community review. Ratification to formally become a PSI standard is anticipated near the end of 2023. | ||
### mzPAF Lark grammar | ||
|
||
Your comments and suggestions are still very much welcome. Please submit an issue at the repo to | ||
provide your feedback and send an e-mail to the HUPO-PSI editor [Sylvie Ricard-Blum](mailto:[email protected]). | ||
mzPAF has also been defined as a | ||
[Lark grammar](https://mzpaf.readthedocs.io/en/latest/implementations/lark/). | ||
|
||
### Links | ||
|
||
- The GitHub repo associated with mzPAF: https://github.com/HUPO-PSI/mzPAF | ||
- The GitHub repo associated with the related mzSpecLib standard: https://github.com/HUPO-PSI/mzSpecLib | ||
- HUPO-PSI homepage: https://www.psidev.info/ | ||
- The mzPAF GitHub repo: [github.com/HUPO-PSI/mzPAF](https://github.com/HUPO-PSI/mzPAF) | ||
- The GitHub repo for the related mzSpecLib standard: [github.com/HUPO-PSI/mzSpecLib](https://github.com/HUPO-PSI/mzSpecLib) | ||
- HUPO-PSI homepage: [psidev.info](https://www.psidev.info/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
************* | ||
Example Usage | ||
************* | ||
|
||
.. code-block:: python | ||
import mzpaf | ||
annotations: list[mzpaf.IonAnnotationBase] = mzpaf.parse_annotation("y1") | ||
annot: mzpaf.PeptideFragmentIonAnnotation = annotation[0] | ||
assert annot.series == 'y' | ||
assert annot.position == 1 | ||
assert annot.charge == 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.