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.0rc3.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.0rc3-py3-none-any.whl (164.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ramanbiolib_ui-1.0.0rc3.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.0rc3.tar.gz
Algorithm Hash digest
SHA256 561a18f2b5f67641ebe846026e3c61a85144ea77b78ae85dfcfeb3f72be87bd4
MD5 fedb1db290d4d9f1bd8adf2464b45a25
BLAKE2b-256 de6f54db96c0cd883a5980b21195565762ae1a3c90b7133fc9406fb1f0a67c3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ramanbiolib_ui-1.0.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 da81beea94a2d1c9b5710aebe9bd7e6f11b4b12eb4e2e8034b68853cee87412c
MD5 f27b23f91b273d231939ea8b44e09778
BLAKE2b-256 b7b8230d0c2f481338d65aff6b9bdf4ba4b42eed06abfa390b02c10201ff96a8

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