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

All Samples(38)  |  Call(26)  |  Derive(0)  |  Import(12)

src/b/i/biopython-HEAD/Bio/PDB/Polypeptide.py   biopython(Download)
from Bio.Data import SCOPData
from Bio.Seq import Seq
from Bio.PDB.PDBExceptions import PDBException
from Bio.PDB.Vector import calc_dihedral, calc_angle
 
            chain_list=[entity]
        else:
            raise PDBException("Entity should be Structure, Model or Chain.")
        pp_list=[]
        for chain in chain_list:

src/b/i/biopython-HEAD/Bio/PDB/DSSP.py   biopython(Download)
 
from Bio.PDB.AbstractPropertyMap import AbstractResiduePropertyMap
from Bio.PDB.PDBExceptions import PDBException
from Bio.PDB.PDBParser import PDBParser
 
            # Take care of HETATM again
            if (resname != aa) and (res.id[0] == ' ' or aa != 'X'):
                raise PDBException("Structure/DSSP mismatch at %s" % res)
            dssp_map[key] = ((res, ss, acc, rel_acc, phi, psi))
            dssp_list.append((res, ss, acc, rel_acc, phi, psi))

Previous  1 | 2