Python Forum
How to extract a matrix from .xml.gz file to a excel file or any other output? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: How to extract a matrix from .xml.gz file to a excel file or any other output? (/thread-21929.html)



How to extract a matrix from .xml.gz file to a excel file or any other output? - enyrb - Oct-21-2019

Hello,

I have a .xml.gz file that contains a full matrix. I want to
visualize the whole matrix and save it as xml file or any other output
where I could see all the column and rows. Is there any easy way for me to do that?

So far I know how to read the file using:


 
X= File Location
model= cobra.io.read_sbml_model(X)
However, I want to be able to see the whole matrix.
Thanks!