Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/pymol-psico-HEAD/psico/querying.py   pymol-psico(Download)
 
    from MMTK.PDB import PDBConfiguration
    from MMTK.Proteins import Protein
    from MMTK.MolecularSurface import surfaceAndVolume
    from cStringIO import StringIO
 
    conf = PDBConfiguration(StringIO(cmd.get_pdbstr(selection)))
    system = Protein(conf.createPeptideChains(hydrogens))
 
    try:

src/p/y/pymol-psico-HEAD/psico/nma.py   pymol-psico(Download)
    from MMTK import InfiniteUniverse
    from MMTK.PDB import PDBConfiguration
    from MMTK.Proteins import Protein
    from MMTK.NormalModes import NormalModes
 
 
    universe = InfiniteUniverse(forcefield)
    universe.protein = Protein(*items)
 
    nbasis = max(10, universe.numberOfAtoms()/5)