Malice

Andy (Bill Pullman) and Tracy Safian (Nicole Kidman) are a newlywed couple living in a Victorian house that they are restoring in Western Massachusetts. He is an Associate Dean at a local college, while his wife teaches art to children. When a student is attacked and seriously wounded by a serial rapist, Dr. Jed Hill (Alec Baldwin), a brilliant surgeon who has recently joined the staff of the area hospital, operates and saves her life. Money is tight, so Andy invites him to rent the third floor of their home, in order to finance the new plumbing. With his propensity to bring home sexual partners and to party late into the night, Jed quickly proves himself to be a less-than-ideal tenant.
When Paula Bell (Gwyneth Paltrow), one of Andy's students, is attacked and killed by the serial rapist, Andy is the one to find her body, prompting police Detective Dana Harris (Bebe Neuwirth) to view him as a possible suspect. Harris asks Andy to come to the police station and submit a semen sample to clear his name. While at the police station, Andy learns that Tracy has been hospitalized and is being operated on by Jed. In removing one of Tracy's ovaries, which has ruptured due to a cyst, Jed discovers Tracy is pregnant, but the stress of the procedure causes the fetus to abort.
Another doctor notices that Tracy's other ovary is torsed and appears necrotic. Jed consults with Andy and advises him to agree to the removal of Tracy's second ovary, rather than risk her life. Andy painfully agrees, since this will mean that Tracy can never have children. Jed overrules the protests of other doctors that the ovary might still be healthy and he removes it. After the removal, it is confirmed that the ovary was, in fact, healthy. With this knowledge, Tracy and Andy decide to sue Jed and the hospital.
Jed delivers a deposition in which he launches into a monologue about his own infallibility as a surgeon, concluding with the assertion that he is literally God. Fearful of the negative publicity that would result from a civil trial, the hospital and Jed's insurance company settle with Andy and Tracy for $20 million. Tracy leaves Andy, telling him that she can't forgive him for the loss of her ability to have children.
The serial rapist (Tobin Bell) is arrested, clearing Andy's name. In the aftermath of the arrest, Dana informs Andy that his semen sample indicated that he was sterile, and that he couldn't have fathered Tracy's child. Andy confronts Tracy's lawyer, Dennis Riley (Peter Gallagher), accusing him of having impregnated Tracy; Riley protests his innocence, but tells Andy that Tracy's mother â whom she had told Andy had died 12 years ago â can answer all of his questions. Riley refuses to break lawyer client privilege, but tells Andy to take a bottle of Scotch to her.
Andy tracks down Mrs. Kennsinger (Anne Bancroft), who tells Andy that Tracy is a lifelong con artist. As a younger woman, she had an affair with a wealthy man, who paid for her to have an abortion; Tracy kept the money and had it done at a clinic, beginning her career as a con woman. Mrs. Kennsinger identifies Tracy's partner as a corrupt doctor, whom Andy correctly identifies as Jed.
Andy ultimately learns that Tracy arranged for Jed to move into the house so that he could begin overdosing her with a fertility drug which causes ovarian cysts when taken in excess amounts. An angry Andy confronts Tracy and tells her he wants half of the settlement money. Suspecting that she might try to murder him, Andy tells her that their next-door neighbor, an adolescent boy, has already agreed to testify that he witnessed Jed injecting Tracy on multiple occasions.
Jed tells Tracy to give Andy what he wants, but Tracy instead suggests murdering the boy. Jed refuses to kill a child, so Tracy shoots him to death. That night, she slips into the neighbor's house and attempts to suffocate the boy, only to see that the figure she had seen sitting by his bedroom window was in fact a mannequin. Detective Harris appears and arrests her, revealing that the boy's supposed agreement to testify against her was part of a sting operation to catch her in the act of attempted murder.
As Tracy is led away in handcuffs, the real boy and his mother return home; as she is put into the police car, Tracy sees that the boy is, in fact, blind. Andy then goes with the Detective to celebrate their success.

Question: What sample Andy needs to be submitted at the police station to clear his name?
Answer: Semen