Python Forum
How to extract a matrix from .xml.gz file to a excel file or any other output?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to extract a matrix from .xml.gz file to a excel file or any other output?
#1
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!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to write variable in a python file then import it in another python file? tatahuft 4 866 Jan-01-2025, 12:18 AM
Last Post: Skaperen
  JSON File - extract only the data in a nested array for CSV file shwfgd 2 1,023 Aug-26-2024, 10:14 PM
Last Post: shwfgd
  FileNotFoundError: [Errno 2] No such file or directory although the file exists Arnibandyo 0 822 Aug-12-2024, 09:11 AM
Last Post: Arnibandyo
  Extract and rename a file from an Archive tester_V 4 3,500 Jul-08-2024, 07:54 AM
Last Post: tester_V
  docx file to pandas dataframe/excel iitip92 1 2,389 Jun-27-2024, 05:28 AM
Last Post: Pedroski55
  "[Errno 2] No such file or directory" (.py file) IbrahimBennani 13 6,152 Jun-17-2024, 12:26 AM
Last Post: AdamHensley
  Can rich.logging output to file? pyfoo 1 2,093 Mar-21-2024, 10:30 AM
Last Post: pyfoo
  Python openyxl not updating Excel file MrBean12 1 1,943 Mar-03-2024, 12:16 AM
Last Post: MrBean12
  Copy Paste excel files based on the first letters of the file name Viento 2 1,511 Feb-07-2024, 12:24 PM
Last Post: Viento
  file open "file not found error" shanoger 8 6,034 Dec-14-2023, 08:03 AM
Last Post: shanoger

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020