def amino(self, location): out = copy.deepcopy(PDB_operations.aminoacid(self.pbb)) fixedLocation = copy.deepcopy(location) if self.sign == '-': fixedLocation.reverseOrbs() T = vector.Tlist(out[0].boundarycompute()[0:3],fixedLocation.ev()) out.rotate(T[0]) if self.sign == "-": out.signchange() return out
def length(self): out = PDB_operations.aminoacid(self.pbb) return out[0].boundarycompute()[3]