Skip to main content

PyMassSpec extension for searching mass spectra using NIST's Spectrum Search Engine

Project description

Build Status AppVeyor Documentation Status PyPI PyPI - Python Version

PyMassSpec extension for searching mass spectra using NIST’s Spectrum Search Engine

Usage

You will need to supply your own copy of the NIST Mass Spectral library to use this software.

The main class in this library is the Engine class. This class performs the actual searching. Start by initialising the search engine as follows:

search = pyms_nist_search.Engine(
                FULL_PATH_TO_MAIN_LIBRARY,
                pyms_nist_search.NISTMS_MAIN_LIB,
                FULL_PATH_TO_WORK_DIR,
                )

Where FULL_PATH_TO_MAIN_LIBRARY is the path to the location of your mass spectral library, and FULL_PATH_TO_WORK_DIR is the path to the working directory to be used by the search engine.

A MassSpectrum object can then be searched as follows:

search.full_search_with_ref_data(mass_spec)

This will return a list of tuples consisting of SearchResult and ReferenceData objects for the possible identities of the mass spectrum.

A list of just the SearchResult objects can be obtained with this method:

hit_list = search.full_search(mass_spec)

For each of these hits, the reference data can be obtained as follows:

for hit in hit_list:
        ref_data = search.get_reference_data(hit.spec_loc)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyms_nist_search-0.2.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyms_nist_search-0.2.0-cp38-cp38-win_amd64.whl (553.3 kB view details)

Uploaded CPython 3.8Windows x86-64

pyms_nist_search-0.2.0-cp38-cp38-win32.whl (493.3 kB view details)

Uploaded CPython 3.8Windows x86

pyms_nist_search-0.2.0-cp37-cp37m-win_amd64.whl (553.2 kB view details)

Uploaded CPython 3.7mWindows x86-64

pyms_nist_search-0.2.0-cp37-cp37m-win32.whl (493.3 kB view details)

Uploaded CPython 3.7mWindows x86

pyms_nist_search-0.2.0-cp37-cp37m-manylinux1_x86_64.whl (30.2 kB view details)

Uploaded CPython 3.7m

pyms_nist_search-0.2.0-cp36-cp36m-win_amd64.whl (553.2 kB view details)

Uploaded CPython 3.6mWindows x86-64

pyms_nist_search-0.2.0-cp36-cp36m-win32.whl (493.3 kB view details)

Uploaded CPython 3.6mWindows x86

pyms_nist_search-0.2.0-cp36-cp36m-manylinux1_x86_64.whl (30.2 kB view details)

Uploaded CPython 3.6m

File details

Details for the file pyms_nist_search-0.2.0.tar.gz.

File metadata

  • Download URL: pyms_nist_search-0.2.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

File hashes

Hashes for pyms_nist_search-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fe9864524125047be8df89fdb0d4cecca094e7c055bcb27c2e337bd97353c714
MD5 396506e6de23e7059efe6a9030c64b56
BLAKE2b-256 e3dc916c3673164cb565e17464cb248c40016b169dfd93f30d35e6535087b55c

See more details on using hashes here.

File details

Details for the file pyms_nist_search-0.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyms_nist_search-0.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 553.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for pyms_nist_search-0.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2c254633369cfab5765b063b9d9bde59a6d0b1cfc72b66f47413ed16efde7c36
MD5 c2e1929fa4bc401bb286de082c1cd90f
BLAKE2b-256 c6e9c5737743a57278b465418b576d5cccf6b4685e302e24b7a5eeb3603fe7db

See more details on using hashes here.

File details

Details for the file pyms_nist_search-0.2.0-cp38-cp38-win32.whl.

File metadata

  • Download URL: pyms_nist_search-0.2.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 493.3 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for pyms_nist_search-0.2.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 3f92ce4343df3c21a0071442c81a41a65ac8f61aa11f0617cca513e4ffcf922e
MD5 ddeb7d06e009b046fbdd0796715fca94
BLAKE2b-256 86bdea7928625e403a92301060a9f6bd2f4fe82db4a6ef22b6e3f8eb086e29ae

See more details on using hashes here.

File details

Details for the file pyms_nist_search-0.2.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyms_nist_search-0.2.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 553.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

File hashes

Hashes for pyms_nist_search-0.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1df876aa969c30ce5d2c712cb6c3f85ca3733e88ed276046bde4eed9827b343c
MD5 176f57713697994840298badd91b3d1a
BLAKE2b-256 571988ba49c23498e7a7086107c7a9099e8d66bf53fe385c99f262e6fb6f3de1

See more details on using hashes here.

File details

Details for the file pyms_nist_search-0.2.0-cp37-cp37m-win32.whl.

File metadata

  • Download URL: pyms_nist_search-0.2.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 493.3 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

File hashes

Hashes for pyms_nist_search-0.2.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 26a641a4e35a707ccb522647b4f529122a4f9f600467b78c672a8b5e504aeed6
MD5 1fba45cb62707326b8ad3478cee341a3
BLAKE2b-256 0ab7bf6d8d1b15a37c3df76325a735a92bfacd1c4428c196a3c0b40379e34188

See more details on using hashes here.

File details

Details for the file pyms_nist_search-0.2.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyms_nist_search-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: CPython 3.7m
  • Uploaded using 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.43.0 CPython/3.6.7

File hashes

Hashes for pyms_nist_search-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 53d3baa42d3510675b81abc006eceba7e4e31ae687f7fd4d775b2ba54b809c21
MD5 ed9b5db3248404e6263bbbdae183c737
BLAKE2b-256 09ee151e29c9170f0d67fe49230cb59ed5cccb040d5feeeeb39fbf9213c96f79

See more details on using hashes here.

File details

Details for the file pyms_nist_search-0.2.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyms_nist_search-0.2.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 553.2 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8

File hashes

Hashes for pyms_nist_search-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 7cee9dd3cd866f5d4837d7eabe0b42064d559b982fbc21062ea2c9e0a89653eb
MD5 57df3bfa393ce5bdf47241112f52c470
BLAKE2b-256 e20eb681085bae6ae15232bc0d898fbedb6fea536e87512252b5492badfcff26

See more details on using hashes here.

File details

Details for the file pyms_nist_search-0.2.0-cp36-cp36m-win32.whl.

File metadata

  • Download URL: pyms_nist_search-0.2.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 493.3 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8

File hashes

Hashes for pyms_nist_search-0.2.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 92acb288c318b46f74ddca090fc5f9f9b48ebcb5124990fa2469b97b4393667a
MD5 90bb4cd711936ab7f7085f47ac3644f9
BLAKE2b-256 cc61019e50c383935274e30a9588bade07380d63ff54d95e768a5fd6f8b7e6a8

See more details on using hashes here.

File details

Details for the file pyms_nist_search-0.2.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyms_nist_search-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: CPython 3.6m
  • Uploaded using 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.43.0 CPython/3.6.7

File hashes

Hashes for pyms_nist_search-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bd5f8c639b1337cf0c08589213a84ba9a0e0313a84c33cda509d4238186aa7f6
MD5 40e2de4fb529f78efe122f4d9c7d3f18
BLAKE2b-256 957eeb50aad965325ba63883a7a957b9350e406a52f7edb15950177e8a7bc3d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page