Skip to content
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

Bacteroides vulgatus CAG:6 becomes Bacteroides.vulgatus.CAG.6 when loaded as snakemake inputs, causing error in df.loc #56

Open
sherlyn99 opened this issue Nov 30, 2023 · 1 comment

Comments

@sherlyn99
Copy link

sherlyn99 commented Nov 30, 2023

Got a KeyValueError of 'Bacteroides.vulgatus.CAG.6' at here whereas the original OTU ID in feature_table.tsv is 'Bacteroides vulgatus CAG:6'

not sure the exact reason but a quick fix is to substitute all space and :'s in the OTU IDs in feature_table.tsv to . and then convert the feature table to .biom using biom-convert

@yangchen2
Copy link
Contributor

I am encountering this pattern of errors as well. I believe it has to do with Maaslin2: https://forum.biobakery.org/t/maaslin2-changes-the-feature-names/5525 Working on a fix for this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants