Skip to main content

G001 data entry validation for Genewiz templates.

Project description

Validate GENEWIZ template files, sample map templates and container templates.

Installation

1. Install pip

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

2. Install the package

pip install -i https://test.pypi.org/simple/ genewiz-template-validator

3. Check if it works.

validate_genewiz_templates -h

To get help:

validate_genewiz_templates -h

usage: validate_genewiz_templates [-h]
                              container_template_name.xlsx
                              sample_template_name.xlsx
                              [sample_template_name.xlsx ...]
The following arguments are required:
    container_template_name.xlsx, sample_template_name.xlsx

To run this validator:

validate_genewiz_templates container_template.xlsx sample_template_1.xlsx sample_template_2.xlsx

The validator checks the following:

  1. That the provided sample map and container template can be found and are readable.

  2. That the sample map template files are listed in the container template.

  3. That there are no extraneous sample map entries in the container template.

  4. That the format of the sample id matches the expected naming scheme: G0015[89]xxx_Vxx_Pxx_R2_[HKL]C_[A-H]xx

In the event that any of these validation checks fail, the validator will exit with an error message and produce a “log” file GENEWIZ_template_validation.log in the current directory, that can be inspected to identify the errors it found and to correct them.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genewiz_template_validator-0.0.11.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genewiz_template_validator-0.0.11-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file genewiz_template_validator-0.0.11.tar.gz.

File metadata

  • Download URL: genewiz_template_validator-0.0.11.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for genewiz_template_validator-0.0.11.tar.gz
Algorithm Hash digest
SHA256 90a4659cf59d154ff6b25cd315e9c0da903c60c3c146aa18494aea02013690f3
MD5 a49dbff405c97802c9f36ea8ca08eec6
BLAKE2b-256 8a6e080199ee37e508ce849a16174499477866af7ac277628761ddf70a6173d2

See more details on using hashes here.

File details

Details for the file genewiz_template_validator-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: genewiz_template_validator-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for genewiz_template_validator-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 804e4c69d8f30840a30809ebc90ac55bdab748458968d2dfb51dae8a2f14ce0b
MD5 7c11777a91a96025d868a0e5e4aed85e
BLAKE2b-256 6b214dc4dc9c7e6b6f140d6b5164aa39bfe7d5ff7367c2008f3a4da6d5646e0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page