Effective equation for quasi-one dimensional tube-shaped Bose–Einstein condensates