Skip to main content

SnapATAC2: A Python/Rust package for single-cell epigenomics analysis

PyPI PyPI - Downloads Continuous integration GitHub Repo stars

[!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.

Using AI Agents with SnapATAC2

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.txt file at the installation root of the snapatac2 package.

  1. Review the tutorials to understand the standard workflow and best practices for this type of analysis.
  2. 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

How to cite

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snapatac2-2.10.0.tar.gz (4.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

snapatac2-2.10.0-cp314-cp314-manylinux_2_28_x86_64.whl (28.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

snapatac2-2.10.0-cp314-cp314-manylinux_2_28_aarch64.whl (31.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

snapatac2-2.10.0-cp314-cp314-macosx_11_0_arm64.whl (25.0 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

snapatac2-2.10.0-cp314-cp314-macosx_10_15_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

snapatac2-2.10.0-cp313-cp313-manylinux_2_28_x86_64.whl (28.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

snapatac2-2.10.0-cp313-cp313-manylinux_2_28_aarch64.whl (31.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

snapatac2-2.10.0-cp313-cp313-macosx_11_0_arm64.whl (25.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

snapatac2-2.10.0-cp313-cp313-macosx_10_13_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

snapatac2-2.10.0-cp312-cp312-manylinux_2_28_x86_64.whl (28.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

snapatac2-2.10.0-cp312-cp312-manylinux_2_28_aarch64.whl (31.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

snapatac2-2.10.0-cp312-cp312-macosx_11_0_arm64.whl (25.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

snapatac2-2.10.0-cp312-cp312-macosx_10_13_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

File details

Details for the file snapatac2-2.10.0.tar.gz.

File metadata

  • Download URL: snapatac2-2.10.0.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for snapatac2-2.10.0.tar.gz
Algorithm Hash digest
SHA256 e412d93f355c85f3c445d95bfb383a78b4f3be391fb2816ee5ffef03fa270b34
MD5 cfad8ccbdc001be01ba36a5108fd2271
BLAKE2b-256 ede0536810040b74f66243a1b29169d9fe5b623503b1b4eab8437af6a95e10f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0.tar.gz:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dfd4c76e0b6eeb57856a5a9de17951b5d041f67539ac926445006d7dd5f0f0d5
MD5 0e9fa71460e8a456ebdad91c6c2e91c6
BLAKE2b-256 a102fccd2661dd159c0ee4d8c668286db7325b135c91899e5e1f11c20ee2c7a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp314-cp314-manylinux_2_28_x86_64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a31c414efc0d9e5ffca94bddc36229a12144ef7eba7d67a205187cf07dbc9440
MD5 a1678c164ecfde6931b13ae0c07e609d
BLAKE2b-256 304f87973c2a8823c6c15bf8fcd228d2647e87f1e2b91c45b1570e6552828d0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp314-cp314-manylinux_2_28_aarch64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d6e43988785037d8456c0bd1369de33a72f730a4577f07e8fa0fdefc5698acc
MD5 2613803991109672e8f7df1c8a4b8997
BLAKE2b-256 ab9322a97c628717da533b47ebd4984baaec82b3b529ab7d638dd54f04a0c03f

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp314-cp314-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 351d588487484bcb66097ab311928fdceada69b439c482d8ad65e7d24d157824
MD5 c7523b37b025f7eb8a7fa1b39fffbf43
BLAKE2b-256 600c07cfec0f55f611dc4e2448bbc0319e0a37463342d9766e6144367791b395

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp314-cp314-macosx_10_15_x86_64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ee1223bd973e7fa96c3211e3a2daff076acf4eb8539829afdc94b7fc1f84c6fa
MD5 51fbcf8f1c371edbf5f01f7fb6b61825
BLAKE2b-256 e6db1d45fc908dab926fe572c7f523ec7a20cb672e1451dc0c8bf9c542c0997d

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c59800393fa3ee327703095151e3df3c040db20af55360e01360d99a5bf2fcf2
MD5 2543d33c27a5fb101110209d95febddd
BLAKE2b-256 4ee73213afca7623bc35de532ca49eb1c37c8019e9c49e31a94effdd9685f4cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp313-cp313-manylinux_2_28_aarch64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 860bca018bbd37b79c82719bf853d9e4d1367e855a776782989b4c552c42c054
MD5 dc285930a3ab90b36831fd260c76fecf
BLAKE2b-256 b849469250869d9c4a449b1448db1936c9d4340195206cab519da7fe8e45c09d

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d481cb498fe557e34ca7dddcbef5f6bcd007a883ab4d51a0c3be766d44f78637
MD5 d0829ccd627bbd419786a164b87e013e
BLAKE2b-256 fc5534775ddb1006fbe0ef815a65fb2d701db1e52ea6f89852349a2ed61d79d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp313-cp313-macosx_10_13_x86_64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8d5d13628f1e266b16f8f5337afc3aca498f3e9cf6fa24192c87906fb0b7f257
MD5 b4be154b22bd1997e33219ac01e7f6f4
BLAKE2b-256 7108a08f823dae6e7bb74b0b29a03764fb5111ab350b7a74f210a996887499ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8b2cd92e5e5aaa1a17409d3c71f6b40a93cb85cf4735574bd46e8dca68680813
MD5 9017bf8e8963b68b8287429b99a5b70c
BLAKE2b-256 5a7f82021e15e0e5ea76bed88a9f7c5c6f1ae60da9aa5142fe429d41b068a2c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp312-cp312-manylinux_2_28_aarch64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 61826850fad1a96741e599657ee9d808a8be664066845f123817d468c6cc7b13
MD5 34d17bd1f4e4c43cf46f31cd6282f73a
BLAKE2b-256 4fd96b226a1d34ce89df72cfb0b862e3c2c6eec93970fb2d60a41f472638ce5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapatac2-2.10.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for snapatac2-2.10.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 82fd001ae46c12e10f1328b46844b6e34c8089bc2f4093745d429d20a65dc1ff
MD5 8bd30868da11d8c839c7d3db5e400a4f
BLAKE2b-256 ae526764fdcf8ba614ab4cfa1f4111fbfbac7ccff05a16d3d14804bfc27dcb06

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapatac2-2.10.0-cp312-cp312-macosx_10_13_x86_64.whl:

Publisher: test_python.yml on scverse/SnapATAC2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page