示例#1
0
 /**
  * @param pdb
  * @param type
  * @return voronoi data reuced and decomposited by given pdbmodel no grid will be used
  */
 public VoronoiData prepareSimple(PDBEntry pdb, VoroPrepType type) {
   VoronoiData data;
   data = new VoronoiData(pdb.getId());
   data.reducePDB(type, pdb);
   voro.decomposite(data);
   return data;
 }
示例#2
0
 /**
  * voronoi data container for multiple sequence scoring on model will be initialized
  *
  * @param model
  * @return voronoi data reuced and decomposited by given pdbmodel grid will be used and generated
  */
 @Override
 public void prepareSequenceScoring(Object model) {
   PDBEntry entry = (PDBEntry) model;
   data = new VoronoiData(entry.getId());
   data.reducePDB(entry);
   data.fillGridWithoutClashes(gridExtend, gridDensity, gridClash);
   voro.decomposite(data);
   data.detectOuterGrid(minContact);
 }
示例#3
0
 /**
  * normal preparation of data in solvent
  *
  * @param pdb
  * @param gridExtend
  * @param gridDensity
  * @param gridClash
  * @param minContact
  * @return voronoi data reuced and decomposited by given pdbmodel grid will be used and generated
  */
 public VoronoiData prepareWithGrid(
     PDBEntry pdb, double gridExtend, double gridDensity, double gridClash, double minContact) {
   VoronoiData data;
   data = new VoronoiData(pdb.getId());
   data.reducePDB(pdb);
   data.fillGridWithoutClashes(gridExtend, gridDensity, gridClash);
   voro.decomposite(data);
   data.detectOuterGrid(minContact);
   return data;
 }