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/b/i/biopython-1.63/Bio/PDB/Polypeptide.py   biopython(Download)
from Bio.Seq import Seq
from Bio.PDB.PDBExceptions import PDBException
from Bio.PDB.Vector import calc_dihedral, calc_angle
 
 
            atom_list = (ca_list[i], ca_list[i+1], ca_list[i+2])
            v1, v2, v3 = [a.get_vector() for a in atom_list]
            theta=calc_angle(v1, v2, v3)
            theta_list.append(theta)
            # Put tau in xtra dict of residue

src/b/i/biopython-HEAD/Bio/PDB/Polypeptide.py   biopython(Download)
from Bio.Seq import Seq
from Bio.PDB.PDBExceptions import PDBException
from Bio.PDB.Vector import calc_dihedral, calc_angle
 
 
            atom_list = (ca_list[i], ca_list[i+1], ca_list[i+2])
            v1, v2, v3 = [a.get_vector() for a in atom_list]
            theta=calc_angle(v1, v2, v3)
            theta_list.append(theta)
            # Put tau in xtra dict of residue