-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from databio/dev
Release v0.1.0
- Loading branch information
Showing
50 changed files
with
2,478 additions
and
923 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
repos: | ||
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster | ||
- repo: https://github.com/psf/black-pre-commit-mirror | ||
rev: 24.1.1 | ||
hooks: | ||
- id: black | ||
# It is recommended to specify the latest version of Python | ||
# supported by your project here, or alternatively use | ||
# pre-commit's default_language_version, see | ||
# https://pre-commit.com/#top_level-default_language_version | ||
language_version: python3.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,58 @@ | ||
# bedboss | ||
|
||
--- | ||
[![PEP compatible](https://pepkit.github.io/img/PEP-compatible-green.svg)](https://pep.databio.org/) | ||
![Run pytests](https://github.com/bedbase/bedboss/workflows/Run%20instalation%20test/badge.svg) | ||
[![docs-badge](https://readthedocs.org/projects/bedboss/badge/?version=latest)](https://bedboss.databio.org/en/latest/) | ||
[![pypi-badge](https://img.shields.io/pypi/v/bedboss)](https://pypi.org/project/bedboss) | ||
[![pypi-badge](https://img.shields.io/pypi/v/bedboss?color=%2334D058)](https://pypi.org/project/bedboss) | ||
[![pypi-version](https://img.shields.io/pypi/pyversions/bedboss.svg?color=%2334D058)](https://pypi.org/project/bedboss) | ||
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) | ||
[![Github badge](https://img.shields.io/badge/source-github-354a75?logo=github)](https://github.com/databio/bedboss) | ||
|
||
--- | ||
|
||
**Documentation**: <a href="https://docs.bedbase.org/bedboss" target="_blank">https://docs.bedbase.org/bedboss</a> | ||
|
||
**Source Code**: <a href="https://github.com/databio/bedboss" target="_blank">https://github.com/databio/bedboss</a> | ||
|
||
--- | ||
|
||
bedboss is a command-line pipeline that filters, standardizes, and calculates statistics for genomic interval data, | ||
and enters the results into a BEDbase database. | ||
|
||
## Installation | ||
To install `bedboss` use this command: | ||
``` | ||
pip install bedboss | ||
``` | ||
or install the latest version from the GitHub repository: | ||
``` | ||
pip install git+https://github.com/databio/bedboss.git | ||
``` | ||
|
||
## Development | ||
For development, you should install all the dependencies, create a virtual environment, and work on the local database. | ||
The workflow is described in the [development documentation](https://docs.bedbase.org/bedboss/development). | ||
|
||
bedboss is a command-line pipeline that standardizes and calculates statistics for genomic interval data, and enters the results into a BEDbase database. It has 3 components: 1) bedmaker (`bedboss make`); 2) bedqc (`bedboss qc`); and 3) bedstat `bedboss stat`. You may run all 3 pipelines separately, together (`bedbase all`). | ||
|
||
## 1) bedmaker | ||
## Testing | ||
|
||
Converts supported file types into BED and bigBed format. Currently supported formats: | ||
- bedGraph | ||
- bigBed | ||
- bigWig | ||
- wig | ||
### Requirements test: | ||
|
||
## 2) bedqc | ||
To test requirements, install bedboss and run: | ||
|
||
Assess QC of BED files and flag potential problems for further evaluation so you can determine whether they should be included in downstream analysis. | ||
Currently, it flags BED files that are larger than 2 GB, have over 5 milliom regions, or have mean region width less than 10 bp. | ||
These thresholds can be changed with pipeline arguments. | ||
``` | ||
bedboss requirements-check | ||
``` | ||
|
||
## bedstat | ||
### Smoke tests: | ||
|
||
Calculates statistics about BED files. | ||
Use this docs: | ||
- [./test/README.md](./test/README.md) | ||
|
||
# Documentation | ||
|
||
Detailed information about each pipeline can be found in the [bedboss Readme](./docs/README.md). | ||
## How to generate usage documentation: | ||
|
||
For the specific bedbase.org instance, see instructions in the bedbase.org repo. | ||
Run this command in the root of the repository: | ||
``` | ||
cd scripts | ||
bash update_usage_docs.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.1.0a4" | ||
__version__ = "0.1.0" |
Oops, something went wrong.