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

Support Stereo-seq data #68

Open
5 tasks
berombau opened this issue Sep 6, 2022 · 1 comment
Open
5 tasks

Support Stereo-seq data #68

berombau opened this issue Sep 6, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@berombau
Copy link
Member

berombau commented Sep 6, 2022

There are some Stereo-seq datasets online (https://doi.org/10.1016/j.cell.2022.04.003 and https://db.cngb.org/stomics/mosta/download.html) that would be interesting to also process and segment.

  • create a sample dataset with a stain image and a coordinates file
  • support loading such a dataset config
  • have a working cleaning step
  • have a working segmentation step
  • have a working allocation step

The other steps should be dataset data format independent.

@berombau berombau added the enhancement New feature or request label Sep 6, 2022
@SilverViking
Copy link
Collaborator

Stereo-seq is already supported, but we may need to check if it is documented well enough.

For example, for loading the transcripts the user might need to specify specific csv reading options which might not be obvious, like this:

# kwargs specifies parameters for reading stereoseq .gem files (ultimately via pandas read_csv())
kwargs = {
    "column_x": 1,
    "column_y": 2,
    "column_gene": 0,
    "column_midcount": 3,
    "delimiter": "\t",
    "header": 0,
    "comment": '#',
    "overwrite": True
}
sdata = sp.io.read_transcripts(sdata, os.path.join( path, "XXXXXXX.tissue_test.gem" ), **kwargs)

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

No branches or pull requests

2 participants