Error in sbmlimport - Conversion from SBML/XML to stochiometric matrix

I am using sbmlimport function to convert KEGG pathway SBML (KGML) file into stochiometric matrix. It has .xml extension, but getting this error -- Error using SimBiology.SBMLReadWrite/sbmlread. A fatal error occurred reading in this file. Error in privatesbmlio (line 26). Error in sbmlimport (line 62) ret = privatesbmlio('read',nargout,{fullfilename, varargin});

3 commentaires

I have 3 questions:
  1. Which MATLAB release are you using?
  2. Does the example from the documentation sbmlobj = sbmlimport('oscillator.xml'); work?
  3. Can you post an example which causes the error here?
Namrata Tomar
Namrata Tomar le 24 Juin 2015
Modifié(e) : Walter Roberson le 18 Août 2015
Hello,
  1. I am using Matlab 2014a.
  2. example, m = sbmlimport('lotka.xml'); [M,objSpecies,objReactions] = getstoichmatrix(m1); is working but not for my Kegg Pathway.
  3. I downloaded a kegg pathway- http://www.genome.jp/kegg-bin/show_pathway?map=hsa05230&show_description=show. Code is m = sbmlimport('hsa.xml') but it is giving error.
Can you post your file hsa.xml here?

Connectez-vous pour commenter.

Réponses (1)

Hi Namrata,
The files from KEGG are not in the SBML format but in the KGML format (see KGML specification information ). SimBiology cannot read in KGML files. There are however tools available on the internet, for example this tool which allow the conversion of KGML files into the SBML format.

1 commentaire

Thanks .. Can you please let me know how to use it - I have downloaded kgtrans.jnlp. Now how should I proceed?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Biotech and Pharmaceutical dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by