Skip to main content

BED file perturbations

Project description



Install from PyPi: pip install bedshift

Install from local repository: pip install .

Command line

Run with:

bedshift -l tests/hg38.chrom.sizes -b tests/test.bed

See bedshift -h for parameters.


import bedshift

bedshifter = bedshift.Bedshift('tests/test.bed', 'hg38.chrom.sizes')
bedshifter.all_perturbations(addrate=0.3, addmean=320.0, addstdev=20.0,
							 shiftrate=0.3, shiftmean=-10.0, shiftstdev=120.0,
# can also run single operations: shift, add, cut, merge, drop



Run tests (from this directory):

python -m unittest

Double check the output files to see if the regions make sense.

build docs:

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 bedshift, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size bedshift-1.1.1-py3-none-any.whl (11.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bedshift-1.1.1.tar.gz (12.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