Biologist and author Rupert Sheldrake suggests in Huffington Post that "bad science" is indeed like "bad religion":
I am strongly pro-science. But I am more and more convinced that that the spirit of free inquiry is being repressed within the scientific community by fear-based conformity. Institutional science is being crippled by dogmas and taboos. Increasingly expensive research is yielding diminishing returns.
Bad religion is arrogant, self-righteous, dogmatic and intolerant. And so is bad science. But unlike religious fundamentalists, scientific fundamentalists do not realize that their opinions are based on faith. They think they know the truth. They believe that science has already solved the fundamental questions. The details still need working out, but in principle the answers are known.
Science at its best is an open-minded method of inquiry, not a belief system. But the "scientific worldview," based on the materialist philosophy, is enormously prestigious because science has been so successful. Its achievements touch all our lives through technologies like computers, jet planes, cell phones, the Internet and modern medicine. Our intellectual world has been transformed through an immense expansion of scientific knowledge, down into the most microscopic particles of matter and out into the vastness of space, with hundreds of billions of galaxies in an ever-expanding universe.
Science has been successful because it has been open to new discoveries. By contrast, committed materialists have made science into a kind of religion. They believe that there is no reality but material or physical reality. Consciousness is a by-product of the physical activity of the brain. Matter is unconscious. Nature is mechanical. Evolution is purposeless. God exists only as an idea in human minds, and hence in human heads.
These materialist beliefs are often taken for granted by scientists, not because they have thought about them critically, but because they haven't. To deviate from them is heresy, and heresy harms careers.
Sheldrake gets more technical after this, diving into specific areas of science and using the occasional religious term to explain potential mistakes.
His concluding statement is my favorite moment:
Good science, like good religion, is a journey of discovery, a quest. It builds on traditions from the past. But it is most effective when it recognizes how much we do not know, when it is not arrogant but humble.