2 # The Great Computer Language Shootout
3 # http://shootout.alioth.debian.org/
5 # Contributed by Peter Bjarke Olsen
6 # Modified by Doug King
11 seq.reverse!.tr!('wsatugcyrkmbdhvnATUGCYRKMBDHVN','WSTAACGRYMKVHDBNTAACGRYMKVHDBN')
13 0.step(stringlen-1,60) {|x| print seq.slice(x,60) , "\n"}
16 input = open(File.join(File.dirname($0), 'fasta.output.2500000'), 'rb')