Microalgae strains that can survive the extreme conditions in piggery effluent could not only clean up the wastewater but also reduce greenhouse emissions, provide a source of biofuel and even be fed back to the pigs.