Convert WIG to BigWig
This function calls the Kent C library to efficiently convert a WIG file to a BigWig file, without loading the entire file into memory. This solves the problem where simple tools write out text WIG files, instead of more efficiently accessed binary BigWig files.
wigToBigWig(x, seqinfo, dest = paste(file_path_sans_ext(x, TRUE), "bw", sep = "."), clip = FALSE)
x |
Path or URL to the WIG file. Connections are not supported. |
seqinfo |
|
dest |
The path to which to write the BigWig file. Defaults to |
clip |
If |
Michael Lawrence
BigWig
import and export support
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.