gReLU is a python library to train, interpret, and apply deep learning models to DNA sequences
Project description
gReLU
gReLU is a Python library to train, interpret, and apply deep learning models to DNA sequences. Code documentation is available here.
Installation
To install from source:
git clone https://github.com/Genentech/gReLU.git
cd gReLU
pip install .
Contributing
This project uses pre-commit. Please make sure to install it before making any changes:
pip install pre-commit
cd gReLU
pre-commit install
It is a good idea to update the hooks to the latest version:
pre-commit autoupdate
Additional requirements
If you want to use genome annotation features through the function grelu.io.genome.read_gtf
, you will need to install the following UCSC utilities: genePredToBed
, genePredToGtf
, bedToGenePred
, gtfToGenePred
, gff3ToGenePred
.
If you want to create bigWig files through the function grelu.data.preprocess.make_insertion_bigwig
, you will need to install the following UCSC utilities: bedGraphToBigWig
.
UCSC utilities can be installed from http://hgdownload.cse.ucsc.edu/admin/exe/
, for example using the following commands:
rsync -aP rsync://hgdownload.soe.ucsc.edu/genome/admin/exe/linux.x86_64/bedGraphToBigWig /usr/bin/
rsync -aP rsync://hgdownload.soe.ucsc.edu/genome/admin/exe/linux.x86_64/genePredToBed /usr/bin/
rsync -aP rsync://hgdownload.soe.ucsc.edu/genome/admin/exe/linux.x86_64/genePredToGtf /usr/bin/
rsync -aP rsync://hgdownload.soe.ucsc.edu/genome/admin/exe/linux.x86_64/bedToGenePred /usr/bin/
rsync -aP rsync://hgdownload.soe.ucsc.edu/genome/admin/exe/linux.x86_64/gtfToGenePred /usr/bin/
rsync -aP rsync://hgdownload.soe.ucsc.edu/genome/admin/exe/linux.x86_64/gff3ToGenePred /usr/bin/
or via bioconda:
conda install -y \
bioconda::ucsc-bedgraphtobigwig \
bioconda::ucsc-genepredtobed \
bioconda::ucsc-genepredtogtf \
bioconda::ucsc-bedtogenepred \
bioconda::ucsc-gtftogenepred \
bioconda::ucsc-gff3togenepred
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file grelu-1.0.1.tar.gz
.
File metadata
- Download URL: grelu-1.0.1.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f56788f3e296054522d8b4513f6e3c8e76683bcb568b4cc7af4b3c80acb9940 |
|
MD5 | e9cc7ec62acacb6b36c251e84ca61ad0 |
|
BLAKE2b-256 | 9a243c85bb5262adca591e1eb90ce4bbe52de40cda4e7bb1fc981e63f69d265f |
File details
Details for the file gReLU-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: gReLU-1.0.1-py3-none-any.whl
- Upload date:
- Size: 643.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b2ce56a39a0c0ddd3183615949267a77efef8d6f739e8c09975404b868e5e38 |
|
MD5 | 979be444a2b0da380299c620270e3d5c |
|
BLAKE2b-256 | f3ffb2506356edd47899b0d9b4155e58b5d1e011245f90fe1cd53b562862f379 |