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

[FEATURE] Running cellpose on the non-functional channel of suite2p data #836

Closed
landoskape opened this issue Dec 7, 2023 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@landoskape
Copy link
Contributor

Scientific Goal
I want to identify cells that express a red fluorescent protein to help labelling which functional ROIs defined by suite2p express the red fluorophore. Since suite2p registers the functional and non-functional channels together, I thought that cellpose would be a good tool for this.

Current Solution
The following steps would work just fine:

  1. Run suite2p
  2. Use custom script to save meanImg_chan2 (or a different image) as an independent tif or jpeg file.
  3. Run cellpose on that image file.

Possible Solution
However, it would be nice if cellpose could accept a suite2p ops.npy file directly, or better yet, accept an entire suite2p folder with multiple planes of ops.npy files, then save the data to the suite2p folder appropriately.

Additional Context
If this is something that is useful for more people than me and doesn't exist yet I'm happy to share whatever code I write.

@carsen-stringer
Copy link
Member

thanks landoskape, I think this is more appropriate as an enhancement for suite2p. but we will keep the PR around in case it's useful for others

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