Bedgraph Vs Bigwig, Bioconductor's rtracklayer can import and export bed, bedgraph and bigwig files.