Skip to main content

UI for ramanbiolib. Biomolecules identification search using Raman spectra.

Project description

RamanBiolib logo

RamanBiolib UI:

A standalone UI for Biomolecule Identifiaction by means of Raman Spectroscopy using RamanBiolib

Getting started

Python package

Installation:

pip install ramanbiolib_ui

Run:

ramanbiolib_ui

Windows executable file

You can download the Windows executable (.exe file) from the Releases section of this repository:

  1. Go to the Releases page.
  2. Find the latest release (or the version you want).
  3. Under the Assets section, click on the ramanbiolib-ui.exe file to download it.
  4. Run the downloaded file to start the application.

Note: This executable file is self-signed, so Windows and/or antivirus software may flag it as potentially unsafe. However, the file is secure — it is simply a packaged version of this open-source code created using PyInstaller. If you have any concerns about running the executable, you can always install and run the Python version instead.

How to use this tool

Spectral Linear Kernel (SLK) similarity search

This uses the full spectra plot to rank the database components by its SLK similarity to the unknown specturm.

Parameters:

  • Raman spectrum file: the unnknown spectrum file containing the wavenumbers and intensity.
  • Window size: the value of the window (W) parameter in SLK.
  • Top N table: the number of components to show in the result table.
  • Top N plot: the number of components to show in the result plot.

SLK search

The search results display the ranked table of the most similar biomolecules in the RamanBiolib database:

SLK table

and the spectra comparison plot:

SLK plot

Peak matching search

This matching calculate the matching between the specturm extracted peak positions and each database component peak positions.

Parameters:

  • Source:
    • spectrum: the source is a spectrum file (as in SLK similarity search)
      • Raman spectrum file: the unnknown spectrum file containing the wavenumbers and intensity.
      • Peak detection prominence: the min prominence threshold for peak detection of the uploaded spectrum once the specturm is min-max normalized. The peak detection is done using scipy find_peaks function.
    • peaks list:
      • Peaks wavenumbers: the source is a comma-separated list of peaks wavenumbers positions (cm⁻¹). Example: 100,500,652,1205,1652 (step=1cm⁻¹, min=450, max=1800)
  • Tolerance size: the simmetrical maximum distance tolerance for peak matching.
  • Penalty type: the penalty function for PIUR calculation. Linear or Inverse power (1/x).
  • Sorted by: the metric used to sort the results (IUR, MR, RMR, PIUR). Default IUR.
    • Considering query spectrum peaks Pa and DB spectrum peaks Pb:
      • MR (Matching Ratio) = intersection(Pa, Pb)/len(Pa)
      • RMR (Reverse Matching Ratio) = intersection(Pa, Pb)/len(Pb)
      • IUR (Intersection Union Ratio) = intersection(Pa, Pb)/union(Pa, Pb)
      • PIUR (Penalized Intersection Union Ratio) = penalized_intersection(Pa, Pb)/union(Pa, Pb)
  • Top N table: the number of components to show in the result table.
  • Top N plot: the number of components to show in the result plot.

PM search

The search results display the ranked table of the most similar biomolecules in the RamanBiolib database:

PM table

and the spectra comparison plot:

PM plot

How to cite this tool

If you use this tool for research, please cite us:

Terán, M and Ruiz, JJ and Loza-Álvarez, P and Masip, D and Merino, D, Open Raman Spectral Library for Biomolecule Identification. Available at SSRN: https://ssrn.com/abstract=5185686 or http://dx.doi.org/10.2139/ssrn.5185686

License

GNU GPL v3

Project details


Download files

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

Source Distribution

ramanbiolib_ui-1.0.0rc4.tar.gz (826.2 kB view details)

Uploaded Source

Built Distribution

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

ramanbiolib_ui-1.0.0rc4-py3-none-any.whl (164.3 kB view details)

Uploaded Python 3

File details

Details for the file ramanbiolib_ui-1.0.0rc4.tar.gz.

File metadata

  • Download URL: ramanbiolib_ui-1.0.0rc4.tar.gz
  • Upload date:
  • Size: 826.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ramanbiolib_ui-1.0.0rc4.tar.gz
Algorithm Hash digest
SHA256 dc6dae7841e714db55698606f6965cee722e88c203916caeeb50996c1b0ce3b2
MD5 8bcd3e333578b2bc87ae113b62b73d94
BLAKE2b-256 3e75572597e42fceaacb4913e05fd72e376825aa1dfa57d033306578fdcab363

See more details on using hashes here.

File details

Details for the file ramanbiolib_ui-1.0.0rc4-py3-none-any.whl.

File metadata

File hashes

Hashes for ramanbiolib_ui-1.0.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 fe40e9958ea59b7cb23d48d03d169b4f49fe5e80e70eecdcd35dc4ef3f73bd23
MD5 7cb9568795dd07f88b62652645755b4e
BLAKE2b-256 cbb018ce6185cd7ee1bba25f8aaf9706dae97724401c8483fb3e39d75725f7a1

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