Genome of organisms living in extreme conditions reveal information about type of environment they thrive in