Clearing a house with a long gun (rifle or shotgun) has its pluses and minuses. You will generally be more accurate with a long gun, have more ammo with a greater punch. Besides the overpenetration issues, you are going to have to make sure you can clear the house without flagging your position or even have your weapon taken away from you.
Doorways are always a challenge. Stick your barrel in the room and the threat will be better prepared for you and might even be able to grab the muzzle either throwing off your shot or worse yet, gaining control of the weapon. It's a little harder to clear in a 360 degree manner with a long gun.
We found a good video by Bereta on how to clear a doorway. Check it out and let us know in the comments if you have any other techniques to share.