Code covered by the BSD License  

Highlights from
MetaboNetworks

Be the first to rate this file! 30 Downloads (last 30 days) File Size: 984 KB File ID: #42684 Version: 1.4
image thumbnail

MetaboNetworks

by

 

18 Jul 2013 (Updated )

A toolbox to interactively create, customize and explore multi-systemic metabolic reaction networks

| Watch this File

File Information
Description

A Matlab-based tool to create custom sub-networks using main substrate-product pairs as defined by the Kyoto Encyclopaedia of Genes and Genomes (KEGG). It can be used to explore transgenomic interactions, for example mammalian and bacterial associations. It calculates the shortest path between a set of metabolites (e.g. biomarkers from a metabonomic study) and plots the connectivity between metabolites as links in a network graph. The resulting graph can be changed and explored interactively. Furthermore, nodes in the graph are linked to the KEGG compound webpage.
A multi-systemic example data set is provided of a supra-organism, this includes reactions that can occur in compartments of homo sapiens, firmicutes and/or bacretoidetes species. The MetaboGetworks function can be used to generate custom multi-organism databases to use in the MetaboNetworks function. (See the READ ME file)

Acknowledgements

Matlab Bgl inspired this file.

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
MATLAB Search Path
/
/Example data
Other requirements Platform dependence: none found (tested on Windows 7, Mac OSX 7.14 (Snow Leopard)) Software dependence: none found (tested on Matlab versions 2010b, 2012a, 2012b, 2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
13 May 2015 Joram Posma

Hi Xiaoqiang,

I believe we have solved your problem via email exchange. So this is for any other people encountering the same problem:

This issue has to do with the number of metabolites in KEGG, this is different in the example data (generated in Feb 2014) compared to data now. All metabolites are always included in the database/adjacency matrix (currently >17000 total). Thus creating a distance matrix results in a matrix the same size as the adjacency matrix (with a lot of metabolites at infinite distance to each other as they are unconnected). One solution is to remove all metabolites that are unconnected, e.g. using:

>> ii=full(sum(A)==0);
>> jj=ismember(C,K(ii));
>> A(ii,:)=[];
>> A(:,ii)=[];
>> K(ii)=[];
>> C(jj)=[];
>> I(jj)=[];
>> N(jj)=[];
>> [~,~,I]=unique(I);
>> save('database_new.mat','A','K','C','E','I','N');

Comment only
11 May 2015 xu xiaoqiang

it's a great work about the MetaboNetworks; but I have problems with MetaboNetworks function in matlab2014a;after I creat an database using MetaboGetworks(so far is good),I always have the same problem using the MetaboNetworks: out of memorry(I just use the human species database(616KB) and run in 4G memorry PC with 2 metabolite);however when I use example database(14505KB),it's ok!; Is any bugs in creating database using MetaboGetworks(I follow the guide line step by step)?

Comment only
17 Mar 2015 Joram Posma

Hi Marco,

I have updated the code that should resolve the error you got. It is caused by a naming ambiguity in KEGG of a newly added species.

I ran some checks and it works here in 2014a, hope it does for you as well.

Comment only
16 Mar 2015 Marco

Marco (view profile)

It's a very good tool, but I have some problems with the MetaboGetworks function.I get an error message when I run MetaboGetworks. I would be very thankful if you could consider my problem.
The rest of tool run good. I'm using the Matlab version 2014a.
Below the error message:

EDU>> MetaboGetworks

Index exceeds matrix dimensions.

Error in OrganismFindGUI>OrganismFindGUI_OpeningFcn (line 48)
orgname{k,1}=orglist{k,1}((g(1)+1):(g(2)-1));

Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in OrganismFindGUI (line 15)
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});

Error in MetaboGetworks (line 9)
orglist=OrganismFindGUI;

Comment only
22 Apr 2014 yysuccess

good

Comment only
Updates
22 Jul 2013 1.1

Removal of a parfor in the TextMatch code.

03 Sep 2013 1.2

Fixed 2 errors in subfunctions of MetaboGetworks, added function descriptions of input and output variables.

16 Sep 2013 1.3

2 new functionalities: edges linked to corresponding KEGG reaction pair web page, text edit option to change a specific string (e.g. 'hydroxy' to 'OH') for all nodes simultaneously. Search functions for selecting organisms/metabolites were updated.

17 Mar 2015 1.4

Fixed the error in OrganismFindGUI caused by a naming ambiguity in KEGG.
Added updated code for faster database generation and network layouts.

Contact us