Sci Fi story search

Looking for a story about father and son in future military. Son is captured and transformed to female by alien technology. Father is his commanding officer and refuses to accept new daughter as officer. Tries to send back home to mother, but daughter is determined to stay at the front. At end of story father too is captured and transformed.