MonZop / BioBlender

AddOn for Blender to do molecular work
BSD 2-Clause "Simplified" License
113 stars 20 forks source link

Trajectory Files #33

Open zeffii opened 8 years ago

zeffii commented 8 years ago

storing this here, until someone gives me a nice file to experiment on:

(I had this written as an answer on Blender.Stackexchange.. preserving here in case it gets deleted if the author of the question deletes it)

I propose

this:

 C x y z
 C x y z
 C x y z
 N x y z
 N x y z 
MonZop commented 8 years ago

I can prepare a file with 'half' protein (about 1000 atoms, about 400 excluding Hydrogens), that would make no sense biologically, but could be useful for experimenting with the code. Would such file be useful?

The idea of having a file for every frame of the trajectory might be OK, and sometimes it is actually requested, especially if one wants to output a bdp file of a conformation calculated by Blender. However, for what I understand, the files in your proposal would only contain the atoms identity and their positions, not the links between them, nor any other information, such as the aminoacid, or protein to which they belong.

I guess this is an answer to a question that I don't know, but it seems to be OK if one has a method for calculating a molecular trajectory and wants to use Blender to visualize the motion. Programs that calculate molecular trajectories typically output them in files of a special kind.

zeffii commented 8 years ago

yes, i'd like to write code that can visualize precalculated trajectories - and find an optimal way to do it. The visualizer would not need to know anything about relationships or reactions.