mdsrv icon indicating copy to clipboard operation
mdsrv copied to clipboard

Loading prmtop file error

Open tonyyzy opened this issue 5 years ago • 2 comments

When importing a prmtop file, generated as part of the Amber toolkit, the protein's structure is not loaded and only a single atom is displayed as shown below. It's the same when the trajectory file is imported as well and only the first frame contains this single atom.

image

@j0kaso

tonyyzy avatar Aug 01 '19 21:08 tonyyzy

Yes, this is normal for structure files which do by themself not contain any atom coordinates. If you generate a js/ngl script to load them, you can set the first trame which will be shown to 1.

Please note: frame=0 are the coordinates from the structure file and only from 1 the trajectory coordinates are visualized

j0kaso avatar Aug 01 '19 23:08 j0kaso

@j0kaso The problem I'm facing is that even after loading the trajectory file (NetCDF format), still no structure is displayed.

So after loading prmtop with .nc file, the -1 frame shows the single atom, as shown in the previous image and all other frames are empty.

tonyyzy avatar Aug 02 '19 13:08 tonyyzy