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 request] 10x chemistry autodetection #158

Open
rob-p opened this issue Aug 8, 2024 · 3 comments
Open

[feature request] 10x chemistry autodetection #158

rob-p opened this issue Aug 8, 2024 · 3 comments
Labels
enhancement New feature or request feature

Comments

@rob-p
Copy link
Contributor

rob-p commented Aug 8, 2024

A recurring feature request — provide automatic chemistry detection, at least in the case where we know that the input data is 10x. This would look something like passing -c auto10x and simpleaf would determine the chemistry present in the input. It’s OK, probably, to ignore 10x v1 (which anyway requires 3 input files), but most other single-cell RNA-seq chemistries should be detectable.

The basic idea would be to look at the combination of UMI and Barcode length and also the overlap of observed barcodes from a prefix of the reads and the different available permit lists.

@rob-p rob-p added enhancement New feature or request feature labels Aug 8, 2024
@AndrewSkelton
Copy link

CellRanger's implementation of chemistry auto-detect is public and available here (already in rust) - https://github.com/10XGenomics/cellranger/blob/a03981609639e55d3bef57811194c7197e8590b2/lib/rust/cr_lib/src/stages/detect_chemistry.rs#L337

While you're probably already aware of this, I'll share for posterity if nothing else

@rob-p
Copy link
Contributor Author

rob-p commented Sep 25, 2024

Thanks @AndrewSkelton, though given their license, we have to be careful here!

@microbemarsh
Copy link

I just wanted to add to this, I would really appreciate if you could include the 10X ARC multiome chemistry in this auto barcode detection. The cellranger-atac workflow allows for an option to run the ARC chemistry but I'd like to use simpleaf for the scRNA quant side of things.

Thank you!

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

No branches or pull requests

3 participants