Skip to content

Question about adata_st.uns['transcripts'] format #7

@MarleneLi

Description

@MarleneLi

Hi, thank you for developing such a helpful tool! I tried to follow your tutorial but encountered some problems with adata_st.uns['spatial'].

According to the official 10x Genomics Xenium documentation, the transcripts.parquet file has the format shown in the attached screenshot (Fig. 1). However, in your tutorial, adata_st.uns['transcripts'] uses a different column set and naming convention — specifically ['gene', 'uID', 'absX', 'absY'].

I’m trying to understand the mapping between these two formats:

  • Should uID correspond to transcript_id or cell_id from the Xenium file?
  • I initially set uID to transcript_id, but this caused an error.
  • In my dataset, all cell_id values are "UNASSIGNED" (see Fig. 2). How should this case be handled when preparing adata_st.uns['transcripts']?

Any clarification on the conversion process from the official Xenium transcript format to the tutorial’s expected format would be very helpful.

Thanks!

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions