Convert CobraToolbox model to cna

58 views
Skip to first unread message

Faezeh Zalpour

unread,
Mar 3, 2023, 12:00:35 PM3/3/23
to CellNetAnalyzer User Forum
Hi,
I have the metabolic network for Thraustochytrid strain used as an xml-file . Please advise on converting the CobraToolbox model format to a readable format for CellNetAnalyzer.
Thanks.
Faezeh

axel

unread,
Mar 6, 2023, 3:56:56 AM3/6/23
to CellNetAnalyzer User Forum
Hi,

you can use CNAcobra2cna function for this. It takes a COBRA model struct as input and returns a CNA struct as output.

Best regards
Axel

axel

unread,
Mar 6, 2023, 4:02:59 AM3/6/23
to CellNetAnalyzer User Forum
Hi,

my post before assumes that you already have a COBRA model struct by importing the XML file (which I assume is SBML format). If you have not done this you can also read the SBML file in CNA with the CNAsbmlModel2MFNetwork function which takes the filename as parameter and returns a CNA struct.

Best regards
Axel

faezez...@gmail.com schrieb am Freitag, 3. März 2023 um 18:00:35 UTC+1:

Faezeh Zalpour

unread,
Mar 6, 2023, 5:35:24 AM3/6/23
to CellNetAnalyzer User Forum
Dear Axel
I did all these things and got an error. If possible, tell me the step by step.
Best regards 
Faezeh

axel

unread,
Mar 6, 2023, 6:28:32 AM3/6/23
to CellNetAnalyzer User Forum
Dear  Faezeh,

can you copy & paste the console output of the commands you ran and the resulting error?

-Axel

Faezeh Zalpour

unread,
Mar 7, 2023, 12:35:37 AM3/7/23
to CellNetAnalyzer User Forum
Dear Axel,

I have the SBML format but I don't know how to get the input and output data.


Best,
Faezeh
Reply all
Reply to author
Forward
0 new messages