The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

wig2data.pl

A script to convert a text wiggle file to a tab-delimited text file.

SYNOPSIS

wig2data.pl [--options...] <filename>

  Options:
  --in <filename>
  --out <filename> 
  --gz
  --version
  --help

OPTIONS

The command line flags and descriptions:

--in <filename>

Specify the file name of a wig file. The file may be compressed with gzip.

--out <filename>

Specify the output filename. By default it uses the input base name.

--gz

Specify whether (or not) the output file should be compressed with gzip.

--version

Print the version number.

--help

Display this POD documentation.

DESCRIPTION

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.

AUTHOR

 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.