Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bedfile perturbation tool

License

NotificationsYou must be signed in to change notification settings

databio/bedshift

Repository files navigation

Docs: bedshift.databio.org

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

Seebedshift -h for parameters.

Python

importbedshiftbedshifter=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,cutrate=0.1,mergerate=0.11,droprate=0.03)# can also run single operations: shift, add, cut, merge, dropbedshifter.to_bed('test_output.bed')

Development

Run tests (from this directory):

python -m unittest

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

build docs:

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp