A toolbox to check whether files follow a predefined schema.
Project description
igs-toolbox
Description
This repository contains tools to convert files and check whether files follow a predefined schema. Currently there is only one converter and formatChecker for one use case is implemented, but the idea is that it can be extended to more applications.
Installation
igs-toolbox is pip installable.
pip install igs-toolbox
Usage
All tools can be used as a command line tools.
usage: jsonChecker.py [-h] -i INPUT -s {seqMetadata}
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Filepath to json file.
-s {seqMetadata}, --schema {seqMetadata}
Schema to test against.
usage: convertSeqMetadata.py [-h] -i INPUT -o OUTPUT [-e ERROR_LOG]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Filepath to xlsx file.
-o OUTPUT, --output OUTPUT
Filepath to output folder for json files.
-e ERROR_LOG, --error_log ERROR_LOG
Filepath to log file.
usage: convertAnswerSets.py [-h] -i INPUT -o OUTPUT [-s SPECIES [SPECIES ...]]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Filepath to folder with answerset json files.
-o OUTPUT, --output OUTPUT
Filepath to output folder for answerset txt files.
-s SPECIES [SPECIES ...], --species SPECIES [SPECIES ...]
List of species for which to convert answersets.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
igs-toolbox-1.3.1.tar.gz
(10.8 kB
view details)
Built Distribution
File details
Details for the file igs-toolbox-1.3.1.tar.gz
.
File metadata
- Download URL: igs-toolbox-1.3.1.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccc9f225854a1016596a8cf7cfaa92dffbe52a7236c12359d384376652292e15 |
|
MD5 | 9af88d31e451f26f3bac807500025b8f |
|
BLAKE2b-256 | c1e6fda63a86fc7e9b2a0ea2664b1983c644dfd4a2a84b5ee924ad8ebc2d6b73 |
File details
Details for the file igs_toolbox-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: igs_toolbox-1.3.1-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6f5dc3b13f1495bc507627435bf247728cc6493362008b7b94a6a0acd6e28c7 |
|
MD5 | 219a96ca3badaa47381bbf2410787961 |
|
BLAKE2b-256 | 15c217ff98a23346d9e45056137a26bc985cf1bda3f35432bc0deccf22aa3262 |