Skip to main content

TODO: add peaksq description

Project description

Note: This package is in active development and functionality might change or not work correctly (yet)!


Maintainability Test Coverage docs continuous-integration continuous-deployment

Dynamic machine learning database for genomics. Supports common bed-like dataformats like .bed, and .narrowPeak. bedgraph; and the binary bigwig format.


PeakSQL can be installed through pip:

pip install peaksql

Or installed from source:

git clone
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

Download files

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

Files for peaksql, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size peaksql-0.0.4-py3-none-any.whl (13.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size peaksql-0.0.4.tar.gz (14.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page