C program to get fasta file sequence length distribution statistics.
Require the kseq.h library.
Example:
$fastal sequences.fasta
Number of sequences: 85
Total length: 1607522
Average length: 18912.024
min 5% med. 95% max
18703 18799 18925 18958 18958