Structure-dependent spin transport in a DNA molecule