Skip to content

Handling of case-variant column names in CosMx data #393

Description

@SFD5311

When reading in CosMx data, the metadata file read in to create the obs attribute of the anndata object that becomes the table of the SpatialData object can include both a "cell_id" column and a "cell_ID" column (with different values). This causes the column name sanitization routine in validation to throw an error during SpatialData object creation in the CosMx reader. One way of handling this is to rename the "cell_id" column, which allows the table to validate and the SpatialData object to instantiate.

I have a branch of a fork of this repo that has this behavior implemented and can submit a pull request unless another solution is preferred.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions