Skip to content

Commit

Permalink
Build files
Browse files Browse the repository at this point in the history
  • Loading branch information
tamascogustavo committed Jun 29, 2022
1 parent 250f332 commit 47c0741
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 4 deletions.
Binary file added dist/ChiMera-ModelBuilder-2.0.2.tar.gz
Binary file not shown.
Binary file not shown.
63 changes: 59 additions & 4 deletions src/ChiMera_ModelBuilder.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: ChiMera-ModelBuilder
Version: 2.0.1
Version: 2.0.2
Summary: ChiMera: An easy-to-use pipeline for Genome-based Metabolic Network reconstruction, evaluation, and visualization.
Home-page: https://github.com/tamascogustavo/chimera
Author: Tamasco Gustavo
Expand Down Expand Up @@ -41,10 +41,20 @@ All of that is obtained through automation and connection of the most used tools


### Installation
To install Chimera you can just check [CHiMera pip instruction](https://pypi.org/project/ChiMera-ModelBuilder/)

Verify if you have anaconda installed in your machine. The tool can be downloaded [here](https://www.anaconda.com/products/individual).
```
pip install ChiMera-ModelBuilder
```
This will prompt where the tool was installed. You can add the path to $PATH to make it callabe from anywhere in your OS.

```
export PATH=/PATH_TO_ChiMera/:$PATH
```

_OBS_: If you plan to use envs, create one with python 3.7 or 3.6. And make sure that you install cplex in the same environment.

Before installing you need to install CPLEX solver from IMB. Click [here](https://community.ibm.com/community/user/datascience/blogs/xavier-nodet1/2020/07/09/cplex-free-for-students) to access the academic license. This documentation was created with `IBM ILOG CPLEX Optimization Studio V20.10`.
You also need to install CPLEX solver from IMB. Click [here](https://community.ibm.com/community/user/datascience/blogs/xavier-nodet1/2020/07/09/cplex-free-for-students) to access the academic license. This documentation was created with `IBM ILOG CPLEX Optimization Studio V20.10`.

After download, follow the required system installation. For Linux, make sure to export your installation path

Expand Down Expand Up @@ -76,11 +86,14 @@ python setup.py build -b /home_directory/
Or, you can follow [this tutorial](https://askubuntu.com/questions/263450/folders-showing-lock-icon).



### To add new media for model creation:

You can check the input_examples folder to see how to build your new_media.tsv. The ids must be BiGG Ids.

```
python chimera_core.py core --organism input_examples/faa_file/e_coli_test.faa --type gramneg --mediadb <new_media.tsv> --media <new_media_id>
```

__If fail happens__:

Failed to gapfill model for medium <your_added_media> means there is no possible solution to make the organism grow on that medium.
Expand Down Expand Up @@ -178,6 +191,48 @@ For instructions on how to do that, check the [tutorial](https://youtu.be/M7SNCn

+ The silencing module will print to terminal the result of the knockout, only when performing knockout of all reactions in the model, a reactions_essentiality.csv will be generated

## All comand options

# Core
```
usage: chimera_core.py core [-h] --organism ORGANISM --type TYPE --media MEDIA
[--mediadb MEDIADB]

optional arguments:
-h, --help show this help message and exit
--organism ORGANISM path to the *.faa file
--type TYPE type of organism, options are gramneg, grampos,
bacteria
--media MEDIA Growth media ID
--mediadb MEDIADB tsv file with a new media composition for new
experimental conditions. If provided you must pass the
media id in --media parameter.
```
# Silencing
```
usage: chimera_core.py silencing [-h] --i I --type TYPE --targets TARGETS
--faa FAA --mode MODE

optional arguments:
-h, --help show this help message and exit
--i I path to the *.sbml model file
--type TYPE type of knockout target, gene or reaction
--targets TARGETS path to csv file containing targets, one by line
--faa FAA path to the faa file
--mode MODE Type of knockout: single or douple or all. For double all
combinations of targets will be performed
```
# Harvest pathway

```
usage: chimera_core.py harvest_path_cytoscape [-h] --table TABLE --model MODEL

optional arguments:
-h, --help show this help message and exit
--table TABLE Path to reactions.edges.tsv file inside psam_* folder
--model MODEL path to sbml model file
```

## LICENSE

The Chimera source is released under both the GPL and LGPL licenses version 3 or later. You may choose which license you choose to use the software under.
Expand Down
1 change: 1 addition & 0 deletions src/ChiMera_ModelBuilder.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ LICENSE
README.md
pyproject.toml
setup.cfg
setup.py
src/ChiMera/__init__.py
src/ChiMera/chimera_core.py
src/ChiMera/dependencies/__init__.py
Expand Down

0 comments on commit 47c0741

Please sign in to comment.