The trick is to angle your skillset to the industry skill set, network network network, even collaborations with the company directly can happen when you are a grad student. When you show up to the interview and are recommended by the people you networked with and understand their technology since you've been all over it in grad school and have some papers published to prove it, suddenly you are the top candidate in the pile. It's not impossible to do this if you angle your grad career from the start, and go to a school in an area with a lot of these companies and other good research schools nearby.
And, perceptional-wise, leaving for industry is often seen as a failure.
Bioinformatics is an entire field. The lines between molecular biology, genetics, physics, chemistry, statistics, and computer science are getting very blurry these days. Plenty of bio phds get hired for data scientist roles in industry.
No one is going to knock you for leaving for industry these days. Anyone who is a big deal enough in academia to have that kind of ego is already going to have started a company or three themselves on the side.
And as someone who works in the field, there's definitely a stigma against students not aiming for PI positions at R1 institutions. There's some practical reasons for that - students who go into industry are less useful for "empire building", but it's also cultural.
I'm lucky enough to be in a field where this isn't as true, but I'm faculty in a multidisciplinary center, and the closer you get to pure biology, the worse it gets.
comp pretty much == salary (plus benefits, like insurance, 4% 401k match, maybe small bonuses). My take is that the low salaries is primarily due to the appeal of the work - kids grow up wanting to be biologists, (chemists, physicists) so there is a labor oversupply. A strong secondary contributor is overhead - a scientist can easily cost 2x salary in overhead for equipment and reagents (very field dependent).
To your point it is possible make decent money in big pharma, but they are essentially the FAANG of the bio/chemistry world and still come with 7y postgrad prereqs.