Skip to content

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

Description

@sherlyn99

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions