Skip to main content

[FI]tti[N]g 13[C] 1[H] HSQC [NMR]

Project description

Workflow Documentation Status codecov pre-commit DOI

FINCHnmr : [FI]tti[N]g 13[C] 1[H] HSQC [NMR]

FINCHnmr is lightweight toolkit for fitting 2D heteronuclear single-quantum coherence nuclear magnetic resonance (HSQC NMR) data to a known library of substances. This predicts the presence and relative concentration of these compounds, and the residual (error) can be interpreted as the sum of the remaining unknown compounds present. For a live demonstration, visit our HuggingFace space or try it out on streamlit's community cloud. Although originally designed to work with (1H-13C) data, FINCHnmr will work with any 2D NMR as long as the library used matches the sample being predicted / analyzed.

There are two approaches to generating the spectral libraries. Both methods are demonstrated in the documentation.

  1. Library spectra are taken directly from the Biological Magnetic Resonance Bank (BMRB). These spectra are automatically padded and resized so that they match the extent (2D grid) and resolution of the wild spectra being fit.
  2. Library spectra are reconstructed from a feature list of peak locations by placing bivariate Gaussians at these locations; assumptions must be made about the spread of these distributions in both dimentions of frequency shift space.

Installation

We recommend creating a virtual environment or, e.g., a conda environment then installing finchnmr with pip:

$ pip install finchnmr

You can also install from this GitHub repo source:

$ git clone git@github.com:mahynski/finchnmr.git
$ cd finchnmr
$ pip install .
$ python -m pytest # Optional unittests

Documentation

Documentation is hosted at https://finchnmr.readthedocs.io/ via readthedocs.

The logo was generated using Google Gemini with the prompt "Design a logo involving a finch and NMR" on Nov. 9, 2024.

License Information

  • See LICENSE.md for more information.
  • Any mention of commercial products is for information only; it does not imply recommendation or endorsement by NIST.

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

finchnmr-0.0.0b1.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

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

finchnmr-0.0.0b1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file finchnmr-0.0.0b1.tar.gz.

File metadata

  • Download URL: finchnmr-0.0.0b1.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for finchnmr-0.0.0b1.tar.gz
Algorithm Hash digest
SHA256 d68b670fb4b6f07b22a2f17eb97d06f76b9e4eb72bcfd0dfa0a243dcac52037c
MD5 d57d1cbaeebfb0835cae066fd5dcd8a4
BLAKE2b-256 9cb320911d7d5cc0d5e8e327cab9856cb1c65495da797298ed6847c4b3f3628a

See more details on using hashes here.

File details

Details for the file finchnmr-0.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: finchnmr-0.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for finchnmr-0.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 97ec1b480165445780eef1a0f6a7001db9fd4dda5f2a6201cb755cea1b315cce
MD5 035321521e5330242aaf3567f37e530d
BLAKE2b-256 800aa2d39d70042f180e4d1193b5b9eee4bfb7d47a01c1f0c4924d19feed991d

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