A former South Adelaide Football Club player accused of rape has gone on trial in the District Court.

Nicholas Lionel Murphy, 27, pleaded not guilty to an alleged rape in late 2014 at a North Adelaide house.

Prosecutor Julie-Ann Lake told the jury the alleged victim was aged 20 at the time, and was assaulted while asleep.

"She will tell you that at no time had she given consent to Mr Murphy to do this to her," she said.

Ms Lake said consent could not be inferred from not physically resisting.

"She was incapable of consenting, she didn't consent, she could not have consented," she told the jury.

The court heard the woman had been to a Halloween party then a nightclub and drank alcohol and took drugs that night.

It was told the woman went to the North Adelaide address with a man she met at the nightclub and Murphy had been at the house.

The jury heard those at the house drank and played video games, listened to music and at some point used cocaine.

The prosecutor said the woman fell asleep and later woke while being digitally raped.

"The accused ... got into bed and attempted to hug her," Ms Lake told the court.

"She pushed him off and told him to get off — he asked her if he had made her feel uncomfortable and she said 'yes'."

The court heard a sexual assault investigation procedure was carried out at the Women's and Children's Hospital and the alleged victim's DNA was matched with swabs taken from Murphy's fingernails.

Judge Geraldine Davison is presiding over the trial.