https://github.com/cheminfo/nmr-correlation
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 6 committers (33.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.2%) to scientific vocabulary
Keywords from Contributors
Repository
Basic Info
- Host: GitHub
- Owner: cheminfo
- License: mit
- Language: TypeScript
- Default Branch: main
- Homepage: https://cheminfo.github.io/nmr-correlation/
- Size: 849 KB
Statistics
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 2
- Releases: 31
Metadata Files
README.md
nmr-correlation
This package provides methods to build correlation data from NMR spectra. The NMR dataset has to be already processed and given in a certain format (see below).
Mainly, this is done by a grouping of signals with same nuclei between 1D and 2D or 2D and 2D NMR spectra. Each group is then represented by one correlation.
If a molecular formula is given, then missing correlations will be added as placeholder to complete the list.
Another feature is to determine the number of attached protons by using information from DEPT 90/135 or multiplicity-edited HSQC.
Input
Spectra
- array of 1D, 2D, DEPT 90/135 spectra, e.g. obtained by nmr-load-save
- each spectrum has to be processed, e.g. via nmr-processing
- declared type for spectra is
ts
type Spectra = Array<Spectrum1D | Spectrum2D>;
- further type definitions are available in
src/types
Options
- tolerances (must be given for each occurring atom type in spectra)
- molecular formula (optional)
Values
- optional, previously built correlations
- useful to not override the following information if it is set to
trueineditedproperty:- hybridization, equivalence, protonsCount
Output
State
- for each atom type with at least one correlation
- current number of correlations
- some error information according to a given molecular formula
Values
An array of correlations with following content:
- link (array)
- signal, axis (1D/2D signal and current axis which links to signals in another spectra)
- match (indices of correlations with signal shift matches)
- pseudo (whether this link is artificial)
- some further meta information
- attachment (contains indices of each attached correlation/atom)
- protonsCount (array of possible numbers of attached protons)
- equivalence (number of equivalences, default is 1)
- hybridization (not set, except a CH3 group was detected)
- pseudo (whether this is a placeholder, e.g. if molecular formula is given)
- some further meta information, e.g. the group representing signal
Installation
$ npm i nmr-correlation
Usage
```js import { fromJCAMP } from 'nmr-parser'; import { buildCorrelationData } from 'nmr-correlation';
// parse spectra (symbolic example) const data1H = fromJCAMP('1h.dx'); const data13C = fromJCAMP('13C.dx'); const dataHSQC = fromJCAMP('hsqc.dx'); const dataHMBC = fromJCAMP('hmbc.dx'); const dataCOSY = fromJCAMP('cosy.dx'); const dataDEPT90 = fromJCAMP('dept90.dx'); const dataDEPT135 = fromJCAMP('dept135.dx');
// process data (ranges/zones picking) // ... // put all the information together into specified format // ...
// combine spectra into one array const spectra = [ data1H, data13C, dataHSQC, dataHMBC, dataCOSY, dataDEPT90, dataDEPT135, ]; // create options const options = { tolerance: { C: 0.25, H: 0.02, }, mf: 'C11H14N2O', // molecular formula }; // build correlation data const correlationData = buildCorrelationData(spectra, options); ```
License
Owner
- Name: Cheminfo
- Login: cheminfo
- Kind: organization
- Website: https://www.cheminfo.org/
- Repositories: 242
- Profile: https://github.com/cheminfo
GitHub Events
Total
- Release event: 3
- Delete event: 7
- Issue comment event: 8
- Push event: 14
- Pull request event: 12
- Create event: 9
Last Year
- Release event: 3
- Delete event: 7
- Issue comment event: 8
- Push event: 14
- Pull request event: 12
- Create event: 9
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 163
- Total Committers: 6
- Avg Commits per committer: 27.167
- Development Distribution Score (DDS): 0.239
Top Committers
| Name | Commits | |
|---|---|---|
| michaelwenk | m****k@u****e | 124 |
| cheminfo-bot | 1****t@u****m | 23 |
| Luc Patiny | l****c@p****m | 6 |
| Luc Patiny | l****y@u****m | 4 |
| Michaël Zasso | t****s@p****m | 4 |
| Jose Alejandro Bolanos Arroyave | j****s@c****o | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 3
- Total pull requests: 56
- Average time to close issues: 7 days
- Average time to close pull requests: 2 days
- Total issue authors: 2
- Total pull request authors: 4
- Average comments per issue: 1.0
- Average comments per pull request: 1.21
- Merged pull requests: 53
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 14
- Average time to close issues: N/A
- Average time to close pull requests: 13 minutes
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 1.07
- Merged pull requests: 13
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- jobo322 (2)
- targos (1)
Pull Request Authors
- cheminfo-bot (32)
- michaelwenk (14)
- targos (8)
- jobo322 (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- npm 4,315 last-month
- Total dependent packages: 6
- Total dependent repositories: 10
- Total versions: 34
- Total maintainers: 4
npmjs.org: nmr-correlation
Build and manipulation of correlations from 1D and 2D NMR data
- Homepage: https://github.com/cheminfo/nmr-correlation#readme
- License: MIT
-
Latest release: 3.0.1
published 11 months ago
Rankings
Maintainers (4)
Dependencies
- @types/jest ^28.1.6 development
- @types/lodash ^4.14.182 development
- eslint ^8.21.0 development
- eslint-config-cheminfo-typescript ^11.0.1 development
- jest ^28.1.3 development
- prettier ^2.7.1 development
- rimraf ^3.0.2 development
- ts-jest ^28.0.7 development
- typescript ^4.7.4 development
- cheminfo-types ^1.4.0
- lodash ^4.17.21
- ml-matrix-peaks-finder ^1.0.0
- ml-peak-shape-generator ^4.1.1
- JamesIves/github-pages-deploy-action releases/v4 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- zakodium/typedoc-action v2 composite