{ "info": { "author": "Joshua Klein", "author_email": "jaklein@bu.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Topic :: Scientific/Engineering :: Bio-Informatics" ], "description": ".. image:: https://raw.githubusercontent.com/mobiusklein/ms_deisotope/master/docs/_static/logo.png\r\n\r\nA Library for Deisotoping and Charge State Deconvolution For Mass Spectrometry\r\n------------------------------------------------------------------------------\r\n\r\nThis library combines `brainpy` and `ms_peak_picker` to build a toolkit for\r\nMS and MS/MS data. The goal of these libraries is to provide pieces of the puzzle\r\nfor evaluating MS data modularly. The goal of this library is to combine the modules\r\nto streamline processing raw data.\r\n\r\n\r\nInstalling\r\n----------\r\n\r\nBuilding from source requires a version of Cython >= 0.27.0\r\n\r\n\r\nAPI\r\n---\r\n\r\n\r\nData Access\r\n===========\r\n\r\n``ms_deisotope`` can read from mzML, mzXML and MGF files directly, using the ``pyteomics`` library.\r\nOn Windows, it can also use ``comtypes`` to access Thermo's MSFileReader.dll to read RAW files and\r\nAgilent's MassSpecDataReader.dll to read .d directories. Whenever possible, the library provides a\r\ncommon interface to all supported formats. With Thermo's pure .NET library, it can use ``pythonnet``\r\nto read Thermo RAW files on Windows and Linux (and presumably Mac, too).\r\n\r\n.. code:: python\r\n\r\n from ms_deisotope import MSFileReader\r\n from ms_deisotope.data_source import mzxml\r\n\r\n # open a file, selecting the appropriate reader automatically\r\n reader = MSFileReader(\"path/to/data.mzML\")\r\n\r\n # or specify the reader type directly\r\n reader = mzxml.MzXMLLoader(\"path/to/data.mzXML\")\r\n\r\n\r\nAll supported readers provide fast random access for uncompressed files, and support the Iterator\r\ninterface.\r\n\r\n.. code:: python\r\n\r\n # jump the iterator to the MS1 scan nearest to 30 minutes into the run\r\n reader.start_from_scan(rt=30)\r\n\r\n # read out the next MS1 scans and all associated MSn scans\r\n scan_bunch = next(reader)\r\n print(scan_bunch.precursor, len(scan_bunch.products))\r\n\r\n\r\nAveragine\r\n=========\r\n\r\nAn \"Averagine\" model is used to describe the composition of an \"average amino acid\",\r\nwhich can then be used to approximate the composition and isotopic abundance of a\r\ncombination of specific amino acids. Given that often the only solution available is\r\nto guess at the composition of a particular *m/z* because there are too many possible\r\nelemental compositions, this is the only tractable solution.\r\n\r\nThis library supports arbitrary Averagine formulae, but the Senko Averagine is provided\r\nby default: `{\"C\": 4.9384, \"H\": 7.7583, \"N\": 1.3577, \"O\": 1.4773, \"S\": 0.0417}`\r\n\r\n.. code:: python\r\n\r\n from ms_deisotope import Averagine\r\n from ms_deisotope import plot\r\n\r\n peptide_averagine = Averagine({\"C\": 4.9384, \"H\": 7.7583, \"N\": 1.3577, \"O\": 1.4773, \"S\": 0.0417})\r\n\r\n plot.draw_peaklist(peptide_averagine.isotopic_cluster(1266.321, charge=1))\r\n\r\n\r\n`ms_deisotope` includes several pre-defined averagines (or \"averagoses\" as may be more appropriate):\r\n 1. Senko's peptide - `ms_deisotope.peptide`\r\n 2. Native *N*- and *O*-glycan - `ms_deisotope.glycan`\r\n 3. Permethylated glycan - `ms_deisotope.permethylated_glycan`\r\n 4. Glycopeptide - `ms_deisotope.glycopeptide`\r\n 5. Sulfated Glycosaminoglycan - `ms_deisotope.heparan_sulfate`\r\n 6. Unsulfated Glycosaminoglycan - `ms_deisotope.heparin`\r\n\r\nDeconvolution\r\n=============\r\n\r\nThe general-purpose averagine-based deconvolution procedure can be called by using the high level\r\nAPI function `deconvolute_peaks`, which takes a sequence of peaks, an averagine model, and a isotopic\r\ngoodness-of-fit scorer:\r\n\r\n.. code:: python\r\n\r\n import ms_deisotope\r\n\r\n deconvoluted_peaks, _ = ms_deisotope.deconvolute_peaks(peaks, averagine=ms_deisotope.peptide,\r\n scorer=ms_deisotope.MSDeconVFitter(10.))\r\n\r\nThe result is a deisotoped and charge state deconvoluted peak list where each peak's neutral mass is known\r\nand the fitted charge state is recorded along with the isotopic peaks that gave rise to the fit.\r\n\r\nRefer to the documentation for a deeper description of isotopic pattern fitting.\r\n\r\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ms-deisotope", "package_url": "https://pypi.org/project/ms-deisotope/", "platform": "", "project_url": "https://pypi.org/project/ms-deisotope/", "project_urls": { "Documentation": "https://mobiusklein.github.io/ms_deisotope", "Issue Tracker": "https://github.com/mobiusklein/ms_deisotope/issues", "Source Code": "https://github.com/mobiusklein/ms_deisotope" }, "release_url": "https://pypi.org/project/ms-deisotope/0.0.9/", "requires_dist": [ "numpy", "scipy", "six", "dill", "ms-peak-picker", "brain-isotopic-distribution", "pyteomics (>=4.0)", "lxml", "psims (>=0.1.28)" ], "requires_python": "", "summary": "Access, Deisotope, and Charge Deconvolute Mass Spectra", "version": "0.0.9" }, "last_serial": 5632086, "releases": { "0.0.9": [ { "comment_text": "", "digests": { "md5": "7a30f8ff0fe7d8845714e1abd850740e", "sha256": "7df2feba965bdf9173fa6dab64b36c5c48b33a9a7ba4ce2c99f267736e168854" }, "downloads": -1, "filename": "ms_deisotope-0.0.9-cp27-cp27m-win_amd64.whl", "has_sig": false, "md5_digest": "7a30f8ff0fe7d8845714e1abd850740e", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 4229243, "upload_time": "2019-08-05T00:43:56", "url": "https://files.pythonhosted.org/packages/35/59/2def4425b988e03adf60050d5367ea13a28cdc5c8b41244fd6e21f4bfefa/ms_deisotope-0.0.9-cp27-cp27m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "f1ca2517c0908742808445094e5edc66", "sha256": "92999422e0f4e3d92a74bc95db51e233b1aa60c7cb87e42a9a244de41f176bc2" }, "downloads": -1, "filename": "ms_deisotope-0.0.9-cp35-cp35m-win_amd64.whl", "has_sig": false, "md5_digest": "f1ca2517c0908742808445094e5edc66", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 4306001, "upload_time": "2019-08-05T00:51:49", "url": "https://files.pythonhosted.org/packages/ce/31/c7f3ce4ffa388ff10b2dd53da9e18ea4af2e930cac2ad501925dd94a4a9b/ms_deisotope-0.0.9-cp35-cp35m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "e8927498f508cc944f66ef6a6d6cdc87", "sha256": "db7041a3758b1f0c14c93eafbac474e6e71acca951e8914f48b3fb54163501f8" }, "downloads": -1, "filename": "ms_deisotope-0.0.9-cp36-cp36m-win_amd64.whl", "has_sig": false, "md5_digest": "e8927498f508cc944f66ef6a6d6cdc87", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 4267679, "upload_time": "2019-08-05T00:45:47", "url": "https://files.pythonhosted.org/packages/41/57/4af5d7f685a003b413da74554378cf94c0edb6725da75f743d8cc8bf989d/ms_deisotope-0.0.9-cp36-cp36m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "15716a980bfe82ab2b162d609023bb56", "sha256": "d714f0801019f564f50f8bab3ffecf384fddab826e07bb49bab17dfdad9ede88" }, "downloads": -1, "filename": "ms_deisotope-0.0.9-cp37-cp37m-win_amd64.whl", "has_sig": false, "md5_digest": "15716a980bfe82ab2b162d609023bb56", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 4268940, "upload_time": "2019-08-05T00:46:00", "url": "https://files.pythonhosted.org/packages/38/ab/8b5c6ff114a8c5f2cdd0208f3d23005000f20c21cc55d17c0b2a8c809d54/ms_deisotope-0.0.9-cp37-cp37m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "21aa63d2cd52aeaa6ed7b4b410e9d25a", "sha256": "ed68a15439c9802cf7b834f82942192c20ca9aae800f7f112f50780de8ee601c" }, "downloads": -1, "filename": "ms_deisotope-0.0.9.tar.gz", "has_sig": false, "md5_digest": "21aa63d2cd52aeaa6ed7b4b410e9d25a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2832920, "upload_time": "2019-08-05T00:44:02", "url": "https://files.pythonhosted.org/packages/d0/ab/1e1aed9c2f0d137be5ed884f3fdcff9744df1b613aeb56108104c28d4b36/ms_deisotope-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7a30f8ff0fe7d8845714e1abd850740e", "sha256": "7df2feba965bdf9173fa6dab64b36c5c48b33a9a7ba4ce2c99f267736e168854" }, "downloads": -1, "filename": "ms_deisotope-0.0.9-cp27-cp27m-win_amd64.whl", "has_sig": false, "md5_digest": "7a30f8ff0fe7d8845714e1abd850740e", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 4229243, "upload_time": "2019-08-05T00:43:56", "url": "https://files.pythonhosted.org/packages/35/59/2def4425b988e03adf60050d5367ea13a28cdc5c8b41244fd6e21f4bfefa/ms_deisotope-0.0.9-cp27-cp27m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "f1ca2517c0908742808445094e5edc66", "sha256": "92999422e0f4e3d92a74bc95db51e233b1aa60c7cb87e42a9a244de41f176bc2" }, "downloads": -1, "filename": "ms_deisotope-0.0.9-cp35-cp35m-win_amd64.whl", "has_sig": false, "md5_digest": "f1ca2517c0908742808445094e5edc66", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 4306001, "upload_time": "2019-08-05T00:51:49", "url": "https://files.pythonhosted.org/packages/ce/31/c7f3ce4ffa388ff10b2dd53da9e18ea4af2e930cac2ad501925dd94a4a9b/ms_deisotope-0.0.9-cp35-cp35m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "e8927498f508cc944f66ef6a6d6cdc87", "sha256": "db7041a3758b1f0c14c93eafbac474e6e71acca951e8914f48b3fb54163501f8" }, "downloads": -1, "filename": "ms_deisotope-0.0.9-cp36-cp36m-win_amd64.whl", "has_sig": false, "md5_digest": "e8927498f508cc944f66ef6a6d6cdc87", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 4267679, "upload_time": "2019-08-05T00:45:47", "url": "https://files.pythonhosted.org/packages/41/57/4af5d7f685a003b413da74554378cf94c0edb6725da75f743d8cc8bf989d/ms_deisotope-0.0.9-cp36-cp36m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "15716a980bfe82ab2b162d609023bb56", "sha256": "d714f0801019f564f50f8bab3ffecf384fddab826e07bb49bab17dfdad9ede88" }, "downloads": -1, "filename": "ms_deisotope-0.0.9-cp37-cp37m-win_amd64.whl", "has_sig": false, "md5_digest": "15716a980bfe82ab2b162d609023bb56", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 4268940, "upload_time": "2019-08-05T00:46:00", "url": "https://files.pythonhosted.org/packages/38/ab/8b5c6ff114a8c5f2cdd0208f3d23005000f20c21cc55d17c0b2a8c809d54/ms_deisotope-0.0.9-cp37-cp37m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "21aa63d2cd52aeaa6ed7b4b410e9d25a", "sha256": "ed68a15439c9802cf7b834f82942192c20ca9aae800f7f112f50780de8ee601c" }, "downloads": -1, "filename": "ms_deisotope-0.0.9.tar.gz", "has_sig": false, "md5_digest": "21aa63d2cd52aeaa6ed7b4b410e9d25a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2832920, "upload_time": "2019-08-05T00:44:02", "url": "https://files.pythonhosted.org/packages/d0/ab/1e1aed9c2f0d137be5ed884f3fdcff9744df1b613aeb56108104c28d4b36/ms_deisotope-0.0.9.tar.gz" } ] }