Description Usage Arguments Details Author(s) Examples
View source: R/bedgraphToBigWig.R
Take a list of bedgraph files and write a bigwig file for each one.
| 1 2 | bedgraphToBigWig(filenames, genomeSizeFile, ucscPath = "/opt/UCSCtools/",
  outDest = "./", outSuffix = "")
 | 
| filenames | Character - List of bedgraph files | 
| genomeSizeFile | String - Filename (with path) to text file containing genome size information | 
| ucscPath | String - Path to UCSC tools executables | 
| outDest | String - Directory where bigwig files should be written | 
| outSuffix | String - will be appended to original filename (and ".bedgraph" is replaced by ".bigwig") | 
Use UCSC function bedgraphToBigWig to convert bedgraph files to bigwig format. Requires UCSC tools to be installed. Time: ~40s - 1m per bedgraph, where the bedgraphs are generally ~400-800 MB. Example at the command line: system2('/opt/UCSCtools/wigToBigWig', args=c('samplename.gencov.bedgraph', '/path/to/genomeSizeFile.txt', samplename.bigwig))
Emma Myers
| 1 | bedgraphToBigWig(filenames, genomeSizeFile="/path/to/genomeSizeFile.txt")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.