Skip to main content

Retropath2.0 wrapper

Anaconda-Server Badge Anaconda-Server Badge

Implementation of the KNIME retropath2.0 workflow. Takes for input the minimal (dmin) and maximal (dmax) diameter for the reaction rules and the maximal path length (maxSteps). The tool expects the following files: rules.csv, sink.csv and source.csv and produces results in an output folder.

Input

Required:

  • sink_file: (string) Path to the collection of chemical species to finish metabolic route exploration
  • source_file: (string) Path to the target compound desired to be synthesised
  • rules_file: (string) Path to the reaction rules

Optional:

  • --outdir: (string, default='out') Path to the folder where result files are written
  • --knime_exec: (integer, default=9999) Path to Knime exec file
  • --max_steps : (integer, default='3') Maximal number of steps
  • --topx : (integer, default: 100) For each iteration, number of rules
  • --dmin : (integer, default: 0)
  • --dmax : (integer, default: 1000)
  • --mwmax_source : (integer, default: 1000)
  • --mwmax_cof : (integer, default: 1000)
  • --timeout : (integer, default: 30) Timeout in minutes
  • --is_forward : (bool, default: False) Forward or reverse synthesis

Prerequisites

  • Python 3
  • KNIME (code was tested on 3.6.2 version)

Install

From pip

retropath2_wrapper requires Knime which is not available through pip. The 3.6.2 version will be downloaded if not already installed.

[sudo] python -m pip install retropath2_wrapper

From Conda

[sudo] conda install -c brsynth retropath2_wrapper

Run

retropath2_wrapper process

From Python code

from retropath2_wrapper import run, build_args_parser

parser = build_args_parser()
args  = parser.parse_args()

run(args.sinkfile,
    args.sourcefile,
    args.rulesfile)

From CLI

python -m retropath2_wrapper sinkfile.csv sourcefile.csv rulesfile.csv

Test

All modes can be tested with:

cd tests
./test-in-docker.sh

How to cite RetroPath2.0?

Please cite:

Delépine B, Duigou T, Carbonell P, Faulon JL. RetroPath2.0: A retrosynthesis workflow for metabolic engineers. Metabolic Engineering, 45: 158-170, 2018. DOI: https://doi.org/10.1016/j.ymben.2017.12.002

Metadata

Release files for retropath2-wrapper 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for retropath2-wrapper 1.1.0
File Size Uploaded Provenance Actions
retropath2_wrapper-1.1.0.tar.gz 1.1 MB Without provenance Details for retropath2_wrapper-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for retropath2-wrapper 1.1.0
File Interpreter ABI Platform Actions
retropath2_wrapper-1.1.0-py3-none-any.whl Python 3 none any Details for retropath2_wrapper-1.1.0-py3-none-any.whl

Total release size: 2.2 MB

Release files / retropath2_wrapper-1.1.0.tar.gz

Download URL retropath2_wrapper-1.1.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
6f4a694501fc5ec55d62d49fd90810c6eff115727a8e3515a4d78cde43f32a00
BLAKE2b-256 checksum
How to use checksums
cd91998b360c8cf461a6b7b0a89bbf6fa72c0819651b5fedf42fc142c5b5b3a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release files / retropath2_wrapper-1.1.0-py3-none-any.whl

Download URL retropath2_wrapper-1.1.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4c0aceae64b1c86dfae696341d38807536a2455368d549ba55a39696180af2bd
BLAKE2b-256 checksum
How to use checksums
8a60c57d09deff4ca65483dd1f82089f1852edf4f8f3673e06c6ef6f610c7349
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Security for retropath2-wrapper 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page