Skip to main content

Pymzid

Reads in mzid files from protein identification results in mass spectrometry/proteomics experiments

Installation and Usage

Install Python 3.7+ and pip. See instructions on Python website for specific instructions for your operating system.

Pymzid can be installed from PyPI via pip. We recommend using a virtual environment.

$ pip install pymzid

Launch as a standalone:

$ python -m pymzid path/to/mzid -o path/to/out

Alternatively:

$ pymzid

Use as a module:

from pymzid.read_mzid import Mzid

mzid = Mzid("path/to/mzid")
mzid.read_psm()

gives a pandas object under mzid.psm_df

To test that the installation can load test data files in tests/data:

$ pip install tox
$ tox

To run the test Percolator data and print the output to home:

$ python -m pymzid tests/data/comet_percolator/percolator.target.mzid -o ~  

Dependencies

Pymzid is tested in Python 3.7 and 3.8 and uses the following packages:

pandas==1.0.4
tqdm==4.46.1

Contributing

Please contact us if you wish to contribute, and submit pull requests to us.

Authors

  • Edward Lau, PhD - Code/design - ed-lau

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Metadata

Release files for pymzid 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymzid 0.3.2
File Size Uploaded
pymzid-0.3.2.tar.gz 322.8 kB Details

Release files / pymzid-0.3.2.tar.gz

Download URL pymzid-0.3.2.tar.gz
Size 322.8 kB
Tags Source
SHA-256 checksum
How to use checksums
659b176fad125e42fc845c9caff994858b072221bb435aeea979baa6865538f9
BLAKE2b-256 checksum
How to use checksums
7619f4935adc044ab8c5b472072057f3df378df8244a0f37b0175f2e2f61df32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page