Command line tool reference
Validator
A tool to validate the content of one or several record files. Validation checks compliance with MassBank record format specification and also checks for serialisation problems from record file content to data structure back to record file content.
Usage:
Validator [OPTIONS] <FILE|DIR> [<FILE|DIR> ...]
<FILE|DIR> a record file or a directory with record files(scanned recursively)
-legacy do validation in legacy mode, is less strict and is not allowed for new records.
-db DEVELOPER FREATURE. After validation and serialisation tests, record is retrieved from database and converted
back to string and compared with original content. Requires a working MassBank MariaDB container.
RecordExporter
This software can convert MassBank records to different msp
formats. The tool processes an arbitrary number of files specified on command line either directly or found recursively in the specified directories. All records are written in one single msp
in the format specified by the format option.
Usage:
RecordExporter [OPTIONS] <FILE|DIR> [<FILE|DIR> ...]
<FILE|DIR> a record file or a directory with record files(scanned recursively)
-f,--format <arg> output format; possible values: RIKEN_MSP, NIST_MSP;
default is RIKEN_MSP
-o,--outfile <arg> name of output file