Skip to main content

Parsing, conversion, and validation functionality for Minimum Information about a Tailoring Enzyme (MITE) files.

Project description

mite_extras

DOI PyPI version

Contents

Overview

MITE (Minimum Information about a Tailoring Enzyme) is a community-driven database for the characterization of tailoring enzymes. These enzymes play crucial roles in the biosynthesis of secondary or specialized metabolites, naturally occurring molecules with strong biological activities, such as antibiotic properties.

This repository contains functionality to validate MITE entries in JSON format.

For more information, visit the MITE Data Standard Organization page or read our publication.

Documentation

This repository provides validation functionality for verifying files following the MITE JSON Schema format, such as the files in the MITE data repository mite_data.

The validation functionality includes:

  • Calling the mite_schema functionality
  • Validation of reaction SMARTS (does the reaction SMARTS lead to the expected product when applied to a specified substrate)
  • Sanitation of SMILES and reaction SMARTS
  • Fetching of NCBI GenPept/UniProtKB IDs

mite_extras can be used as a CLI to automatically update MITE entries. Furthermore, this repository can also be used as a library. For examples, see mite_data or mite_web.

For errors, feature requests, and suggestions, please open an Issue or start a discussion in the MITE Discussion Forum.

System Requirements

OS Requirements

Local installation was tested on:

  • Ubuntu Linux 20.04 and 22.04 (command line)

Python dependencies

Dependencies including exact versions are specified in the pyproject.toml file.

Installation Guide

With pip

  • Install with pip install mite_extras

Quick Start

To validate MITE entries or update them to a new schema versiom, run:

  • mite_extras -i <input/> -o <output/>

Attribution

License

mite_extras is an open source tool licensed under the MIT license (see LICENSE).

Publications

See CITATION.cff or MITE online for information on citing MITE.

Acknowledgements

This work was supported by the Netherlands Organization for Scientific Research (NWO) KIC grant KICH1.LWV04.21.013.

For Developers

Nota bene: for details on how to contribute to the MITE project, please refer to CONTRIBUTING.

Package Installation

Please note that the development installation is only tested and supported on (Ubuntu) Linux.

With uv from GitHub

Note: assumes that uv is installed locally - see the methods described here.

git clone https://github.com/mite-standard/mite_extras
uv sync --extra dev
uv run pre-commit install

All tests should be passing

uv run pytest

CI/CD and Deployment

CI/CD via GitHub Actions runs on every PR and push to the main branch.

A new release created on the mite_extras GitHub page will automatically relay changes to PyPI and Zenodo.

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

mite_extras-1.6.5.tar.gz (49.2 kB view details)

Uploaded Source

Built Distribution

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

mite_extras-1.6.5-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file mite_extras-1.6.5.tar.gz.

File metadata

  • Download URL: mite_extras-1.6.5.tar.gz
  • Upload date:
  • Size: 49.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mite_extras-1.6.5.tar.gz
Algorithm Hash digest
SHA256 36f98add8d02c3280b7cce8d9072032f5d16c8e9a86046df64d0d1c483be1b9e
MD5 b0502ed4f58b6457af52fd93594cf1fa
BLAKE2b-256 1ec5ef13e8fd1500c75b481870653cf30448ff79fe3e9c41a198877308b44d04

See more details on using hashes here.

Provenance

The following attestation bundles were made for mite_extras-1.6.5.tar.gz:

Publisher: publish_pypi.yml on mite-standard/mite_extras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mite_extras-1.6.5-py3-none-any.whl.

File metadata

  • Download URL: mite_extras-1.6.5-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mite_extras-1.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d90ccb36eb662a6c6517f4fe73bd0653f879497eb7543d8e3ce7389015376147
MD5 bf35a89f2cebef5c63b6b1538e7923e3
BLAKE2b-256 0aa9b090273c1e9e19e6b22647a30b55cd7c5ce17a0daf6edf0b33f2f81c5ace

See more details on using hashes here.

Provenance

The following attestation bundles were made for mite_extras-1.6.5-py3-none-any.whl:

Publisher: publish_pypi.yml on mite-standard/mite_extras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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