Skip to content
Discussion options

You must be logged in to vote

Understood. For your Excel file make sure that you have the following column names in your table: id, file, abundance, sample_id. There should be 3 rows (excluding headers) that contain the following information:

  • id: A name for the model that should not contain spaces.
  • file: The path to the model file (*.xml file)
  • abundance: The abundance of that organism in the sample. If you want each organism in the same abundance enter 1 here for each row.
  • sample_id: It sounds you are only simulating a single sample so but the same name here for each row, for instance, "sample 1".

Now open a python session or a notebook and run the following:

import pandas as pd

table = pd.read_excel("[MY EXCEL FIL…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Satyajitbeura
Comment options

@cdiener
Comment options

Answer selected by cdiener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants