Skip to content

Trying to calculate order parameter for POPC. #97

Description

@sathishdasari

Hi,
I ran a lipid bilayer simulation for 500 ns and when I am trying to calculate order parameter for POPC for a trajectory beginning from the simulation it runs fine. But I want to consider the last 250ns trajectory discarding the first 250ns as equilibration. When I use the pbc trajectory for the last 250 ns I get the following error.

Reading OP definitions ...

Reading trajectories and calculating OPs ...

Traceback (most recent call last):
File "/home/sathish/curli/lipid/charmm-gui-9790619360/gromacs/POPC_order/calcOrderParameters.py", line 278, in
read_trajs_calc_OPs(ordPars, opts.top_fname, trajs)
File "/home/sathish/curli/lipid/charmm-gui-9790619360/gromacs/POPC_order/calcOrderParameters.py", line 184, in read_trajs_calc_OPs
mol = mda.Universe(top, trajs)
File "/home/sathish/miniconda3/lib/python3.9/site-packages/MDAnalysis/core/universe.py", line 375, in init
self.load_new(coordinates, format=format, in_memory=in_memory,
File "/home/sathish/miniconda3/lib/python3.9/site-packages/MDAnalysis/core/universe.py", line 580, in load_new
self.trajectory = reader(filename, format=format, **kwargs)
File "/home/sathish/miniconda3/lib/python3.9/site-packages/MDAnalysis/lib/util.py", line 2544, in wrapper
return func(self, *args, **kwargs)
File "/home/sathish/miniconda3/lib/python3.9/site-packages/MDAnalysis/coordinates/chain.py", line 278, in init
self.n_atoms = self._get_same('n_atoms')
File "/home/sathish/miniconda3/lib/python3.9/site-packages/MDAnalysis/coordinates/chain.py", line 528, in _get_same
value = values[0]
IndexError: index 0 is out of bounds for axis 0 with size 0
conc: 0
sed: can't read OrdPars.dat.line: No such file or directory

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions