-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sample_data info to biom file #20
Comments
i think the metadata file needs to be in TSV format, where the sample ID is the same (match by sample ID). not sure if this helps..? |
Hi. I am also facing this challenge. I used the option -m or --metadata to add relevant metadata to generate a biom file having the 'sample_table' together with the otu_table and tax_table. It seems like the script (kraken_biom.py) does not accept my metadata.tsv file. I see this error each time:
I tried to add hash (#) to the header. That didn't work. I tried removing the header. That didn't work either. The id column in my metadata file matches the names of the kraken report files. So, I don't believe that the sample ID is the issue in my case. @Ptero64, were you able to solve the issue? Thanks in advance for the help. Regards, Ayorinde |
Dear @ayoraind, Hope you're doing OK. However, I add metadada using
Hope this help anyone out there. Cheers, |
Many thanks, @MaryoHg. It helps! |
Hello,
I am using kraken-biom script to convert kraken2 report files to a biom file to run in phyloseq R. I managed to produce a unique biom file from 90 kraken reports, but when after using import_biom form phyloseq package I have a phylose-class object with only otu_table and tax_table, no sample_table.
How can we add the sample_table to the biom files? I tried using also biom add-metadata with a text file with ID and some group info, but it seems to doesn't work.
Thanks in advance for the help
regards
Nicolas
The text was updated successfully, but these errors were encountered: