Closed mirulee closed 11 months ago
but some entries are missing in the metadata display. I have verified and corrected both the sample names and the metadata entries, but the issue persists.
Are you able to produce a small tree (you can create it manually, the tree shape's not important) with some samples for which the metadata is not appearing (and for some samples for which it is ok), together with a metadata file for just those samples? If you can share that data here I can try to work out what's going on
Thanks! The missing data is due to the taxa names having a trailing space in the metadata file, e.g. "X"
in the tree has a trailing space in the metadata file "X "
. Removing the trailing spaces of the example data fixes the issue for me.
(Closing this as the underlying data files had strain names which didn't match. Please re-open if this doesn't fix the issue for you!)
Thanks! The missing data is due to the taxa names having a trailing space in the metadata file, e.g.
"INU030"
in the tree has a trailing space in the metadata file"INU030 "
. Removing the trailing spaces of the example data gives the following:
I hadn’t even thought about the spacebar. Thank you so much. Also, I would appreciate it if you could take down the post related to the sample names. Since it's our data, it could potentially be a sensitive matter.
I used Roary to generate the core_gene_alignment.aln.treefile.newick and gene_presence_absence.csv files. I added metadata.csv to visualize the data, but some entries are missing in the metadata display. I have verified and corrected both the sample names and the metadata entries, but the issue persists. Can you please help me resolve this problem?