Gravar-mail: Abstractions, algorithms and data structures for structural bioinformatics in PyCogent