def sequence_as_DNA( self, clone=True ): if clone: rval = self.clone() else: rval = self rval.sequence = transform.to_DNA( rval.sequence ) return rval
def sequence_as_DNA(self, clone=True): if clone: rval = self.clone() else: rval = self rval.sequence = transform.to_DNA(rval.sequence) return rval
def sequence_as_DNA(self, clone=True): """return a new object with an RNA self.sequence strand as DNA call using my_object.sequence_as_DNA(clone=False) if you wish to convert and return the current object. """ if clone: # pragma: no cover rval = self.clone() else: # pragma: no cover rval = self rval.sequence = transform.to_DNA(rval.sequence) return rval
def sequence_as_DNA(self, clone = True): """return a new object with an RNA self.sequence strand as DNA call using my_object.sequence_as_DNA(clone=False) if you wish to convert and return the current object. """ if clone: # pragma: no cover rval = self.clone() else: # pragma: no cover rval = self rval.sequence = transform.to_DNA(rval.sequence) return rval