Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mite-extras

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mite-extras

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

  • 1.3.1
  • PyPI
  • Socket score

Maintainers
2

mite_extras

DOI PyPI version

This package contains functionality to validate entries of the Minimum Information about a Tailoring Enzyme (MITE) repository.

This includes:

  • Validation of the MITE json format (does the entry follow the mite_schema format)
  • 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

When used as CLI, mite_extras can automatically update MITE entries (see below). However, it can also be used as a library (e.g. as done in mite_data).

For more information, see the README of the MITE-Standard organisation page.

Installation

Attention: this program has only been tested with Ubuntu Linux.

With pip from PyPI

  • Install with pip install mite_extras

With hatch from GitHub

  • Install python 3.12.x
  • Install hatch (e.g. with pipx install hatch)
  • Download or clone the repository
  • Run hatch -v env create

Quick Start: Example

Run from command line:

To validate MITE entries or update them to a new schema version (requires mite_extras to be installed via pip).

  • mite_extras -i input/ -o output/

Run with hatch:

Validate MITE entries or update them to a new schema version

  • hatch run mite_extras -i input/ -o output/

For devs

  • Install developer dependencies with hatch -v env create dev
  • Initialize pre-commit with hatch run dev:pre-commit install
  • Run tests with hatch run dev:pytest
  • Run CLI with hatch run dev:mite_extras and the appropriate options
  • If necessary, remove the environment again with hatch env remove dev

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc