Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(22) | Call(12) | Derive(1) | Import(9)
src/b/i/biskit-2.4/Biskit/Trajectory.py biskit(Download)
from Biskit.Errors import BiskitError from Biskit import EHandler from PDBModel import PDBModel, PDBError from ProfileCollection import ProfileCollection
## get Structure object for reference self.setRef( PDBModel( refpdb ) ) ## Remove waters from ref (which will also remove it from each frame)
@rtype: PDBModel """ result = PDBModel( self.getRef(), noxyz=1 ) result.setXyz( N.average( self.frames ) )
## Load m = PDBModel(f) ## compare atom order & content of first frame to reference pdb
@rtype: PDBModel """ s = PDBModel( self.ref, noxyz=1 ) s.setXyz( self.frames[ index ] ) return s
src/b/i/biskit-2.4/Biskit/StructureSlave.py biskit(Download)
""" from PDBModel import PDBModel import tools as T
try: m = PDBModel( pdbIn, skipRes=self.params['skipRes'] ) if self.params['amber']:
src/b/i/biskit-2.4/Biskit/AmberCrdParser.py biskit(Download)
import tools as T from Trajectory import Trajectory from PDBModel import PDBModel from LogFile import StdLog
self.crd = T.gzopen( self.fcrd ) self.ref = PDBModel( T.absfile(fref), pdbCode=pdbCode ) self.box = box
src/b/i/biskit-2.4/Biskit/ReduceCoordinates.py biskit(Download)
""" from PDBModel import PDBModel from DictList import DictList import numpy.oldnumeric as N
xyz = self.reduceXyz( xyz ) result = PDBModel() for k in self.atoms.keys():
def test_ReduceCoordinates(self): """ReduceCoordinates test""" self.m = PDBModel( T.testRoot()+'/com/1BGS.pdb' ) self.m = self.m.compress( N.logical_not( self.m.maskH2O() ) )
src/b/i/biskit-2.4/Biskit/Pymoler.py biskit(Download)
from PDBModel import PDBModel import tools as T import os
""" if self.struct == None: self.struct = PDBModel( self.fname ) self.temporary = 1
try: if self.struct == None: self.struct = PDBModel( self.fname ) self.temporary = 1
src/b/i/biskit-2.4/Biskit/ModelList.py biskit(Download)
""" from DictList import DictList from PDBModel import PDBModel import Biskit.tools as T
return file_or_model return PDBModel( file_or_model )
src/b/i/biskit-2.4/Biskit/AmberRstParser.py biskit(Download)
from AmberCrdParser import ParseError from PDBModel import PDBModel import tools as T
def test_getModel(self): """AmberRstParser.getModel test""" self.ref = PDBModel( self.fref ) self.model = self.p.getModel( self.ref ) self.assertEqual( len(self.model), 11200 )
src/b/i/biskit-2.4/Biskit/__init__.py biskit(Download)
from PCRModel import PCRModel from PDBModel import PDBModel, PDBProfiles, PDBError from ProfileCollection import ProfileCollection, ProfileError
src/b/i/biskit-2.4/Biskit/PCRModel.py biskit(Download)
import tools as t from PDBModel import PDBModel from LocalPath import LocalPath class PCRModel( PDBModel ):