TODO: add peaksq description
Project description
Note: This package is in active development and functionality might change or not work correctly (yet)!
PeakSQL
Dynamic machine learning database for genomics. Supports common bed-like dataformats like .bed, and .narrowPeak. bedgraph; and the binary bigwig format.
Installation
PeakSQL can be installed through pip:
pip install peaksql
Or installed from source:
git clone https://github.com/vanheeringen-lab/peaksql
cd peaksql
pip install .
Getting started
import peaksql
# paths to our files
db_file = 'peakSQL.sqlite' # where to store our database
assembly = "/path/to/hg38.fa"
data = "binding_sites.bed"
# load data into database
db = peaksql.database.DataBase(db_file)
db.add_assembly(assembly, assembly="hg38", species="human")
db.add_data(data, assembly="data")
# now load as dataset
dataset = peaksql.BedRegionDataSet(db_file, seq_length=101, stride=200)
# use the dataset in your application
for seq, label in dataset:
...
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file peaksql-0.0.4.tar.gz.
File metadata
- Download URL: peaksql-0.0.4.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80dcad696cac96477182ec71752814271effa37951671ad1a5f3483ff4ebe743
|
|
| MD5 |
848cec1ec07ccc86a0339b2822f99f00
|
|
| BLAKE2b-256 |
811ca175bb99e6745e0d2722547dc786e4986d5951ccf54be8dfe5b427dcc0b6
|
File details
Details for the file peaksql-0.0.4-py3-none-any.whl.
File metadata
- Download URL: peaksql-0.0.4-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41dc76b5b6f1cf6868599897ffd4d4d2ec378bed1b5e3986ec9a4ec982bbfac4
|
|
| MD5 |
c0c98094e51626b3fa402d204cc818f4
|
|
| BLAKE2b-256 |
57d28d853ab12b1343860543c0385400c942addfe482bd63bc890e0d29e71c1b
|