{"id":37610885,"url":"https://github.com/brsynth/rpvisualiser","last_synced_at":"2026-01-16T10:20:40.878Z","repository":{"id":109125267,"uuid":"271489982","full_name":"brsynth/rpVisualiser","owner":"brsynth","description":"Metabolic engineering visualizer","archived":false,"fork":false,"pushed_at":"2020-06-11T10:09:07.000Z","size":586,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-09T20:14:13.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brsynth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-11T08:14:23.000Z","updated_at":"2022-05-19T15:57:13.000Z","dependencies_parsed_at":"2023-06-14T21:30:27.893Z","dependency_job_id":null,"html_url":"https://github.com/brsynth/rpVisualiser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brsynth/rpVisualiser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsynth%2FrpVisualiser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsynth%2FrpVisualiser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsynth%2FrpVisualiser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsynth%2FrpVisualiser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brsynth","download_url":"https://codeload.github.com/brsynth/rpVisualiser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brsynth%2FrpVisualiser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-16T10:20:40.147Z","updated_at":"2026-01-16T10:20:40.865Z","avatar_url":"https://github.com/brsynth.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rpviz\nMetabolic engineering visualizer\n\ncsv_network.py : To read information from a csv file\nsbml2list.py : To read information from a sbml file\n\nsmile2picture.py : To convert SMILES into svg image\n\nnetwork2json.py : To convert the network in a json file\n\n## 1 html/pathway\npy2html : To create an html file from a json file, using a template (in html/template.html) with jinja2 and to use it with\n\n## 1 html updated for each pathway\npy2html2 : 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\n\nnxvisualizer.py : To open the network directly in Cytoscape\n\n\n\n\n\n# Retropath2.0 wrapper\n\n\nImplementation 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.\n\n## Standalone\n\n### Prerequisites\n\n* Python 3\n\n### Quick start\nThe main code is `src/RetroPath2.py` and can be run as the following:\n```\npython src/RetroPath2.py \\\n  -sinkfile \u003csink_file\u003e \\\n  -sourcefile \u003csource_file\u003e \\\n  -max_steps 3 \\\n  -rulesfile \u003crules_file\u003e \\\n  -topx 100 \\\n  -dmin 0 \\\n  -dmax 1000 \\\n  -mwmax_source 1000 \\\n  -mwmax_cof 1000 \\\n  -timeout 30 \\\n  -outdir \u003coutdir_folder\u003e \\\n  -is_forward False\n```\n\n\n## Docker\n\nRetroPath2 can be run into a docker container.\n\n### Prerequisites\n\n* Docker - [Install](https://docs.docker.com/install/)\n\n### Installation\nBefore running the container, the image has to be built with:\n```\ncd docker\ndocker-compose build\n```\n\n### Run\nThen, the tool is runnable by:\n```\ncd docker\n./RetroPath2.sh\n  -sinkfile \u003csink_file\u003e \\\n  -sourcefile \u003csource_file\u003e \\\n  -max_steps 3 \\\n  -rulesfile \u003crules_file\u003e \\\n  -topx 100 \\\n  -dmin 0 \\\n  -dmax 1000 \\\n  -mwmax_source 1000 \\\n  -mwmax_cof 1000 \\\n  -timeout 30 \\\n  -outdir \u003coutdir_folder\u003e \\\n  -is_forward False\n```\n\nTo call the tool with fresh code:\n```\ndocker-compose run --rm -v \u003cabsolutepath_to_src\u003e:/home/src retropath2\n```\n\nTo call the tool from any location:\n```\ncd docker\ndocker-compose run --rm \\\n    -v \u003cpath/to/source.csv\u003e:/home/source.csv:ro \\\n    -v \u003cpath/to/sink.csv\u003e:/home/sink.csv:ro \\\n    -v \u003cpath/to/rules.csv\u003e:/home/rules.csv:ro \\\n    -v \u003cpath/to/output_folder\u003e:/home/outdir \\\n    -w /home \\\n    retropath2 python src/RetroPath2.py \\\n        -sinkfile \u003csink_file\u003e \\\n        -sourcefile \u003csource_file\u003e \\\n        -max_steps 3 \\\n        -rulesfile \u003crules_file\u003e \\\n        -topx 100 \\\n        -dmin 0 \\\n        -dmax 1000 \\\n        -mwmax_source 1000 \\\n        -mwmax_cof 1000 \\\n        -timeout 30 \\\n        -outdir \u003coutdir_folder\u003e \\\n        -is_forward False\n```\n\n## Test\nAll modes can be tested with:\n```\ncd test\n./run[-in-docker].sh\n```\n\n\n\n\n### How to cite RetroPath2.0?\nPlease cite:\n\nDelé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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrsynth%2Frpvisualiser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrsynth%2Frpvisualiser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrsynth%2Frpvisualiser/lists"}