Library functions for the Gramene Project