Bio-ToolBox
view release on metacpan or search on metacpan
scripts/manipulate_wig.pl view on Meta::CPAN
File Options:
-i --in <file> Input file. Accepts 'stdin'.
-o --out <file> Output file. Accepts 'stdout'.
Selection functions:
-k --skip <regex> Skip lines where chromosomes match regex
-y --apply <regex> Only apply manipulations to matching chromosomes
Manipulation functions (in order of execution):
-u --null Convert null, NA, N/A, NaN, inf values to 0
-d --delog [2|10] Delog values of given base
-b --abs Convert to the absolute value
-m --mult <float> Multiply score by the given value
-a --add <float> Add the given value to the score
-l --log [2|10] Convert to log2 or log10.
-n --min <float> Set the minimum score
-x --max <float> Set the maximum score
-p --place <int> Format score to decimal positions
-z --zero Discard lines with zero values
scripts/manipulate_wig.pl view on Meta::CPAN
to apply a normalization to the X chromosome, use 'chrX'.
=back
=head2 Manipulation functions
=over 4
=item --null
Convert lines with a score of C<null>, C<NA>, C<N/A>, C<NaN>, or C<inf> to
a value of 0.
=item --delog [2|10]
Convert lines from log space in the indicated base.
=item --abs
Convert line scores to absolute values.
( run in 0.559 second using v1.01-cache-2.11-cpan-4d50c553e7e )