Code availability for the manuscript titled "Metabolic network-based predictions of toxicant-induced metabolite changes in the laboratory rat" by Pannala et al.
Following scripts were used to generate Figures in the main text and Supplementary Fig. S1.
Inputs: processed gene expression fold changes stored in the folder Weights_apap
Outputs: volcano plot for gene expression changes
Inputs: processed metabolic flux analysis data
Outputs: bar charts for absolute flux changes
Inputs: processed metabolite fold changes reported in Suppplementary TableS3
Outputs: volcano plots for metabolite changes
Inputs: processed table of TIMBR predcitions for the metabolite changes given in the folders MFA_10h and NoMFA_10h and observed metabolite changes Mets_increased/decreased_10h_data
Outputs: heatmap showing the observed metabolite changes in the data vs. model predictions at 10 h post APAP treatment Helper functions: Timbr_10h_MFA.m and Timbr_10h_NoMFA.m are used to generate the Tables in the MFA_10h folders
Inputs: processed table of TIMBR predcitions for the metabolite changes given in the folders MFA_5h and NoMFA_5h and observed metabolite changes Mets_increased/decreased_10h_data
Outputs: heatmap showing the observed metabolite changes in the data vs. model predictions at 5 h post APAP treatment Helper functions: Timbr_5h_MFA.m and Timbr_5h_NoMFA.m are used to generate the Tables in the MFA_5h folders
Inputs: gene expression changes from the folder Weights_apap, Sleuth_table_liver_.tsv files, Supplementary_iRno_v2.xlsx and gene annotation tables from the file, Biomart_rno_ids.txt.gz
Outputs: TIMBR reaction weights
Helper functions: ncomm_helper.R
Inputs: TIMBR reaction weights, rat metabolic network in the cobra format iRno_v2.mat
Outputs: TIMBR predictions for metabolite changes
Helper functions: timbr.m and ncomm_blais_model2irrev.m
Rat genome scale metabolic model version 2 in cobra format
Rat genome scale metabolic model version 2 in SBML
R source file that defines several helper functions used in the R scripts above.
MATLAB implementation of the TIMBR (transcriptionally-inferred metabolic biomarker response) algorithm
Modified version of convertToIrreversible from the COBRA toolbox (www.github.com/opencobra/cobratoolbox) that facilitates the mapping of TIMBR reaction weights to irreversible reactions