def load_MDAnalysis(universe, top=None):
    """load MDAnalysis' Universe object to pytra's traj object

    Notes
    -----
    All coords will be loaded

    See Also
    --------
    load_MDAnalysisIterator
    """
    from MDAnalysis import Universe
    from pytraj.Trajectory import Trajectory
    from ..Frame import Frame
    if not isinstance(universe, Universe):
        raise ValueError('must be a Universe')
    if top is None:
        raise ValueError('need a Topology or pdb/mol2/...')
    else:
        pseudotop = top
    ag = universe.atoms
    farray = Trajectory()
    farray.top = pseudotop
    for _ in universe.trajectory:
        frame = Frame(farray.top.n_atoms)
        frame.boxview[:] = farray.top.box[:]
        frame.xyz[:] = ag.positions
        farray.append(frame, copy=False)
    return farray
