Great Western Railway says heavy rain has affected the line and disruption is expected until midday.