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

Updates #58

Open
orenbenkiki opened this issue Sep 14, 2023 · 3 comments
Open

Updates #58

orenbenkiki opened this issue Sep 14, 2023 · 3 comments

Comments

@orenbenkiki
Copy link
Collaborator

orenbenkiki commented Sep 14, 2023

This issue will be updated every time we create a new release or have other important updates that impact metacells users. If you are using the python metacells package, you are encouraged to click on the "subscribe" button to the right, and github will update you every time we post an update here. This requires you to have a github account (which is free and easy to create).

@orenbenkiki
Copy link
Collaborator Author

New release 0.9.3

TL;DR: Users are encouraged to pip install --upgrade metacells to obtain this newer version as this should produce better-sized metacells by default. If needed, it also allows for better manual control over the metacell sizes.

Compatibility:

This API of this version is backward compatible with 0.9.[0-2], and is extended to allow specifying a new parameter target_metacell_umis (default of 160,000) in addition to the existing target_metacell_size in cells (whose default reduced from 96 to 48).

The metacells computed by this version will be different from these computed by versions 0.9.[0-2].

Details:

This version solves the issue that previous 0.9.[0-2] versions metacell sizes were too sensitive to the number of UMIs in the cells, which created too-large metacells in most cases.

It is always advisable to look at the distribution of UMIs per metacell and cells per metacell (in the QC page in MCView) and consider adjusting one of the targets to better fit your data.

@tanaylab tanaylab locked and limited conversation to collaborators Sep 14, 2023
@orenbenkiki orenbenkiki pinned this issue Sep 14, 2023
@orenbenkiki
Copy link
Collaborator Author

Published version 0.9.4 with minor fixes, mainly adapting the package to updated versions of numpy and scipy which have subtly changed some behaviors and/or deprecated some functionality. Results "should" be identical to 0.9.3 (given you use the same version of numpy and scipy).

@orenbenkiki
Copy link
Collaborator Author

Published version 0.9.5 with bug fixes. The major one is a avoiding a potential deadlock due to threadpoolctl not being thread safe (which you'd expect with the word "thread" right there in the name ... sigh), plus some other very minor fixes. Results "should" be identical to 0.9.4 and 0.9.3 (given you use the same version of numpy and scipy).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant