-
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.
added docs + updated bbconf and pipestat
- Loading branch information
1 parent
91ffcac
commit 7f1cf69
Showing
7 changed files
with
99 additions
and
13 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
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