<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://benheavner.com/systemsbio/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://benheavner.com/systemsbio/index.php?title=Special:RecentChanges&amp;feed=atom</id>
		<title>Symbiopedia  - Recent changes [en]</title>
		<link rel="self" type="application/atom+xml" href="http://benheavner.com/systemsbio/index.php?title=Special:RecentChanges&amp;feed=atom"/>
		<link rel="alternate" type="text/html" href="http://benheavner.com/systemsbio/index.php?title=Special:RecentChanges"/>
		<updated>2010-09-08T04:23:17Z</updated>
		<subtitle>Track the most recent changes to the wiki in this feed.</subtitle>
		<generator>MediaWiki 1.15.1</generator>

	<entry>
		<id>http://benheavner.com/systemsbio/index.php?title=Installing_COBRA_toolbox_for_MATLAB&amp;diff=258&amp;oldid=prev</id>
		<title>Installing COBRA toolbox for MATLAB</title>
		<link rel="alternate" type="text/html" href="http://benheavner.com/systemsbio/index.php?title=Installing_COBRA_toolbox_for_MATLAB&amp;diff=258&amp;oldid=prev"/>
				<updated>2010-09-01T14:03:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;COBRA with SBML Toolbox v2::&amp;#32;&lt;/span&gt; &lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:03, 1 September 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan='4' align='center' class='diff-multi'&gt;(One intermediate revision not shown)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== SBML Toolbox download and installation==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== SBML Toolbox download and installation==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The COBRA Toolbox is not fully compatible with version 3 of the SBML Toolbox. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;We have been able &lt;/del&gt;to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;use it &lt;/del&gt;with &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;either &lt;/del&gt;version 2 (described&amp;nbsp; [http://benheavner.com/systemsbio/index.php?title=Installing_COBRA_toolbox_for_MATLAB&amp;amp;action=submit#COBRA_with_SBML_Toolbox_v2: here]) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;or &lt;/del&gt;version 3.1.2 (described [http://benheavner.com/systemsbio/index.php?title=Installing_COBRA_toolbox_for_MATLAB&amp;amp;action=submit#COBRA_with_SBML_Toolbox_v3.1.2: here])&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The COBRA Toolbox is not fully compatible with version 3 of the SBML Toolbox. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Specifically, the functions relating &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;reading and writing SBML depend upon a certain data structure produced by the SBML Toolbox. This structure changed between versions 2 and 3 of the SBML Toolbox.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The COBRA Toolbox is fully compatible &lt;/ins&gt;with &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SBML Toolbox &lt;/ins&gt;version 2 (described&amp;nbsp; [http://benheavner.com/systemsbio/index.php?title=Installing_COBRA_toolbox_for_MATLAB&amp;amp;action=submit#COBRA_with_SBML_Toolbox_v2: here])&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, but cannot import models in newer versions of SBML.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;If you modify the necessary functions for converting the data structure from new versions of the SBML Toolbox, the COBRA Toolbox can also be used with &lt;/ins&gt;version 3.1.2 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of the SBML Toolbox &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;installation is &lt;/ins&gt;described [http://benheavner.com/systemsbio/index.php?title=Installing_COBRA_toolbox_for_MATLAB&amp;amp;action=submit#COBRA_with_SBML_Toolbox_v3.1.2: here])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== COBRA with SBML Toolbox v2: ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== COBRA with SBML Toolbox v2: ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SBML Toolbox Version 2 (including 2.0.2) is now old, but it's compatible with the COBRA toolbox. Since it's old, it doesn't read and write the latest versions of SBML. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Therefore&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''using &lt;/del&gt;Version 3.1.2 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is recommended'''&lt;/del&gt;. See the [http://sbml.org/Software/SBMLToolbox SBML Toolbox website] for more information about the SBML toolbox's functionality.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SBML Toolbox Version 2 (including 2.0.2) is now old, but it's compatible with the COBRA toolbox. Since it's old, it doesn't read and write the latest versions of SBML. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;You need to either save newer models in an old version of SBML (possibly losing information in the process)&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;or modify portions of the COBRA toolbox to allow the use &lt;/ins&gt;Version 3.1.2. See the [http://sbml.org/Software/SBMLToolbox SBML Toolbox website] for more information about the SBML toolbox's functionality.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Download '''version 2.0.2''' of the SBML Toolbox. The file you want is called &amp;quot;[http://sourceforge.net/projects/sbml/files/SBMLToolbox/2.0.2/SBMLToolbox-2.0.2-setup-win32.exe/download SBMLToolbox-2.0.2-setup-win32.exe]&amp;quot;. If you download from [http://sourceforge.net/project/showfiles.php?group_id=71971&amp;amp;package_id=129013 Sourceforge], be sure to scroll down to get version 2.0.2, '''not''' version 3.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Download '''version 2.0.2''' of the SBML Toolbox. The file you want is called &amp;quot;[http://sourceforge.net/projects/sbml/files/SBMLToolbox/2.0.2/SBMLToolbox-2.0.2-setup-win32.exe/download SBMLToolbox-2.0.2-setup-win32.exe]&amp;quot;. If you download from [http://sourceforge.net/project/showfiles.php?group_id=71971&amp;amp;package_id=129013 Sourceforge], be sure to scroll down to get version 2.0.2, '''not''' version 3.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Double click the installer that you downloaded. By default, this will install the Toolbox to C:\Program Files\SBML\SBMLToolbox-2.0.2 This default is okay.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#Double click the installer that you downloaded. By default, this will install the Toolbox to C:\Program Files\SBML\SBMLToolbox-2.0.2 This default is okay.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# Do not install the libsbml libraries to the system path. Leave the &amp;quot;Write libsbml libraries to 'C:\WINDOWS\system32'&amp;quot; box '''unchecked'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# Do not install the libsbml libraries to the system path. Leave the &amp;quot;Write libsbml libraries to 'C:\WINDOWS\system32'&amp;quot; box '''unchecked'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# After &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;th[http://www.example.com link title]e &lt;/del&gt;install wizard finishes, in Matlab, navigate to C:\Program Files\SBML\SBMLToolbox-2.0.2\toolbox&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# After &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;install wizard finishes, in Matlab, navigate to C:\Program Files\SBML\SBMLToolbox-2.0.2\toolbox&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# Add the SBML Toolbox to your Matlab PATH variable by typing &amp;quot;install&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# Add the SBML Toolbox to your Matlab PATH variable by typing &amp;quot;install&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# Matlab will give you a warning that future versions will not work with .dll files. This is okay.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# Matlab will give you a warning that future versions will not work with .dll files. This is okay.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== COBRA with SBML Toolbox v3.1.2: ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== COBRA with SBML Toolbox v3.1.2: ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SBML Toolbox Version 3.1.2 is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(mostly) &lt;/del&gt;compatible with the COBRA toolbox. As distributed, the COBRA Toolbox &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;function &lt;/del&gt;&amp;quot;writeCbModel&amp;quot; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;fails testing&lt;/del&gt;. You'll need to do some recoding to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;fix &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;problem&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;I haven't worked through &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;issue to troubleshoot it yet&lt;/del&gt;. &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SBML Toolbox Version 3.1.2 is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;not &lt;/ins&gt;compatible &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;with reading and writing SBML files for use &lt;/ins&gt;with the COBRA toolbox. As distributed, the COBRA Toolbox &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;functions &amp;quot;readCbModel&amp;quot; and &lt;/ins&gt;&amp;quot;writeCbModel&amp;quot; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;do not work&lt;/ins&gt;. You'll need to do some recoding to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;translate from &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SBML Toolbox data structure to the one expected by the COBRA Toolbox&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;However, &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;payoff for this effort is that you can use the COBRA Toolbox with newer models, such as the [http://www.comp-sys-bio.org/yeastnet/ Yeastnet Consensus Reconstruction]&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# The SBML Toolbox Version 3.1.2 requires that you install libsbml version 4.0.1 (or version 4.1.0) with matlab bindings first (SBML Toolbox Version 2.0.2 installs libSBML as part of the automated install procedure).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# The SBML Toolbox Version 3.1.2 requires that you install libsbml version 4.0.1 (or version 4.1.0) with matlab bindings first (SBML Toolbox Version 2.0.2 installs libSBML as part of the automated install procedure).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2010-09-08 04:23:17 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ben</name></author>	</entry>

	</feed>