One of the most famous astronomers of the twentieth century, Robert Jastrow, discusses the struggle he had in reconciling his scientific materialism and agnosticism with what science had learned about the cosmos in the previous century.
Actually, discoveries over the last few decades concerning the fine-tuning of the forces and constants of the universe have only amplified Jastrow's struggle, or would have were he still alive today.
See here, for instance: