title: How to store three dimension object coordinate information in three dimension grid?
body: <p>I have three dimension coordinate information of protein object. The task is to project protein onto three dimension grid (in such a way its special arrangement will be restored), so that I can perform processing further. The three dimension coordinate information is available in pdb (PROTEIN DATA BANK) file and be defined as follows:</p>
  
  <pre><code>ATOM  C x  y  z
  </code></pre>
  
  <p>where "ATOM" represents a tag and "C" represent carbon atom and x,y,and, z are three dimension coordinates of carbon atom.</p>
  
  <p>For example:</p>
  
  <pre><code>ATOM   C   5.84714  27.90645  31.85267          
  ATOM   O   5.84216  27.92345  31.85267   
  
         :
  
         :
  
         :
  
  ATOM   N       x       y        z
  </code></pre>
  
  <p>I tried to store this information in three dimension grid, but fails because if you see atom "C" and "O" they have approximately similar coordinates. Due to this, they will store in same cell of three dimension grid. </p>
  
  <p>I scaled the coordinate by factor of 10^i, it works but taking huge amount of time in processing.</p>
  
  <p>Please help me out from this issue!!</p>
  
  <p>Thanks in advance</p>