-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow bed format to contain browser/track headers (#698)
- Loading branch information
1 parent
afb7b2d
commit d6be631
Showing
3 changed files
with
24 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
browser position chr7:4499924-4500043 | ||
track name="Covered" description="Agilent SureSelect DNA - Custom Exome_1 - Genomic regions expected to be sequenced" color=0,128,0 visibility=dense db=hg38 | ||
chr7 4499923 4500043 7P22.1 | ||
chr7 4500475 4501075 7P22.1 | ||
chr7 4501706 4501844 7P22.1 | ||
chr7 4503679 4503919 7P22.1 | ||
chr7 4504362 4505023 7P22.1 | ||
chr7 4505688 4505990 7P22.1 | ||
chr7 4506376 4506496 7P22.1 | ||
chr7 4506928 4507768 7P22.1 |
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,10 @@ | ||
import os | ||
import os.path as op | ||
|
||
from jcvi.formats.bed import summary | ||
|
||
def test_summary(): | ||
cwd = os.getcwd() | ||
os.chdir(op.join(op.dirname(__file__), "data")) | ||
summary(["custom.bed"]) | ||
os.chdir(cwd) |