Here is a new Biopieces analyze_scores for the analysis of Illumina type SCORES in the stream. With this it is now possible to do:
read_fastq -i test.fq | analyze_scores | analyze_vals | write_tab -cpx
+---------------+------------+-------+-------+-------+---------+-------+
| KEY | TYPE | COUNT | MIN | MAX | SUM | MEAN |
+---------------+------------+-------+-------+-------+---------+-------+
| SEQ_NAME | Alphabetic | 100 | 43 | 44 | 4358 | 43.58 |
| SEQ | Alphabetic | 100 | 50 | 50 | 5000 | 50.00 |
| SEQ_LEN | Numeric | 100 | 50 | 50 | 5000 | 50.00 |
| SCORES | Alphabetic | 100 | 50 | 50 | 5000 | 50.00 |
| SCORES_LEN | Numeric | 100 | 50 | 50 | 5000 | 50.00 |
| SCORES_MIN | Numeric | 100 | 0 | 32 | 925 | 9.25 |
| SCORES_MAX | Numeric | 100 | 34 | 38 | 3693 | 36.93 |
| SCORES_MEAN | Numeric | 100 | 15.30 | 36.84 | 3145.18 | 31.45 |
| SCORES_MEDIAN | Numeric | 100 | 2 | 37 | 3371 | 33.71 |
+---------------+------------+-------+-------+-------+---------+-------+