Protool/hydrogens.py
def build_HA(self,residue):
        """Build all or some hydrogens for this residue"""
        coords={'N':numpy.array([2.967,4.770,13.995]),
                'CA':numpy.array([2.755,5.653,12.837]),
                'C':numpy.array([3.345,7.017,13.183]),
                'HA':numpy.array([3.210,5.226,12.056])}
        buildname='HA'
        return self.build_hydrogen(residue,buildname,coords)
Build all or some hydrogens for this residue
Build all or some hydrogens for this residue
Build all or some hydrogens for this residue
def build_HA(self,residue):
        coords={'N':numpy.array([2.967,4.770,13.995]),
                'CA':numpy.array([2.755,5.653,12.837]),
                'C':numpy.array([3.345,7.017,13.183]),
                'HA':numpy.array([3.210,5.226,12.056])}
        buildname='HA'
        return self.build_hydrogen(residue,buildname,coords)
def build_HA ( self , residue ) : coords = { 'N' : numpy . array ( [ 2.967 , 4.770 , 13.995 ] ) , 'CA' : numpy . array ( [ 2.755 , 5.653 , 12.837 ] ) , 'C' : numpy . array ( [ 3.345 , 7.017 , 13.183 ] ) , 'HA' : numpy . array ( [ 3.210 , 5.226 , 12.056 ] ) } buildname = 'HA' return self . build_hydrogen ( residue , buildname , coords )
Build all or some hydrogens for this residue
Build all or some hydrogens for this residue
"""Build all or some hydrogens for this residue"""
self
residue