bedtk

Simple toolset for manipulating and analyzing BED format files

brewmacoslinux
Try with needOr install directly
Source

About

Simple toolset for BED files

Commands

bedtk

Examples

Convert BED file to other formats or validate BED format$ bedtk convert input.bed -o output.gff
Merge overlapping intervals in a BED file$ bedtk merge input.bed > merged.bed
Extract genomic regions based on BED coordinates$ bedtk extract reference.fa regions.bed > output.fa