-
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 #17 from databio/dev
Release 0.1.0a4
- Loading branch information
Showing
12 changed files
with
279 additions
and
82 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.1.0a3" | ||
__version__ = "0.1.0a4" |
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
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,77 @@ | ||
# How to run bedboss as a Python API | ||
|
||
## Install bedboss | ||
|
||
```bash | ||
pip install bedboss | ||
``` | ||
|
||
## Run bedboss all | ||
|
||
```python | ||
from bedboss import run_all | ||
|
||
run_all( | ||
sample_name="example_sample_name", | ||
input_file="example/path/to/input_file", | ||
input_type="bed", | ||
outfolder="example/path/to/outfolder", | ||
genome="hg38", | ||
bedbase_config="example/path/to/bedbase_config.yaml", | ||
# + another optional arguments | ||
) | ||
|
||
|
||
``` | ||
|
||
|
||
## Run bedboss all-pep | ||
|
||
```python | ||
from bedboss import run_all_by_pep | ||
|
||
run_all_by_pep( | ||
pep="example/path/to/pep.yaml" | ||
) | ||
``` | ||
|
||
## Run bedboss make | ||
|
||
```python | ||
from bedboss import BedMaker | ||
|
||
BedMaker( | ||
input_file="example/path/to/input_file", | ||
input_type="bed", | ||
output_bed="example/path/to/output_bed", | ||
output_bigbed="example/path/to/output_bigbed", | ||
sample_name="example_sample_name", | ||
genome="hg38", | ||
) | ||
|
||
``` | ||
|
||
## Run bedboss stat | ||
|
||
```python | ||
from bedboss import bedstat | ||
|
||
bedstat( | ||
bedfile="example/path/to/bedfile.bed", | ||
bedbase_config="example/path/to/bedbase_config.yaml", | ||
genome="hg38", | ||
outfolder="example/path/to/outfolder", | ||
) | ||
|
||
``` | ||
|
||
## Run bedboss qc | ||
|
||
```python | ||
from bedboss import bedqc | ||
|
||
bedqc( | ||
bedfile="example/path/to/bedfile.bed", | ||
outfolder="example/path/to/outfolder", | ||
) | ||
``` |
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,16 @@ | ||
# Usage reference | ||
|
||
BEDboss is command-line tool-warehouse of 3 pipelines for genomic interval files | ||
|
||
BEDboss include: bedmaker, bedqc, bedstat. This pipelines can be run using next positional arguments: | ||
|
||
- `bedbase all`: Runs all pipelines one in order: bedmaker -> bedqc -> bedstat | ||
|
||
- `bedbase make`: Creates Bed and BigBed files from other type of genomic interval files [bigwig|bedgraph|bed|bigbed|wig] | ||
|
||
- `bedbase qc`: Runs Quality control for bed file (Works only with bed files) | ||
|
||
- `bedbase stat`: Runs statistics for bed and bigbed files. | ||
|
||
Here you can see the command-line usage instructions for the main bedboss command and for each subcommand: | ||
|
Oops, something went wrong.