https://github.com/brsynth/rxn_rebuild
Rebuild full reaction from reaction rule
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.9%) to scientific vocabulary
Repository
Rebuild full reaction from reaction rule
Basic Info
- Host: GitHub
- Owner: brsynth
- License: mit
- Language: Python
- Default Branch: master
- Size: 195 KB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 14
Metadata Files
README.md
rxn_rebuild
Rebuild full reaction from reaction rule
| Name | Downloads | Version | Platforms |
| --- | --- | --- | --- |
| |
|
|
|
Description
rxn_rebuild provides a cache for RetroRules and MetaNetX compounds and reactions
rxn_rebuild
Rebuild full reaction from a reaction rule ID and a chemical transformation by adding co-factors removed when the rule has been generated. The algorithm proceeds to the following: - seeks for the reaction(s) rule(s) of the given reaction rule ID, in the cache - for each reaction rule - seeks for the template reaction of the given reaction rule ID, in the cache - find compounds to add by doing the difference between the template reaction and the reaction rule
Input
- reaction rule ID
- chemical transfomation as SMILES (xxx.xxx>>xxx.xxx) or IDs (CMPDID1 + CMPDID2 = CMPDID3)
- (Optional) template reaction ID
Output
- Prints out the full completed transformation
- Returns a dictionary with the following keys:
- 'full_transfo': completed transformation (SMILES or IDs)
- 'added_cmpds': sub-dictionary of compounds to add to the transformation with:
- keys: IDs
- values: infos (SMILES, InChI, InChIKey, formula, name)
Install
The conda package manager is required. Fresh instructions on how to install conda are available online.
shell
conda install -c conda-forge rxn_rebuild
Run
rxn_rebuild process
From CLI
sh
python -m rxn_rebuild <rxn_rule_id> <transfo> [<ori_rxn_id>]
From Python code
```python
from rxnrebuild import rebuildrxn, buildargsparser
parser = buildargsparser() args = parser.parse_args()
completedtransfos = rebuildrxn(
rxnruleid=args.rxnruleid,
transfo=args.transsmi,
tmplrxnid=args.orirxnid
)
``
Ifcacheis not provided, it ill be automatically loaded withinrebuildrxn` function but it could be much slower if called inside a loop.
Tests
Test can be run with the following commands:
Natively
bash
cd tests
pytest -v
CI/CD
For further tests and development tools, a CI toolkit is provided in ci folder (see ci/README.md).
Owner
- Name: BioRetroSynth
- Login: brsynth
- Kind: organization
- Website: http://www.jfaulon.com
- Repositories: 33
- Profile: https://github.com/brsynth
Our group is interested in synthetic biology and systems metabolic engineering in whole-cell and cell-free systems.
GitHub Events
Total
- Release event: 1
- Push event: 8
- Create event: 1
Last Year
- Release event: 1
- Push event: 8
- Create event: 1
Committers
Last synced: about 3 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| breakthewall | j****n@u****r | 58 |
Committer Domains (Top 20 + Academic)
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 2
- Total dependent repositories: 2
- Total versions: 3
conda-forge.org: rxn_rebuild
- Homepage: https://github.com/brsynth/rxn_rebuild
- License: MIT
-
Latest release: 3.0.3
published over 4 years ago
Rankings
Dependencies
- actions/checkout v2 composite
- docker://continuumio/miniconda3 * composite
- actions/checkout v2 composite
- actions/create-release v1 composite
- actions/download-artifact v4 composite
- actions/upload-artifact v4 composite
- ad-m/github-push-action master composite
- conda-incubator/setup-miniconda v2 composite
- mathieudutour/github-tag-action v5.6 composite
- ruby/setup-ruby v1 composite
- actions/checkout v2 composite
- conda-incubator/setup-miniconda v2 composite