wig2data.pl
A script to convert a text wiggle file to a tab-delimited text file.
wig2data.pl [--options...] <filename>
Options: --in <filename> --out <filename> --gz --version --help
The command line flags and descriptions:
Specify the file name of a wig file. The file may be compressed with gzip.
Specify the output filename. By default it uses the input base name.
Specify whether (or not) the output file should be compressed with gzip.
Print the version number.
Display this POD documentation.
This program will convert a fixedStep or variableStep wiggle data file into a tabbed delimited text data file. The data file will have four columns: chromosome, start, stop, and score.
More information about wig files may be obtained from here: http://genome.ucsc.edu/goldenPath/help/wiggle.html
The start position will be the coordinate listed in the wig file. If a span value is indicated in the wiggle file, the GFF stop will equal start plus span; otherwise stop will equal the start value. The score value may be formatted to the indicated number of decimal places.
Timothy J. Parnell, PhD Howard Hughes Medical Institute Dept of Oncological Sciences Huntsman Cancer Institute University of Utah Salt Lake City, UT, 84112
This package is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
To install Bio::ToolBox, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::ToolBox
CPAN shell
perl -MCPAN -e shell install Bio::ToolBox
For more information on module installation, please visit the detailed CPAN module installation guide.