Rapidly, your torso stretches into two parts while your internal organs shift around inside. The upper part becomes a giant thorax while the lower becomes your abdomen. Your arms and legs become long spindly insect legs attached to your thorax while a third identical pair grows between. Antennae emerge from your forehead as your skull becomes wedge-shaped. Eyes become compound and bulge out slightly from the sides of your new head even as your mouth moves down and splits into pincer-like jaws.
Shiny clack chitin covers you completely as your internal skeleton is replaced by an external one. Finally, whatever male organs or DNA you possessed is wiped away to be replaced by female ones. Deep inside your mind, overwhelming urges to surround yourself with dedicated daughters to do your bidding and protect you crowds out your old human thoughts.
You are now an ant queen.
When your changes finish, you crack open your cocoon and drag yourself to freedom. Lifting your dog-sized body high on your legs, you scent the air. With your ant instincts, you know that this cave would be the ideal starting place for a nest. Now, you just need some help.