Also as a whole I have found that even if I am more knowledgeable than everyone around me, I still have people come up and in some of the most condescending ways possible. Many times I am talked down to like I am some sort of child. (I once had someone try to explain how multicast and ssl works to me. They are studying for their A+, I am about to get my CCNP and also churning out all sorts of neat code for our department to help automate a lot of the boring tasks.)
I would say its not so much a genetic issue, but more the field itself has many cultural issues it needs to get past.
Last note: Filing complaints about a lot of these problems would most likely hurt me in the long run. I figured out after my first couple jobs it is easier to ignore them than try to find a new job.
Edit: Regarding skills themselves. It is a much simpler answer to claim that society 'encourages' woman into positions. Even if there was such a gap (Not saying it may not exist mind you) their would still be tremendous overlap and there would be some males within female bounds and females within the male bounds. The odds of that gap being massive enough to overshadow cultural issues is highly unlikely.
Also these stories are not representative of my whole experience in the field. They have been cherry picked to help illustrate a point.