Tip
Got raw fastq files? Check out our new single-cell preprocessing package precellar!
SnapATAC2 is a flexible, versatile, and scalable single-cell omics analysis framework, featuring:
- Scale to more than 10 million cells.
- Blazingly fast preprocessing tools for BAM to fragment files conversion and count matrix generation.
- Matrix-free spectral embedding algorithm that is applicable to a wide range of single-cell omics data, including single-cell ATAC-seq, single-cell RNA-seq, single-cell Hi-C, and single-cell methylation.
- Efficient and scalable co-embedding algorithm for single-cell multi-omics data integration.
- End-to-end analysis pipeline for single-cell ATAC-seq data, including preprocessing, dimension reduction, clustering, data integration, peak calling, differential analysis, motif analysis, regulatory network analysis.
- Seamless integration with other single-cell analysis packages such as Scanpy.
- Implementation of fully backed AnnData.
SnapATAC2 (v2.10.0+) is designed to be AI-friendly. We include an llms.txt file at the root of our package containing our API reference and core tutorials.
To get the most accurate code from your favorite AI agent, copy and paste the following prompt template:
I need to use the snapatac2 python package to [describe your goal, e.g., process a batch of fragment files and identify cell clusters].
Before writing any code, please read the
llms.txtfile at the root of this package.
- Review the tutorials to understand the standard workflow and best practices for this type of analysis.
- Cross-reference the API reference to ensure you use the exact function names, class structures, and keyword arguments. Please do not hallucinate methods.
Once you have reviewed both, generate the Python script.
- Documentation: https://scverse.org/SnapATAC2/
Zhang, K., Zemke, N. R., Armand, E. J. & Ren, B. (2024). A fast, scalable and versatile tool for analysis of single-cell omics data. Nature Methods, 1–11. https://doi.org/10.1038/s41592-023-02139-9
SnapATAC2 is part of the scverse® project (website, governance) and is fiscally sponsored by NumFOCUS. If you like scverse® and want to support our mission, please consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.