bedshift-1.1.1
توضیحات
BED file perturbations
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bedshift-1.1.1 |
| نام | bedshift |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aaron Gu |
| ایمیل نویسنده | ag5ym@virginia.edu |
| آدرس صفحه اصلی | https://bedshift.databio.org |
| آدرس اینترنتی | https://pypi.org/project/bedshift/ |
| مجوز | BSD2 |
# Bedshift
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
```
See `bedshift -h` for parameters.
## Python
```py
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,
cutrate=0.1,
mergerate=0.11,
droprate=0.03)
# can also run single operations: shift, add, cut, merge, drop
bedshifter.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:
نیازمندی
| مقدار | نام |
|---|---|
| - | logmuse |
| - | pandas |
| - | numpy |
| - | pyranges |
نحوه نصب
نصب پکیج whl bedshift-1.1.1:
pip install bedshift-1.1.1.whl
نصب پکیج tar.gz bedshift-1.1.1:
pip install bedshift-1.1.1.tar.gz