TrinhLab / ctherm-gem

MIT License
2 stars 2 forks source link

cthermgem-dev

This repository contains all code and data used to develop and analyze the iCBI655 genome scale model of C. thermocellum DSM1313.

If you use any part of this software please cite:

 Development of a genome-scale metabolic model of Clostridium thermocellum and its applications for integration of multi-omics datasets and strain design.
 Garcia, S.,Thompson, R.A., Giannone, R., Dash, S., Maranas, C., and Trinh, C. T. 
 In preparation.

Directory description

Models:

Data:

Other:

Executing the code

The recomended approach is to use a python virtual environment:

# Install virtualenv in your system
virtualenv  ~/myenvs/cthermgem
source ~/myenvs/cthermgem/bin/activate
pip install -r requirements.txt

To run the environment in jupyter notebooks you must install the kernel. From within the cthermgem environment run:

pip install ipykernel # Already included in the requirements.txt
ipython kernel install --user --name=cthermgem

If you still experience issues with the Jupter kernel run:

python -m ipykernel install --user --name=cthermgem

To ensure that scripts can import modules from this project it needs to be added to the PYTHONPATH environment variable, e.g. in unix-derived OSs; export PYTHONPATH=$(pwd) from the project root directory. Alternatively, within python you can do import sys then sys.path.insert(0,'/path/to/project/root'), relative paths can also be used in that case , e.g. '../..' if the files is two directories below the root directory.

Notes/troubleshooting