DNA evidence has excluded a 28-year-old man as the father of a 13-year-old girl's baby.