in reply to Check even numbers?

EMBOSS pepstats is probably what you want.

Bioperl supports starting of EMBOSS programs and parsing output files.