Protool/structure.py
def hasMissingMainChainAtoms(self):
        """Check that each amino acid residue has all heavy main chain atoms"""
        missing=[]
        for residue in self.residues.keys():
            if not self.isaa(residue):
                continue
            for atom in ['O','C','CA','N']:
                if not '%s:%s' %(residue,atom) in self.residues[residue]:
                    missing.append('%s:%s' %(residue,atom))
        if len(missing)==0:
            return False
        else:
            return missing
Check that each amino acid residue has all heavy main chain atoms
Check that each amino acid residue has all heavy main chain atoms
Check that each amino acid residue has all heavy main chain atoms
def hasMissingMainChainAtoms(self):
        missing=[]
        for residue in self.residues.keys():
            if not self.isaa(residue):
                continue
            for atom in ['O','C','CA','N']:
                if not '%s:%s' %(residue,atom) in self.residues[residue]:
                    missing.append('%s:%s' %(residue,atom))
        if len(missing)==0:
            return False
        else:
            return missing
def hasMissingMainChainAtoms ( self ) : missing = [ ] for residue in self . residues . keys ( ) : if not self . isaa ( residue ) : continue for atom in [ 'O' , 'C' , 'CA' , 'N' ] : if not '%s:%s' % ( residue , atom ) in self . residues [ residue ] : missing . append ( '%s:%s' % ( residue , atom ) ) if len ( missing ) == 0 : return False else : return missing
Check that each amino acid residue has all heavy main chain atoms
Check that each amino acid residue has all heavy main chain atoms
"""Check that each amino acid residue has all heavy main chain atoms"""
self