Whether science and religion are at odds depends on your religion.
If your religion says that the Earth sits on the back of elephants riding on a turtle, and earthquakes are caused when the turtle moves, then science says that your religion is wrong.
If your religion says that lighting is the result of Thor or Zeus getting angry and tossing lightning bolts and making thunderous noise, science is going to tell you that your religion has problems.
If your religion says that the volcano will not harm the village if you would only sacrifice a virgin to it, science is going to tell you that this is not going to help.
If your religion says that diseases are caused by the abandonment of God, and that you can cure disease by prayer rather than anti-biotics, science is going to prove that there are some holes in your theory.
If your religion tells you that the earth is the center of the solar system and that all things revolve around it, science is going to tell you that this is mistaken -- and burning the scientists that say this (or threatening to, as they are held under house arrest) will not change the facts.
If your religion says that the earth is less than 10,000 years old, and that, at the start of the earth, God created Adam and Eve and gave them life, science is going to contradict this.
There are some religions that do not compete with science. These are religions that state that God made this wonderful universe and we discover God's truth in test tubes and and particle colliders, not in bibles.
Science does give us reason to prefer some religions over others.
Some scientists want to say otherwise in the hopes of getting religion off of their back. But this only proves that even some scientists can disregard observation and fact in favor of a little wishful thinking.
Alonzo Fyfe Atheist Ethicist Blog