Skip to content

[Experimental] A generator for metadata templates and a validator for the metadata of the Quartet project.

License

Notifications You must be signed in to change notification settings

chinese-quartet/metadata-validator

Repository files navigation

Metadata Validator

Installation

pip install metadata_validator

or

git clone https://github.com/chinese-quartet/metadata-validator.git
cd metadata-validator
python setup.py install

Usage

Usage: metav [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  generate-template  Generate metadata template as a xlsx file.
  validate           Metadata Validator
Usage: metav validate [OPTIONS]

  Metadata Validator

Options:
  -i, --input FILE                Input file path, only support xlsx file.
                                  [required]
  -o, --output TEXT               Output error and warning messages as a file.
                                  [required]
  -t, --template-type [DNAseq|RNAseq|Proteomics|Metabolomics]
                                  It support the following metadata tables:
                                  'DNAseq', 'RNAseq', 'Proteomics,
                                  'Metabolomics'  [required]
  --help                          Show this message and exit.
Usage: metav generate-template [OPTIONS]

  Generate metadata template as a xlsx file.

Options:
  -o, --output TEXT               Output metadata template as a file.
                                  [required]
  -t, --template-type [DNAseq|RNAseq|Proteomics|Metabolomics]
                                  It support the following metadata tables:
                                  'DNAseq', 'RNAseq', 'Proteomics,
                                  'Metabolomics'  [required]
  --help                          Show this message and exit.

Example

Generate metadata template

metav generate-template -t Metabolomics -o metabolomics_metadata.xlsx

metabolomics_metadata

Validate metadata

Validate your metadata file of Metabolomics template with the following command:

metav validate -i your_metadata_file.xlsx -o output.log -t Metabolomics

Metada

Features

  • Generate metadata template as a xlsx file.

  • Validate metadata file.

TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

[Experimental] A generator for metadata templates and a validator for the metadata of the Quartet project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published