Fast and flexible semi-supervised learning for peptide detection.
mokapot is fundamentally a Python implementation of the semi-supervised learning algorithm first introduced by Percolator. We developed mokapot to add additional flexibility to our analyses, whether to try something experimental---such as swapping Percolator's linear support vector machine classifier for a non-linear, gradient boosting classifier---or to train a joint model across experiments while retaining valid, per-experiment confidence estimates. We designed mokapot to be extensible and support the analysis of additional types of proteomics data, such as cross-linked peptides from cross-linking mass spectrometry experiments. mokapot offers basic functionality from the command line, but using mokapot as a Python package unlocks maximum flexibility.
For more information, check out our documentation.
Citing
If you use mokapot in your work, please cite:
Fondrie W. E. & Noble W. S. mokapot: Fast and Flexible Semisupervised Learning for Peptide Detection. J Proteome Res (2021) doi: 10.1021/acs.jproteome.0c01010. PMID: 33596079. Link
Installation
mokapot requires Python 3.6+ and can be installed with pip or conda.
Using conda:
$ conda install -c bioconda mokapot
Using pip:
$ pip3 install mokapot
Additionally, you can install the development version directly from GitHub:
$ pip3 install git+git://github.com/wfondrie/mokapot
Basic Usage
Before you can use mokapot, you need PSMs assigned by a search engine available in the Percolator tab-delimited file format (often referred to as the Percolator input, or "PIN", file format) or as a PepXML file.
Simple mokapot analyses can be performed at the command line:
$ mokapot psms.pin
Alternatively, the Python API can be used to perform analyses in the Python interpreter and affords greater flexibility:
>>> import mokapot
>>> psms = mokapot.read_pin("psms.pin")
>>> results, models = mokapot.brew(psms)
>>> results.to_txt()
Check out our documentation for more details and examples of mokapot in action.
Metadata
Release files for mokapot 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mokapot-0.10.0.tar.gz | 39.0 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mokapot-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.1 MB
Release files / mokapot-0.10.0.tar.gz
| Download URL | mokapot-0.10.0.tar.gz |
|---|---|
| Size | 39.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80e483491a5b2e6a069f561e88176d5751258b89a7147f5d855e3c11461b7c0b
|
|
BLAKE2b-256 checksum How to use checksums |
298007b90c51194720b859efa64ca23d87e0f1833c03dd0d4f03c07622ffab92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / mokapot-0.10.0-py3-none-any.whl
| Download URL | mokapot-0.10.0-py3-none-any.whl |
|---|---|
| Size | 74.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3504f1a3b03214a0dc955c95297f9c28b4dfbe9d3162f36e70de19516a8ad521
|
|
BLAKE2b-256 checksum How to use checksums |
f957d902c4b7b9d1b05a0e95283947e022f1a1c4478a99b79fe60c9202eb7488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Security for mokapot 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.