Closed EricR86 closed 9 years ago
Original comment by Jay Hesselberth (Bitbucket: jayhesselberth, GitHub: jayhesselberth).
Original comment by Jay Hesselberth (Bitbucket: jayhesselberth, GitHub: jayhesselberth).
Pull request #14 submitted.
Original comment by Michael Hoffman (Bitbucket: hoffman, GitHub: michaelmhoffman).
Original comment by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).
Motivation for this patch: UCSC track hubs require bigBed files. segway 1.2 cannot generate bigBed files (see issue #22).
Patched layer.py to make sure that the segment added as a pad has length 1 instead of 0.
Updated segway.layered.bed and segway.layered.bb in test/segway_layer/touchstone. Tests pass.
Visual inspection of the old and new outputs in the browser shows that this creates a segment of length 1 at the first chromosomal coordinate. But I don't see any way around this, as bedToBigBed requires bedSizes > 0.
Another side effect is that I hard coded the -b
option in the test, which means that 1 of the 2 tests will fail on machines where the bedToBigBed
executable is not installed.
→ \<\<cset 0fa5d5140ee9dfbaa6f076ad579cd21c4bd76018>>
Original comment by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).
Resolved from pull request: https://hoffmangroup.github.io//#!/hoffmanlab/segway/pull-request/14/fix-layerpy-bigbed-conversion-issue-22
Followed by test-wide updates to baselines and NEWS update
Original report (BitBucket issue) by Jay Hesselberth (Bitbucket: jayhesselberth, GitHub: jayhesselberth).
bigBed conversion is failing in
segway-layer
, it appears this is because the blockSizes begin with 0 instead of 1. Here's an example from within the simpleseg test: