0.4.1 • Published 9 months ago

maldi-end-group-analysis v0.4.1

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Tests

maldi-end-group-analysis

Prerequisites

Volta

This repository uses Volta to manage its Node and Yarn versions.

To install Volta run this command

curl https://get.volta.sh | bash

Command Line Interface (CLI)

Setup

Install Globally

npm install maldi-end-group-analysis -g

Usage

Show all commands:

maldi --help

Usage: maldi <command> [options]

Commands:
  maldi analyse [file] [options]  Run maldi end group analysis
  maldi example-file [format]     Generate example import file

Options:
  --version  Show version number                             [boolean]

Examples:
  maldi example-file csv                          Generate an example csv file
  maldi analyse input.csv -t 10 -o test-result    Run analysis on file

Show options for analyse command:

maldi analyse --help

Usage: maldi [options]

Options:
      --version    Show version number                      [boolean]
  -f, --file       Path to file being analysed              [string] [required]
  -t, --threshold  Maximum allowed difference from peak     [number] [required] [default: 0]
  -o, --output     Output file name                         [string] [default: "results"]
  --format     Format of file that should be outputted      [string] [choices: "csv"] [default: "csv"]

To analyse a file called input.csv with a threshold of 0, then output the results to a file called results.csv:

maldi analyse input.csv

To analyse a file called input.csv with a threshold of 100, then output the results to a file called result_file.csv:

maldi analyse input.csv -o result_file -t 100

Development

Setup CLI

yarn install
yarn build
yarn setup-cli