Text this: Chemical analysis of ecological materials