Skip to content

Commit d8788b1

Browse files
gamazepsFelix Raimundopre-commit-ci[bot]nvictus
authored
Add to_bed as well as a few tests (#203)
* 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 <felix.raimundo@3umassmed.edu> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Nezar Abdennur <nabdennur@gmail.com>
1 parent f3ed76c commit d8788b1

File tree

10 files changed

+1031
-2
lines changed

10 files changed

+1031
-2
lines changed

bioframe/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"read_pairix",
5353
"read_tabix",
5454
"read_table",
55+
"to_bed",
5556
"to_bigbed",
5657
"to_bigwig",
5758
"assign_view",
@@ -123,6 +124,7 @@
123124
read_pairix,
124125
read_tabix,
125126
read_table,
127+
to_bed,
126128
to_bigbed,
127129
to_bigwig,
128130
)

bioframe/io/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from .assembly import assemblies_available, assembly_info
2+
from .bed import to_bed
23
from .fileops import (
34
load_fasta,
45
read_bam,
@@ -24,6 +25,7 @@
2425
"read_bam",
2526
"load_fasta",
2627
"read_bigwig",
28+
"to_bed",
2729
"to_bigwig",
2830
"read_bigbed",
2931
"to_bigbed",

0 commit comments

Comments
 (0)