Skip to content

Commit

Permalink
Add to_bed as well as a few tests (#203)
Browse files Browse the repository at this point in the history
* add test for reading some bed formats

* renomae rgb to itemRgb

* add to_bed and associated tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update tests/test_fileops.py

---------

Co-authored-by: Felix Raimundo <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Nezar Abdennur <[email protected]>
  • Loading branch information
4 people authored Apr 23, 2024
1 parent f3ed76c commit d8788b1
Show file tree
Hide file tree
Showing 10 changed files with 1,031 additions and 2 deletions.
2 changes: 2 additions & 0 deletions bioframe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"read_pairix",
"read_tabix",
"read_table",
"to_bed",
"to_bigbed",
"to_bigwig",
"assign_view",
Expand Down Expand Up @@ -123,6 +124,7 @@
read_pairix,
read_tabix,
read_table,
to_bed,
to_bigbed,
to_bigwig,
)
Expand Down
2 changes: 2 additions & 0 deletions bioframe/io/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from .assembly import assemblies_available, assembly_info
from .bed import to_bed
from .fileops import (
load_fasta,
read_bam,
Expand All @@ -24,6 +25,7 @@
"read_bam",
"load_fasta",
"read_bigwig",
"to_bed",
"to_bigwig",
"read_bigbed",
"to_bigbed",
Expand Down
Loading

0 comments on commit d8788b1

Please sign in to comment.