RELATING STRUCTURE WITH FUNCTION AND MECHANICS OF BACTERIAL POLYMERS