Skip to main content

CREsted: Cis-Regulatory Element Sequence Training, Explanation, and Design

Project description

CREsted: Cis Regulatory Element Sequence Training, Explanation, and Design

Tests Documentation

Introduction

CREsted (Cis-Regulatory Element Sequence Training, Explanation, and Design) is an easy-to-use deep learning package for training enhancer models on single-cell ATAC sequencing (scATAC-seq) data. CREsted provides comprehensive analyses and tutorials to study enhancer codes and the ability to design synthetic enhancer sequences at a cell type-specific, nucleotide-level resolution. Integrated into the scverse framework, CREsted is compatible with outcomes from established scATAC-seq processing tools. It employs novel scATAC-seq preprocessing techniques, such as peak height normalization across cell types, offers flexibility and variety in deep learning modeling architectures and tasks, and contains thorough analysis of the cell type-specific enhancer codes captured during modeling that can also be used for the design of synthetic sequences.

Getting started

Please refer to the documentation. In particular, the

Installation

You need to have Python 3.9 or newer installed on your system and a deep learning backend to be able to use CREsted.

CREsted is build on top of keras 3 and can therefore be used with your deep learning backend of choice (Tensorflow or Pytorch).

  1. Install either Tensorflow or Pytorch for GPU. Refer to the installation instructions on those pages to ensure you have the correct version of CUDA and cuDNN installed. If you don't have a preference and don't know which backend to choose, refer to choosing your backend. If you have all the latest drivers installed, this installation boils down to doing:
pip install tensorflow[and-cuda]
# or
pip install torch
  1. Install the latest release of crested from PyPI
pip install crested
  1. If you plan on using the tf-modisco (lite) functionality inside CREsted, you will need to run the following additional install:
pip install crested[tfmodisco]

This requires a cmake installation on your system. If you don't have it, you can install it with:

pip install cmake

Release notes

See the changelog.

Contact

For questions and help requests, please use the issue tracker.

Citation

t.b.a

Choosing your backend

CREsted is build on top of keras 3.0 and can therefore be used with your deep learning backend of choice (Tensorflow or Pytorch). If you don't have a preference, you can take the following into account:

  1. From our (and Keras' official) benchmarking, Tensorflow is generally faster than pytorch for training (up to 2x) since Tensorflow operates in graph mode whereas Pytorch uses eager mode. If you plan on training many models, Tensorflow might be the better choice.
  2. Pytorch is easier to debug and get going. Tensorflow will easily throw a bunch of warnings or fail to detect CUDA if you don't have the exact right versions of CUDA and cuDNN installed. Pytorch seems more lenient in this regard. If you only plan on running predictions or training a few models, Pytorch might be the easier choice.
  3. Current Keras 3.0 is still in active development and some features (mainly multi GPU training and weights and biases logging) are currently only supported with the Tensorflow backend. If you plan on using these features, you should choose Tensorflow. We will implement these features in a backend agnostic way as soon as Keras 3.0 has done so (it is on their roadmap).

Project details


Download files

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

Source Distribution

crested-1.0.0.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

crested-1.0.0-py3-none-any.whl (97.5 kB view details)

Uploaded Python 3

File details

Details for the file crested-1.0.0.tar.gz.

File metadata

  • Download URL: crested-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for crested-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2396fc430f5e3907d8c5f15fba2a7f0ffbc14dd550fca22d0dffb91b744313e7
MD5 e22b7268585b8aeca8dbcf17171a98b4
BLAKE2b-256 595967c962c4d2ee8be749b48abac93c308741cf2aeb56b943d352846ab6b745

See more details on using hashes here.

File details

Details for the file crested-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: crested-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 97.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for crested-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cf35a7816eeaa7c854d8dfb98c3ab3ea261bd8c398ad071bc9df86451663b7a
MD5 d947396c166be141c195fb8347988422
BLAKE2b-256 421eb14e77bff2406d06a0ca0e14ce390262459c6db3341f9112cbe0a6f8fb91

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page