-
Notifications
You must be signed in to change notification settings - Fork 629
Added compressed parameter to read_10x_mtx to support STARsolo output #3564
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
Added compressed parameter to read_10x_mtx to support STARsolo output #3564
Conversation
I noticed the CI check for milestone is failing. As a new contributor, I don't seem to have permissions to add labels. Could a maintainer please add the appropriate milestone or "no milestone" label? Thank you! |
The test failures are unrelated, no worries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't really see any tests related to the different versions and them being compressed. I think a test in https://github.com/scverse/scanpy/blob/main/tests/test_read_10x.py would be beneficial.
Could you please also add a release note?
Let me know if anything else is needed. |
Thanks! |
…scverse#3564) Co-authored-by: MacBook Air <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description
This PR adds a new
compressed
parameter to theread_10x_mtx
function to support reading uncompressed matrix files produced by tools like STARsolo.The current implementation assumes all Cell Ranger v3+ files are gzipped (.gz), forcing users to compress STARsolo output files unnecessarily before using them with Scanpy.
Changes
compressed
parameter (default: True) toread_10x_mtx
_read_10x_mtx
function to respect this parameter