1 Author: Martin Asser Hansen - Copyright (C) - All rights reserved
3 Contact: mail@maasha.dk
7 License: GNU General Public License version 2 (http://www.gnu.org/copyleft/gpl.html)
9 Description: Calculate the mean of values of given keys.
11 Usage: ... | $script [options]
13 Options: [-x | --no_stream] - Do not emit records.
14 Options: [-o <file> | --data_out=<file>] - Write result to file.
15 Options: [-k <string> | --keys=<string>] - Comma separated list of keys.
16 Options: [-I <file> | --stream_in=<file>] - Read input from stream file - Default=STDIN
17 Options: [-O <file> | --stream_out=<file>] - Write output to stream file - Default=STDOUT
19 Examples: ... | $script -x -k SEQ_LEN,HIT_LEN -o result.txt - Calculate mean values and save to 'result.txt'.
21 Keys out: <key>_MEAN - Mean value of <key>.