Is there a ready-made command-line program that can output sequence lengths from a fasta file? Like so:

```
YKR054C,4092
YLR106C,4910
...
```

I've seen [examples][1] of people trying to roll their own using `awk`, but I would rather not do that if I can avoid it. Between Emboss, Biopython, Bioperl, etc there must be something that can do this, right? What I'm looking for would be the equivalent of what `blast_formatter` can do for blast hits, something that can extract simple information that's already there in a format specified by user. Thank you.

 [1]: http://stackoverflow.com/questions/23992646/sequence-length-of-fasta-file
Heng Li's [bioawk][1] might be a good compromise between the simplicity of awk and readability of programming languages.

    bioawk -c fastx '{ print $name, length($seq) }' < sequences.fa

 [1]: https://github.com/lh3/bioawk
