https://github.com/brsynth/rpvisualiser

Metabolic engineering visualizer

https://github.com/brsynth/rpvisualiser

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Metabolic engineering visualizer

Basic Info
  • Host: GitHub
  • Owner: brsynth
  • License: mit
  • Language: HTML
  • Default Branch: master
  • Homepage:
  • Size: 572 KB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 6 years ago · Last pushed about 6 years ago

https://github.com/brsynth/rpVisualiser/blob/master/

# rpviz
Metabolic engineering visualizer

csv_network.py : To read information from a csv file
sbml2list.py : To read information from a sbml file

smile2picture.py : To convert SMILES into svg image

network2json.py : To convert the network in a json file

## 1 html/pathway
py2html : To create an html file from a json file, using a template (in html/template.html) with jinja2 and to use it with

## 1 html updated for each pathway
py2html2 : To create a .js file with the json file and to open it with the template2 (in html/template2.html) and the network_viewer.js

nxvisualizer.py : To open the network directly in Cytoscape





# Retropath2.0 wrapper


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.

## Standalone

### Prerequisites

* Python 3

### Quick start
The main code is `src/RetroPath2.py` and can be run as the following:
```
python src/RetroPath2.py \
  -sinkfile  \
  -sourcefile  \
  -max_steps 3 \
  -rulesfile  \
  -topx 100 \
  -dmin 0 \
  -dmax 1000 \
  -mwmax_source 1000 \
  -mwmax_cof 1000 \
  -timeout 30 \
  -outdir  \
  -is_forward False
```


## Docker

RetroPath2 can be run into a docker container.

### Prerequisites

* Docker - [Install](https://docs.docker.com/install/)

### Installation
Before running the container, the image has to be built with:
```
cd docker
docker-compose build
```

### Run
Then, the tool is runnable by:
```
cd docker
./RetroPath2.sh
  -sinkfile  \
  -sourcefile  \
  -max_steps 3 \
  -rulesfile  \
  -topx 100 \
  -dmin 0 \
  -dmax 1000 \
  -mwmax_source 1000 \
  -mwmax_cof 1000 \
  -timeout 30 \
  -outdir  \
  -is_forward False
```

To call the tool with fresh code:
```
docker-compose run --rm -v :/home/src retropath2
```

To call the tool from any location:
```
cd docker
docker-compose run --rm \
    -v :/home/source.csv:ro \
    -v :/home/sink.csv:ro \
    -v :/home/rules.csv:ro \
    -v :/home/outdir \
    -w /home \
    retropath2 python src/RetroPath2.py \
        -sinkfile  \
        -sourcefile  \
        -max_steps 3 \
        -rulesfile  \
        -topx 100 \
        -dmin 0 \
        -dmax 1000 \
        -mwmax_source 1000 \
        -mwmax_cof 1000 \
        -timeout 30 \
        -outdir  \
        -is_forward False
```

## Test
All modes can be tested with:
```
cd test
./run[-in-docker].sh
```




### How to cite RetroPath2.0?
Please cite:

Delpine 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

Owner

  • Name: BioRetroSynth
  • Login: brsynth
  • Kind: organization

Our group is interested in synthetic biology and systems metabolic engineering in whole-cell and cell-free systems.

GitHub Events

Total
Last Year

Dependencies

docker/Dockerfile docker
  • ${IMAGE} latest build
docker/docker-compose.yml docker
  • brsynth/${COMPOSE_PROJECT_NAME} latest
  • brsynth/${COMPOSE_PROJECT_NAME}.req latest
requirements.in pypi
  • beautifulsoup4 *
  • cirpy *
  • lxml *
  • matplotlib *
  • networkx *
  • opencv-python *
  • pubchempy *
requirements.txt pypi
  • beautifulsoup4 ==4.9.1
  • cirpy ==1.0.2
  • cycler ==0.10.0
  • decorator ==4.4.2
  • kiwisolver ==1.2.0
  • lxml ==4.5.1
  • matplotlib ==3.2.1
  • networkx ==2.4
  • numpy ==1.18.5
  • opencv-python ==4.2.0.34
  • pubchempy ==1.0.4
  • pyparsing ==2.4.7
  • python-dateutil ==2.8.1
  • six ==1.15.0
  • soupsieve ==2.0.1