pjmramond/HOTMIX
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
################################ # Metabolic Modeling with HOTMIX ################################ #A. CPLEX solver install 1) create academic account on: https://www.ibm.com/account/us-en/ 2) download CPLEX: https://www-40.ibm.com/isc/esd/dswdown/home?ticket=Xa.2%2FXb.Z7LJBh8BR1xZKBUREBK4pX0L%2FXc.%2FXd.%2FXf.%2FXg.12765450%2FXi.%2FXY.scholars%2FXZ.ojLxuxTgUJtAYO9XXRvYkI7GO1DIDe5F&partNumber=G0798ML 3) Install once downloaded #B. Conda environment with all tools for metabolic models 1) conda create --name carveme 2) conda activate carveme 3) pip install carveme 4) conda install -c bioconda diamond 5) conda install python=3.10 6) cd Applications/CPLEX_Studio2211/python 7) python setup.py install 7A) [look for install path and change] export PATH=$PATH:/home/username/CPLEX_Studio129/cplex/bin/x86-64_linux 8) pip install smetana (conda deactivate) # C. Run CARVEME for all the MAGs 1) copy all MAGs predicted proteins files (*.faa) to a local dir (HOTMIX) 2) Run the following commands in a tmux session: cd Desktop/HOTMIX mkdir model_mag conda activate carveme for i in `ls 14_metabolic_modeling/*.faa` do mag=`echo $i | sed 's:14_metabolic_modeling/::'| sed 's/.faa//'` carve ${i} -o model_mag/${mag}.xml echo $mag done Comments on carveme: carveme builds a metabolic model (.xml file) prediction of all genomes based on their predicted proteins (.faa file + generated .tsv file). It allows to predict the uptake and secretion capabilities of an organism only from genetic evidence and will produce a simulation-ready model without gap-filling for any particular media. It is also possible to "enforce" the presence of a metabolic route in a genome, this can be useful in the case we are working with incomplete genomes for which we know that they can grow on a specific media but the pathway seems incomplete. This is called gap filling (examples provided include pathways for growth on M9, or LB media). The full list of media can be found there: https://github.com/cdanielmachado/carveme/blob/master/carveme/data/input/media_db.tsv