We study equilibrium shapes and shape transformations of a confined semiflexible chain inside a soft lipid tubule using simulations and continuum theories. The deformed tubular shapes and chain conformations depend on the relative magnitude of their bending moduli. We characterise the collapsed macromolecular shapes by computing statistical quantities that probe the polymer properties at small length scales and report a prolate to toroidal coil transition for stiff chains. Deformed tubular shapes, calculated using elastic theories, agree with simulations. In conjunction with scattering studies, our work may provide a mechanistic understanding of gene encapsulation in soft structures.