galaxy-dist commit 4990d7b95b72: Bug fix for signature of lib.galaxy_utils.sequence.transform.?NA_reverse_complement method.
# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Dan Blankenberg <dan@bx.psu.edu> # Date 1285944317 14400 # Node ID 4990d7b95b7273ba7159bfb2db1931a4e74a980a # Parent 7b431b0dbc687c1496ef5fba92dd443476d61d60 Bug fix for signature of lib.galaxy_utils.sequence.transform.?NA_reverse_complement method. --- a/lib/galaxy_utils/sequence/transform.py +++ b/lib/galaxy_utils/sequence/transform.py @@ -19,10 +19,10 @@ def DNA_complement( sequence ): def RNA_complement( sequence ): return sequence.translate( RNA_COMPLEMENT ) #returns the reverse complement of the sequence -def DNA_reverse_complement( self, sequence ): +def DNA_reverse_complement( sequence ): sequence = reverse( sequence ) return DNA_complement( sequence ) -def RNA_reverse_complement( self, sequence ): +def RNA_reverse_complement( sequence ): sequence = reverse( sequence ) return RNA_complement( sequence ) def to_DNA( sequence ):
participants (1)
-
commits-noreply@bitbucket.org