Skip to content

cheminfo/vamas

Repository files navigation

vamas

NPM version build status Test coverage npm download DOI

Vamas file format parser, following the ISO specification.

Installation

$ npm i vamas

One VAMAS file contains

  • many blocks
    • survey (or wide)
    • multiplex (for example C, Ru, ...)
    • identified by blockID

In a block:

  • regions (used for baseline)
  • identified by regionID

In a block and expected to be in a specific region:

  • components: corresponds to the shape of the peak and relies on the baseline
  • identified by componentID

Usage

import { parse } from 'vamas';

const result = parse(vamasText);

License

MIT